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
638 DEBUG_PREFIX_CFLAGS_FOR_TARGET
639 SYSROOT_CFLAGS_FOR_TARGET
641 extra_host_libiberty_configure_flags
650 extra_mpc_mpfr_configure_flags
651 extra_mpc_gmp_configure_flags
652 extra_mpfr_configure_flags
694 TOPLEVEL_CONFIGURE_ARGUMENTS
722 program_transform_name
733 ac_subst_files
='serialization_dependencies
739 enable_option_checking
744 enable_build_with_cxx
764 enable_ppl_version_check
768 enable_cloog_version_check
770 enable_stage1_languages
773 with_debug_prefix_map
776 enable_serial_configure
777 with_build_time_tools
778 enable_maintainer_mode
779 enable_stage1_checking
782 ac_precious_vars
='build_alias
826 # Initialize some variables set by options.
828 ac_init_version
=false
829 ac_unrecognized_opts
=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
840 program_transform_name
=s
,x
,x
,
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir
='${exec_prefix}/bin'
855 sbindir
='${exec_prefix}/sbin'
856 libexecdir
='${exec_prefix}/libexec'
857 datarootdir
='${prefix}/share'
858 datadir
='${datarootdir}'
859 sysconfdir
='${prefix}/etc'
860 sharedstatedir
='${prefix}/com'
861 localstatedir
='${prefix}/var'
862 includedir
='${prefix}/include'
863 oldincludedir
='/usr/include'
864 docdir
='${datarootdir}/doc/${PACKAGE}'
865 infodir
='${datarootdir}/info'
870 libdir
='${exec_prefix}/lib'
871 localedir
='${datarootdir}/locale'
872 mandir
='${datarootdir}/man'
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\
$ac_option
886 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 # Accept the important Cygnus configure options, so we can diagnose typos.
892 case $ac_dashdash$ac_option in
896 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
898 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
901 -build |
--build |
--buil |
--bui |
--bu)
902 ac_prev
=build_alias
;;
903 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
904 build_alias
=$ac_optarg ;;
906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
908 ac_prev
=cache_file
;;
909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
911 cache_file
=$ac_optarg ;;
914 cache_file
=config.cache
;;
916 -datadir |
--datadir |
--datadi |
--datad)
918 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
919 datadir
=$ac_optarg ;;
921 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
922 |
--dataroo |
--dataro |
--datar)
923 ac_prev
=datarootdir
;;
924 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
925 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
926 datarootdir
=$ac_optarg ;;
928 -disable-* |
--disable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=no
;;
944 -docdir |
--docdir |
--docdi |
--doc |
--do)
946 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
949 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
951 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
954 -enable-* |
--enable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=\
$ac_optarg ;;
970 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
971 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
972 |
--exec |
--exe |
--ex)
973 ac_prev
=exec_prefix
;;
974 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
975 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
976 |
--exec=* |
--exe=* |
--ex=*)
977 exec_prefix
=$ac_optarg ;;
979 -gas |
--gas |
--ga |
--g)
980 # Obsolete; use --with-gas.
983 -help |
--help |
--hel |
--he |
-h)
985 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
986 ac_init_help
=recursive
;;
987 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
988 ac_init_help
=short
;;
990 -host |
--host |
--hos |
--ho)
991 ac_prev
=host_alias
;;
992 -host=* |
--host=* |
--hos=* |
--ho=*)
993 host_alias
=$ac_optarg ;;
995 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
997 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
999 htmldir
=$ac_optarg ;;
1001 -includedir |
--includedir |
--includedi |
--included |
--include \
1002 |
--includ |
--inclu |
--incl |
--inc)
1003 ac_prev
=includedir
;;
1004 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1005 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1006 includedir
=$ac_optarg ;;
1008 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1010 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1011 infodir
=$ac_optarg ;;
1013 -libdir |
--libdir |
--libdi |
--libd)
1015 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1016 libdir
=$ac_optarg ;;
1018 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1019 |
--libexe |
--libex |
--libe)
1020 ac_prev
=libexecdir
;;
1021 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1022 |
--libexe=* |
--libex=* |
--libe=*)
1023 libexecdir
=$ac_optarg ;;
1025 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1026 ac_prev
=localedir
;;
1027 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1028 localedir
=$ac_optarg ;;
1030 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1031 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1032 ac_prev
=localstatedir
;;
1033 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1034 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1035 localstatedir
=$ac_optarg ;;
1037 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1039 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1040 mandir
=$ac_optarg ;;
1042 -nfp |
--nfp |
--nf)
1043 # Obsolete; use --without-fp.
1046 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1047 |
--no-cr |
--no-c |
-n)
1050 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1051 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1054 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1055 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1056 |
--oldin |
--oldi |
--old |
--ol |
--o)
1057 ac_prev
=oldincludedir
;;
1058 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1059 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1060 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1061 oldincludedir
=$ac_optarg ;;
1063 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1065 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1066 prefix
=$ac_optarg ;;
1068 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1069 |
--program-pre |
--program-pr |
--program-p)
1070 ac_prev
=program_prefix
;;
1071 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1072 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1073 program_prefix
=$ac_optarg ;;
1075 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1076 |
--program-suf |
--program-su |
--program-s)
1077 ac_prev
=program_suffix
;;
1078 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1079 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1080 program_suffix
=$ac_optarg ;;
1082 -program-transform-name |
--program-transform-name \
1083 |
--program-transform-nam |
--program-transform-na \
1084 |
--program-transform-n |
--program-transform- \
1085 |
--program-transform |
--program-transfor \
1086 |
--program-transfo |
--program-transf \
1087 |
--program-trans |
--program-tran \
1088 |
--progr-tra |
--program-tr |
--program-t)
1089 ac_prev
=program_transform_name
;;
1090 -program-transform-name=* |
--program-transform-name=* \
1091 |
--program-transform-nam=* |
--program-transform-na=* \
1092 |
--program-transform-n=* |
--program-transform-=* \
1093 |
--program-transform=* |
--program-transfor=* \
1094 |
--program-transfo=* |
--program-transf=* \
1095 |
--program-trans=* |
--program-tran=* \
1096 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1097 program_transform_name
=$ac_optarg ;;
1099 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1101 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1102 pdfdir
=$ac_optarg ;;
1104 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1106 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1110 |
-silent |
--silent |
--silen |
--sile |
--sil)
1113 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1115 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1117 sbindir
=$ac_optarg ;;
1119 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1120 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1121 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1123 ac_prev
=sharedstatedir
;;
1124 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1125 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1126 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1128 sharedstatedir
=$ac_optarg ;;
1130 -site |
--site |
--sit)
1132 -site=* |
--site=* |
--sit=*)
1135 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1137 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1138 srcdir
=$ac_optarg ;;
1140 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1141 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1142 ac_prev
=sysconfdir
;;
1143 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1144 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1145 sysconfdir
=$ac_optarg ;;
1147 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1148 ac_prev
=target_alias
;;
1149 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1150 target_alias
=$ac_optarg ;;
1152 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1155 -version |
--version |
--versio |
--versi |
--vers |
-V)
1156 ac_init_version
=: ;;
1159 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) as_fn_error
"unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information."
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 case $ac_envvar in #(
1216 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1217 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 as_fn_error
"missing argument to $ac_option"
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246 # Check all directory arguments for consistency.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1253 # Remove trailing slashes.
1256 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257 eval $ac_var=\
$ac_val;;
1259 # Be sure to have absolute directory names.
1261 [\\/$
]* | ?
:[\\/]* ) continue;;
1262 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1264 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1279 If a cross compiler is detected then cross compile mode will be used." >&2
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 as_fn_error
"working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 as_fn_error
"pwd does not report name of working directory"
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301 ac_srcdir_defaulted
=yes
1302 # Try the directory containing this script, then the parent directory.
1303 ac_confdir
=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305 X"$as_myself" : 'X\(//\)[^/]' \| \
1306 X"$as_myself" : 'X\(//\)$' \| \
1307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1331 ac_srcdir_defaulted
=no
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1335 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1337 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1349 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 as_fn_error
"path to source, $srcdir, contains spaces"
1356 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1358 for ac_var
in $ac_precious_vars; do
1359 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1360 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1361 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1366 # Report the --help message.
1368 if test "$ac_init_help" = "long"; then
1369 # Omit some internal or obsolete options to make the list less imposing.
1370 # This message is too long to be a string in the A/UX 3.1 sh.
1372 \`configure' configures this package to adapt to many kinds of systems.
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE. See below for descriptions of some of the useful variables.
1379 Defaults for the options are specified in brackets.
1382 -h, --help display this help and exit
1383 --help=short display options specific to this package
1384 --help=recursive display the short help of all the included packages
1385 -V, --version display version information and exit
1386 -q, --quiet, --silent do not print \`checking...' messages
1387 --cache-file=FILE cache test results in FILE [disabled]
1388 -C, --config-cache alias for \`--cache-file=config.cache'
1389 -n, --no-create do not create output files
1390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1392 Installation directories:
1393 --prefix=PREFIX install architecture-independent files in PREFIX
1394 [$ac_default_prefix]
1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1403 For better control, use the options below.
1405 Fine tuning of the installation directories:
1406 --bindir=DIR user executables [EPREFIX/bin]
1407 --sbindir=DIR system admin executables [EPREFIX/sbin]
1408 --libexecdir=DIR program executables [EPREFIX/libexec]
1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1430 --program-prefix=PREFIX prepend PREFIX to installed program names
1431 --program-suffix=SUFFIX append SUFFIX to installed program names
1432 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1435 --build=BUILD configure
for building on BUILD
[guessed
]
1436 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1437 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1441 if test -n "$ac_init_help"; then
1446 --disable-option-checking ignore unrecognized
--enable/--with options
1447 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1448 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1449 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1450 --enable-libada build libada directory
1451 --enable-libssp build libssp directory
1452 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1453 --disable-ppl-version-check disable check
for PPL version
1454 --disable-cloog-version-check disable check
for CLooG version
1455 --enable-lto enable link
time optimization support
1456 --enable-stage1-languages[=all
] choose additional languages to build during
1457 stage1. Mostly useful
for compiler development.
1458 --enable-objc-gc enable use of Boehm
's garbage collector with the
1459 GNU Objective-C runtime
1460 --enable-bootstrap enable bootstrapping [yes if native build]
1461 --enable-serial-[{host,target,build}-]configure
1462 force sequential configuration of
1463 sub-packages for the host, target or build
1464 machine, or all sub-packages
1465 --enable-maintainer-mode enable make rules and dependencies not useful
1466 (and sometimes confusing) to the casual installer
1467 --enable-stage1-checking[=all] choose additional checking for stage1
1469 --enable-werror enable -Werror in bootstrap stage2 and later
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --with-build-libsubdir=DIR Directory where to find libraries for build system
1475 --with-mpc=PATH specify prefix directory for installed MPC package.
1476 Equivalent to --with-mpc-include=PATH/include
1477 plus --with-mpc-lib=PATH/lib
1478 --with-mpc-include=PATH
1479 specify directory for installed MPC include files
1480 --with-mpc-lib=PATH specify directory for the installed MPC library
1481 --with-mpfr-dir=PATH this option has been REMOVED
1482 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1483 Equivalent to --with-mpfr-include=PATH/include
1484 plus --with-mpfr-lib=PATH/lib
1485 --with-mpfr-include=PATH
1486 specify directory for installed MPFR include files
1487 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1488 --with-gmp-dir=PATH this option has been REMOVED
1489 --with-gmp=PATH specify prefix directory for the installed GMP package.
1490 Equivalent to --with-gmp-include=PATH/include
1491 plus --with-gmp-lib=PATH/lib
1492 --with-gmp-include=PATH specify directory for installed GMP include files
1493 --with-gmp-lib=PATH specify directory for the installed GMP library
1494 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1495 when linking with PPL
1496 --with-stage1-ldflags=FLAGS Linker flags for stage1
1497 -with-stage1-libs=LIBS Libraries for stage1
1498 --with-boot-libs=LIBS Libraries for stage2 and later
1499 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1500 --with-ppl=PATH Specify prefix directory for the installed PPL package
1501 Equivalent to --with-ppl-include=PATH/include
1502 plus --with-ppl-lib=PATH/lib
1503 --with-ppl-include=PATH Specify directory for installed PPL include files
1504 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1505 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
1506 Equivalent to --with-cloog-include=PATH/include
1507 plus --with-cloog-lib=PATH/lib
1508 --with-cloog-include=PATH Specify directory for installed CLooG include files
1509 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1510 --with-build-sysroot=SYSROOT
1511 use sysroot as the system root during the build
1512 --with-debug-prefix-map='A
=B C
=D ...
'
1513 map A to B, C to D ... in debug information
1514 --with-build-config='NAME NAME2...
'
1515 Use config/NAME.mk build configuration
1516 --with-build-time-tools=PATH
1517 use given path to find target tools during the build
1519 Some influential environment variables:
1520 CC C compiler command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1523 nonstandard directory <lib dir>
1524 LIBS libraries to pass to the linker, e.g. -l<library>
1525 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1526 you have headers in a nonstandard directory <include dir>
1527 CXX C++ compiler command
1528 CXXFLAGS C++ compiler flags
1530 additional configure arguments for build directories
1532 additional configure arguments for host directories
1534 additional configure arguments for target directories
1537 DLLTOOL DLLTOOL for the host
1539 LIPO LIPO for the host
1541 RANLIB RANLIB for the host
1542 STRIP STRIP for the host
1543 WINDRES WINDRES for the host
1544 WINDMC WINDMC for the host
1545 OBJCOPY OBJCOPY for the host
1546 OBJDUMP OBJDUMP for the host
1556 GFORTRAN for the target
1562 DLLTOOL for the target
1570 OBJDUMP for the target
1572 RANLIB for the target
1574 STRIP for the target
1576 WINDRES for the target
1578 WINDMC for the target
1580 Use these variables to override the choices made by `configure' or to
help
1581 it to
find libraries and programs with nonstandard names
/locations.
1583 Report bugs to the package provider.
1588 if test "$ac_init_help" = "recursive"; then
1589 # If there are subdirs, report their specific --help.
1590 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1591 test -d "$ac_dir" ||
1592 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1597 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1599 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1600 # A ".." for each directory in $ac_dir_suffix.
1601 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1602 case $ac_top_builddir_sub in
1603 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1604 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1607 ac_abs_top_builddir
=$ac_pwd
1608 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1609 # for backward compatibility:
1610 ac_top_builddir
=$ac_top_build_prefix
1613 .
) # We are building in place.
1615 ac_top_srcdir
=$ac_top_builddir_sub
1616 ac_abs_top_srcdir
=$ac_pwd ;;
1617 [\\/]* | ?
:[\\/]* ) # Absolute name.
1618 ac_srcdir
=$srcdir$ac_dir_suffix;
1619 ac_top_srcdir
=$srcdir
1620 ac_abs_top_srcdir
=$srcdir ;;
1622 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1623 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1624 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1626 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1628 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1629 # Check for guested configure.
1630 if test -f "$ac_srcdir/configure.gnu"; then
1632 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1633 elif test -f "$ac_srcdir/configure"; then
1635 $SHELL "$ac_srcdir/configure" --help=recursive
1637 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1639 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1643 test -n "$ac_init_help" && exit $ac_status
1644 if $ac_init_version; then
1647 generated by GNU Autoconf
2.64
1649 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1650 This configure
script is free software
; the Free Software Foundation
1651 gives unlimited permission to copy
, distribute and modify it.
1656 ## ------------------------ ##
1657 ## Autoconf initialization. ##
1658 ## ------------------------ ##
1660 # ac_fn_c_try_compile LINENO
1661 # --------------------------
1662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_c_try_compile
()
1665 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1666 rm -f conftest.
$ac_objext
1667 if { { ac_try
="$ac_compile"
1669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_compile") 2>conftest.err
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest.$ac_objext; then :
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 } # ac_fn_c_try_compile
1698 # ac_fn_cxx_try_compile LINENO
1699 # ----------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_cxx_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1708 *) ac_try_echo
=$ac_try;;
1710 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1714 if test -s conftest.err
; then
1715 grep -v '^ *+' conftest.err
>conftest.er1
1716 cat conftest.er1
>&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_cxx_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.
$ac_objext; then :
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.
$ac_ext >&5
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1734 } # ac_fn_cxx_try_compile
1736 # ac_fn_c_try_link LINENO
1737 # -----------------------
1738 # Try to link conftest.$ac_ext, and return whether this succeeded.
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 rm -f conftest.
$ac_objext conftest
$ac_exeext
1743 if { { ac_try
="$ac_link"
1745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_link") 2>conftest.err
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_c_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest$ac_exeext && {
1762 test "$cross_compiling" = yes ||
1763 $as_test_x conftest$ac_exeext
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.$ac_ext >&5
1772 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1773 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1774 # interfere with the next link command; also delete a directory that is
1775 # left behind by Apple's compiler. We do this before executing the actions.
1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 } # ac_fn_c_try_link
1781 cat >config.log <<_ACEOF
1782 This file contains any messages produced by compilers while
1783 running configure, to aid debugging if configure makes a mistake.
1785 It was created by $as_me, which was
1786 generated by GNU Autoconf 2.64. Invocation command line was
1798 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1799 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1800 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1801 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1802 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1804 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1805 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1807 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1808 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1809 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1810 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1811 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1812 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1813 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 $as_echo "PATH: $as_dir"
1838 # Keep a trace of the command line.
1839 # Strip out --no-create and --no-recursion so they do not pile up.
1840 # Strip out --silent because we don't want to record it for future runs.
1841 # Also quote any args containing shell meta-characters.
1842 # Make two passes to allow for proper duplicate-argument suppression.
1846 ac_must_keep_next=false
1852 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1853 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1854 | -silent | --silent | --silen | --sile | --sil)
1857 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1860 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1862 as_fn_append ac_configure_args1 " '$ac_arg'"
1863 if test $ac_must_keep_next = true; then
1864 ac_must_keep_next=false # Got value, back to normal.
1867 *=* | --config-cache | -C | -disable-* | --disable-* \
1868 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1869 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1870 | -with-* | --with-* | -without-* | --without-* | --x)
1871 case "$ac_configure_args0 " in
1872 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1875 -* ) ac_must_keep_next=true ;;
1878 as_fn_append ac_configure_args " '$ac_arg'"
1883 { ac_configure_args0=; unset ac_configure_args0;}
1884 { ac_configure_args1=; unset ac_configure_args1;}
1886 # When interrupted or exit'd, cleanup temporary files, and complete
1887 # config.log. We remove comments because anyway the quotes in there
1888 # would cause problems or look ugly.
1889 # WARNING: Use '\'' to represent an apostrophe within the trap.
1890 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1891 trap 'exit_status=$?
1892 # Save into config.log some information that might help in debugging.
1897 ## ---------------- ##
1898 ## Cache variables. ##
1899 ## ---------------- ##
1902 # The following way of writing the cache mishandles newlines in values,
1904 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1905 eval ac_val=\$$ac_var
1909 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1910 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1913 _ | IFS | as_nl) ;; #(
1914 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1915 *) { eval $ac_var=; unset $ac_var;} ;;
1920 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1921 *${as_nl}ac_space=\ *)
1923 "s/'\''/'\''\\\\'\'''\''/g;
1924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1935 ## ----------------- ##
1936 ## Output variables. ##
1937 ## ----------------- ##
1940 for ac_var in $ac_subst_vars
1942 eval ac_val=\$$ac_var
1944 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1946 $as_echo "$ac_var='\''$ac_val'\''"
1950 if test -n "$ac_subst_files"; then
1952 ## ------------------- ##
1953 ## File substitutions. ##
1954 ## ------------------- ##
1957 for ac_var in $ac_subst_files
1959 eval ac_val=\$$ac_var
1961 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1963 $as_echo "$ac_var='\''$ac_val'\''"
1968 if test -s confdefs.h; then
1978 test "$ac_signal" != 0 &&
1979 $as_echo "$as_me: caught signal $ac_signal"
1980 $as_echo "$as_me: exit $exit_status"
1982 rm -f core *.core core.conftest.* &&
1983 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1986 for ac_signal in 1 2 13 15; do
1987 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1991 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1992 rm -f -r conftest* confdefs.h
1994 $as_echo "/* confdefs.h */" > confdefs.h
1996 # Predefined preprocessor variables.
1998 cat >>confdefs.h <<_ACEOF
1999 #define PACKAGE_NAME "$PACKAGE_NAME"
2002 cat >>confdefs.h <<_ACEOF
2003 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2010 cat >>confdefs.h <<_ACEOF
2011 #define PACKAGE_STRING "$PACKAGE_STRING"
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_URL "$PACKAGE_URL"
2023 # Let the site file select an alternate cache file if it wants to.
2024 # Prefer an explicitly selected file to automatically selected ones.
2027 if test -n "$CONFIG_SITE"; then
2028 ac_site_file1=$CONFIG_SITE
2029 elif test "x$prefix" != xNONE; then
2030 ac_site_file1=$prefix/share/config.site
2031 ac_site_file2=$prefix/etc/config.site
2033 ac_site_file1=$ac_default_prefix/share/config.site
2034 ac_site_file2=$ac_default_prefix/etc/config.site
2036 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2038 test "x$ac_site_file" = xNONE && continue
2039 if test -r "$ac_site_file"; then
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2041 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2042 sed 's/^/| /' "$ac_site_file" >&5
2047 if test -r "$cache_file"; then
2048 # Some versions of bash will fail to source /dev/null (special
2049 # files actually), so we avoid doing that.
2050 if test -f "$cache_file"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2052 $as_echo "$as_me: loading cache $cache_file" >&6;}
2054 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2055 *) . "./$cache_file";;
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2060 $as_echo "$as_me: creating cache $cache_file" >&6;}
2064 # Check that the precious variables saved in the cache have kept the same
2066 ac_cache_corrupted=false
2067 for ac_var in $ac_precious_vars; do
2068 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2069 eval ac_new_set=\$ac_env_${ac_var}_set
2070 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2071 eval ac_new_val=\$ac_env_${ac_var}_value
2072 case $ac_old_set,$ac_new_set in
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2075 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2076 ac_cache_corrupted=: ;;
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2079 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2080 ac_cache_corrupted=: ;;
2083 if test "x$ac_old_val" != "x$ac_new_val"; then
2084 # differences in whitespace do not lead to failure.
2085 ac_old_val_w=`echo x
$ac_old_val`
2086 ac_new_val_w=`echo x
$ac_new_val`
2087 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2089 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2090 ac_cache_corrupted=:
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2093 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2094 eval $ac_var=\$ac_old_val
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2097 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2099 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2102 # Pass precious variables to config.status.
2103 if test "$ac_new_set" = set; then
2105 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2106 *) ac_arg=$ac_var=$ac_new_val ;;
2108 case " $ac_configure_args " in
2109 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2110 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2114 if $ac_cache_corrupted; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2118 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2119 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2121 ## -------------------- ##
2122 ## Main body of script. ##
2123 ## -------------------- ##
2126 ac_cpp='$CPP $CPPFLAGS'
2127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2140 # if PWD already has a value, it is probably wrong.
2141 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2143 # Export original configure arguments for use by sub-configures.
2144 # Quote arguments with shell meta charatcers.
2145 TOPLEVEL_CONFIGURE_ARGUMENTS=
2146 set -- "$progname" "$@"
2150 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2151 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2152 # if the argument is of the form -foo=baz, quote the baz part only
2153 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2156 # Add the quoted argument to the list.
2157 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2159 if test "$silent" = yes; then
2160 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2162 # Remove the initial space we just introduced and, as these will be
2163 # expanded by make, quote '$'.
2164 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2167 # Find the build, host, and target systems.
2169 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2170 for ac_t in install-sh install.sh shtool; do
2171 if test -f "$ac_dir/$ac_t"; then
2173 ac_install_sh="$ac_aux_dir/$ac_t -c"
2178 if test -z "$ac_aux_dir"; then
2179 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2182 # These three variables are undocumented and unsupported,
2183 # and are intended to be withdrawn in a future Autoconf release.
2184 # They can cause serious problems if a builder's source tree is in a directory
2185 # whose full name contains unusual characters.
2186 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2187 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2188 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2191 # Make sure we can run config.sub.
2192 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2193 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2196 $as_echo_n "checking build system type... " >&6; }
2197 if test "${ac_cv_build+set}" = set; then :
2198 $as_echo_n "(cached) " >&6
2200 ac_build_alias=$build_alias
2201 test "x$ac_build_alias" = x &&
2202 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2203 test "x$ac_build_alias" = x &&
2204 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2205 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2206 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2210 $as_echo "$ac_cv_build" >&6; }
2211 case $ac_cv_build in
2213 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2216 ac_save_IFS=$IFS; IFS='-'
2222 # Remember, the first character of IFS is used to create $*,
2223 # except with old shells:
2226 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2229 case ${build_alias} in
2230 "") build_noncanonical=${build} ;;
2231 *) build_noncanonical=${build_alias} ;;
2236 case ${host_alias} in
2237 "") host_noncanonical=${build_noncanonical} ;;
2238 *) host_noncanonical=${host_alias} ;;
2243 case ${target_alias} in
2244 "") target_noncanonical=${host_noncanonical} ;;
2245 *) target_noncanonical=${target_alias} ;;
2251 test "$host_noncanonical" = "$target_noncanonical" &&
2252 test "$program_prefix$program_suffix$program_transform_name" = \
2254 program_transform_name=s,y,y,
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2257 $as_echo_n "checking host system type... " >&6; }
2258 if test "${ac_cv_host+set}" = set; then :
2259 $as_echo_n "(cached) " >&6
2261 if test "x$host_alias" = x; then
2262 ac_cv_host=$ac_cv_build
2264 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2265 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2270 $as_echo "$ac_cv_host" >&6; }
2273 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2276 ac_save_IFS=$IFS; IFS='-'
2282 # Remember, the first character of IFS is used to create $*,
2283 # except with old shells:
2286 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2290 $as_echo_n "checking target system type... " >&6; }
2291 if test "${ac_cv_target+set}" = set; then :
2292 $as_echo_n "(cached) " >&6
2294 if test "x$target_alias" = x; then
2295 ac_cv_target=$ac_cv_host
2297 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2298 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2303 $as_echo "$ac_cv_target" >&6; }
2304 case $ac_cv_target in
2306 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2308 target=$ac_cv_target
2309 ac_save_IFS=$IFS; IFS='-'
2315 # Remember, the first character of IFS is used to create $*,
2316 # except with old shells:
2319 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2322 # The aliases save the names the user supplied, while $host etc.
2323 # will get canonicalized.
2324 test -n "$target_alias" &&
2325 test "$program_prefix$program_suffix$program_transform_name" = \
2327 program_prefix=${target_alias}-
2329 test "$program_prefix" != NONE &&
2330 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2331 # Use a double $ so make ignores it.
2332 test "$program_suffix" != NONE &&
2333 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2334 # Double any \ or $.
2335 # By default was `s
,x
,x
', remove it if useless.
2336 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2337 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2341 # Get 'install' or 'install-sh
' and its variants.
2342 # Find a good install program. We prefer a C program (faster),
2343 # so one script is as good as another. But avoid the broken or
2344 # incompatible versions:
2345 # SysV /etc/install, /usr/sbin/install
2346 # SunOS /usr/etc/install
2347 # IRIX /sbin/install
2349 # AmigaOS /C/install, which installs bootblocks on floppy discs
2350 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2351 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2352 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2353 # OS/2's system install, which has a completely different semantic
2354 # ./install, which can be erroneously created by make from ./install.sh.
2355 # Reject install programs that cannot install multiple files.
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2357 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2358 if test -z "$INSTALL"; then
2359 if test "${ac_cv_path_install+set}" = set; then :
2360 $as_echo_n "(cached) " >&6
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 # Account for people who put trailing slashes in PATH elements.
2368 case $as_dir/ in #((
2369 .
/ | .
// |
/[cC
]/* | \
2370 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2371 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2374 # OSF1 and SCO ODT 3.0 have their own names for install.
2375 # Don't use installbsd from OSF since it installs stuff as root
2377 for ac_prog
in ginstall scoinst
install; do
2378 for ac_exec_ext
in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2380 if test $ac_prog = install &&
2381 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2382 # AIX install. It has an incompatible calling convention.
2384 elif test $ac_prog = install &&
2385 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2386 # program-specific install script used by HP pwplus--don't use.
2389 rm -rf conftest.one conftest.two conftest.dir
2390 echo one
> conftest.one
2391 echo two
> conftest.two
2393 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2394 test -s conftest.one
&& test -s conftest.two
&&
2395 test -s conftest.dir
/conftest.one
&&
2396 test -s conftest.dir
/conftest.two
2398 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2411 rm -rf conftest.one conftest.two conftest.dir
2414 if test "${ac_cv_path_install+set}" = set; then
2415 INSTALL
=$ac_cv_path_install
2417 # As a last resort, use the slow shell script. Don't cache a
2418 # value for INSTALL within a source directory, because that will
2419 # break other packages using the cache if that directory is
2420 # removed, or if the value is a relative name.
2421 INSTALL
=$ac_install_sh
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2425 $as_echo "$INSTALL" >&6; }
2427 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2428 # It thinks the first close brace ends the variable substitution.
2429 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2431 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2433 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2436 $as_echo_n "checking whether ln works... " >&6; }
2437 if test "${acx_cv_prog_LN+set}" = set; then :
2438 $as_echo_n "(cached) " >&6
2440 rm -f conftestdata_t
2441 echo >conftestdata_f
2442 if ln conftestdata_f conftestdata_t
2>/dev
/null
2448 rm -f conftestdata_f conftestdata_t
2451 if test $acx_cv_prog_LN = no
; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2454 $as_echo "no, using $LN" >&6; }
2456 LN
="$acx_cv_prog_LN"
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2458 $as_echo "yes" >&6; }
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2462 $as_echo_n "checking whether ln -s works... " >&6; }
2464 if test "$LN_S" = "ln -s"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2466 $as_echo "yes" >&6; }
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2469 $as_echo "no, using $LN_S" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2473 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2474 if test "${ac_cv_path_SED+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2477 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2478 for ac_i
in 1 2 3 4 5 6 7; do
2479 ac_script
="$ac_script$as_nl$ac_script"
2481 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2482 { ac_script
=; unset ac_script
;}
2483 if test -z "$SED"; then
2484 ac_path_SED_found
=false
2485 # Loop through the user's path and test for each of PROGNAME-LIST
2486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir
=.
2491 for ac_prog
in sed gsed
; do
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2494 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2495 # Check for GNU ac_path_SED and select it if it is found.
2496 # Check for GNU $ac_path_SED
2497 case `"$ac_path_SED" --version 2>&1` in
2499 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2502 $as_echo_n 0123456789 >"conftest.in"
2505 cat "conftest.in" "conftest.in" >"conftest.tmp"
2506 mv "conftest.tmp" "conftest.in"
2507 cp "conftest.in" "conftest.nl"
2508 $as_echo '' >> "conftest.nl"
2509 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2510 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2511 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2512 if test $ac_count -gt ${ac_path_SED_max-0}; then
2513 # Best one so far, save it but keep looking for a better one
2514 ac_cv_path_SED
="$ac_path_SED"
2515 ac_path_SED_max
=$ac_count
2517 # 10*(2^10) chars as input seems more than enough
2518 test $ac_count -gt 10 && break
2520 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2523 $ac_path_SED_found && break 3
2528 if test -z "$ac_cv_path_SED"; then
2529 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2537 $as_echo "$ac_cv_path_SED" >&6; }
2538 SED
="$ac_cv_path_SED"
2541 for ac_prog
in gawk mawk nawk
awk
2543 # Extract the first word of "$ac_prog", so it can be a program name with args.
2544 set dummy
$ac_prog; ac_word
=$2
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 $as_echo_n "checking for $ac_word... " >&6; }
2547 if test "${ac_cv_prog_AWK+set}" = set; then :
2548 $as_echo_n "(cached) " >&6
2550 if test -n "$AWK"; then
2551 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2557 test -z "$as_dir" && as_dir
=.
2558 for ac_exec_ext
in '' $ac_executable_extensions; do
2559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560 ac_cv_prog_AWK
="$ac_prog"
2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 if test -n "$AWK"; then
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2573 $as_echo "$AWK" >&6; }
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576 $as_echo "no" >&6; }
2580 test -n "$AWK" && break
2584 ### we might need to use some other shell than /bin/sh for running subshells
2585 ### If we are on Windows, search for the shell. This will permit people
2586 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2587 ### without also having to set CONFIG_SHELL. This code will work when
2588 ### using bash, which sets OSTYPE.
2591 if test x
${CONFIG_SHELL} = x
; then
2592 if test ! -f /bin
/sh
; then
2593 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2594 CONFIG_SHELL
=${SHELL}
2597 for prog
in sh sh.exe bash bash.exe
; do
2598 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2599 for dir
in $PATH; do
2600 test -z "$dir" && dir
=.
2601 if test -f $dir/$prog; then
2602 CONFIG_SHELL
=$dir/$prog
2608 test -n "${CONFIG_SHELL}" && break
2616 config_shell
=${CONFIG_SHELL-/bin/sh}
2618 moveifchange
=${srcdir}/move-if-change
2620 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2622 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2624 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2625 INSTALL
="${srcpwd}/install-sh -c"
2628 # Set srcdir to "." if that's what it is.
2629 # This is important for multilib support.
2631 if test "${pwd}" = "${srcpwd}" ; then
2639 ### To add a new directory to the tree, first choose whether it is a target
2640 ### or a host dependent tool. Then put it into the appropriate list
2641 ### (library or tools, host or target), doing a dependency sort.
2643 # Subdirs will be configured in the order listed in build_configdirs,
2644 # configdirs, or target_configdirs; see the serialization section below.
2646 # Dependency sorting is only needed when *configuration* must be done in
2647 # a particular order. In all cases a dependency should be specified in
2648 # the Makefile, whether or not it's implicitly specified here.
2650 # Double entries in build_configdirs, configdirs, or target_configdirs may
2651 # cause circular dependencies and break everything horribly.
2653 # these library is used by various programs built for the build
2656 build_libs
="build-libiberty"
2658 # these tools are built for the build environment
2659 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2661 # these libraries are used by various programs built for the host environment
2663 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2665 # these tools are built for the host environment
2666 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2667 # know that we are building the simulator.
2668 # binutils, gas and ld appear in that order because it makes sense to run
2669 # "make check" in that particular order.
2670 # If --enable-gold is used, "gold" may replace "ld".
2671 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
2673 # libgcj represents the runtime libraries only used by gcj.
2674 libgcj
="target-libffi \
2679 # these libraries are built for the target environment, and are built after
2680 # the host libraries and the host tools (which may be a cross compiler)
2682 target_libraries
="target-libgcc \
2687 target-libstdc++-v3 \
2690 target-libgfortran \
2696 # these tools are built using the target libraries, and are intended to
2697 # run only in the target environment
2699 # note: any program that *uses* libraries that are in the "target_libraries"
2700 # list belongs in this list. those programs are also very likely
2701 # candidates for the "native_only" list which follows
2703 target_tools
="target-examples target-groff target-gperf target-rda"
2705 ################################################################################
2707 ## All tools belong in one of the four categories, and are assigned above
2708 ## We assign ${configdirs} this way to remove all embedded newlines. This
2709 ## is important because configure will choke if they ever get through.
2710 ## ${configdirs} is directories we build using the host tools.
2711 ## ${target_configdirs} is directories we build using the target tools.
2712 configdirs
=`echo ${host_libs} ${host_tools}`
2713 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2714 build_configdirs
=`echo ${build_libs} ${build_tools}`
2718 ################################################################################
2720 srcname
="gnu development package"
2722 # This gets set non-empty for some net releases of packages.
2725 # Define is_cross_compiler to save on calls to 'test'.
2727 if test x
"${host}" = x
"${target}" ; then
2728 is_cross_compiler
=no
2730 is_cross_compiler
=yes
2733 # Find the build and target subdir names.
2735 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2736 # have matching libraries, they should use host libraries: Makefile.tpl
2737 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2738 # However, they still use the build modules, because the corresponding
2739 # host modules (e.g. bison) are only built for the host when bootstrap
2741 # - build_subdir is where we find build modules, and never changes.
2742 # - build_libsubdir is where we find build libraries, and can be overridden.
2744 # Prefix 'build-' so this never conflicts with target_subdir.
2745 build_subdir
="build-${build_noncanonical}"
2747 # Check whether --with-build-libsubdir was given.
2748 if test "${with_build_libsubdir+set}" = set; then :
2749 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2751 build_libsubdir
="$build_subdir"
2754 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2755 if ( test $srcdir = .
&& test -d gcc
) \
2756 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2757 host_subdir
="host-${host_noncanonical}"
2762 target_subdir
=${target_noncanonical}
2764 # Be sure to cover against remnants of an in-tree build.
2765 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2766 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2767 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2770 # Skipdirs are removed silently.
2772 # Noconfigdirs are removed loudly.
2776 # Make sure we don't let GNU ld be added if we didn't want it.
2777 if test x
$with_gnu_ld = xno
; then
2779 noconfigdirs
="$noconfigdirs ld gold"
2783 # Make sure we don't let GNU as be added if we didn't want it.
2784 if test x
$with_gnu_as = xno
; then
2786 noconfigdirs
="$noconfigdirs gas"
2790 # Make sure we don't let ZLIB be added if we didn't want it.
2791 if test x
$with_system_zlib = xyes
; then
2792 use_included_zlib
=no
2793 noconfigdirs
="$noconfigdirs zlib"
2796 # some tools are so dependent upon X11 that if we're not building with X,
2797 # it's not even worth trying to configure, much less build, that tool.
2800 yes |
"") ;; # the default value for this tree is that X11 is available
2802 skipdirs
="${skipdirs} tk itcl libgui"
2803 # We won't be able to build gdbtk without X.
2806 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2809 # Some tools are only suitable for building in a "native" situation.
2810 # Remove these if host!=target.
2811 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2813 # Similarly, some are only suitable for cross toolchains.
2814 # Remove these if host=target.
2815 cross_only
="target-libgloss target-newlib target-opcodes"
2817 case $is_cross_compiler in
2818 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2819 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2822 # If both --with-headers and --with-libs are specified, default to
2824 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2825 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2826 if test x
"${with_newlib}" = x
; then
2831 # Recognize --with-newlib/--without-newlib.
2832 case ${with_newlib} in
2833 no
) skipdirs
="${skipdirs} target-newlib" ;;
2834 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2837 # Handle --enable-gold.
2838 # --enable-gold Build only gold
2839 # --disable-gold [default] Build only ld
2840 # --enable-gold=both Build both gold and ld, ld is default
2841 # --enable-gold=both/ld Same
2842 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
2844 # Check whether --enable-gold was given.
2845 if test "${enable_gold+set}" = set; then :
2846 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2851 case "${ENABLE_GOLD}" in
2852 yes|both|both
/gold|both
/ld
)
2853 # Check for ELF target.
2856 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2857 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2858 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2860 *-*-linux*aout
* |
*-*-linux*oldld
*)
2868 if test "$is_elf" = "yes"; then
2869 # Check for target supported by gold.
2871 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2872 case "${ENABLE_GOLD}" in
2874 configdirs
="$configdirs gold"
2877 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
2888 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2892 # Configure extra directories which are host specific
2896 configdirs
="$configdirs libtermcap" ;;
2899 # A target can indicate whether a language isn't supported for some reason.
2900 # Only spaces may be used in this macro; not newlines or tabs.
2901 unsupported_languages
=
2903 # Remove more programs from consideration, based on the host or
2904 # target this usually means that a port of the program doesn't
2909 noconfigdirs
="$noconfigdirs byacc"
2911 i
[3456789]86-*-vsta)
2912 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2914 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2915 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2918 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2920 i
[3456789]86-*-mingw32*)
2921 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2922 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2924 i
[3456789]86-*-beos*)
2925 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2928 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2931 noconfigdirs
="$noconfigdirs rcs"
2934 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2937 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2942 # Check whether --enable-libada was given.
2943 if test "${enable_libada+set}" = set; then :
2944 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2949 if test "${ENABLE_LIBADA}" != "yes" ; then
2950 noconfigdirs
="$noconfigdirs gnattools"
2953 # Check whether --enable-libssp was given.
2954 if test "${enable_libssp+set}" = set; then :
2955 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2961 # Save it here so that, even in case of --enable-libgcj, if the Java
2962 # front-end isn't enabled, we still get libgcj disabled.
2963 libgcj_saved
=$libgcj
2964 case $enable_libgcj in
2966 # If we reset it here, it won't get added to noconfigdirs in the
2967 # target-specific build rules, so it will be forcibly enabled
2968 # (unless the Java language itself isn't enabled).
2972 # Make sure we get it printed in the list of not supported target libs.
2973 noconfigdirs
="$noconfigdirs ${libgcj}"
2978 # Disable libmudflap on some systems.
2979 if test x
$enable_libmudflap = x
; then
2981 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2982 # Enable libmudflap by default in GNU and friends.
2985 # Enable libmudflap by default in FreeBSD.
2988 # Disable it by default everywhere else.
2989 noconfigdirs
="$noconfigdirs target-libmudflap"
2994 # Disable libgomp on non POSIX hosted systems.
2995 if test x
$enable_libgomp = x
; then
2996 # Enable libgomp by default on hosted POSIX systems.
2998 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3000 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3002 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3004 *-*-darwin* |
*-*-aix*)
3007 noconfigdirs
="$noconfigdirs target-libgomp"
3012 # Default libgloss CPU subdirectory.
3013 libgloss_dir
="$target_cpu"
3017 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3020 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3021 noconfigdirs
="$noconfigdirs sim target-rda"
3023 i
[3456789]86-*-darwin*)
3024 noconfigdirs
="$noconfigdirs ld gprof"
3025 noconfigdirs
="$noconfigdirs sim target-rda"
3027 x86_64-
*-darwin[912]*)
3028 noconfigdirs
="$noconfigdirs ld gas gprof"
3029 noconfigdirs
="$noconfigdirs sim target-rda"
3032 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3033 noconfigdirs
="$noconfigdirs sim target-rda"
3034 noconfigdirs
="$noconfigdirs ${libgcj}"
3036 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3037 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3040 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3041 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3042 && test -f /usr
/local
/include
/gmp.h
; then
3046 # Skip some stuff that's unsupported on some FreeBSD configurations.
3052 noconfigdirs
="$noconfigdirs ${libgcj}"
3057 # Remove unsupported stuff on all kaOS configurations.
3058 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3059 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3060 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3061 noconfigdirs
="$noconfigdirs target-libgloss"
3064 # Skip some stuff on all NetBSD configurations.
3065 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3067 # Skip some stuff that's unsupported on some NetBSD configurations.
3069 i
*86-*-netbsdelf*) ;;
3070 arm
*-*-netbsdelf*) ;;
3072 noconfigdirs
="$noconfigdirs ${libgcj}"
3077 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3080 skipdirs
="${skipdirs} target-libiberty"
3081 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3083 # The tpf target doesn't support gdb yet.
3085 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3088 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3091 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3094 # ld works, but does not support shared libraries.
3095 # newlib is not 64 bit ready. I'm not sure about fileutils.
3096 # gas doesn't generate exception information.
3097 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3100 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3103 # newlib is not 64 bit ready
3104 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3107 # newlib is not 64 bit ready
3108 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3111 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3114 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3116 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3117 noconfigdirs
="$noconfigdirs ${libgcj}"
3118 noconfigdirs
="$noconfigdirs target-examples"
3119 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3120 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3121 noconfigdirs
="$noconfigdirs expect dejagnu"
3122 # the C++ libraries don't build on top of CE's C libraries
3123 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3124 noconfigdirs
="$noconfigdirs target-newlib"
3126 *-*-cygwin*) ;; # keep gdb and readline
3127 *) noconfigdirs
="$noconfigdirs gdb readline"
3133 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3137 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3138 noconfigdirs
="$noconfigdirs ${libgcj}"
3141 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3142 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3145 arm
*-*-linux-gnueabi)
3146 noconfigdirs
="$noconfigdirs target-qthreads"
3147 case ${with_newlib} in
3148 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3153 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3157 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3160 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3163 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3166 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3169 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3172 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3175 unsupported_languages
="$unsupported_languages java"
3176 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3177 if test x
${is_cross_compiler} != xno
; then
3178 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3181 c4x-
*-* | tic4x-
*-*)
3182 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3184 c54x
*-*-* | tic54x-
*-*)
3185 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3188 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3190 cris-
*-* | crisv32-
*-*)
3191 unsupported_languages
="$unsupported_languages java"
3194 unsupported_languages
="$unsupported_languages fortran"
3195 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3197 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3199 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3201 unsupported_languages
="$unsupported_languages fortran"
3202 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3207 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3210 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3213 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3215 ep9312-
*-elf | ep9312-
*-coff)
3219 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3222 noconfigdirs
="$noconfigdirs ${libgcj}"
3225 noconfigdirs
="$noconfigdirs ${libgcj}"
3226 noconfigdirs
="$noconfigdirs gprof"
3229 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3232 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3234 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3236 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3237 # In this case, it's because the hppa64-linux target is for
3238 # the kernel only at this point and has no libc, and thus no
3239 # headers, crt*.o, etc., all of which are needed by these.
3240 noconfigdirs
="$noconfigdirs target-zlib"
3242 parisc
*-*-linux* | hppa
*-*-linux*)
3246 hppa
*-*-openbsd* | \
3248 noconfigdirs
="$noconfigdirs ${libgcj}"
3251 noconfigdirs
="$noconfigdirs ld shellutils"
3257 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3258 # build on HP-UX 10.20.
3259 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3262 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3265 # No gdb support yet.
3266 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3269 # No gdb or ld support yet.
3270 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3273 # No gdb or ld support yet.
3274 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3278 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3279 noconfigdirs
="$noconfigdirs ${libgcj}"
3282 i
[3456789]86-*-linux*)
3283 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3284 # not build java stuff by default.
3287 noconfigdirs
="$noconfigdirs ${libgcj}";;
3290 # This section makes it possible to build newlib natively on linux.
3291 # If we are using a cross compiler then don't configure newlib.
3292 if test x
${is_cross_compiler} != xno
; then
3293 noconfigdirs
="$noconfigdirs target-newlib"
3295 noconfigdirs
="$noconfigdirs target-libgloss"
3296 # If we are not using a cross compiler, do configure newlib.
3297 # Note however, that newlib will only be configured in this situation
3298 # if the --with-newlib option has been given, because otherwise
3299 # 'target-newlib' will appear in skipdirs.
3301 i
[3456789]86-w64-mingw*)
3302 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3304 i
[3456789]86-*-mingw*)
3305 target_configdirs
="$target_configdirs target-winsup"
3306 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3309 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3312 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3313 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3314 # always build newlib if winsup directory is present.
3315 if test -d "$srcdir/winsup/cygwin"; then
3316 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3317 elif test -d "$srcdir/newlib"; then
3318 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3321 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3322 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3325 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3327 i
[3456789]86-*-sco3.2v5
*)
3328 # The linker does not yet know about weak symbols in COFF,
3329 # and is not configured to handle mixed ELF and COFF.
3330 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3332 i
[3456789]86-*-sco*)
3333 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3335 i
[3456789]86-*-solaris2*)
3336 noconfigdirs
="$noconfigdirs target-libgloss"
3338 i
[3456789]86-*-sysv4*)
3339 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3341 i
[3456789]86-*-beos*)
3342 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3344 i
[3456789]86-*-rdos*)
3345 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3348 noconfigdirs
="$noconfigdirs ${libgcj}"
3350 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3351 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3352 libgloss_dir
=m68hc11
3355 noconfigdirs
="$noconfigdirs ${libgcj}"
3358 noconfigdirs
="$noconfigdirs ${libgcj}"
3360 m68
*-*-* | fido-
*-*)
3364 # The EPOC C++ environment does not support exceptions or rtti,
3365 # and so building libstdc++-v3 tends not to always work.
3366 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3369 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3370 unsupported_languages
="$unsupported_languages fortran java"
3373 noconfigdirs
="$noconfigdirs ${libgcj}"
3376 noconfigdirs
="$noconfigdirs ${libgcj}"
3379 noconfigdirs
="$noconfigdirs sim"
3382 # copied from rs6000-*-* entry
3383 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3385 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3386 target_configdirs
="$target_configdirs target-winsup"
3387 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3388 # always build newlib.
3389 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3391 # This is temporary until we can link against shared libraries
3392 powerpcle-
*-solaris*)
3393 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3397 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3400 noconfigdirs
="$noconfigdirs ${libgcj}"
3403 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3407 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3410 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3413 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3416 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3419 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3422 skipdirs
="$skipdirs target-libiberty"
3423 noconfigdirs
="$noconfigdirs ${libgcj}"
3424 if test x
$with_newlib = xyes
; then
3425 noconfigdirs
="$noconfigdirs gprof"
3430 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3433 # Linking libjava exceeds command-line length limits on at least
3434 # IRIX 6.2, but not on IRIX 6.5.
3435 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3436 # <oldham@codesourcery.com>
3437 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3440 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3443 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3446 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3450 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3454 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3455 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3456 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3457 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3461 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3463 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3466 sparclet-
*-aout* | sparc86x-
*-*)
3470 noconfigdirs
="$noconfigdirs ${libgcj}"
3473 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs ${libgcj}"
3481 noconfigdirs
="$noconfigdirs ${libgcj}"
3482 if test x
${is_cross_compiler} != xno
; then
3483 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3488 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3489 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3494 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3497 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3500 noconfigdirs
="$noconfigdirs ${libgcj}"
3503 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3506 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3509 noconfigdirs
="$noconfigdirs ${libgcj}"
3512 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3514 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3515 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3518 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3521 noconfigdirs
="$noconfigdirs ${libgcj}"
3525 # If we aren't building newlib, then don't build libgloss, since libgloss
3526 # depends upon some newlib header files.
3527 case "${noconfigdirs}" in
3528 *target-libgloss
*) ;;
3529 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3532 # Work in distributions that contain no compiler tools, like Autoconf.
3534 host_makefile_frag
=/dev
/null
3535 if test -d ${srcdir}/config
; then
3538 # Avoid "too much defining" errors from HPUX compiler.
3539 tentative_cc
="cc -Wp,-H256000"
3540 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3541 # If it's HP/UX ar, this should be harmless.
3545 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3548 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3549 # chokes on bfd, the compiler won't let you assign integers to enums, and
3550 # other problems. Defining CC to gcc is a questionable way to say "don't use
3551 # the apollo compiler" (the preferred version of GCC could be called cc,
3552 # or whatever), but I'm not sure leaving CC as cc is any better...
3553 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3554 # Used to have BISON=yacc.
3558 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3561 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3562 tentative_cc
="cc -Xa"
3563 host_makefile_frag
="config/mh-cxux"
3565 m88k-motorola-sysv
*)
3568 tentative_cc
="cc -Wf,-XNg1000"
3569 host_makefile_frag
="config/mh-decstation"
3572 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3573 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3574 host_makefile_frag
="config/mh-necv4"
3577 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3578 # environment. Also bump switch table size so that cp-parse will
3579 # compile. Bump string length limit so linker builds.
3580 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3583 host_makefile_frag
="config/mh-sysv4"
3586 # This is for a MIPS running RISC/os 4.52C.
3588 # This is needed for GDB, but needs to be in the top-level make because
3589 # if a library is compiled with the bsd headers and gets linked with the
3590 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3591 # a different size).
3592 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3593 # known except to select the sysv environment. Could we use /proc instead?
3594 # These "sysv environments" and "bsd environments" often end up being a pain.
3596 # This is not part of CFLAGS because perhaps not all C compilers have this
3598 tentative_cc
="cc -systype sysv"
3603 i
[3456789]86-*-sysv5*)
3604 host_makefile_frag
="config/mh-sysv5"
3606 i
[3456789]86-*-dgux*)
3607 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3608 host_makefile_frag
="config/mh-dgux386"
3610 i
[3456789]86-ncr-sysv4.3
*)
3611 # The MetaWare compiler will generate a copyright message unless you
3612 # turn it off by adding the -Hnocopyr flag.
3613 tentative_cc
="cc -Hnocopyr"
3615 i
[3456789]86-ncr-sysv4*)
3616 # for an NCR 3000 (i486/SVR4) system.
3617 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3618 # This compiler not only emits obnoxious copyright messages every time
3619 # you run it, but it chokes and dies on a whole bunch of GNU source
3620 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3621 tentative_cc
="/usr/ccs/ATT/cc"
3622 host_makefile_frag
="config/mh-ncr3000"
3624 i
[3456789]86-*-sco3.2v5
*)
3626 i
[3456789]86-*-sco*)
3627 # The native C compiler botches some simple uses of const. Unfortunately,
3628 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3629 tentative_cc
="cc -Dconst="
3630 host_makefile_frag
="config/mh-sco"
3632 i
[3456789]86-*-udk*)
3633 host_makefile_frag
="config/mh-sysv5"
3635 i
[3456789]86-*-solaris2*)
3636 host_makefile_frag
="config/mh-sysv4"
3638 i
[3456789]86-*-msdosdjgpp*)
3639 host_makefile_frag
="config/mh-djgpp"
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3644 $as_echo_n "checking to see if cat works as expected... " >&6; }
3645 echo a
>cygwin-cat-check
3646 if test `cat cygwin-cat-check` = a
; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3649 $as_echo "yes" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3654 as_fn_error
"The cat command does not ignore carriage return characters.
3655 Please either mount the build directory in binary mode or run the following
3656 commands before running any configure script:
3662 host_makefile_frag
="config/mh-cygwin"
3665 host_makefile_frag
="config/mh-mingw"
3668 host_makefile_frag
="config/mh-interix"
3671 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3675 host_makefile_frag
="config/mh-solaris"
3678 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3679 # without overflowing the jump tables (-J says to use a 32 bit table)
3680 tentative_cc
="cc -J"
3683 tentative_cc
="cc -Wp,-H256000"
3684 host_makefile_frag
="config/mh-pa-hpux10"
3686 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3687 tentative_cc
="cc -Wp,-H256000"
3688 host_makefile_frag
="config/mh-pa"
3691 host_makefile_frag
="config/mh-pa"
3693 *-hp-hpux* |
*-*-hiux*)
3694 tentative_cc
="cc -Wp,-H256000"
3697 # /bin/cc is less than useful for our purposes. Always use GCC
3698 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3699 host_makefile_frag
="config/mh-lynxrs6k"
3702 host_makefile_frag
="config/mh-ppc-darwin"
3705 host_makefile_frag
="config/mh-ppc-aix"
3708 host_makefile_frag
="config/mh-ppc-aix"
3711 # /bin/cc is less than useful for our purposes. Always use GCC
3712 tentative_cc
="/bin/gcc"
3715 host_makefile_frag
="config/mh-sysv4"
3717 # This is placed last to prevent interfering with the cases above.
3719 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3720 host_makefile_frag
="config/mh-x86omitfp"
3725 # If we aren't going to be using gcc, see if we can extract a definition
3726 # of CC from the fragment.
3727 # Actually, use the 'pre-extracted' version above.
3728 if test -z "${CC}" && test "${build}" = "${host}" ; then
3729 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3731 for dir
in $PATH; do
3732 test -z "$dir" && dir
=.
3733 if test -f $dir/gcc
; then
3739 if test -z "${found}" && test -n "${tentative_cc}" ; then
3744 if test "${build}" != "${host}" ; then
3745 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3746 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3747 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3748 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3749 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3750 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3751 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3752 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3753 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3754 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3755 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3756 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3758 AR_FOR_BUILD
="\$(AR)"
3759 AS_FOR_BUILD
="\$(AS)"
3760 CC_FOR_BUILD
="\$(CC)"
3761 CXX_FOR_BUILD
="\$(CXX)"
3762 GCJ_FOR_BUILD
="\$(GCJ)"
3763 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3764 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3765 LD_FOR_BUILD
="\$(LD)"
3766 NM_FOR_BUILD
="\$(NM)"
3767 RANLIB_FOR_BUILD
="\$(RANLIB)"
3768 WINDRES_FOR_BUILD
="\$(WINDRES)"
3769 WINDMC_FOR_BUILD
="\$(WINDMC)"
3773 ac_cpp
='$CPP $CPPFLAGS'
3774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3777 if test -n "$ac_tool_prefix"; then
3778 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3779 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC
="$CC" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 if test -n "$CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3808 $as_echo "$CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3816 if test -z "$ac_cv_prog_CC"; then
3818 # Extract the first word of "gcc", so it can be a program name with args.
3819 set dummy gcc
; ac_word
=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3823 $as_echo_n "(cached) " >&6
3825 if test -n "$ac_ct_CC"; then
3826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3832 test -z "$as_dir" && as_dir
=.
3833 for ac_exec_ext
in '' $ac_executable_extensions; do
3834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3835 ac_cv_prog_ac_ct_CC
="gcc"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3846 if test -n "$ac_ct_CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3848 $as_echo "$ac_ct_CC" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3854 if test "x$ac_ct_CC" = x
; then
3857 case $cross_compiling:$ac_tool_warned in
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3861 ac_tool_warned
=yes ;;
3869 if test -z "$CC"; then
3870 if test -n "$ac_tool_prefix"; then
3871 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3872 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if test "${ac_cv_prog_CC+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$CC"; then
3879 ac_cv_prog_CC
="$CC" # Let the user override the test.
3881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir
=.
3886 for ac_exec_ext
in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 if test -n "$CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3901 $as_echo "$CC" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3910 if test -z "$CC"; then
3911 # Extract the first word of "cc", so it can be a program name with args.
3912 set dummy cc
; ac_word
=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if test "${ac_cv_prog_CC+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -n "$CC"; then
3919 ac_cv_prog_CC
="$CC" # Let the user override the test.
3922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir
=.
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3930 ac_prog_rejected
=yes
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 if test $ac_prog_rejected = yes; then
3942 # We found a bogon in the path, so make sure we never use it.
3943 set dummy
$ac_cv_prog_CC
3945 if test $# != 0; then
3946 # We chose a different compiler from the bogus one.
3947 # However, it has the same basename, so the bogon will be chosen
3948 # first if we set CC to just the basename; use the full file name.
3950 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3956 if test -n "$CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3958 $as_echo "$CC" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3966 if test -z "$CC"; then
3967 if test -n "$ac_tool_prefix"; then
3968 for ac_prog
in cl.exe
3970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3971 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if test "${ac_cv_prog_CC+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -n "$CC"; then
3978 ac_cv_prog_CC
="$CC" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3987 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 if test -n "$CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4000 $as_echo "$CC" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4007 test -n "$CC" && break
4010 if test -z "$CC"; then
4012 for ac_prog
in cl.exe
4014 # Extract the first word of "$ac_prog", so it can be a program name with args.
4015 set dummy
$ac_prog; ac_word
=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$ac_ct_CC"; then
4022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031 ac_cv_prog_ac_ct_CC
="$ac_prog"
4032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4042 if test -n "$ac_ct_CC"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4044 $as_echo "$ac_ct_CC" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4051 test -n "$ac_ct_CC" && break
4054 if test "x$ac_ct_CC" = x
; then
4057 case $cross_compiling:$ac_tool_warned in
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4061 ac_tool_warned
=yes ;;
4070 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error
"no acceptable C compiler found in \$PATH
4073 See \`config.log' for more details." "$LINENO" 5; }
4075 # Provide some information about the compiler.
4076 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4079 for ac_option
in --version -v -V -qversion; do
4080 { { ac_try
="$ac_compiler $ac_option >&5"
4082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 $as_echo "$ac_try_echo"; } >&5
4087 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4089 if test -s conftest.err; then
4091 ... rest of stderr output deleted ...
4092 10q' conftest.err >conftest.er1
4093 cat conftest.er1 >&5
4094 rm -f conftest.er1 conftest.err
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4111 ac_clean_files_save=$ac_clean_files
4112 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4113 # Try to create an executable without -o first, disregard a.out.
4114 # It will help us diagnose broken compilers, and finding out an intuition
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4117 $as_echo_n "checking for C compiler default output file name... " >&6; }
4118 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4120 # The possible output files:
4121 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4124 for ac_file in $ac_files
4127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4128 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4133 if { { ac_try="$ac_link_default"
4135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4136 *) ac_try_echo
=$ac_try;;
4138 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_link_default") 2>&5
4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143 test $ac_status = 0; }; then :
4144 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4145 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4146 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4147 # so that the user can short-circuit this test for compilers unknown to
4149 for ac_file
in $ac_files ''
4151 test -f "$ac_file" ||
continue
4153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4156 # We found the default executable, but exeext='' is most
4160 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4162 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4164 # We set ac_cv_exeext here because the later test for it is not
4165 # safe: cross compilers may not add the suffix if given an `-o'
4166 # argument, so we may need to know it at that point already.
4167 # Even if this section looks crufty: it has the advantage of
4174 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4180 $as_echo "$ac_file" >&6; }
4181 if test -z "$ac_file"; then :
4182 $as_echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.
$ac_ext >&5
4185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4187 { as_fn_set_status
77
4188 as_fn_error
"C compiler cannot create executables
4189 See \`config.log' for more details." "$LINENO" 5; }; }
4191 ac_exeext
=$ac_cv_exeext
4193 # Check that the compiler produces executables we can run. If not, either
4194 # the compiler is broken, or we cross compile.
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4196 $as_echo_n "checking whether the C compiler works... " >&6; }
4197 # If not cross compiling, check that we can run a simple program.
4198 if test "$cross_compiling" != yes; then
4199 if { ac_try
='./$ac_file'
4200 { { case "(($ac_try" in
4201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_try") 2>&5
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }; }; then
4212 if test "$cross_compiling" = maybe; then
4215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4217 as_fn_error "cannot run C compiled programs.
4218 If you meant to cross compile
, use \
`--host'.
4219 See \`config.log
' for more details." "$LINENO" 5; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4226 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4227 ac_clean_files=$ac_clean_files_save
4228 # Check that the compiler produces executables we can run. If not, either
4229 # the compiler is broken, or we cross compile.
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4231 $as_echo_n "checking whether we are cross compiling... " >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4233 $as_echo "$cross_compiling" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4236 $as_echo_n "checking for suffix of executables... " >&6; }
4237 if { { ac_try="$ac_link"
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link") 2>&5
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; then :
4248 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4249 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4250 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4252 for ac_file
in conftest.exe conftest conftest.
*; do
4253 test -f "$ac_file" ||
continue
4255 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4256 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4265 See \`config.log' for more details." "$LINENO" 5; }
4267 rm -f conftest
$ac_cv_exeext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4269 $as_echo "$ac_cv_exeext" >&6; }
4271 rm -f conftest.
$ac_ext
4272 EXEEXT
=$ac_cv_exeext
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4275 $as_echo_n "checking for suffix of object files... " >&6; }
4276 if test "${ac_cv_objext+set}" = set; then :
4277 $as_echo_n "(cached) " >&6
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4290 rm -f conftest.o conftest.obj
4291 if { { ac_try
="$ac_compile"
4293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298 (eval "$ac_compile") 2>&5
4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }; then :
4302 for ac_file in conftest.o conftest.obj conftest.*; do
4303 test -f "$ac_file" || continue;
4305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4306 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4311 $as_echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4316 as_fn_error "cannot compute suffix of object files
: cannot compile
4317 See \
`config.log' for more details." "$LINENO" 5; }
4319 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4322 $as_echo "$ac_cv_objext" >&6; }
4323 OBJEXT=$ac_cv_objext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4326 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4327 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4344 if ac_fn_c_try_compile "$LINENO"; then :
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4354 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4355 if test $ac_compiler_gnu = yes; then
4360 ac_test_CFLAGS=${CFLAGS+set}
4361 ac_save_CFLAGS=$CFLAGS
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4363 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4364 if test "${ac_cv_prog_cc_g+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4367 ac_save_c_werror_flag=$ac_c_werror_flag
4368 ac_c_werror_flag=yes
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4382 if ac_fn_c_try_compile "$LINENO"; then :
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4397 if ac_fn_c_try_compile "$LINENO"; then :
4400 ac_c_werror_flag=$ac_save_c_werror_flag
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4413 if ac_fn_c_try_compile "$LINENO"; then :
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 ac_c_werror_flag=$ac_save_c_werror_flag
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4424 $as_echo "$ac_cv_prog_cc_g" >&6; }
4425 if test "$ac_test_CFLAGS" = set; then
4426 CFLAGS=$ac_save_CFLAGS
4427 elif test $ac_cv_prog_cc_g = yes; then
4428 if test "$GCC" = yes; then
4434 if test "$GCC" = yes; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4441 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4442 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4445 ac_cv_prog_cc_c89=no
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 #include <sys/types.h>
4452 #include <sys/stat.h>
4453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4454 struct buf { int x; };
4455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4456 static char *e (p, i)
4462 static char *f (char * (*g) (char **, int), char **p, ...)
4467 s = g (p, va_arg (v,int));
4472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4473 function prototypes and stuff, but not '\xHH' hex character constants.
4474 These don't provoke an error unfortunately, instead are silently treated
4475 as 'x'. The following induces an error, until -std is added to get
4476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4477 array size at least. It's necessary to write '\x00'==0 to get something
4478 that's true only with -std. */
4479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4481 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4482 inside strings and character constants. */
4484 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4486 int test (int i, double x);
4487 struct s1 {int (*f) (int a);};
4488 struct s2 {int (*f) (double a);};
4489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4500 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4501 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4503 CC="$ac_save_CC $ac_arg"
4504 if ac_fn_c_try_compile "$LINENO"; then :
4505 ac_cv_prog_cc_c89=$ac_arg
4507 rm -f core conftest.err conftest.$ac_objext
4508 test "x$ac_cv_prog_cc_c89" != "xno" && break
4510 rm -f conftest.$ac_ext
4515 case "x$ac_cv_prog_cc_c89" in
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4518 $as_echo "none needed" >&6; } ;;
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4521 $as_echo "unsupported" >&6; } ;;
4523 CC="$CC $ac_cv_prog_cc_c89"
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4525 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4527 if test "x$ac_cv_prog_cc_c89" != xno; then :
4532 ac_cpp='$CPP $CPPFLAGS'
4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4538 ac_cpp='$CXXCPP $CPPFLAGS'
4539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4542 if test -z "$CXX"; then
4543 if test -n "$CCC"; then
4546 if test -n "$ac_tool_prefix"; then
4547 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4550 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if test "${ac_cv_prog_CXX+set}" = set; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -n "$CXX"; then
4557 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4566 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 if test -n "$CXX"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4579 $as_echo "$CXX" >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4586 test -n "$CXX" && break
4589 if test -z "$CXX"; then
4591 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4593 # Extract the first word of "$ac_prog", so it can be a program name with args.
4594 set dummy $ac_prog; ac_word=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$ac_ct_CXX"; then
4601 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4610 ac_cv_prog_ac_ct_CXX="$ac_prog"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4621 if test -n "$ac_ct_CXX"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4623 $as_echo "$ac_ct_CXX" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4630 test -n "$ac_ct_CXX" && break
4633 if test "x$ac_ct_CXX" = x; then
4636 case $cross_compiling:$ac_tool_warned in
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4640 ac_tool_warned=yes ;;
4648 # Provide some information about the compiler.
4649 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4652 for ac_option in --version -v -V -qversion; do
4653 { { ac_try="$ac_compiler $ac_option >&5"
4655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4656 *) ac_try_echo
=$ac_try;;
4658 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4659 $as_echo "$ac_try_echo"; } >&5
4660 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4662 if test -s conftest.err
; then
4664 ... rest of stderr output deleted ...
4665 10q' conftest.err
>conftest.er1
4666 cat conftest.er1
>&5
4667 rm -f conftest.er1 conftest.err
4669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4670 test $ac_status = 0; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4674 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4675 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4676 $as_echo_n "(cached) " >&6
4678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4692 if ac_fn_cxx_try_compile
"$LINENO"; then :
4697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4698 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4702 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4703 if test $ac_compiler_gnu = yes; then
4708 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4709 ac_save_CXXFLAGS
=$CXXFLAGS
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4711 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4712 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4713 $as_echo_n "(cached) " >&6
4715 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4716 ac_cxx_werror_flag
=yes
4719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4730 if ac_fn_cxx_try_compile
"$LINENO"; then :
4731 ac_cv_prog_cxx_g
=yes
4734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4745 if ac_fn_cxx_try_compile
"$LINENO"; then :
4748 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4761 if ac_fn_cxx_try_compile
"$LINENO"; then :
4762 ac_cv_prog_cxx_g
=yes
4764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4769 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4772 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4773 if test "$ac_test_CXXFLAGS" = set; then
4774 CXXFLAGS
=$ac_save_CXXFLAGS
4775 elif test $ac_cv_prog_cxx_g = yes; then
4776 if test "$GXX" = yes; then
4782 if test "$GXX" = yes; then
4789 ac_cpp
='$CPP $CPPFLAGS'
4790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4795 # We must set the default linker to the linker used by gcc for the correct
4796 # operation of libtool. If LD is not defined and we are using gcc, try to
4797 # set the LD default to the ld used by gcc.
4798 if test -z "$LD"; then
4799 if test "$GCC" = yes; then
4802 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4804 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4806 case $gcc_prog_ld in
4807 # Accept absolute paths.
4808 [\\/]* |
[A-Za-z
]:[\\/]*)
4809 LD
="$gcc_prog_ld" ;;
4817 if test -n "$ac_tool_prefix"; then
4818 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4819 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$GNATBIND"; then
4826 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 GNATBIND
=$ac_cv_prog_GNATBIND
4846 if test -n "$GNATBIND"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4848 $as_echo "$GNATBIND" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4856 if test -z "$ac_cv_prog_GNATBIND"; then
4857 ac_ct_GNATBIND
=$GNATBIND
4858 # Extract the first word of "gnatbind", so it can be a program name with args.
4859 set dummy gnatbind
; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$ac_ct_GNATBIND"; then
4866 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4886 if test -n "$ac_ct_GNATBIND"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4888 $as_echo "$ac_ct_GNATBIND" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4894 if test "x$ac_ct_GNATBIND" = x
; then
4897 case $cross_compiling:$ac_tool_warned in
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4901 ac_tool_warned
=yes ;;
4903 GNATBIND
=$ac_ct_GNATBIND
4906 GNATBIND
="$ac_cv_prog_GNATBIND"
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4911 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$GNATMAKE"; then
4918 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 GNATMAKE
=$ac_cv_prog_GNATMAKE
4938 if test -n "$GNATMAKE"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4940 $as_echo "$GNATMAKE" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_GNATMAKE"; then
4949 ac_ct_GNATMAKE
=$GNATMAKE
4950 # Extract the first word of "gnatmake", so it can be a program name with args.
4951 set dummy gnatmake
; ac_word
=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_GNATMAKE"; then
4958 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4978 if test -n "$ac_ct_GNATMAKE"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4980 $as_echo "$ac_ct_GNATMAKE" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_GNATMAKE" = x
; then
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned
=yes ;;
4995 GNATMAKE
=$ac_ct_GNATMAKE
4998 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5002 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5003 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5004 $as_echo_n "(cached) " >&6
5006 cat >conftest.adb
<<EOF
5007 procedure conftest is begin null; end conftest;
5009 acx_cv_cc_gcc_supports_ada
=no
5010 # There is a bug in old released versions of GCC which causes the
5011 # driver to exit successfully when the appropriate language module
5012 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5013 # Therefore we must check for the error message as well as an
5014 # unsuccessful exit.
5015 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5016 # given a .adb file, but produce no object file. So we must check
5017 # if an object file was really produced to guard against this.
5018 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5019 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5020 acx_cv_cc_gcc_supports_ada
=yes
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5025 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5027 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5034 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5035 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5036 $as_echo_n "(cached) " >&6
5040 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5041 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5042 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5045 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5048 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5049 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5052 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5059 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5060 do_compare
="$gcc_cv_prog_cmp_skip"
5064 # See if we are building gcc with C++.
5065 # Check whether --enable-build-with-cxx was given.
5066 if test "${enable_build_with_cxx+set}" = set; then :
5067 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5069 ENABLE_BUILD_WITH_CXX
=no
5073 # Used for setting $lt_cv_objdir
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5075 $as_echo_n "checking for objdir... " >&6; }
5076 if test "${lt_cv_objdir+set}" = set; then :
5077 $as_echo_n "(cached) " >&6
5079 rm -f .libs
2>/dev
/null
5080 mkdir .libs
2>/dev
/null
5081 if test -d .libs
; then
5084 # MS-DOS does not allow filenames that begin with a dot.
5087 rmdir .libs
2>/dev
/null
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5090 $as_echo "$lt_cv_objdir" >&6; }
5091 objdir
=$lt_cv_objdir
5097 cat >>confdefs.h
<<_ACEOF
5098 #define LT_OBJDIR "$lt_cv_objdir/"
5103 # Check for GMP, MPFR and MPC
5104 gmplibs
="-lmpc -lmpfr -lgmp"
5108 # Specify a location for mpc
5109 # check for this first so it ends up on the link line before mpfr.
5111 # Check whether --with-mpc was given.
5112 if test "${with_mpc+set}" = set; then :
5117 # Check whether --with-mpc_include was given.
5118 if test "${with_mpc_include+set}" = set; then :
5119 withval
=$with_mpc_include;
5123 # Check whether --with-mpc_lib was given.
5124 if test "${with_mpc_lib+set}" = set; then :
5125 withval
=$with_mpc_lib;
5129 if test "x$with_mpc" != x
; then
5130 gmplibs
="-L$with_mpc/lib $gmplibs"
5131 gmpinc
="-I$with_mpc/include $gmpinc"
5133 if test "x$with_mpc_include" != x
; then
5134 gmpinc
="-I$with_mpc_include $gmpinc"
5136 if test "x$with_mpc_lib" != x
; then
5137 gmplibs
="-L$with_mpc_lib $gmplibs"
5139 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5140 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5141 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5142 # Do not test the mpc version. Assume that it is sufficient, since
5143 # it is in the source tree, and the library has not been built yet
5144 # but it would be included on the link line in the version check below
5145 # hence making the test fail.
5149 # Specify a location for mpfr
5150 # check for this first so it ends up on the link line before gmp.
5152 # Check whether --with-mpfr-dir was given.
5153 if test "${with_mpfr_dir+set}" = set; then :
5154 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5155 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5160 # Check whether --with-mpfr was given.
5161 if test "${with_mpfr+set}" = set; then :
5166 # Check whether --with-mpfr_include was given.
5167 if test "${with_mpfr_include+set}" = set; then :
5168 withval
=$with_mpfr_include;
5172 # Check whether --with-mpfr_lib was given.
5173 if test "${with_mpfr_lib+set}" = set; then :
5174 withval
=$with_mpfr_lib;
5178 if test "x$with_mpfr" != x
; then
5179 gmplibs
="-L$with_mpfr/lib $gmplibs"
5180 gmpinc
="-I$with_mpfr/include $gmpinc"
5182 if test "x$with_mpfr_include" != x
; then
5183 gmpinc
="-I$with_mpfr_include $gmpinc"
5185 if test "x$with_mpfr_lib" != x
; then
5186 gmplibs
="-L$with_mpfr_lib $gmplibs"
5188 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5189 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5190 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5191 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5192 # Do not test the mpfr version. Assume that it is sufficient, since
5193 # it is in the source tree, and the library has not been built yet
5194 # but it would be included on the link line in the version check below
5195 # hence making the test fail.
5199 # Specify a location for gmp
5201 # Check whether --with-gmp-dir was given.
5202 if test "${with_gmp_dir+set}" = set; then :
5203 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5204 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5209 # Check whether --with-gmp was given.
5210 if test "${with_gmp+set}" = set; then :
5215 # Check whether --with-gmp_include was given.
5216 if test "${with_gmp_include+set}" = set; then :
5217 withval
=$with_gmp_include;
5221 # Check whether --with-gmp_lib was given.
5222 if test "${with_gmp_lib+set}" = set; then :
5223 withval
=$with_gmp_lib;
5228 if test "x$with_gmp" != x
; then
5229 gmplibs
="-L$with_gmp/lib $gmplibs"
5230 gmpinc
="-I$with_gmp/include $gmpinc"
5232 if test "x$with_gmp_include" != x
; then
5233 gmpinc
="-I$with_gmp_include $gmpinc"
5235 if test "x$with_gmp_lib" != x
; then
5236 gmplibs
="-L$with_gmp_lib $gmplibs"
5238 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5239 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5240 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5241 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5242 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5243 # Do not test the gmp version. Assume that it is sufficient, since
5244 # it is in the source tree, and the library has not been built yet
5245 # but it would be included on the link line in the version check below
5246 # hence making the test fail.
5250 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5252 saved_CFLAGS
="$CFLAGS"
5253 CFLAGS
="$CFLAGS $gmpinc"
5254 # Check for the recommended and required versions of GMP.
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5256 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5265 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5266 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5267 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5275 if ac_fn_c_try_compile
"$LINENO"; then :
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5283 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5284 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5285 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5293 if ac_fn_c_try_compile
"$LINENO"; then :
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5295 $as_echo "yes" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5298 $as_echo "buggy but acceptable" >&6; }
5300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }; have_gmp
=no
5305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5307 # If we have GMP, check the MPFR version.
5308 if test x
"$have_gmp" = xyes
; then
5309 # Check for the recommended and required versions of MPFR.
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5311 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5320 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5328 if ac_fn_c_try_compile
"$LINENO"; then :
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5337 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5345 if ac_fn_c_try_compile
"$LINENO"; then :
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5347 $as_echo "yes" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5350 $as_echo "buggy but acceptable" >&6; }
5352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }; have_gmp
=no
5357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5360 # Check for the MPC header version.
5361 if test x
"$have_gmp" = xyes
; then
5362 # Check for the recommended and required versions of MPC.
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5364 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5372 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5380 if ac_fn_c_try_compile
"$LINENO"; then :
5381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5388 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5396 if ac_fn_c_try_compile
"$LINENO"; then :
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5398 $as_echo "yes" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5401 $as_echo "buggy but acceptable" >&6; }
5403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }; have_gmp
=no
5408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5411 # Now check the MPFR library.
5412 if test x
"$have_gmp" = xyes
; then
5414 LIBS
="$LIBS $gmplibs"
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5416 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5430 mpfr_atan2 (n, n, x, GMP_RNDN);
5431 mpfr_erfc (n, x, GMP_RNDN);
5432 mpfr_subnormalize (x, t, GMP_RNDN);
5436 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5437 mpc_cosh (c, c, MPC_RNDNN);
5438 mpc_pow (c, c, c, MPC_RNDNN);
5439 mpc_acosh (c, c, MPC_RNDNN);
5446 if ac_fn_c_try_link
"$LINENO"; then :
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5448 $as_echo "yes" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }; have_gmp
=no
5453 rm -f core conftest.err conftest.
$ac_objext \
5454 conftest
$ac_exeext conftest.
$ac_ext
5458 CFLAGS
="$saved_CFLAGS"
5460 # The library versions listed in the error message below should match
5461 # the HARD-minimums enforced above.
5462 if test x
$have_gmp != xyes
; then
5463 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5464 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5465 their locations. Source code for these libraries can be found at
5466 their respective hosting sites as well as at
5467 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5468 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5469 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5470 make sure that you have installed both the libraries and the header
5471 files. They may be located in separate packages." "$LINENO" 5
5475 # Flags needed for both GMP, MPFR and/or MPC.
5482 # Allow host libstdc++ to be specified for static linking with PPL.
5484 # Check whether --with-host-libstdcxx was given.
5485 if test "${with_host_libstdcxx+set}" = set; then :
5486 withval
=$with_host_libstdcxx;
5490 case $with_host_libstdcxx in
5492 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5496 # Linker flags to use for stage1 or when not boostrapping.
5498 # Check whether --with-stage1-ldflags was given.
5499 if test "${with_stage1_ldflags+set}" = set; then :
5500 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5503 stage1_ldflags
=$withval
5511 # Libraries to use for stage1 or when not bootstrapping.
5513 # Check whether --with-stage1-libs was given.
5514 if test "${with_stage1_libs+set}" = set; then :
5515 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5518 stage1_libs
=$withval
5521 stage1_libs
=$with_host_libstdcxx
5526 # Libraries to use for stage2 and later builds. This defaults to the
5527 # argument passed to --with-host-libstdcxx.
5529 # Check whether --with-boot-libs was given.
5530 if test "${with_boot_libs+set}" = set; then :
5531 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5534 poststage1_libs
=$withval
5537 poststage1_libs
=$with_host_libstdcxx
5542 # Linker flags to use for stage2 and later builds.
5544 # Check whether --with-boot-ldflags was given.
5545 if test "${with_boot_ldflags+set}" = set; then :
5546 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5549 poststage1_ldflags
=$withval
5553 # With --enable-build-with-cxx, default to linking libstdc++ and
5554 # libgcc statically. But if the user explicitly specified the
5555 # libraries to use, trust that they are doing what they want.
5556 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5557 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5564 ppllibs
=" -lppl_c -lppl -lgmpxx"
5568 # Check whether --with-ppl was given.
5569 if test "${with_ppl+set}" = set; then :
5574 # Check whether --with-ppl_include was given.
5575 if test "${with_ppl_include+set}" = set; then :
5576 withval
=$with_ppl_include;
5580 # Check whether --with-ppl_lib was given.
5581 if test "${with_ppl_lib+set}" = set; then :
5582 withval
=$with_ppl_lib;
5593 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5594 pplinc
="-I$with_ppl/include $pplinc"
5597 if test "x$with_ppl_include" != x
; then
5598 pplinc
="-I$with_ppl_include $pplinc"
5600 if test "x$with_ppl_lib" != x
; then
5601 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5603 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5604 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5605 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5606 enable_ppl_version_check
=no
5609 # Check whether --enable-ppl-version-check was given.
5610 if test "${enable_ppl_version_check+set}" = set; then :
5611 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5613 ENABLE_PPL_CHECK
=yes
5617 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5618 saved_CFLAGS
="$CFLAGS"
5619 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5621 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5629 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5637 if ac_fn_c_try_compile
"$LINENO"; then :
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5645 CFLAGS
="$saved_CFLAGS"
5648 # Flags needed for PPL
5654 clooglibs
=" -lcloog "
5655 clooginc
=" -DCLOOG_PPL_BACKEND "
5658 # Check whether --with-cloog was given.
5659 if test "${with_cloog+set}" = set; then :
5660 withval
=$with_cloog;
5664 # Check whether --with-cloog_include was given.
5665 if test "${with_cloog_include+set}" = set; then :
5666 withval
=$with_cloog_include;
5670 # Check whether --with-cloog_lib was given.
5671 if test "${with_cloog_lib+set}" = set; then :
5672 withval
=$with_cloog_lib;
5676 if test "x$with_ppl" = "xno"; then
5688 clooglibs
="-L$with_cloog/lib -lcloog"
5689 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5692 if test "x$with_cloog_include" != x
; then
5693 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5695 if test "x$with_cloog_lib" != x
; then
5696 clooglibs
="-L$with_cloog_lib -lcloog"
5698 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5699 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' -lcloog '
5700 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5701 enable_cloog_version_check
=no
5704 # Check whether --enable-cloog-version-check was given.
5705 if test "${enable_cloog_version_check+set}" = set; then :
5706 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5708 ENABLE_CLOOG_CHECK
=yes
5712 if test "x$with_cloog" != "xno" -a "${ENABLE_CLOOG_CHECK}" = "yes"; then
5713 saved_CFLAGS
="$CFLAGS"
5714 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5716 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5718 /* end confdefs.h. */
5719 #include "cloog/cloog.h"
5724 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 5
5732 if ac_fn_c_try_compile
"$LINENO"; then :
5733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h. */
5735 #include "cloog/cloog.h"
5740 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 9
5748 if ac_fn_c_try_compile
"$LINENO"; then :
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5750 $as_echo "yes" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5753 $as_echo "buggy but acceptable" >&6; }
5755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }; clooglibs
= ; clooginc
=
5760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5761 CFLAGS
="$saved_CFLAGS"
5764 # Flags needed for CLOOG
5768 # Check for LTO support.
5769 # Check whether --enable-lto was given.
5770 if test "${enable_lto+set}" = set; then :
5771 enableval
=$enable_lto; enable_lto
=$enableval
5773 enable_lto
=yes; default_enable_lto
=yes
5782 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5783 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
5784 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5792 if test $target_elf = yes; then :
5793 # ELF platforms build the lto-plugin always.
5794 build_lto_plugin
=yes
5797 if test x
"$default_enable_lto" = x
"yes" ; then
5799 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
5800 # On other non-ELF platforms, LTO has yet to be validated.
5804 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5805 # It would also be nice to check the binutils support, but we don't
5806 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5807 # warn during gcc/ subconfigure; unless you're bootstrapping with
5808 # -flto it won't be needed until after installation anyway.
5810 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5811 *) if test x
"$enable_lto" = x
"yes"; then
5812 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5817 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5818 # Build it unless LTO was explicitly disabled.
5820 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5828 # By default, C is the only stage 1 language.
5829 stage1_languages
=,c
,
5831 # Target libraries that we bootstrap.
5832 bootstrap_target_libs
=,target-libgcc
,
5834 # Figure out what language subdirectories are present.
5835 # Look if the user specified --enable-languages="..."; if not, use
5836 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5838 # NB: embedded tabs in this IF block -- do not untabify
5839 if test -d ${srcdir}/gcc
; then
5840 if test x
"${enable_languages+set}" != xset
; then
5841 if test x
"${LANGUAGES+set}" = xset
; then
5842 enable_languages
="${LANGUAGES}"
5843 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5845 enable_languages
=all
5848 if test x
"${enable_languages}" = x ||
5849 test x
"${enable_languages}" = xyes
;
5851 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5855 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5857 # 'f95' is the old name for the 'fortran' language. We issue a warning
5858 # and make the substitution.
5859 case ,${enable_languages}, in
5861 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5862 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5866 # First scan to see if an enabled language requires some other language.
5867 # We assume that a given config-lang.in will list all the language
5868 # front ends it requires, even if some are required indirectly.
5869 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5870 case ${lang_frag} in
5872 # The odd quoting in the next line works around
5873 # an apparent bug in bash 1.12 on linux.
5874 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5876 # From the config-lang.in, get $language, $lang_requires
5880 for other
in ${lang_requires} ; do
5881 case ,${enable_languages}, in
5885 echo " \`$other' language required by \`$language'; enabling" 1>&2
5886 enable_languages
="${enable_languages},${other}"
5894 new_enable_languages
=,c
,
5896 # If LTO is enabled, add the LTO front end.
5897 extra_host_libiberty_configure_flags
=
5898 if test "$enable_lto" = "yes" ; then
5899 case ,${enable_languages}, in
5901 *) enable_languages
="${enable_languages},lto" ;;
5903 if test "${build_lto_plugin}" = "yes" ; then
5904 configdirs
="$configdirs lto-plugin"
5905 extra_host_libiberty_configure_flags
=--enable-shared
5910 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5911 potential_languages
=,c
,
5913 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5914 case ${lang_frag} in
5916 # The odd quoting in the next line works around
5917 # an apparent bug in bash 1.12 on linux.
5918 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5920 # From the config-lang.in, get $language, $target_libs,
5921 # $lang_dirs, $boot_language, and $build_by_default
5927 build_by_default
=yes
5929 if test x
${language} = x
; then
5930 echo "${lang_frag} doesn't set \$language." 1>&2
5934 if test "$language" = "c++" \
5935 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5939 case ,${enable_languages}, in
5941 # Language was explicitly selected; include it.
5945 # 'all' was selected, select it if it is a default language
5946 add_this_lang
=${build_by_default}
5953 # Disable languages that need other directories if these aren't available.
5954 for i
in $subdir_requires; do
5955 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5956 case ,${enable_languages}, in
5958 # Specifically requested language; tell them.
5959 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
5963 add_this_lang
=unsupported
5968 # Disable Ada if no preexisting GNAT is available.
5969 case ,${enable_languages},:${language}:${have_gnat} in
5970 *,${language},*:ada
:no
)
5971 # Specifically requested language; tell them.
5972 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
5976 add_this_lang
=unsupported
5980 # Disable a language that is unsupported by the target.
5981 case " $unsupported_languages " in
5983 add_this_lang
=unsupported
5987 case $add_this_lang in
5989 # Remove language-dependent dirs.
5990 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5993 # Remove language-dependent dirs; still show language as supported.
5994 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5995 potential_languages
="${potential_languages}${language},"
5998 new_enable_languages
="${new_enable_languages}${language},"
5999 potential_languages
="${potential_languages}${language},"
6000 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6001 case "${boot_language}:,$enable_stage1_languages," in
6002 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6003 # Add to (comma-separated) list of stage 1 languages.
6004 case ",$stage1_languages," in
6005 *,$language,* |
,yes, |
,all
,) ;;
6006 *) stage1_languages
="${stage1_languages}${language}," ;;
6008 # We need to bootstrap any supporting libraries.
6009 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6018 # Check whether --enable-stage1-languages was given.
6019 if test "${enable_stage1_languages+set}" = set; then :
6020 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6022 # Set it to something that will have no effect in the loop below
6023 enable_stage1_languages
=c
;;
6025 enable_stage1_languages
=`echo $new_enable_languages | \
6026 sed -e "s/^,//" -e "s/,$//" ` ;;
6028 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6029 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6032 # Add "good" languages from enable_stage1_languages to stage1_languages,
6033 # while "bad" languages go in missing_languages. Leave no duplicates.
6034 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6035 case $potential_languages in
6037 case $stage1_languages in
6039 *) stage1_languages
="$stage1_languages$i," ;;
6042 case $missing_languages in
6044 *) missing_languages
="$missing_languages$i," ;;
6051 # Remove leading/trailing commas that were added for simplicity
6052 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6053 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6054 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6055 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6057 if test "x$missing_languages" != x
; then
6059 The following requested languages could not be built: ${missing_languages}
6060 Supported languages are: ${potential_languages}" "$LINENO" 5
6062 if test "x$new_enable_languages" != "x$enable_languages"; then
6063 echo The following languages will be built
: ${new_enable_languages}
6064 enable_languages
="$new_enable_languages"
6068 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6071 # Handle --disable-<component> generically.
6072 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6073 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6074 varname
=`echo $dirname | sed -e s/+/_/g`
6075 if eval test x\
${enable_${varname}} "=" xno
; then
6076 noconfigdirs
="$noconfigdirs $dir"
6080 # Check for Boehm's garbage collector
6081 # Check whether --enable-objc-gc was given.
6082 if test "${enable_objc_gc+set}" = set; then :
6083 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6084 *,objc
,*:*:yes:*target-boehm-gc
*)
6085 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6091 # Make sure we only build Boehm's garbage collector if required.
6092 case ,${enable_languages},:${enable_objc_gc} in
6094 # Keep target-boehm-gc if requested for Objective-C.
6097 # Otherwise remove target-boehm-gc depending on target-libjava.
6098 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6099 noconfigdirs
="$noconfigdirs target-boehm-gc"
6104 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6105 # $build_configdirs and $target_configdirs.
6106 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6109 for dir
in .
$skipdirs $noconfigdirs ; do
6110 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6111 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6112 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6113 if test -r $srcdir/$dirname/configure
; then
6114 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6117 notsupp
="$notsupp $dir"
6121 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6122 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6123 if test -r $srcdir/$dirname/configure
; then
6124 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6127 notsupp
="$notsupp $dir"
6131 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6132 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6133 if test -r $srcdir/$dirname/configure
; then
6134 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6137 notsupp
="$notsupp $dir"
6143 # Sometimes the tools are distributed with libiberty but with no other
6144 # libraries. In that case, we don't want to build target-libiberty.
6145 # Don't let libgcc imply libiberty either.
6146 if test -n "${target_configdirs}" ; then
6149 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6150 if test "$i" = "libgcc"; then
6151 libgcc
=target-libgcc
6152 elif test "$i" != "libiberty" ; then
6153 if test -r $srcdir/$i/configure
; then
6159 if test -z "${others}" ; then
6160 target_configdirs
=$libgcc
6164 # Quietly strip out all directories which aren't configurable in this tree.
6165 # This relies on all configurable subdirectories being autoconfiscated, which
6167 build_configdirs_all
="$build_configdirs"
6169 for i
in ${build_configdirs_all} ; do
6170 j
=`echo $i | sed -e s/build-//g`
6171 if test -f ${srcdir}/$j/configure
; then
6172 build_configdirs
="${build_configdirs} $i"
6176 configdirs_all
="$configdirs"
6178 for i
in ${configdirs_all} ; do
6179 if test -f ${srcdir}/$i/configure
; then
6180 configdirs
="${configdirs} $i"
6184 target_configdirs_all
="$target_configdirs"
6186 for i
in ${target_configdirs_all} ; do
6187 j
=`echo $i | sed -e s/target-//g`
6188 if test -f ${srcdir}/$j/configure
; then
6189 target_configdirs
="${target_configdirs} $i"
6193 # Produce a warning message for the subdirs we can't configure.
6194 # This isn't especially interesting in the Cygnus tree, but in the individual
6195 # FSF releases, it's important to let people know when their machine isn't
6196 # supported by the one or two programs in a package.
6198 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6199 # If $appdirs is non-empty, at least one of those directories must still
6200 # be configured, or we error out. (E.g., if the gas release supports a
6201 # specified target in some subdirs but not the gas subdir, we shouldn't
6202 # pretend that all is well.)
6203 if test -n "$appdirs" ; then
6204 for dir
in $appdirs ; do
6205 if test -r $dir/Makefile.
in ; then
6206 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6210 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6216 if test -n "$appdirs" ; then
6217 echo "*** This configuration is not supported by this package." 1>&2
6221 # Okay, some application will build, or we don't care to check. Still
6222 # notify of subdirs not getting built.
6223 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6224 echo " ${notsupp}" 1>&2
6225 echo " (Any other directories should still work fine.)" 1>&2
6233 # To find our prefix, in gcc_cv_tool_prefix.
6235 # The user is always right.
6236 if test "${PATH_SEPARATOR+set}" != set; then
6237 echo "#! /bin/sh" >conf$$.sh
6238 echo "exit 0" >>conf$$.sh
6240 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6250 if test "x$exec_prefix" = xNONE
; then
6251 if test "x$prefix" = xNONE
; then
6252 gcc_cv_tool_prefix
=$ac_default_prefix
6254 gcc_cv_tool_prefix
=$prefix
6257 gcc_cv_tool_prefix
=$exec_prefix
6260 # If there is no compiler in the tree, use the PATH only. In any
6261 # case, if there is no compiler in the tree nobody should use
6262 # AS_FOR_TARGET and LD_FOR_TARGET.
6263 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6264 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6265 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6266 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6267 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6268 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6269 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6270 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6275 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6276 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6284 # Check whether --with-build-sysroot was given.
6285 if test "${with_build_sysroot+set}" = set; then :
6286 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6287 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6290 SYSROOT_CFLAGS_FOR_TARGET
=
6296 # Check whether --with-debug-prefix-map was given.
6297 if test "${with_debug_prefix_map+set}" = set; then :
6298 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6299 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6300 for debug_map
in $withval; do
6301 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6305 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6310 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6311 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6312 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6313 # We want to ensure that TARGET libraries (which we know are built with
6314 # gcc) are built with "-O2 -g", so include those options when setting
6315 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6316 if test "x$CFLAGS_FOR_TARGET" = x
; then
6317 CFLAGS_FOR_TARGET
=$CFLAGS
6320 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6323 *" -g "* |
*" -g3 "*) ;;
6324 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6329 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6330 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6331 case " $CXXFLAGS " in
6333 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6335 case " $CXXFLAGS " in
6336 *" -g "* |
*" -g3 "*) ;;
6337 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6342 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6343 # the named directory are copied to $(tooldir)/sys-include.
6344 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6345 if test x
${is_cross_compiler} = xno
; then
6346 echo 1>&2 '***' --with-headers is only supported when cross compiling
6349 if test x
"${with_headers}" != xyes
; then
6350 x
=${gcc_cv_tool_prefix}
6351 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6355 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6356 # the name directories are copied to $(tooldir)/lib. Multiple directories
6358 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6359 if test x
${is_cross_compiler} = xno
; then
6360 echo 1>&2 '***' --with-libs is only supported when cross compiling
6363 if test x
"${with_libs}" != xyes
; then
6364 # Copy the libraries in reverse order, so that files in the first named
6365 # library override files in subsequent libraries.
6366 x
=${gcc_cv_tool_prefix}
6367 for l
in ${with_libs}; do
6368 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6373 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6375 # This is done by determining whether or not the appropriate directory
6376 # is available, and by checking whether or not specific configurations
6377 # have requested that this magic not happen.
6379 # The command line options always override the explicit settings in
6380 # configure.in, and the settings in configure.in override this magic.
6382 # If the default for a toolchain is to use GNU as and ld, and you don't
6383 # want to do that, then you should use the --without-gnu-as and
6384 # --without-gnu-ld options for the configure script. Similarly, if
6385 # the default is to use the included zlib and you don't want to do that,
6386 # you should use the --with-system-zlib option for the configure script.
6388 if test x
${use_gnu_as} = x
&&
6389 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6391 extra_host_args
="$extra_host_args --with-gnu-as"
6394 if test x
${use_gnu_ld} = x
&&
6395 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6397 extra_host_args
="$extra_host_args --with-gnu-ld"
6400 if test x
${use_included_zlib} = x
&&
6401 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6404 with_system_zlib
=yes
6405 extra_host_args
="$extra_host_args --with-system-zlib"
6408 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6409 # can detect this case.
6411 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6413 extra_host_args
="$extra_host_args --with-newlib"
6416 # Handle ${copy_dirs}
6417 set fnord
${copy_dirs}
6419 while test $# != 0 ; do
6420 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6423 echo Copying
$1 to
$2
6425 # Use the install script to create the directory and all required
6426 # parent directories.
6427 if test -d $2 ; then
6431 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6434 # Copy the directory, assuming we have tar.
6435 # FIXME: Should we use B in the second tar? Not all systems support it.
6436 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6438 # It is the responsibility of the user to correctly adjust all
6439 # symlinks. If somebody can figure out how to handle them correctly
6440 # here, feel free to add the code.
6447 # Determine a target-dependent exec_prefix that the installed
6448 # gcc will search in. Keep this list sorted by triplet, with
6449 # the *-*-osname triplets last.
6453 md_exec_prefix
=/gnu
/lib
/gcc-lib
6455 i
[34567]86-pc-msdosdjgpp*)
6456 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6458 i
[34567]86-*-sco3.2v5
*)
6459 if test $with_gnu_as = yes; then
6460 md_exec_prefix
=/usr
/gnu
/bin
6462 md_exec_prefix
=/usr
/ccs
/bin
/elf
6467 powerpc-
*-chorusos* | \
6468 powerpc
*-*-eabi* | \
6469 powerpc
*-*-sysv* | \
6470 powerpc
*-*-kaos* | \
6472 md_exec_prefix
=/usr
/ccs
/bin
6477 md_exec_prefix
=/usr
/ccs
/bin
6492 md_exec_prefix
=/usr
/ccs
/bin
6496 extra_arflags_for_target
=
6497 extra_nmflags_for_target
=
6498 extra_ranlibflags_for_target
=
6499 target_makefile_frag
=/dev
/null
6502 target_makefile_frag
="config/mt-mep"
6505 target_makefile_frag
="config/mt-spu"
6508 target_makefile_frag
="config/mt-sde"
6510 mipsisa
*-*-elfoabi*)
6511 target_makefile_frag
="config/mt-mips-elfoabi"
6513 mips
*-*-*linux
* | mips
*-*-gnu*)
6514 target_makefile_frag
="config/mt-mips-gnu"
6517 target_makefile_frag
="config/mt-netware"
6519 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6520 target_makefile_frag
="config/mt-gnu"
6522 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6523 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6524 # commands to handle both 32-bit and 64-bit objects. These flags are
6525 # harmless if we're using GNU nm or ar.
6526 extra_arflags_for_target
=" -X32_64"
6527 extra_nmflags_for_target
=" -B -X32_64"
6530 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6531 extra_ranlibflags_for_target
=" -c"
6533 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6534 target_makefile_frag
="config/mt-wince"
6538 alphaieee_frag
=/dev
/null
6541 # This just makes sure to use the -mieee option to build target libs.
6542 # This should probably be set individually by each library.
6543 alphaieee_frag
="config/mt-alphaieee"
6547 # If --enable-target-optspace always use -Os instead of -O2 to build
6548 # the target libraries, similarly if it is not specified, use -Os
6549 # on selected platforms.
6550 ospace_frag
=/dev
/null
6551 case "${enable_target_optspace}:${target}" in
6553 ospace_frag
="config/mt-ospace"
6556 ospace_frag
="config/mt-d30v"
6558 :m32r-
* |
:d10v-
* |
:fr30-
*)
6559 ospace_frag
="config/mt-ospace"
6564 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6568 # Default to using --with-stabs for certain targets.
6569 if test x
${with_stabs} = x
; then
6573 mips
*-*-* | alpha
*-*-osf*)
6575 extra_host_args
="${extra_host_args} --with-stabs"
6580 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6581 # them automatically.
6584 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6588 # Some systems (e.g., one of the i386-aix systems the gas testers are
6589 # using) don't handle "\$" correctly, so don't use it here.
6590 tooldir
='${exec_prefix}'/${target_noncanonical}
6591 build_tooldir
=${tooldir}
6593 # Create a .gdbinit file which runs the one in srcdir
6594 # and tells GDB to look there for source files.
6596 if test -r ${srcdir}/.gdbinit
; then
6599 *) cat > .
/.gdbinit
<<EOF
6603 source ${srcdir}/.gdbinit
6609 # Make sure that the compiler is able to generate an executable. If it
6610 # can't, we are probably in trouble. We don't care whether we can run the
6611 # executable--we might be using a cross compiler--we only care whether it
6612 # can be created. At this point the main configure script has set CC.
6614 echo "int main () { return 0; }" > conftest.c
6615 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6616 if test $?
= 0 ; then
6617 if test -s conftest ||
test -s conftest.exe
; then
6623 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6624 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6631 # The Solaris /usr/ucb/cc compiler does not appear to work.
6633 sparc-sun-solaris2
*)
6634 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6635 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6637 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6638 if test -d /opt
/cygnus
/bin
; then
6639 if test "$could_use" = "" ; then
6640 could_use
="/opt/cygnus/bin"
6642 could_use
="$could_use or /opt/cygnus/bin"
6645 if test "$could_use" = "" ; then
6646 echo "Warning: compilation may fail because you're using"
6647 echo "/usr/ucb/cc. You should change your PATH or CC "
6648 echo "variable and rerun configure."
6650 echo "Warning: compilation may fail because you're using"
6651 echo "/usr/ucb/cc, when you should use the C compiler from"
6652 echo "$could_use. You should change your"
6653 echo "PATH or CC variable and rerun configure."
6659 # Decide which environment variable is used to find dynamic libraries.
6661 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6662 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6663 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6664 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6667 # On systems where the dynamic library environment variable is PATH,
6668 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6669 # built executables to PATH.
6670 if test "$RPATH_ENVVAR" = PATH
; then
6671 GCC_SHLIB_SUBDIR
=/shlib
6676 # Record target_configdirs and the configure arguments for target and
6677 # build configuration in Makefile.
6678 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6679 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6681 # If we are building libgomp, bootstrap it.
6682 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6683 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6686 # Determine whether gdb needs tk/tcl or not.
6687 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6688 # and in that case we want gdb to be built without tk. Ugh!
6689 # In fact I believe gdb is the *only* package directly dependent on tk,
6690 # so we should be able to put the 'maybe's in unconditionally and
6691 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6692 # 100% sure that that's safe though.
6694 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6695 case "$enable_gdbtk" in
6699 GDB_TK
="${gdb_tk}" ;;
6701 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6702 # distro. Eventually someone will fix this and move Insight, nee
6703 # gdbtk to a separate directory.
6704 if test -d ${srcdir}/gdb
/gdbtk
; then
6711 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6712 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6714 # Strip out unwanted targets.
6716 # While at that, we remove Makefiles if we were started for recursive
6717 # configuration, so that the top-level Makefile reconfigures them,
6718 # like we used to do when configure itself was recursive.
6720 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6721 # but now we're fixing up the Makefile ourselves with the additional
6722 # commands passed to AC_CONFIG_FILES. Use separate variables
6723 # extrasub-{build,host,target} not because there is any reason to split
6724 # the substitutions up that way, but only to remain below the limit of
6725 # 99 commands in a script, for HP-UX sed.
6726 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6728 # Check whether --enable-bootstrap was given.
6729 if test "${enable_bootstrap+set}" = set; then :
6730 enableval
=$enable_bootstrap;
6732 enable_bootstrap
=default
6736 # Issue errors and warnings for invalid/strange bootstrap combinations.
6737 case "$configdirs" in
6738 *gcc
*) have_compiler
=yes ;;
6739 *) have_compiler
=no
;;
6742 case "$have_compiler:$host:$target:$enable_bootstrap" in
6745 # Default behavior. Enable bootstrap if we have a compiler
6746 # and we are in a native configuration.
6747 yes:$build:$build:default
)
6748 enable_bootstrap
=yes ;;
6751 enable_bootstrap
=no
;;
6753 # We have a compiler and we are in a native configuration, bootstrap is ok
6754 yes:$build:$build:yes)
6757 # Other configurations, but we have a compiler. Assume the user knows
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6761 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6764 # No compiler: if they passed --enable-bootstrap explicitly, fail
6766 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
6768 # Fail if wrong command line
6770 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
6774 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
6777 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
6781 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6782 yes:yes:*\ gold\
*:*,c
++,*) ;;
6783 yes:yes:*\ gold\
*:*)
6784 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6788 # Adjust the toplevel makefile according to whether bootstrap was selected.
6789 case $enable_bootstrap in
6791 bootstrap_suffix
=bootstrap
6792 BUILD_CONFIG
=bootstrap-debug
6795 bootstrap_suffix
=no-bootstrap
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6801 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6804 # Check whether --with-build-config was given.
6805 if test "${with_build_config+set}" = set; then :
6806 withval
=$with_build_config; case $with_build_config in
6807 yes) with_build_config
= ;;
6808 no
) with_build_config
= BUILD_CONFIG
= ;;
6813 if test "x${with_build_config}" != x
; then
6814 BUILD_CONFIG
=$with_build_config
6816 case $BUILD_CONFIG in
6818 if echo "int f (void) { return 0; }" > conftest.c
&&
6819 ${CC} -c conftest.c
&&
6820 mv conftest.o conftest.o.g0
&&
6821 ${CC} -c -g conftest.c
&&
6822 mv conftest.o conftest.o.g
&&
6823 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6828 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6833 $as_echo "$BUILD_CONFIG" >&6; }
6837 for module
in ${build_configdirs} ; do
6838 if test -z "${no_recursion}" \
6839 && test -f ${build_subdir}/${module}/Makefile
; then
6840 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6841 rm -f ${build_subdir}/${module}/Makefile
6843 extrasub_build
="$extrasub_build
6844 /^@if build-$module\$/d
6845 /^@endif build-$module\$/d
6846 /^@if build-$module-$bootstrap_suffix\$/d
6847 /^@endif build-$module-$bootstrap_suffix\$/d"
6850 for module
in ${configdirs} ; do
6851 if test -z "${no_recursion}"; then
6852 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6853 if test -f ${file}; then
6854 echo 1>&2 "*** removing ${file} to force reconfigure"
6859 extrasub_host
="$extrasub_host
6861 /^@endif $module\$/d
6862 /^@if $module-$bootstrap_suffix\$/d
6863 /^@endif $module-$bootstrap_suffix\$/d"
6866 for module
in ${target_configdirs} ; do
6867 if test -z "${no_recursion}" \
6868 && test -f ${target_subdir}/${module}/Makefile
; then
6869 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6870 rm -f ${target_subdir}/${module}/Makefile
6873 # We only bootstrap target libraries listed in bootstrap_target_libs.
6874 case $bootstrap_target_libs in
6875 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6876 *) target_bootstrap_suffix
=no-bootstrap
;;
6879 extrasub_target
="$extrasub_target
6880 /^@if target-$module\$/d
6881 /^@endif target-$module\$/d
6882 /^@if target-$module-$target_bootstrap_suffix\$/d
6883 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6886 # Do the final fixup along with target modules.
6887 extrasub_target
="$extrasub_target
6888 /^@if /,/^@endif /d"
6890 # Create the serialization dependencies. This uses a temporary file.
6892 # Check whether --enable-serial-configure was given.
6893 if test "${enable_serial_configure+set}" = set; then :
6894 enableval
=$enable_serial_configure;
6898 case ${enable_serial_configure} in
6900 enable_serial_build_configure
=yes
6901 enable_serial_host_configure
=yes
6902 enable_serial_target_configure
=yes
6906 # These force 'configure's to be done one at a time, to avoid problems
6907 # with contention over a shared config.cache.
6909 echo '# serdep.tmp' > serdep.tmp
6911 test "x${enable_serial_build_configure}" = xyes
&&
6912 for item
in ${build_configdirs} ; do
6915 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6920 test "x${enable_serial_host_configure}" = xyes
&&
6921 for item
in ${configdirs} ; do
6924 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6929 test "x${enable_serial_target_configure}" = xyes
&&
6930 for item
in ${target_configdirs} ; do
6933 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6937 serialization_dependencies
=serdep.tmp
6940 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6941 # target, nonopt, and variable assignments. These are the ones we
6942 # might not want to pass down to subconfigures. The exception being
6943 # --cache-file=/dev/null, which is used to turn off the use of cache
6944 # files altogether, and which should be passed on to subconfigures.
6945 # Also strip program-prefix, program-suffix, and program-transform-name,
6946 # so that we can pass down a consistent program-transform-name.
6950 eval "set -- $ac_configure_args"
6953 if test X
"$skip_next" = X
"yes"; then
6957 if test X
"$keep_next" = X
"yes"; then
6960 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6962 baseargs
="$baseargs '$ac_arg'"
6967 # Handle separated arguments. Based on the logic generated by
6970 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6971 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6972 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6973 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6985 --cache-file=/dev
/null | \
6986 -cache-file=/dev
/null
)
6987 # Handled here to avoid the test to skip args below.
6988 baseargs
="$baseargs '$ac_arg'"
6989 # Assert: $separate_arg should always be no.
6990 keep_next
=$separate_arg
7006 -program-prefix* | \
7007 -program-suffix* | \
7008 -program-transform-name* )
7009 skip_next
=$separate_arg
7013 # An option. Add it.
7016 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7018 baseargs
="$baseargs '$ac_arg'"
7019 keep_next
=$separate_arg
7022 # Either a variable assignment, or a nonopt (triplet). Don't
7023 # pass it down; let the Makefile handle this.
7028 # Remove the initial space we just introduced and, as these will be
7029 # expanded by make, quote '$'.
7030 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7032 # Add in --program-transform-name, after --program-prefix and
7033 # --program-suffix have been applied to it. Autoconf has already
7034 # doubled dollar signs and backslashes in program_transform_name; we want
7035 # the backslashes un-doubled, and then the entire thing wrapped in single
7036 # quotes, because this will be expanded first by make and then by the shell.
7037 # Also, because we want to override the logic in subdir configure scripts to
7038 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7039 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7040 ${program_transform_name}
7042 gcc_transform_name
=`cat conftestsed.out`
7043 rm -f conftestsed.out
7044 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7045 if test "$silent" = yes; then
7046 baseargs
="$baseargs --silent"
7048 baseargs
="$baseargs --disable-option-checking"
7050 # Record and document user additions to sub configure arguments.
7055 # For the build-side libraries, we just need to pretend we're native,
7056 # and not use the same cache file. Multilibs are neither needed nor
7058 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7060 # For host modules, accept cache file option, or specification as blank.
7061 case "${cache_file}" in
7063 cache_file_option
="" ;;
7064 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7065 cache_file_option
="--cache-file=${cache_file}" ;;
7067 cache_file_option
="--cache-file=../${cache_file}" ;;
7070 # Host dirs don't like to share a cache file either, horribly enough.
7071 # This seems to be due to autoconf 2.5x stupidity.
7072 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7074 target_configargs
="$target_configargs ${baseargs}"
7076 # Passing a --with-cross-host argument lets the target libraries know
7077 # whether they are being built with a cross-compiler or being built
7078 # native. However, it would be better to use other mechanisms to make the
7079 # sorts of decisions they want to make on this basis. Please consider
7080 # this option to be deprecated. FIXME.
7081 if test x
${is_cross_compiler} = xyes
; then
7082 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7085 # Default to --enable-multilib.
7086 if test x
${enable_multilib} = x
; then
7087 target_configargs
="--enable-multilib ${target_configargs}"
7090 # Pass --with-newlib if appropriate. Note that target_configdirs has
7091 # changed from the earlier setting of with_newlib.
7092 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7093 target_configargs
="--with-newlib ${target_configargs}"
7096 # Different target subdirs use different values of certain variables
7097 # (notably CXX). Worse, multilibs use *lots* of different values.
7098 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7099 # it doesn't automatically accept command-line overrides of them.
7100 # This means it's not safe for target subdirs to share a cache file,
7101 # which is disgusting, but there you have it. Hopefully this can be
7102 # fixed in future. It's still worthwhile to use a cache file for each
7103 # directory. I think.
7105 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7106 # We need to pass --target, as newer autoconf's requires consistency
7107 # for target_alias and gcc doesn't manage it consistently.
7108 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7111 case " $target_configdirs " in
7113 case " $target_configargs " in
7114 *" --with-newlib "*)
7117 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include'
7121 # If we're not building GCC, don't discard standard headers.
7122 if test -d ${srcdir}/gcc
; then
7123 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7125 if test "${build}" != "${host}"; then
7126 # On Canadian crosses, CC_FOR_TARGET will have already been set
7127 # by `configure', so we won't have an opportunity to add -Bgcc/
7128 # to it. This is right: we don't want to search that directory
7129 # for binaries, but we want the header files in there, so add
7131 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
7133 # Someone might think of using the pre-installed headers on
7134 # Canadian crosses, in case the installed compiler is not fully
7135 # compatible with the compiler being built. In this case, it
7136 # would be better to flag an error than risking having
7137 # incompatible object files being constructed. We can't
7138 # guarantee that an error will be flagged, but let's hope the
7139 # compiler will do it, when presented with incompatible header
7144 case "${target}-${is_cross_compiler}" in
7145 i
[3456789]86-*-linux*-no)
7146 # Here host == target, so we don't need to build gcc,
7147 # so we don't want to discard standard headers.
7148 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7151 # If we're building newlib, use its generic headers last, but search
7152 # for any libc-related directories first (so make it the last -B
7154 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7156 # If we're building libgloss, find the startup file, simulator library
7157 # and linker script.
7158 case " $target_configdirs " in
7160 # Look for startup file, simulator library and maybe linker script.
7161 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7162 # Look for libnosys.a in case the target needs it.
7163 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7164 # Most targets have the linker script in the source directory.
7165 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7176 x86_64-
*mingw
* |
*-w64-mingw*)
7177 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7178 # however, use a symlink named 'mingw' in ${prefix} .
7179 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7182 # MinGW can't be handled as Cygwin above since it does not use newlib.
7183 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'
7187 # Allow the user to override the flags for
7188 # our build compiler if desired.
7189 if test x
"${build}" = x
"${host}" ; then
7190 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7191 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7192 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7195 # On Canadian crosses, we'll be searching the right directories for
7196 # the previously-installed cross compiler, so don't bother to add
7197 # flags for directories within the install tree of the compiler
7198 # being built; programs in there won't even run.
7199 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7200 # Search for pre-installed headers if nothing else fits.
7201 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7204 if test "x
${use_gnu_ld}" = x &&
7205 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7206 # Arrange for us to find uninstalled linker scripts.
7207 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7210 # Search for other target-specific linker scripts and such.
7213 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7217 # Makefile fragments.
7218 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7220 eval fragval=\$$frag
7221 if test $fragval != /dev/null; then
7222 eval $frag=${srcdir}/$fragval
7230 # Miscellanea: directories, flags, etc.
7239 # Build module lists & subconfigure args.
7243 # Host module lists & subconfigure args.
7248 # Target module lists & subconfigure args.
7270 # Generate default definitions for YACC, M4, LEX and other programs that run
7271 # on the build machine. These are used if the Makefile can't locate these
7272 # programs in objdir.
7273 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7275 for ac_prog in 'bison -y' byacc yacc
7277 # Extract the first word of "$ac_prog", so it can be a program name with args.
7278 set dummy $ac_prog; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7280 $as_echo_n "checking
for $ac_word...
" >&6; }
7281 if test "${ac_cv_prog_YACC+set}" = set; then :
7282 $as_echo_n "(cached
) " >&6
7284 if test -n "$YACC"; then
7285 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294 ac_cv_prog_YACC="$ac_prog"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7304 YACC=$ac_cv_prog_YACC
7305 if test -n "$YACC"; then
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7307 $as_echo "$YACC" >&6; }
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7310 $as_echo "no
" >&6; }
7314 test -n "$YACC" && break
7316 test -n "$YACC" || YACC="$MISSING bison
-y"
7318 case " $build_configdirs " in
7319 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7320 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7323 for ac_prog in bison
7325 # Extract the first word of "$ac_prog", so it can be a program name with args.
7326 set dummy $ac_prog; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7328 $as_echo_n "checking
for $ac_word...
" >&6; }
7329 if test "${ac_cv_prog_BISON+set}" = set; then :
7330 $as_echo_n "(cached
) " >&6
7332 if test -n "$BISON"; then
7333 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7342 ac_cv_prog_BISON="$ac_prog"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7352 BISON=$ac_cv_prog_BISON
7353 if test -n "$BISON"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7355 $as_echo "$BISON" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7358 $as_echo "no
" >&6; }
7362 test -n "$BISON" && break
7364 test -n "$BISON" || BISON="$MISSING bison
"
7366 case " $build_configdirs " in
7367 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7370 for ac_prog in gm4 gnum4 m4
7372 # Extract the first word of "$ac_prog", so it can be a program name with args.
7373 set dummy $ac_prog; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7375 $as_echo_n "checking
for $ac_word...
" >&6; }
7376 if test "${ac_cv_prog_M4+set}" = set; then :
7377 $as_echo_n "(cached
) " >&6
7379 if test -n "$M4"; then
7380 ac_cv_prog_M4="$M4" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_M4="$ac_prog"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7400 if test -n "$M4"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7402 $as_echo "$M4" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7405 $as_echo "no
" >&6; }
7409 test -n "$M4" && break
7411 test -n "$M4" || M4="$MISSING m4"
7413 case " $build_configdirs " in
7414 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7417 for ac_prog in flex lex
7419 # Extract the first word of "$ac_prog", so it can be a program name with args.
7420 set dummy $ac_prog; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7422 $as_echo_n "checking
for $ac_word...
" >&6; }
7423 if test "${ac_cv_prog_LEX+set}" = set; then :
7424 $as_echo_n "(cached
) " >&6
7426 if test -n "$LEX"; then
7427 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_LEX="$ac_prog"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7447 if test -n "$LEX"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7449 $as_echo "$LEX" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7452 $as_echo "no
" >&6; }
7456 test -n "$LEX" && break
7458 test -n "$LEX" || LEX="$MISSING flex
"
7460 case " $build_configdirs " in
7461 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7462 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7467 # Extract the first word of "$ac_prog", so it can be a program name with args.
7468 set dummy $ac_prog; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7470 $as_echo_n "checking
for $ac_word...
" >&6; }
7471 if test "${ac_cv_prog_FLEX+set}" = set; then :
7472 $as_echo_n "(cached
) " >&6
7474 if test -n "$FLEX"; then
7475 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7484 ac_cv_prog_FLEX="$ac_prog"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7494 FLEX=$ac_cv_prog_FLEX
7495 if test -n "$FLEX"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7497 $as_echo "$FLEX" >&6; }
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7500 $as_echo "no
" >&6; }
7504 test -n "$FLEX" && break
7506 test -n "$FLEX" || FLEX="$MISSING flex
"
7508 case " $build_configdirs " in
7509 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7512 for ac_prog in makeinfo
7514 # Extract the first word of "$ac_prog", so it can be a program name with args.
7515 set dummy $ac_prog; ac_word=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7517 $as_echo_n "checking
for $ac_word...
" >&6; }
7518 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7519 $as_echo_n "(cached
) " >&6
7521 if test -n "$MAKEINFO"; then
7522 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531 ac_cv_prog_MAKEINFO="$ac_prog"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7541 MAKEINFO=$ac_cv_prog_MAKEINFO
7542 if test -n "$MAKEINFO"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7544 $as_echo "$MAKEINFO" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7547 $as_echo "no
" >&6; }
7551 test -n "$MAKEINFO" && break
7553 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7555 case " $build_configdirs " in
7556 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7559 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7560 # higher, else we use the "missing
" dummy.
7561 if ${MAKEINFO} --version \
7562 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7565 MAKEINFO="$MISSING makeinfo
"
7571 # FIXME: expect and dejagnu may become build tools?
7573 for ac_prog in expect
7575 # Extract the first word of "$ac_prog", so it can be a program name with args.
7576 set dummy $ac_prog; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7578 $as_echo_n "checking
for $ac_word...
" >&6; }
7579 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7580 $as_echo_n "(cached
) " >&6
7582 if test -n "$EXPECT"; then
7583 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_EXPECT="$ac_prog"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7602 EXPECT=$ac_cv_prog_EXPECT
7603 if test -n "$EXPECT"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7605 $as_echo "$EXPECT" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7608 $as_echo "no
" >&6; }
7612 test -n "$EXPECT" && break
7614 test -n "$EXPECT" || EXPECT="expect
"
7616 case " $configdirs " in
7618 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7622 for ac_prog in runtest
7624 # Extract the first word of "$ac_prog", so it can be a program name with args.
7625 set dummy $ac_prog; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7627 $as_echo_n "checking
for $ac_word...
" >&6; }
7628 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7629 $as_echo_n "(cached
) " >&6
7631 if test -n "$RUNTEST"; then
7632 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7641 ac_cv_prog_RUNTEST="$ac_prog"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7651 RUNTEST=$ac_cv_prog_RUNTEST
7652 if test -n "$RUNTEST"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7654 $as_echo "$RUNTEST" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7657 $as_echo "no
" >&6; }
7661 test -n "$RUNTEST" && break
7663 test -n "$RUNTEST" || RUNTEST="runtest
"
7665 case " $configdirs " in
7667 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7674 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7675 ncn_target_tool_prefix=
7676 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7680 if test -n "$AR"; then
7682 elif test -n "$ac_cv_prog_AR"; then
7686 if test -n "$ac_cv_prog_AR"; then
7687 for ncn_progname in ar; do
7688 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7689 set dummy ${ncn_progname}; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7691 $as_echo_n "checking
for $ac_word...
" >&6; }
7692 if test "${ac_cv_prog_AR+set}" = set; then :
7693 $as_echo_n "(cached
) " >&6
7695 if test -n "$AR"; then
7696 ac_cv_prog_AR="$AR" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7705 ac_cv_prog_AR="${ncn_progname}"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$AR"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7718 $as_echo "$AR" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7721 $as_echo "no
" >&6; }
7728 for ncn_progname in ar; do
7729 if test -n "$ncn_tool_prefix"; then
7730 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7731 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7733 $as_echo_n "checking
for $ac_word...
" >&6; }
7734 if test "${ac_cv_prog_AR+set}" = set; then :
7735 $as_echo_n "(cached
) " >&6
7737 if test -n "$AR"; then
7738 ac_cv_prog_AR="$AR" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7747 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7758 if test -n "$AR"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7760 $as_echo "$AR" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7763 $as_echo "no
" >&6; }
7768 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7769 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7770 set dummy ${ncn_progname}; ac_word=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7772 $as_echo_n "checking
for $ac_word...
" >&6; }
7773 if test "${ac_cv_prog_AR+set}" = set; then :
7774 $as_echo_n "(cached
) " >&6
7776 if test -n "$AR"; then
7777 ac_cv_prog_AR="$AR" # Let the user override the test.
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir=.
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_prog_AR="${ncn_progname}"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7797 if test -n "$AR"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7799 $as_echo "$AR" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7802 $as_echo "no
" >&6; }
7807 test -n "$ac_cv_prog_AR" && break
7810 if test -z "$ac_cv_prog_AR" ; then
7812 if test $build = $host ; then
7815 AR="${ncn_tool_prefix}$2"
7821 if test -n "$AS"; then
7823 elif test -n "$ac_cv_prog_AS"; then
7827 if test -n "$ac_cv_prog_AS"; then
7828 for ncn_progname in as; do
7829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7830 set dummy ${ncn_progname}; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if test "${ac_cv_prog_AS+set}" = set; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$AS"; then
7837 ac_cv_prog_AS="$AS" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7846 ac_cv_prog_AS="${ncn_progname}"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7857 if test -n "$AS"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7859 $as_echo "$AS" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7869 for ncn_progname in as; do
7870 if test -n "$ncn_tool_prefix"; then
7871 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7872 set dummy ${ncn_tool_prefix}${ncn_progname}; 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_AS+set}" = set; then :
7876 $as_echo_n "(cached
) " >&6
7878 if test -n "$AS"; then
7879 ac_cv_prog_AS="$AS" # 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_AS="${ncn_tool_prefix}${ncn_progname}"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 if test -n "$AS"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7901 $as_echo "$AS" >&6; }
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7904 $as_echo "no
" >&6; }
7909 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7910 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7911 set dummy ${ncn_progname}; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7913 $as_echo_n "checking
for $ac_word...
" >&6; }
7914 if test "${ac_cv_prog_AS+set}" = set; then :
7915 $as_echo_n "(cached
) " >&6
7917 if test -n "$AS"; then
7918 ac_cv_prog_AS="$AS" # Let the user override the test.
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7927 ac_cv_prog_AS="${ncn_progname}"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7938 if test -n "$AS"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7940 $as_echo "$AS" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7943 $as_echo "no
" >&6; }
7948 test -n "$ac_cv_prog_AS" && break
7951 if test -z "$ac_cv_prog_AS" ; then
7953 if test $build = $host ; then
7956 AS="${ncn_tool_prefix}$2"
7962 if test -n "$DLLTOOL"; then
7963 ac_cv_prog_DLLTOOL=$DLLTOOL
7964 elif test -n "$ac_cv_prog_DLLTOOL"; then
7965 DLLTOOL=$ac_cv_prog_DLLTOOL
7968 if test -n "$ac_cv_prog_DLLTOOL"; then
7969 for ncn_progname in dlltool; do
7970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7971 set dummy ${ncn_progname}; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7973 $as_echo_n "checking
for $ac_word...
" >&6; }
7974 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7975 $as_echo_n "(cached
) " >&6
7977 if test -n "$DLLTOOL"; then
7978 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7987 ac_cv_prog_DLLTOOL="${ncn_progname}"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7997 DLLTOOL=$ac_cv_prog_DLLTOOL
7998 if test -n "$DLLTOOL"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8000 $as_echo "$DLLTOOL" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8003 $as_echo "no
" >&6; }
8010 for ncn_progname in dlltool; do
8011 if test -n "$ncn_tool_prefix"; then
8012 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8013 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8015 $as_echo_n "checking
for $ac_word...
" >&6; }
8016 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8017 $as_echo_n "(cached
) " >&6
8019 if test -n "$DLLTOOL"; then
8020 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8029 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8039 DLLTOOL=$ac_cv_prog_DLLTOOL
8040 if test -n "$DLLTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8042 $as_echo "$DLLTOOL" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8045 $as_echo "no
" >&6; }
8050 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8052 set dummy ${ncn_progname}; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8054 $as_echo_n "checking
for $ac_word...
" >&6; }
8055 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8056 $as_echo_n "(cached
) " >&6
8058 if test -n "$DLLTOOL"; then
8059 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068 ac_cv_prog_DLLTOOL="${ncn_progname}"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8078 DLLTOOL=$ac_cv_prog_DLLTOOL
8079 if test -n "$DLLTOOL"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8081 $as_echo "$DLLTOOL" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8084 $as_echo "no
" >&6; }
8089 test -n "$ac_cv_prog_DLLTOOL" && break
8092 if test -z "$ac_cv_prog_DLLTOOL" ; then
8094 if test $build = $host ; then
8097 DLLTOOL="${ncn_tool_prefix}$2"
8103 if test -n "$LD"; then
8105 elif test -n "$ac_cv_prog_LD"; then
8109 if test -n "$ac_cv_prog_LD"; then
8110 for ncn_progname in ld; do
8111 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8112 set dummy ${ncn_progname}; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8114 $as_echo_n "checking
for $ac_word...
" >&6; }
8115 if test "${ac_cv_prog_LD+set}" = set; then :
8116 $as_echo_n "(cached
) " >&6
8118 if test -n "$LD"; then
8119 ac_cv_prog_LD="$LD" # Let the user override the test.
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8128 ac_cv_prog_LD="${ncn_progname}"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8139 if test -n "$LD"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8141 $as_echo "$LD" >&6; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8144 $as_echo "no
" >&6; }
8151 for ncn_progname in ld; do
8152 if test -n "$ncn_tool_prefix"; then
8153 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8154 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8156 $as_echo_n "checking
for $ac_word...
" >&6; }
8157 if test "${ac_cv_prog_LD+set}" = set; then :
8158 $as_echo_n "(cached
) " >&6
8160 if test -n "$LD"; then
8161 ac_cv_prog_LD="$LD" # Let the user override the test.
8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8167 test -z "$as_dir" && as_dir=.
8168 for ac_exec_ext in '' $ac_executable_extensions; do
8169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8170 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8181 if test -n "$LD"; then
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8183 $as_echo "$LD" >&6; }
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8186 $as_echo "no
" >&6; }
8191 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8192 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8193 set dummy ${ncn_progname}; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8195 $as_echo_n "checking
for $ac_word...
" >&6; }
8196 if test "${ac_cv_prog_LD+set}" = set; then :
8197 $as_echo_n "(cached
) " >&6
8199 if test -n "$LD"; then
8200 ac_cv_prog_LD="$LD" # Let the user override the test.
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8209 ac_cv_prog_LD="${ncn_progname}"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8220 if test -n "$LD"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8222 $as_echo "$LD" >&6; }
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8225 $as_echo "no
" >&6; }
8230 test -n "$ac_cv_prog_LD" && break
8233 if test -z "$ac_cv_prog_LD" ; then
8235 if test $build = $host ; then
8238 LD="${ncn_tool_prefix}$2"
8244 if test -n "$LIPO"; then
8245 ac_cv_prog_LIPO=$LIPO
8246 elif test -n "$ac_cv_prog_LIPO"; then
8247 LIPO=$ac_cv_prog_LIPO
8250 if test -n "$ac_cv_prog_LIPO"; then
8251 for ncn_progname in lipo; do
8252 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8253 set dummy ${ncn_progname}; ac_word=$2
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8255 $as_echo_n "checking
for $ac_word...
" >&6; }
8256 if test "${ac_cv_prog_LIPO+set}" = set; then :
8257 $as_echo_n "(cached
) " >&6
8259 if test -n "$LIPO"; then
8260 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 test -z "$as_dir" && as_dir=.
8267 for ac_exec_ext in '' $ac_executable_extensions; do
8268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8269 ac_cv_prog_LIPO="${ncn_progname}"
8270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8279 LIPO=$ac_cv_prog_LIPO
8280 if test -n "$LIPO"; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8282 $as_echo "$LIPO" >&6; }
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8285 $as_echo "no
" >&6; }
8292 for ncn_progname in lipo; do
8293 if test -n "$ncn_tool_prefix"; then
8294 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8295 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8297 $as_echo_n "checking
for $ac_word...
" >&6; }
8298 if test "${ac_cv_prog_LIPO+set}" = set; then :
8299 $as_echo_n "(cached
) " >&6
8301 if test -n "$LIPO"; then
8302 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8311 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 LIPO=$ac_cv_prog_LIPO
8322 if test -n "$LIPO"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8324 $as_echo "$LIPO" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8332 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8333 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8334 set dummy ${ncn_progname}; ac_word=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8336 $as_echo_n "checking
for $ac_word...
" >&6; }
8337 if test "${ac_cv_prog_LIPO+set}" = set; then :
8338 $as_echo_n "(cached
) " >&6
8340 if test -n "$LIPO"; then
8341 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir=.
8348 for ac_exec_ext in '' $ac_executable_extensions; do
8349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8350 ac_cv_prog_LIPO="${ncn_progname}"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8360 LIPO=$ac_cv_prog_LIPO
8361 if test -n "$LIPO"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8363 $as_echo "$LIPO" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8366 $as_echo "no
" >&6; }
8371 test -n "$ac_cv_prog_LIPO" && break
8374 if test -z "$ac_cv_prog_LIPO" ; then
8376 if test $build = $host ; then
8379 LIPO="${ncn_tool_prefix}$2"
8385 if test -n "$NM"; then
8387 elif test -n "$ac_cv_prog_NM"; then
8391 if test -n "$ac_cv_prog_NM"; then
8392 for ncn_progname in nm; do
8393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8394 set dummy ${ncn_progname}; ac_word=$2
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8396 $as_echo_n "checking
for $ac_word...
" >&6; }
8397 if test "${ac_cv_prog_NM+set}" = set; then :
8398 $as_echo_n "(cached
) " >&6
8400 if test -n "$NM"; then
8401 ac_cv_prog_NM="$NM" # Let the user override the test.
8403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8407 test -z "$as_dir" && as_dir=.
8408 for ac_exec_ext in '' $ac_executable_extensions; do
8409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8410 ac_cv_prog_NM="${ncn_progname}"
8411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8421 if test -n "$NM"; then
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8423 $as_echo "$NM" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8426 $as_echo "no
" >&6; }
8433 for ncn_progname in nm; do
8434 if test -n "$ncn_tool_prefix"; then
8435 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8436 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8438 $as_echo_n "checking
for $ac_word...
" >&6; }
8439 if test "${ac_cv_prog_NM+set}" = set; then :
8440 $as_echo_n "(cached
) " >&6
8442 if test -n "$NM"; then
8443 ac_cv_prog_NM="$NM" # Let the user override the test.
8445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8449 test -z "$as_dir" && as_dir=.
8450 for ac_exec_ext in '' $ac_executable_extensions; do
8451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8452 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8463 if test -n "$NM"; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8465 $as_echo "$NM" >&6; }
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8468 $as_echo "no
" >&6; }
8473 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8474 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8475 set dummy ${ncn_progname}; ac_word=$2
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8477 $as_echo_n "checking
for $ac_word...
" >&6; }
8478 if test "${ac_cv_prog_NM+set}" = set; then :
8479 $as_echo_n "(cached
) " >&6
8481 if test -n "$NM"; then
8482 ac_cv_prog_NM="$NM" # Let the user override the test.
8484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8488 test -z "$as_dir" && as_dir=.
8489 for ac_exec_ext in '' $ac_executable_extensions; do
8490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8491 ac_cv_prog_NM="${ncn_progname}"
8492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8502 if test -n "$NM"; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8504 $as_echo "$NM" >&6; }
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8507 $as_echo "no
" >&6; }
8512 test -n "$ac_cv_prog_NM" && break
8515 if test -z "$ac_cv_prog_NM" ; then
8517 if test $build = $host ; then
8520 NM="${ncn_tool_prefix}$2"
8526 if test -n "$RANLIB"; then
8527 ac_cv_prog_RANLIB=$RANLIB
8528 elif test -n "$ac_cv_prog_RANLIB"; then
8529 RANLIB=$ac_cv_prog_RANLIB
8532 if test -n "$ac_cv_prog_RANLIB"; then
8533 for ncn_progname in ranlib; do
8534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8535 set dummy ${ncn_progname}; ac_word=$2
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8537 $as_echo_n "checking
for $ac_word...
" >&6; }
8538 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8539 $as_echo_n "(cached
) " >&6
8541 if test -n "$RANLIB"; then
8542 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 test -z "$as_dir" && as_dir=.
8549 for ac_exec_ext in '' $ac_executable_extensions; do
8550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8551 ac_cv_prog_RANLIB="${ncn_progname}"
8552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8561 RANLIB=$ac_cv_prog_RANLIB
8562 if test -n "$RANLIB"; then
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8564 $as_echo "$RANLIB" >&6; }
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8567 $as_echo "no
" >&6; }
8574 for ncn_progname in ranlib; do
8575 if test -n "$ncn_tool_prefix"; then
8576 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8577 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8579 $as_echo_n "checking
for $ac_word...
" >&6; }
8580 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8581 $as_echo_n "(cached
) " >&6
8583 if test -n "$RANLIB"; then
8584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8590 test -z "$as_dir" && as_dir=.
8591 for ac_exec_ext in '' $ac_executable_extensions; do
8592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8593 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8603 RANLIB=$ac_cv_prog_RANLIB
8604 if test -n "$RANLIB"; then
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8606 $as_echo "$RANLIB" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8609 $as_echo "no
" >&6; }
8614 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8616 set dummy ${ncn_progname}; ac_word=$2
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8618 $as_echo_n "checking
for $ac_word...
" >&6; }
8619 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8620 $as_echo_n "(cached
) " >&6
8622 if test -n "$RANLIB"; then
8623 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir=.
8630 for ac_exec_ext in '' $ac_executable_extensions; do
8631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8632 ac_cv_prog_RANLIB="${ncn_progname}"
8633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8642 RANLIB=$ac_cv_prog_RANLIB
8643 if test -n "$RANLIB"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8645 $as_echo "$RANLIB" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8648 $as_echo "no
" >&6; }
8653 test -n "$ac_cv_prog_RANLIB" && break
8656 if test -z "$ac_cv_prog_RANLIB" ; then
8662 if test -n "$STRIP"; then
8663 ac_cv_prog_STRIP=$STRIP
8664 elif test -n "$ac_cv_prog_STRIP"; then
8665 STRIP=$ac_cv_prog_STRIP
8668 if test -n "$ac_cv_prog_STRIP"; then
8669 for ncn_progname in strip; do
8670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8671 set dummy ${ncn_progname}; ac_word=$2
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8673 $as_echo_n "checking
for $ac_word...
" >&6; }
8674 if test "${ac_cv_prog_STRIP+set}" = set; then :
8675 $as_echo_n "(cached
) " >&6
8677 if test -n "$STRIP"; then
8678 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_prog_STRIP="${ncn_progname}"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8697 STRIP=$ac_cv_prog_STRIP
8698 if test -n "$STRIP"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8700 $as_echo "$STRIP" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8703 $as_echo "no
" >&6; }
8710 for ncn_progname in strip; do
8711 if test -n "$ncn_tool_prefix"; then
8712 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8713 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8715 $as_echo_n "checking
for $ac_word...
" >&6; }
8716 if test "${ac_cv_prog_STRIP+set}" = set; then :
8717 $as_echo_n "(cached
) " >&6
8719 if test -n "$STRIP"; then
8720 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir=.
8727 for ac_exec_ext in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8739 STRIP=$ac_cv_prog_STRIP
8740 if test -n "$STRIP"; then
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8742 $as_echo "$STRIP" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8745 $as_echo "no
" >&6; }
8750 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8752 set dummy ${ncn_progname}; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8754 $as_echo_n "checking
for $ac_word...
" >&6; }
8755 if test "${ac_cv_prog_STRIP+set}" = set; then :
8756 $as_echo_n "(cached
) " >&6
8758 if test -n "$STRIP"; then
8759 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_STRIP="${ncn_progname}"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8778 STRIP=$ac_cv_prog_STRIP
8779 if test -n "$STRIP"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8781 $as_echo "$STRIP" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8784 $as_echo "no
" >&6; }
8789 test -n "$ac_cv_prog_STRIP" && break
8792 if test -z "$ac_cv_prog_STRIP" ; then
8798 if test -n "$WINDRES"; then
8799 ac_cv_prog_WINDRES=$WINDRES
8800 elif test -n "$ac_cv_prog_WINDRES"; then
8801 WINDRES=$ac_cv_prog_WINDRES
8804 if test -n "$ac_cv_prog_WINDRES"; then
8805 for ncn_progname in windres; do
8806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8807 set dummy ${ncn_progname}; ac_word=$2
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8809 $as_echo_n "checking
for $ac_word...
" >&6; }
8810 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8811 $as_echo_n "(cached
) " >&6
8813 if test -n "$WINDRES"; then
8814 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir=.
8821 for ac_exec_ext in '' $ac_executable_extensions; do
8822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8823 ac_cv_prog_WINDRES="${ncn_progname}"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8833 WINDRES=$ac_cv_prog_WINDRES
8834 if test -n "$WINDRES"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8836 $as_echo "$WINDRES" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8839 $as_echo "no
" >&6; }
8846 for ncn_progname in windres; do
8847 if test -n "$ncn_tool_prefix"; then
8848 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8849 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8851 $as_echo_n "checking
for $ac_word...
" >&6; }
8852 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8853 $as_echo_n "(cached
) " >&6
8855 if test -n "$WINDRES"; then
8856 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8862 test -z "$as_dir" && as_dir=.
8863 for ac_exec_ext in '' $ac_executable_extensions; do
8864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8865 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8875 WINDRES=$ac_cv_prog_WINDRES
8876 if test -n "$WINDRES"; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8878 $as_echo "$WINDRES" >&6; }
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8881 $as_echo "no
" >&6; }
8886 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8888 set dummy ${ncn_progname}; ac_word=$2
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8890 $as_echo_n "checking
for $ac_word...
" >&6; }
8891 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8892 $as_echo_n "(cached
) " >&6
8894 if test -n "$WINDRES"; then
8895 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8901 test -z "$as_dir" && as_dir=.
8902 for ac_exec_ext in '' $ac_executable_extensions; do
8903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8904 ac_cv_prog_WINDRES="${ncn_progname}"
8905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8914 WINDRES=$ac_cv_prog_WINDRES
8915 if test -n "$WINDRES"; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8917 $as_echo "$WINDRES" >&6; }
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8920 $as_echo "no
" >&6; }
8925 test -n "$ac_cv_prog_WINDRES" && break
8928 if test -z "$ac_cv_prog_WINDRES" ; then
8930 if test $build = $host ; then
8933 WINDRES="${ncn_tool_prefix}$2"
8939 if test -n "$WINDMC"; then
8940 ac_cv_prog_WINDMC=$WINDMC
8941 elif test -n "$ac_cv_prog_WINDMC"; then
8942 WINDMC=$ac_cv_prog_WINDMC
8945 if test -n "$ac_cv_prog_WINDMC"; then
8946 for ncn_progname in windmc; do
8947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8948 set dummy ${ncn_progname}; ac_word=$2
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8950 $as_echo_n "checking
for $ac_word...
" >&6; }
8951 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8952 $as_echo_n "(cached
) " >&6
8954 if test -n "$WINDMC"; then
8955 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8961 test -z "$as_dir" && as_dir=.
8962 for ac_exec_ext in '' $ac_executable_extensions; do
8963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8964 ac_cv_prog_WINDMC="${ncn_progname}"
8965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8974 WINDMC=$ac_cv_prog_WINDMC
8975 if test -n "$WINDMC"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8977 $as_echo "$WINDMC" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8980 $as_echo "no
" >&6; }
8987 for ncn_progname in windmc; do
8988 if test -n "$ncn_tool_prefix"; then
8989 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8990 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8992 $as_echo_n "checking
for $ac_word...
" >&6; }
8993 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8994 $as_echo_n "(cached
) " >&6
8996 if test -n "$WINDMC"; then
8997 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9016 WINDMC=$ac_cv_prog_WINDMC
9017 if test -n "$WINDMC"; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9019 $as_echo "$WINDMC" >&6; }
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9022 $as_echo "no
" >&6; }
9027 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9029 set dummy ${ncn_progname}; ac_word=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9031 $as_echo_n "checking
for $ac_word...
" >&6; }
9032 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9033 $as_echo_n "(cached
) " >&6
9035 if test -n "$WINDMC"; then
9036 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_WINDMC="${ncn_progname}"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9055 WINDMC=$ac_cv_prog_WINDMC
9056 if test -n "$WINDMC"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9058 $as_echo "$WINDMC" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9061 $as_echo "no
" >&6; }
9066 test -n "$ac_cv_prog_WINDMC" && break
9069 if test -z "$ac_cv_prog_WINDMC" ; then
9071 if test $build = $host ; then
9074 WINDMC="${ncn_tool_prefix}$2"
9080 if test -n "$OBJCOPY"; then
9081 ac_cv_prog_OBJCOPY=$OBJCOPY
9082 elif test -n "$ac_cv_prog_OBJCOPY"; then
9083 OBJCOPY=$ac_cv_prog_OBJCOPY
9086 if test -n "$ac_cv_prog_OBJCOPY"; then
9087 for ncn_progname in objcopy; do
9088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9089 set dummy ${ncn_progname}; ac_word=$2
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9091 $as_echo_n "checking
for $ac_word...
" >&6; }
9092 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9093 $as_echo_n "(cached
) " >&6
9095 if test -n "$OBJCOPY"; then
9096 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9102 test -z "$as_dir" && as_dir=.
9103 for ac_exec_ext in '' $ac_executable_extensions; do
9104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9105 ac_cv_prog_OBJCOPY="${ncn_progname}"
9106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9115 OBJCOPY=$ac_cv_prog_OBJCOPY
9116 if test -n "$OBJCOPY"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9118 $as_echo "$OBJCOPY" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9121 $as_echo "no
" >&6; }
9128 for ncn_progname in objcopy; do
9129 if test -n "$ncn_tool_prefix"; then
9130 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9131 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9133 $as_echo_n "checking
for $ac_word...
" >&6; }
9134 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9135 $as_echo_n "(cached
) " >&6
9137 if test -n "$OBJCOPY"; then
9138 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9144 test -z "$as_dir" && as_dir=.
9145 for ac_exec_ext in '' $ac_executable_extensions; do
9146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9147 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9157 OBJCOPY=$ac_cv_prog_OBJCOPY
9158 if test -n "$OBJCOPY"; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9160 $as_echo "$OBJCOPY" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9163 $as_echo "no
" >&6; }
9168 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9170 set dummy ${ncn_progname}; ac_word=$2
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9172 $as_echo_n "checking
for $ac_word...
" >&6; }
9173 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9174 $as_echo_n "(cached
) " >&6
9176 if test -n "$OBJCOPY"; then
9177 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9183 test -z "$as_dir" && as_dir=.
9184 for ac_exec_ext in '' $ac_executable_extensions; do
9185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9186 ac_cv_prog_OBJCOPY="${ncn_progname}"
9187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9196 OBJCOPY=$ac_cv_prog_OBJCOPY
9197 if test -n "$OBJCOPY"; then
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9199 $as_echo "$OBJCOPY" >&6; }
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9202 $as_echo "no
" >&6; }
9207 test -n "$ac_cv_prog_OBJCOPY" && break
9210 if test -z "$ac_cv_prog_OBJCOPY" ; then
9212 if test $build = $host ; then
9215 OBJCOPY="${ncn_tool_prefix}$2"
9221 if test -n "$OBJDUMP"; then
9222 ac_cv_prog_OBJDUMP=$OBJDUMP
9223 elif test -n "$ac_cv_prog_OBJDUMP"; then
9224 OBJDUMP=$ac_cv_prog_OBJDUMP
9227 if test -n "$ac_cv_prog_OBJDUMP"; then
9228 for ncn_progname in objdump; do
9229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9230 set dummy ${ncn_progname}; ac_word=$2
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9232 $as_echo_n "checking
for $ac_word...
" >&6; }
9233 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9234 $as_echo_n "(cached
) " >&6
9236 if test -n "$OBJDUMP"; then
9237 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9243 test -z "$as_dir" && as_dir=.
9244 for ac_exec_ext in '' $ac_executable_extensions; do
9245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9246 ac_cv_prog_OBJDUMP="${ncn_progname}"
9247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9256 OBJDUMP=$ac_cv_prog_OBJDUMP
9257 if test -n "$OBJDUMP"; then
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9259 $as_echo "$OBJDUMP" >&6; }
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9262 $as_echo "no
" >&6; }
9269 for ncn_progname in objdump; do
9270 if test -n "$ncn_tool_prefix"; then
9271 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9272 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9274 $as_echo_n "checking
for $ac_word...
" >&6; }
9275 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9276 $as_echo_n "(cached
) " >&6
9278 if test -n "$OBJDUMP"; then
9279 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9285 test -z "$as_dir" && as_dir=.
9286 for ac_exec_ext in '' $ac_executable_extensions; do
9287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9288 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9298 OBJDUMP=$ac_cv_prog_OBJDUMP
9299 if test -n "$OBJDUMP"; then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9301 $as_echo "$OBJDUMP" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9304 $as_echo "no
" >&6; }
9309 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9311 set dummy ${ncn_progname}; ac_word=$2
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9313 $as_echo_n "checking
for $ac_word...
" >&6; }
9314 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9315 $as_echo_n "(cached
) " >&6
9317 if test -n "$OBJDUMP"; then
9318 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9324 test -z "$as_dir" && as_dir=.
9325 for ac_exec_ext in '' $ac_executable_extensions; do
9326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9327 ac_cv_prog_OBJDUMP="${ncn_progname}"
9328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9337 OBJDUMP=$ac_cv_prog_OBJDUMP
9338 if test -n "$OBJDUMP"; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9340 $as_echo "$OBJDUMP" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9343 $as_echo "no
" >&6; }
9348 test -n "$ac_cv_prog_OBJDUMP" && break
9351 if test -z "$ac_cv_prog_OBJDUMP" ; then
9353 if test $build = $host ; then
9356 OBJDUMP="${ncn_tool_prefix}$2"
9367 # Check whether --with-build-time-tools was given.
9368 if test "${with_build_time_tools+set}" = set; then :
9369 withval=$with_build_time_tools; case x"$withval" in
9372 with_build_time_tools=
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9374 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9378 with_build_time_tools=
9384 if test -n "$CC_FOR_TARGET"; then
9385 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9386 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9387 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9390 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9391 for ncn_progname in cc gcc; do
9392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9393 set dummy ${ncn_progname}; ac_word=$2
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9395 $as_echo_n "checking
for $ac_word...
" >&6; }
9396 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9397 $as_echo_n "(cached
) " >&6
9399 if test -n "$CC_FOR_TARGET"; then
9400 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9406 test -z "$as_dir" && as_dir=.
9407 for ac_exec_ext in '' $ac_executable_extensions; do
9408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9409 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9419 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9420 if test -n "$CC_FOR_TARGET"; then
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9422 $as_echo "$CC_FOR_TARGET" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9425 $as_echo "no
" >&6; }
9432 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9433 for ncn_progname in cc gcc; do
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9435 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9436 if test -x $with_build_time_tools/${ncn_progname}; then
9437 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9439 $as_echo "yes" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9443 $as_echo "no
" >&6; }
9448 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9449 for ncn_progname in cc gcc; do
9450 if test -n "$ncn_target_tool_prefix"; then
9451 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9452 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9454 $as_echo_n "checking
for $ac_word...
" >&6; }
9455 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9456 $as_echo_n "(cached
) " >&6
9458 if test -n "$CC_FOR_TARGET"; then
9459 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9465 test -z "$as_dir" && as_dir=.
9466 for ac_exec_ext in '' $ac_executable_extensions; do
9467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9468 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9478 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9479 if test -n "$CC_FOR_TARGET"; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9481 $as_echo "$CC_FOR_TARGET" >&6; }
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9484 $as_echo "no
" >&6; }
9489 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9491 set dummy ${ncn_progname}; ac_word=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9493 $as_echo_n "checking
for $ac_word...
" >&6; }
9494 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9495 $as_echo_n "(cached
) " >&6
9497 if test -n "$CC_FOR_TARGET"; then
9498 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 test -z "$as_dir" && as_dir=.
9505 for ac_exec_ext in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9517 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9518 if test -n "$CC_FOR_TARGET"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9520 $as_echo "$CC_FOR_TARGET" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9523 $as_echo "no
" >&6; }
9528 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9532 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9534 if test $build = $target ; then
9537 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9540 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9545 if test -n "$CXX_FOR_TARGET"; then
9546 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9547 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9548 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9551 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9552 for ncn_progname in c++ g++ cxx gxx; do
9553 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9554 set dummy ${ncn_progname}; ac_word=$2
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9556 $as_echo_n "checking
for $ac_word...
" >&6; }
9557 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9558 $as_echo_n "(cached
) " >&6
9560 if test -n "$CXX_FOR_TARGET"; then
9561 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9567 test -z "$as_dir" && as_dir=.
9568 for ac_exec_ext in '' $ac_executable_extensions; do
9569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9570 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9580 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9581 if test -n "$CXX_FOR_TARGET"; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9583 $as_echo "$CXX_FOR_TARGET" >&6; }
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9586 $as_echo "no
" >&6; }
9593 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9594 for ncn_progname in c++ g++ cxx gxx; do
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9596 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9597 if test -x $with_build_time_tools/${ncn_progname}; then
9598 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9600 $as_echo "yes" >&6; }
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9604 $as_echo "no
" >&6; }
9609 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9610 for ncn_progname in c++ g++ cxx gxx; do
9611 if test -n "$ncn_target_tool_prefix"; then
9612 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9613 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9615 $as_echo_n "checking
for $ac_word...
" >&6; }
9616 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9617 $as_echo_n "(cached
) " >&6
9619 if test -n "$CXX_FOR_TARGET"; then
9620 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626 test -z "$as_dir" && as_dir=.
9627 for ac_exec_ext in '' $ac_executable_extensions; do
9628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9629 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9639 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9640 if test -n "$CXX_FOR_TARGET"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9642 $as_echo "$CXX_FOR_TARGET" >&6; }
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9645 $as_echo "no
" >&6; }
9650 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9651 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9652 set dummy ${ncn_progname}; ac_word=$2
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9654 $as_echo_n "checking
for $ac_word...
" >&6; }
9655 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9656 $as_echo_n "(cached
) " >&6
9658 if test -n "$CXX_FOR_TARGET"; then
9659 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9665 test -z "$as_dir" && as_dir=.
9666 for ac_exec_ext in '' $ac_executable_extensions; do
9667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9668 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9678 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9679 if test -n "$CXX_FOR_TARGET"; then
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9681 $as_echo "$CXX_FOR_TARGET" >&6; }
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9684 $as_echo "no
" >&6; }
9689 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9693 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9694 set dummy c++ g++ cxx gxx
9695 if test $build = $target ; then
9698 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9701 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9706 if test -n "$GCC_FOR_TARGET"; then
9707 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9708 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9709 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9712 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9713 for ncn_progname in gcc; do
9714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9715 set dummy ${ncn_progname}; ac_word=$2
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9717 $as_echo_n "checking
for $ac_word...
" >&6; }
9718 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9719 $as_echo_n "(cached
) " >&6
9721 if test -n "$GCC_FOR_TARGET"; then
9722 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 test -z "$as_dir" && as_dir=.
9729 for ac_exec_ext in '' $ac_executable_extensions; do
9730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9731 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9741 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9742 if test -n "$GCC_FOR_TARGET"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9744 $as_echo "$GCC_FOR_TARGET" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9747 $as_echo "no
" >&6; }
9754 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9755 for ncn_progname in gcc; do
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9757 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9758 if test -x $with_build_time_tools/${ncn_progname}; then
9759 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9761 $as_echo "yes" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9765 $as_echo "no
" >&6; }
9770 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9771 for ncn_progname in gcc; do
9772 if test -n "$ncn_target_tool_prefix"; then
9773 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9774 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9776 $as_echo_n "checking
for $ac_word...
" >&6; }
9777 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9778 $as_echo_n "(cached
) " >&6
9780 if test -n "$GCC_FOR_TARGET"; then
9781 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir=.
9788 for ac_exec_ext in '' $ac_executable_extensions; do
9789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9790 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9800 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9801 if test -n "$GCC_FOR_TARGET"; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9803 $as_echo "$GCC_FOR_TARGET" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9806 $as_echo "no
" >&6; }
9811 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9812 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9813 set dummy ${ncn_progname}; ac_word=$2
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9815 $as_echo_n "checking
for $ac_word...
" >&6; }
9816 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9817 $as_echo_n "(cached
) " >&6
9819 if test -n "$GCC_FOR_TARGET"; then
9820 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir=.
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9829 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9839 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9840 if test -n "$GCC_FOR_TARGET"; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9842 $as_echo "$GCC_FOR_TARGET" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9845 $as_echo "no
" >&6; }
9850 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9854 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9855 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9857 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9862 if test -n "$GCJ_FOR_TARGET"; then
9863 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9864 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9865 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9868 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9869 for ncn_progname in gcj; do
9870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9871 set dummy ${ncn_progname}; ac_word=$2
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9873 $as_echo_n "checking
for $ac_word...
" >&6; }
9874 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9875 $as_echo_n "(cached
) " >&6
9877 if test -n "$GCJ_FOR_TARGET"; then
9878 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9884 test -z "$as_dir" && as_dir=.
9885 for ac_exec_ext in '' $ac_executable_extensions; do
9886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9887 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9897 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9898 if test -n "$GCJ_FOR_TARGET"; then
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9900 $as_echo "$GCJ_FOR_TARGET" >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9903 $as_echo "no
" >&6; }
9910 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9911 for ncn_progname in gcj; do
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9913 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9914 if test -x $with_build_time_tools/${ncn_progname}; then
9915 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9917 $as_echo "yes" >&6; }
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9921 $as_echo "no
" >&6; }
9926 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9927 for ncn_progname in gcj; do
9928 if test -n "$ncn_target_tool_prefix"; then
9929 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9930 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9932 $as_echo_n "checking
for $ac_word...
" >&6; }
9933 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9934 $as_echo_n "(cached
) " >&6
9936 if test -n "$GCJ_FOR_TARGET"; then
9937 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9946 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9956 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9957 if test -n "$GCJ_FOR_TARGET"; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9959 $as_echo "$GCJ_FOR_TARGET" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9962 $as_echo "no
" >&6; }
9967 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9969 set dummy ${ncn_progname}; ac_word=$2
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9971 $as_echo_n "checking
for $ac_word...
" >&6; }
9972 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9973 $as_echo_n "(cached
) " >&6
9975 if test -n "$GCJ_FOR_TARGET"; then
9976 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9982 test -z "$as_dir" && as_dir=.
9983 for ac_exec_ext in '' $ac_executable_extensions; do
9984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9985 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9995 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9996 if test -n "$GCJ_FOR_TARGET"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9998 $as_echo "$GCJ_FOR_TARGET" >&6; }
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10001 $as_echo "no
" >&6; }
10006 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10010 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10012 if test $build = $target ; then
10013 GCJ_FOR_TARGET="$2"
10015 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10018 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10023 if test -n "$GFORTRAN_FOR_TARGET"; then
10024 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10025 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10026 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10029 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10030 for ncn_progname in gfortran; do
10031 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10032 set dummy ${ncn_progname}; ac_word=$2
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10034 $as_echo_n "checking
for $ac_word...
" >&6; }
10035 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10036 $as_echo_n "(cached
) " >&6
10038 if test -n "$GFORTRAN_FOR_TARGET"; then
10039 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10042 for as_dir in $PATH
10045 test -z "$as_dir" && as_dir=.
10046 for ac_exec_ext in '' $ac_executable_extensions; do
10047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10048 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10058 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10059 if test -n "$GFORTRAN_FOR_TARGET"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10061 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10064 $as_echo "no
" >&6; }
10071 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10072 for ncn_progname in gfortran; do
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10074 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10075 if test -x $with_build_time_tools/${ncn_progname}; then
10076 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10078 $as_echo "yes" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10082 $as_echo "no
" >&6; }
10087 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10088 for ncn_progname in gfortran; do
10089 if test -n "$ncn_target_tool_prefix"; then
10090 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10091 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10093 $as_echo_n "checking
for $ac_word...
" >&6; }
10094 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10095 $as_echo_n "(cached
) " >&6
10097 if test -n "$GFORTRAN_FOR_TARGET"; then
10098 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10101 for as_dir in $PATH
10104 test -z "$as_dir" && as_dir=.
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10107 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10117 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10118 if test -n "$GFORTRAN_FOR_TARGET"; then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10120 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10123 $as_echo "no
" >&6; }
10128 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10129 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10130 set dummy ${ncn_progname}; ac_word=$2
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10132 $as_echo_n "checking
for $ac_word...
" >&6; }
10133 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10134 $as_echo_n "(cached
) " >&6
10136 if test -n "$GFORTRAN_FOR_TARGET"; then
10137 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10140 for as_dir in $PATH
10143 test -z "$as_dir" && as_dir=.
10144 for ac_exec_ext in '' $ac_executable_extensions; do
10145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10146 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10156 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10157 if test -n "$GFORTRAN_FOR_TARGET"; then
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10159 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10162 $as_echo "no
" >&6; }
10167 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10171 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10173 if test $build = $target ; then
10174 GFORTRAN_FOR_TARGET="$2"
10176 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10179 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10184 cat > conftest.c << \EOF
10189 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10190 have_gcc_for_target=yes
10192 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10193 have_gcc_for_target=no
10200 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10201 if test -n "$with_build_time_tools"; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10203 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10204 if test -x $with_build_time_tools/ar; then
10205 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10206 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10208 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10211 $as_echo "no
" >&6; }
10213 elif test $build != $host && test $have_gcc_for_target = yes; then
10214 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10215 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10216 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10219 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10220 # Extract the first word of "ar", so it can be a program name with args.
10221 set dummy ar; ac_word=$2
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10223 $as_echo_n "checking
for $ac_word...
" >&6; }
10224 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10225 $as_echo_n "(cached
) " >&6
10227 case $AR_FOR_TARGET in
10229 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10233 for as_dir in $gcc_cv_tool_dirs
10236 test -z "$as_dir" && as_dir=.
10237 for ac_exec_ext in '' $ac_executable_extensions; do
10238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10239 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10250 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10251 if test -n "$AR_FOR_TARGET"; then
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10253 $as_echo "$AR_FOR_TARGET" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10256 $as_echo "no
" >&6; }
10261 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10264 if test -n "$AR_FOR_TARGET"; then
10265 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10266 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10267 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10270 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10271 for ncn_progname in ar; do
10272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10273 set dummy ${ncn_progname}; ac_word=$2
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10275 $as_echo_n "checking
for $ac_word...
" >&6; }
10276 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10277 $as_echo_n "(cached
) " >&6
10279 if test -n "$AR_FOR_TARGET"; then
10280 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10299 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10300 if test -n "$AR_FOR_TARGET"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10302 $as_echo "$AR_FOR_TARGET" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10305 $as_echo "no
" >&6; }
10312 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10313 for ncn_progname in ar; do
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10315 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10316 if test -x $with_build_time_tools/${ncn_progname}; then
10317 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10319 $as_echo "yes" >&6; }
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10323 $as_echo "no
" >&6; }
10328 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10329 for ncn_progname in ar; do
10330 if test -n "$ncn_target_tool_prefix"; then
10331 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10332 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10334 $as_echo_n "checking
for $ac_word...
" >&6; }
10335 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10336 $as_echo_n "(cached
) " >&6
10338 if test -n "$AR_FOR_TARGET"; then
10339 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10342 for as_dir in $PATH
10345 test -z "$as_dir" && as_dir=.
10346 for ac_exec_ext in '' $ac_executable_extensions; do
10347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10348 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10358 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10359 if test -n "$AR_FOR_TARGET"; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10361 $as_echo "$AR_FOR_TARGET" >&6; }
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10364 $as_echo "no
" >&6; }
10369 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10371 set dummy ${ncn_progname}; ac_word=$2
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10373 $as_echo_n "checking
for $ac_word...
" >&6; }
10374 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10375 $as_echo_n "(cached
) " >&6
10377 if test -n "$AR_FOR_TARGET"; then
10378 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 for as_dir in $PATH
10384 test -z "$as_dir" && as_dir=.
10385 for ac_exec_ext in '' $ac_executable_extensions; do
10386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10387 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10397 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10398 if test -n "$AR_FOR_TARGET"; then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10400 $as_echo "$AR_FOR_TARGET" >&6; }
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10403 $as_echo "no
" >&6; }
10408 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10412 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10414 if test $build = $target ; then
10417 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10420 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10424 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10430 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10431 if test -n "$with_build_time_tools"; then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10433 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10434 if test -x $with_build_time_tools/as; then
10435 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10436 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10438 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10441 $as_echo "no
" >&6; }
10443 elif test $build != $host && test $have_gcc_for_target = yes; then
10444 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10445 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10446 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10449 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10450 # Extract the first word of "as
", so it can be a program name with args.
10451 set dummy as; ac_word=$2
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10453 $as_echo_n "checking
for $ac_word...
" >&6; }
10454 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10455 $as_echo_n "(cached
) " >&6
10457 case $AS_FOR_TARGET in
10459 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $gcc_cv_tool_dirs
10466 test -z "$as_dir" && as_dir=.
10467 for ac_exec_ext in '' $ac_executable_extensions; do
10468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10469 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10480 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10481 if test -n "$AS_FOR_TARGET"; then
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10483 $as_echo "$AS_FOR_TARGET" >&6; }
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10486 $as_echo "no
" >&6; }
10491 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10494 if test -n "$AS_FOR_TARGET"; then
10495 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10496 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10497 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10500 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10501 for ncn_progname in as; do
10502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10503 set dummy ${ncn_progname}; ac_word=$2
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10505 $as_echo_n "checking
for $ac_word...
" >&6; }
10506 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10507 $as_echo_n "(cached
) " >&6
10509 if test -n "$AS_FOR_TARGET"; then
10510 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10513 for as_dir in $PATH
10516 test -z "$as_dir" && as_dir=.
10517 for ac_exec_ext in '' $ac_executable_extensions; do
10518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10519 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10529 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10530 if test -n "$AS_FOR_TARGET"; then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10532 $as_echo "$AS_FOR_TARGET" >&6; }
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10535 $as_echo "no
" >&6; }
10542 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10543 for ncn_progname in as; do
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10545 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10546 if test -x $with_build_time_tools/${ncn_progname}; then
10547 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10549 $as_echo "yes" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10553 $as_echo "no
" >&6; }
10558 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10559 for ncn_progname in as; do
10560 if test -n "$ncn_target_tool_prefix"; then
10561 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10562 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10564 $as_echo_n "checking
for $ac_word...
" >&6; }
10565 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10566 $as_echo_n "(cached
) " >&6
10568 if test -n "$AS_FOR_TARGET"; then
10569 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10572 for as_dir in $PATH
10575 test -z "$as_dir" && as_dir=.
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10588 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10589 if test -n "$AS_FOR_TARGET"; then
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10591 $as_echo "$AS_FOR_TARGET" >&6; }
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10594 $as_echo "no
" >&6; }
10599 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10600 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10601 set dummy ${ncn_progname}; ac_word=$2
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10603 $as_echo_n "checking
for $ac_word...
" >&6; }
10604 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10605 $as_echo_n "(cached
) " >&6
10607 if test -n "$AS_FOR_TARGET"; then
10608 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10611 for as_dir in $PATH
10614 test -z "$as_dir" && as_dir=.
10615 for ac_exec_ext in '' $ac_executable_extensions; do
10616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10617 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10627 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10628 if test -n "$AS_FOR_TARGET"; then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10630 $as_echo "$AS_FOR_TARGET" >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10633 $as_echo "no
" >&6; }
10638 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10642 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10644 if test $build = $target ; then
10647 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10650 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10654 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10660 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10661 if test -n "$with_build_time_tools"; then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
10663 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
10664 if test -x $with_build_time_tools/dlltool; then
10665 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10666 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10668 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10671 $as_echo "no
" >&6; }
10673 elif test $build != $host && test $have_gcc_for_target = yes; then
10674 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10675 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10676 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10679 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10680 # Extract the first word of "dlltool
", so it can be a program name with args.
10681 set dummy dlltool; ac_word=$2
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10683 $as_echo_n "checking
for $ac_word...
" >&6; }
10684 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10685 $as_echo_n "(cached
) " >&6
10687 case $DLLTOOL_FOR_TARGET in
10689 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10693 for as_dir in $gcc_cv_tool_dirs
10696 test -z "$as_dir" && as_dir=.
10697 for ac_exec_ext in '' $ac_executable_extensions; do
10698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10699 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10710 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10711 if test -n "$DLLTOOL_FOR_TARGET"; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10713 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10716 $as_echo "no
" >&6; }
10721 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10724 if test -n "$DLLTOOL_FOR_TARGET"; then
10725 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10726 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10727 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10730 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10731 for ncn_progname in dlltool; do
10732 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10733 set dummy ${ncn_progname}; ac_word=$2
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10735 $as_echo_n "checking
for $ac_word...
" >&6; }
10736 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10737 $as_echo_n "(cached
) " >&6
10739 if test -n "$DLLTOOL_FOR_TARGET"; then
10740 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10743 for as_dir in $PATH
10746 test -z "$as_dir" && as_dir=.
10747 for ac_exec_ext in '' $ac_executable_extensions; do
10748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10749 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10759 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10760 if test -n "$DLLTOOL_FOR_TARGET"; then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10762 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10765 $as_echo "no
" >&6; }
10772 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10773 for ncn_progname in dlltool; do
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10775 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10776 if test -x $with_build_time_tools/${ncn_progname}; then
10777 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10779 $as_echo "yes" >&6; }
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10783 $as_echo "no
" >&6; }
10788 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10789 for ncn_progname in dlltool; do
10790 if test -n "$ncn_target_tool_prefix"; then
10791 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10792 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10794 $as_echo_n "checking
for $ac_word...
" >&6; }
10795 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10796 $as_echo_n "(cached
) " >&6
10798 if test -n "$DLLTOOL_FOR_TARGET"; then
10799 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10802 for as_dir in $PATH
10805 test -z "$as_dir" && as_dir=.
10806 for ac_exec_ext in '' $ac_executable_extensions; do
10807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10808 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10818 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10819 if test -n "$DLLTOOL_FOR_TARGET"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10821 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10824 $as_echo "no
" >&6; }
10829 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10830 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10831 set dummy ${ncn_progname}; ac_word=$2
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10833 $as_echo_n "checking
for $ac_word...
" >&6; }
10834 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10835 $as_echo_n "(cached
) " >&6
10837 if test -n "$DLLTOOL_FOR_TARGET"; then
10838 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10841 for as_dir in $PATH
10844 test -z "$as_dir" && as_dir=.
10845 for ac_exec_ext in '' $ac_executable_extensions; do
10846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10847 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10857 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10858 if test -n "$DLLTOOL_FOR_TARGET"; then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10860 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10863 $as_echo "no
" >&6; }
10868 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10872 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10874 if test $build = $target ; then
10875 DLLTOOL_FOR_TARGET="$2"
10877 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10880 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10884 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10890 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10891 if test -n "$with_build_time_tools"; then
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
10893 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
10894 if test -x $with_build_time_tools/ld; then
10895 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10896 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10898 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10901 $as_echo "no
" >&6; }
10903 elif test $build != $host && test $have_gcc_for_target = yes; then
10904 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10905 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10906 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10909 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10910 # Extract the first word of "ld
", so it can be a program name with args.
10911 set dummy ld; ac_word=$2
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10913 $as_echo_n "checking
for $ac_word...
" >&6; }
10914 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
10915 $as_echo_n "(cached
) " >&6
10917 case $LD_FOR_TARGET in
10919 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10923 for as_dir in $gcc_cv_tool_dirs
10926 test -z "$as_dir" && as_dir=.
10927 for ac_exec_ext in '' $ac_executable_extensions; do
10928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10929 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10940 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10941 if test -n "$LD_FOR_TARGET"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10943 $as_echo "$LD_FOR_TARGET" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10946 $as_echo "no
" >&6; }
10951 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10954 if test -n "$LD_FOR_TARGET"; then
10955 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10956 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10957 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10960 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10961 for ncn_progname in ld; do
10962 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10963 set dummy ${ncn_progname}; ac_word=$2
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10965 $as_echo_n "checking
for $ac_word...
" >&6; }
10966 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10967 $as_echo_n "(cached
) " >&6
10969 if test -n "$LD_FOR_TARGET"; then
10970 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10973 for as_dir in $PATH
10976 test -z "$as_dir" && as_dir=.
10977 for ac_exec_ext in '' $ac_executable_extensions; do
10978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10979 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10989 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10990 if test -n "$LD_FOR_TARGET"; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10992 $as_echo "$LD_FOR_TARGET" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10995 $as_echo "no
" >&6; }
11002 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11003 for ncn_progname in ld; do
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11005 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11006 if test -x $with_build_time_tools/${ncn_progname}; then
11007 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11009 $as_echo "yes" >&6; }
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11013 $as_echo "no
" >&6; }
11018 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11019 for ncn_progname in ld; do
11020 if test -n "$ncn_target_tool_prefix"; then
11021 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11022 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11024 $as_echo_n "checking
for $ac_word...
" >&6; }
11025 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11026 $as_echo_n "(cached
) " >&6
11028 if test -n "$LD_FOR_TARGET"; then
11029 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11032 for as_dir in $PATH
11035 test -z "$as_dir" && as_dir=.
11036 for ac_exec_ext in '' $ac_executable_extensions; do
11037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11038 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11048 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11049 if test -n "$LD_FOR_TARGET"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11051 $as_echo "$LD_FOR_TARGET" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11054 $as_echo "no
" >&6; }
11059 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11060 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11061 set dummy ${ncn_progname}; ac_word=$2
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11063 $as_echo_n "checking
for $ac_word...
" >&6; }
11064 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11065 $as_echo_n "(cached
) " >&6
11067 if test -n "$LD_FOR_TARGET"; then
11068 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11071 for as_dir in $PATH
11074 test -z "$as_dir" && as_dir=.
11075 for ac_exec_ext in '' $ac_executable_extensions; do
11076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11077 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11087 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11088 if test -n "$LD_FOR_TARGET"; then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11090 $as_echo "$LD_FOR_TARGET" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11093 $as_echo "no
" >&6; }
11098 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11102 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11104 if test $build = $target ; then
11107 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11110 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11114 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11120 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11121 if test -n "$with_build_time_tools"; then
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11123 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11124 if test -x $with_build_time_tools/lipo; then
11125 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11126 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11128 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11131 $as_echo "no
" >&6; }
11133 elif test $build != $host && test $have_gcc_for_target = yes; then
11134 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11135 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11136 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11139 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11140 # Extract the first word of "lipo
", so it can be a program name with args.
11141 set dummy lipo; ac_word=$2
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11143 $as_echo_n "checking
for $ac_word...
" >&6; }
11144 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11145 $as_echo_n "(cached
) " >&6
11147 case $LIPO_FOR_TARGET in
11149 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11153 for as_dir in $gcc_cv_tool_dirs
11156 test -z "$as_dir" && as_dir=.
11157 for ac_exec_ext in '' $ac_executable_extensions; do
11158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11159 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11170 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11171 if test -n "$LIPO_FOR_TARGET"; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11173 $as_echo "$LIPO_FOR_TARGET" >&6; }
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11176 $as_echo "no
" >&6; }
11181 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11184 if test -n "$LIPO_FOR_TARGET"; then
11185 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11186 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11187 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11190 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11191 for ncn_progname in lipo; do
11192 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11193 set dummy ${ncn_progname}; ac_word=$2
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11195 $as_echo_n "checking
for $ac_word...
" >&6; }
11196 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11197 $as_echo_n "(cached
) " >&6
11199 if test -n "$LIPO_FOR_TARGET"; then
11200 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11203 for as_dir in $PATH
11206 test -z "$as_dir" && as_dir=.
11207 for ac_exec_ext in '' $ac_executable_extensions; do
11208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11209 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11219 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11220 if test -n "$LIPO_FOR_TARGET"; then
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11222 $as_echo "$LIPO_FOR_TARGET" >&6; }
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11225 $as_echo "no
" >&6; }
11232 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11233 for ncn_progname in lipo; do
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11235 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11236 if test -x $with_build_time_tools/${ncn_progname}; then
11237 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11239 $as_echo "yes" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11243 $as_echo "no
" >&6; }
11248 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11249 for ncn_progname in lipo; do
11250 if test -n "$ncn_target_tool_prefix"; then
11251 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11252 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11254 $as_echo_n "checking
for $ac_word...
" >&6; }
11255 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11256 $as_echo_n "(cached
) " >&6
11258 if test -n "$LIPO_FOR_TARGET"; then
11259 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11262 for as_dir in $PATH
11265 test -z "$as_dir" && as_dir=.
11266 for ac_exec_ext in '' $ac_executable_extensions; do
11267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11268 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11278 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11279 if test -n "$LIPO_FOR_TARGET"; then
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11281 $as_echo "$LIPO_FOR_TARGET" >&6; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11284 $as_echo "no
" >&6; }
11289 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11291 set dummy ${ncn_progname}; ac_word=$2
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11293 $as_echo_n "checking
for $ac_word...
" >&6; }
11294 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11295 $as_echo_n "(cached
) " >&6
11297 if test -n "$LIPO_FOR_TARGET"; then
11298 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11301 for as_dir in $PATH
11304 test -z "$as_dir" && as_dir=.
11305 for ac_exec_ext in '' $ac_executable_extensions; do
11306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11307 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11317 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11318 if test -n "$LIPO_FOR_TARGET"; then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11320 $as_echo "$LIPO_FOR_TARGET" >&6; }
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11323 $as_echo "no
" >&6; }
11328 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11332 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11334 if test $build = $target ; then
11335 LIPO_FOR_TARGET="$2"
11337 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11340 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11344 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11350 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11351 if test -n "$with_build_time_tools"; then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11353 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11354 if test -x $with_build_time_tools/nm; then
11355 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11356 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11358 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11361 $as_echo "no
" >&6; }
11363 elif test $build != $host && test $have_gcc_for_target = yes; then
11364 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11365 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11366 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11369 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11370 # Extract the first word of "nm
", so it can be a program name with args.
11371 set dummy nm; ac_word=$2
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11373 $as_echo_n "checking
for $ac_word...
" >&6; }
11374 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11375 $as_echo_n "(cached
) " >&6
11377 case $NM_FOR_TARGET in
11379 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11383 for as_dir in $gcc_cv_tool_dirs
11386 test -z "$as_dir" && as_dir=.
11387 for ac_exec_ext in '' $ac_executable_extensions; do
11388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11389 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11400 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11401 if test -n "$NM_FOR_TARGET"; then
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11403 $as_echo "$NM_FOR_TARGET" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11406 $as_echo "no
" >&6; }
11411 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11414 if test -n "$NM_FOR_TARGET"; then
11415 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11416 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11417 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11420 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11421 for ncn_progname in nm; do
11422 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11423 set dummy ${ncn_progname}; ac_word=$2
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11425 $as_echo_n "checking
for $ac_word...
" >&6; }
11426 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11427 $as_echo_n "(cached
) " >&6
11429 if test -n "$NM_FOR_TARGET"; then
11430 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11433 for as_dir in $PATH
11436 test -z "$as_dir" && as_dir=.
11437 for ac_exec_ext in '' $ac_executable_extensions; do
11438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11439 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11449 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11450 if test -n "$NM_FOR_TARGET"; then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11452 $as_echo "$NM_FOR_TARGET" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11455 $as_echo "no
" >&6; }
11462 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11463 for ncn_progname in nm; do
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11465 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11466 if test -x $with_build_time_tools/${ncn_progname}; then
11467 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11469 $as_echo "yes" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11473 $as_echo "no
" >&6; }
11478 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11479 for ncn_progname in nm; do
11480 if test -n "$ncn_target_tool_prefix"; then
11481 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11482 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11484 $as_echo_n "checking
for $ac_word...
" >&6; }
11485 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11486 $as_echo_n "(cached
) " >&6
11488 if test -n "$NM_FOR_TARGET"; then
11489 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11492 for as_dir in $PATH
11495 test -z "$as_dir" && as_dir=.
11496 for ac_exec_ext in '' $ac_executable_extensions; do
11497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11498 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11508 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11509 if test -n "$NM_FOR_TARGET"; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11511 $as_echo "$NM_FOR_TARGET" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11514 $as_echo "no
" >&6; }
11519 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11521 set dummy ${ncn_progname}; ac_word=$2
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11523 $as_echo_n "checking
for $ac_word...
" >&6; }
11524 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11525 $as_echo_n "(cached
) " >&6
11527 if test -n "$NM_FOR_TARGET"; then
11528 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11531 for as_dir in $PATH
11534 test -z "$as_dir" && as_dir=.
11535 for ac_exec_ext in '' $ac_executable_extensions; do
11536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11537 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11547 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11548 if test -n "$NM_FOR_TARGET"; then
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11550 $as_echo "$NM_FOR_TARGET" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11553 $as_echo "no
" >&6; }
11558 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11562 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11564 if test $build = $target ; then
11567 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11570 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11574 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11580 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11581 if test -n "$with_build_time_tools"; then
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11583 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11584 if test -x $with_build_time_tools/objdump; then
11585 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11586 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11588 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11591 $as_echo "no
" >&6; }
11593 elif test $build != $host && test $have_gcc_for_target = yes; then
11594 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11595 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11596 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11599 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11600 # Extract the first word of "objdump
", so it can be a program name with args.
11601 set dummy objdump; ac_word=$2
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11603 $as_echo_n "checking
for $ac_word...
" >&6; }
11604 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11605 $as_echo_n "(cached
) " >&6
11607 case $OBJDUMP_FOR_TARGET in
11609 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11613 for as_dir in $gcc_cv_tool_dirs
11616 test -z "$as_dir" && as_dir=.
11617 for ac_exec_ext in '' $ac_executable_extensions; do
11618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11619 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11630 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11631 if test -n "$OBJDUMP_FOR_TARGET"; then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11633 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11636 $as_echo "no
" >&6; }
11641 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11644 if test -n "$OBJDUMP_FOR_TARGET"; then
11645 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11646 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11647 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11650 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11651 for ncn_progname in objdump; do
11652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11653 set dummy ${ncn_progname}; ac_word=$2
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11655 $as_echo_n "checking
for $ac_word...
" >&6; }
11656 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11657 $as_echo_n "(cached
) " >&6
11659 if test -n "$OBJDUMP_FOR_TARGET"; then
11660 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11663 for as_dir in $PATH
11666 test -z "$as_dir" && as_dir=.
11667 for ac_exec_ext in '' $ac_executable_extensions; do
11668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11669 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11679 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11680 if test -n "$OBJDUMP_FOR_TARGET"; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11682 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11685 $as_echo "no
" >&6; }
11692 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11693 for ncn_progname in objdump; do
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11695 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11696 if test -x $with_build_time_tools/${ncn_progname}; then
11697 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11699 $as_echo "yes" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11703 $as_echo "no
" >&6; }
11708 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11709 for ncn_progname in objdump; do
11710 if test -n "$ncn_target_tool_prefix"; then
11711 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11712 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11714 $as_echo_n "checking
for $ac_word...
" >&6; }
11715 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11716 $as_echo_n "(cached
) " >&6
11718 if test -n "$OBJDUMP_FOR_TARGET"; then
11719 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722 for as_dir in $PATH
11725 test -z "$as_dir" && as_dir=.
11726 for ac_exec_ext in '' $ac_executable_extensions; do
11727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11728 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11738 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11739 if test -n "$OBJDUMP_FOR_TARGET"; then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11741 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11744 $as_echo "no
" >&6; }
11749 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11751 set dummy ${ncn_progname}; ac_word=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11753 $as_echo_n "checking
for $ac_word...
" >&6; }
11754 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11755 $as_echo_n "(cached
) " >&6
11757 if test -n "$OBJDUMP_FOR_TARGET"; then
11758 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11761 for as_dir in $PATH
11764 test -z "$as_dir" && as_dir=.
11765 for ac_exec_ext in '' $ac_executable_extensions; do
11766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11767 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11777 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11778 if test -n "$OBJDUMP_FOR_TARGET"; then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11780 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11783 $as_echo "no
" >&6; }
11788 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11792 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11794 if test $build = $target ; then
11795 OBJDUMP_FOR_TARGET="$2"
11797 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11800 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11804 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11810 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11811 if test -n "$with_build_time_tools"; then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
11813 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
11814 if test -x $with_build_time_tools/ranlib; then
11815 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11816 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11818 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11821 $as_echo "no
" >&6; }
11823 elif test $build != $host && test $have_gcc_for_target = yes; then
11824 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11825 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11826 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11829 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11830 # Extract the first word of "ranlib
", so it can be a program name with args.
11831 set dummy ranlib; ac_word=$2
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11833 $as_echo_n "checking
for $ac_word...
" >&6; }
11834 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
11835 $as_echo_n "(cached
) " >&6
11837 case $RANLIB_FOR_TARGET in
11839 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11843 for as_dir in $gcc_cv_tool_dirs
11846 test -z "$as_dir" && as_dir=.
11847 for ac_exec_ext in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11860 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11861 if test -n "$RANLIB_FOR_TARGET"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11863 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11866 $as_echo "no
" >&6; }
11871 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11874 if test -n "$RANLIB_FOR_TARGET"; then
11875 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11876 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11877 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11880 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11881 for ncn_progname in ranlib; do
11882 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11883 set dummy ${ncn_progname}; ac_word=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11885 $as_echo_n "checking
for $ac_word...
" >&6; }
11886 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11887 $as_echo_n "(cached
) " >&6
11889 if test -n "$RANLIB_FOR_TARGET"; then
11890 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11893 for as_dir in $PATH
11896 test -z "$as_dir" && as_dir=.
11897 for ac_exec_ext in '' $ac_executable_extensions; do
11898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11899 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11909 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11910 if test -n "$RANLIB_FOR_TARGET"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11912 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11915 $as_echo "no
" >&6; }
11922 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11923 for ncn_progname in ranlib; do
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11925 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11926 if test -x $with_build_time_tools/${ncn_progname}; then
11927 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11929 $as_echo "yes" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11933 $as_echo "no
" >&6; }
11938 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11939 for ncn_progname in ranlib; do
11940 if test -n "$ncn_target_tool_prefix"; then
11941 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11942 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11944 $as_echo_n "checking
for $ac_word...
" >&6; }
11945 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11946 $as_echo_n "(cached
) " >&6
11948 if test -n "$RANLIB_FOR_TARGET"; then
11949 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11952 for as_dir in $PATH
11955 test -z "$as_dir" && as_dir=.
11956 for ac_exec_ext in '' $ac_executable_extensions; do
11957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11958 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11968 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11969 if test -n "$RANLIB_FOR_TARGET"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11971 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11974 $as_echo "no
" >&6; }
11979 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11981 set dummy ${ncn_progname}; ac_word=$2
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11983 $as_echo_n "checking
for $ac_word...
" >&6; }
11984 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11985 $as_echo_n "(cached
) " >&6
11987 if test -n "$RANLIB_FOR_TARGET"; then
11988 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11991 for as_dir in $PATH
11994 test -z "$as_dir" && as_dir=.
11995 for ac_exec_ext in '' $ac_executable_extensions; do
11996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11997 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12007 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12008 if test -n "$RANLIB_FOR_TARGET"; then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12010 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12013 $as_echo "no
" >&6; }
12018 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12022 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12024 if test $build = $target ; then
12025 RANLIB_FOR_TARGET="$2"
12027 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12030 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12034 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12040 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12041 if test -n "$with_build_time_tools"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12043 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12044 if test -x $with_build_time_tools/strip; then
12045 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12046 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12048 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12051 $as_echo "no
" >&6; }
12053 elif test $build != $host && test $have_gcc_for_target = yes; then
12054 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12055 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12056 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12059 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12060 # Extract the first word of "strip
", so it can be a program name with args.
12061 set dummy strip; ac_word=$2
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12063 $as_echo_n "checking
for $ac_word...
" >&6; }
12064 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12065 $as_echo_n "(cached
) " >&6
12067 case $STRIP_FOR_TARGET in
12069 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12073 for as_dir in $gcc_cv_tool_dirs
12076 test -z "$as_dir" && as_dir=.
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12079 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12090 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12091 if test -n "$STRIP_FOR_TARGET"; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12093 $as_echo "$STRIP_FOR_TARGET" >&6; }
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12096 $as_echo "no
" >&6; }
12101 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12104 if test -n "$STRIP_FOR_TARGET"; then
12105 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12106 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12107 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12110 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12111 for ncn_progname in strip; do
12112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12113 set dummy ${ncn_progname}; ac_word=$2
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12115 $as_echo_n "checking
for $ac_word...
" >&6; }
12116 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12117 $as_echo_n "(cached
) " >&6
12119 if test -n "$STRIP_FOR_TARGET"; then
12120 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 for as_dir in $PATH
12126 test -z "$as_dir" && as_dir=.
12127 for ac_exec_ext in '' $ac_executable_extensions; do
12128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12129 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12139 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12140 if test -n "$STRIP_FOR_TARGET"; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12142 $as_echo "$STRIP_FOR_TARGET" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12145 $as_echo "no
" >&6; }
12152 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12153 for ncn_progname in strip; do
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12155 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12156 if test -x $with_build_time_tools/${ncn_progname}; then
12157 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12159 $as_echo "yes" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12163 $as_echo "no
" >&6; }
12168 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12169 for ncn_progname in strip; do
12170 if test -n "$ncn_target_tool_prefix"; then
12171 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12172 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12174 $as_echo_n "checking
for $ac_word...
" >&6; }
12175 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12176 $as_echo_n "(cached
) " >&6
12178 if test -n "$STRIP_FOR_TARGET"; then
12179 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 for as_dir in $PATH
12185 test -z "$as_dir" && as_dir=.
12186 for ac_exec_ext in '' $ac_executable_extensions; do
12187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12188 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12198 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12199 if test -n "$STRIP_FOR_TARGET"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12201 $as_echo "$STRIP_FOR_TARGET" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12204 $as_echo "no
" >&6; }
12209 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12211 set dummy ${ncn_progname}; ac_word=$2
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12213 $as_echo_n "checking
for $ac_word...
" >&6; }
12214 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12215 $as_echo_n "(cached
) " >&6
12217 if test -n "$STRIP_FOR_TARGET"; then
12218 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12221 for as_dir in $PATH
12224 test -z "$as_dir" && as_dir=.
12225 for ac_exec_ext in '' $ac_executable_extensions; do
12226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12227 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12237 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12238 if test -n "$STRIP_FOR_TARGET"; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12240 $as_echo "$STRIP_FOR_TARGET" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12243 $as_echo "no
" >&6; }
12248 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12252 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12254 if test $build = $target ; then
12255 STRIP_FOR_TARGET="$2"
12257 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12260 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12264 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12270 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12271 if test -n "$with_build_time_tools"; then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12273 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12274 if test -x $with_build_time_tools/windres; then
12275 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12276 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12278 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12281 $as_echo "no
" >&6; }
12283 elif test $build != $host && test $have_gcc_for_target = yes; then
12284 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12285 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12286 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12289 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12290 # Extract the first word of "windres
", so it can be a program name with args.
12291 set dummy windres; ac_word=$2
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12293 $as_echo_n "checking
for $ac_word...
" >&6; }
12294 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12295 $as_echo_n "(cached
) " >&6
12297 case $WINDRES_FOR_TARGET in
12299 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12303 for as_dir in $gcc_cv_tool_dirs
12306 test -z "$as_dir" && as_dir=.
12307 for ac_exec_ext in '' $ac_executable_extensions; do
12308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12309 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12320 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12321 if test -n "$WINDRES_FOR_TARGET"; then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12323 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12326 $as_echo "no
" >&6; }
12331 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12334 if test -n "$WINDRES_FOR_TARGET"; then
12335 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12336 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12337 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12340 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12341 for ncn_progname in windres; do
12342 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12343 set dummy ${ncn_progname}; ac_word=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12345 $as_echo_n "checking
for $ac_word...
" >&6; }
12346 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12347 $as_echo_n "(cached
) " >&6
12349 if test -n "$WINDRES_FOR_TARGET"; then
12350 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $PATH
12356 test -z "$as_dir" && as_dir=.
12357 for ac_exec_ext in '' $ac_executable_extensions; do
12358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12359 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12369 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12370 if test -n "$WINDRES_FOR_TARGET"; then
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12372 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12375 $as_echo "no
" >&6; }
12382 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12383 for ncn_progname in windres; do
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12385 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12386 if test -x $with_build_time_tools/${ncn_progname}; then
12387 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12389 $as_echo "yes" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12393 $as_echo "no
" >&6; }
12398 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12399 for ncn_progname in windres; do
12400 if test -n "$ncn_target_tool_prefix"; then
12401 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12402 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12404 $as_echo_n "checking
for $ac_word...
" >&6; }
12405 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12406 $as_echo_n "(cached
) " >&6
12408 if test -n "$WINDRES_FOR_TARGET"; then
12409 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12412 for as_dir in $PATH
12415 test -z "$as_dir" && as_dir=.
12416 for ac_exec_ext in '' $ac_executable_extensions; do
12417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12418 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12428 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12429 if test -n "$WINDRES_FOR_TARGET"; then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12431 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12434 $as_echo "no
" >&6; }
12439 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12440 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12441 set dummy ${ncn_progname}; ac_word=$2
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12443 $as_echo_n "checking
for $ac_word...
" >&6; }
12444 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12445 $as_echo_n "(cached
) " >&6
12447 if test -n "$WINDRES_FOR_TARGET"; then
12448 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12451 for as_dir in $PATH
12454 test -z "$as_dir" && as_dir=.
12455 for ac_exec_ext in '' $ac_executable_extensions; do
12456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12457 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12467 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12468 if test -n "$WINDRES_FOR_TARGET"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12470 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12473 $as_echo "no
" >&6; }
12478 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12482 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12484 if test $build = $target ; then
12485 WINDRES_FOR_TARGET="$2"
12487 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12490 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12494 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12500 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12501 if test -n "$with_build_time_tools"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12503 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12504 if test -x $with_build_time_tools/windmc; then
12505 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12506 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12508 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12511 $as_echo "no
" >&6; }
12513 elif test $build != $host && test $have_gcc_for_target = yes; then
12514 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12515 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12516 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12519 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12520 # Extract the first word of "windmc
", so it can be a program name with args.
12521 set dummy windmc; ac_word=$2
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12523 $as_echo_n "checking
for $ac_word...
" >&6; }
12524 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12525 $as_echo_n "(cached
) " >&6
12527 case $WINDMC_FOR_TARGET in
12529 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12533 for as_dir in $gcc_cv_tool_dirs
12536 test -z "$as_dir" && as_dir=.
12537 for ac_exec_ext in '' $ac_executable_extensions; do
12538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12539 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12550 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12551 if test -n "$WINDMC_FOR_TARGET"; then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12553 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12556 $as_echo "no
" >&6; }
12561 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12564 if test -n "$WINDMC_FOR_TARGET"; then
12565 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12566 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12567 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12570 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12571 for ncn_progname in windmc; do
12572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12573 set dummy ${ncn_progname}; ac_word=$2
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12575 $as_echo_n "checking
for $ac_word...
" >&6; }
12576 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12577 $as_echo_n "(cached
) " >&6
12579 if test -n "$WINDMC_FOR_TARGET"; then
12580 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12586 test -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12589 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12599 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12600 if test -n "$WINDMC_FOR_TARGET"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12602 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12605 $as_echo "no
" >&6; }
12612 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12613 for ncn_progname in windmc; do
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12615 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12616 if test -x $with_build_time_tools/${ncn_progname}; then
12617 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12619 $as_echo "yes" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12623 $as_echo "no
" >&6; }
12628 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12629 for ncn_progname in windmc; do
12630 if test -n "$ncn_target_tool_prefix"; then
12631 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12632 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12634 $as_echo_n "checking
for $ac_word...
" >&6; }
12635 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12636 $as_echo_n "(cached
) " >&6
12638 if test -n "$WINDMC_FOR_TARGET"; then
12639 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12642 for as_dir in $PATH
12645 test -z "$as_dir" && as_dir=.
12646 for ac_exec_ext in '' $ac_executable_extensions; do
12647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12648 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12658 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12659 if test -n "$WINDMC_FOR_TARGET"; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12661 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12664 $as_echo "no
" >&6; }
12669 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12671 set dummy ${ncn_progname}; ac_word=$2
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12673 $as_echo_n "checking
for $ac_word...
" >&6; }
12674 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12675 $as_echo_n "(cached
) " >&6
12677 if test -n "$WINDMC_FOR_TARGET"; then
12678 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12681 for as_dir in $PATH
12684 test -z "$as_dir" && as_dir=.
12685 for ac_exec_ext in '' $ac_executable_extensions; do
12686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12687 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12697 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12698 if test -n "$WINDMC_FOR_TARGET"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12700 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12703 $as_echo "no
" >&6; }
12708 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12712 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12714 if test $build = $target ; then
12715 WINDMC_FOR_TARGET="$2"
12717 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12720 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12724 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12728 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
12731 $as_echo_n "checking where to
find the target
ar...
" >&6; }
12732 if test "x
${build}" != "x
${host}" ; then
12733 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12734 # We already found the complete path
12735 ac_dir=`dirname $AR_FOR_TARGET`
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12737 $as_echo "pre-installed
in $ac_dir" >&6; }
12739 # Canadian cross, just use what we found
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12741 $as_echo "pre-installed
" >&6; }
12745 case " ${configdirs} " in
12750 if test $ok = yes; then
12751 # An in-tree tool is available and we can use it
12752 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12754 $as_echo "just compiled
" >&6; }
12755 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12756 # We already found the complete path
12757 ac_dir=`dirname $AR_FOR_TARGET`
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12759 $as_echo "pre-installed
in $ac_dir" >&6; }
12760 elif test "x
$target" = "x
$host"; then
12761 # We can use an host tool
12762 AR_FOR_TARGET='$(AR)'
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12764 $as_echo "host tool
" >&6; }
12766 # We need a cross tool
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12768 $as_echo "pre-installed
" >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
12773 $as_echo_n "checking where to
find the target as...
" >&6; }
12774 if test "x
${build}" != "x
${host}" ; then
12775 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12776 # We already found the complete path
12777 ac_dir=`dirname $AS_FOR_TARGET`
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12779 $as_echo "pre-installed
in $ac_dir" >&6; }
12781 # Canadian cross, just use what we found
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12783 $as_echo "pre-installed
" >&6; }
12787 case " ${configdirs} " in
12792 if test $ok = yes; then
12793 # An in-tree tool is available and we can use it
12794 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12796 $as_echo "just compiled
" >&6; }
12797 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12798 # We already found the complete path
12799 ac_dir=`dirname $AS_FOR_TARGET`
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12801 $as_echo "pre-installed
in $ac_dir" >&6; }
12802 elif test "x
$target" = "x
$host"; then
12803 # We can use an host tool
12804 AS_FOR_TARGET='$(AS)'
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12806 $as_echo "host tool
" >&6; }
12808 # We need a cross tool
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12810 $as_echo "pre-installed
" >&6; }
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
12815 $as_echo_n "checking where to
find the target cc...
" >&6; }
12816 if test "x
${build}" != "x
${host}" ; then
12817 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12818 # We already found the complete path
12819 ac_dir=`dirname $CC_FOR_TARGET`
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12821 $as_echo "pre-installed
in $ac_dir" >&6; }
12823 # Canadian cross, just use what we found
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12825 $as_echo "pre-installed
" >&6; }
12829 case " ${configdirs} " in
12834 if test $ok = yes; then
12835 # An in-tree tool is available and we can use it
12836 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12838 $as_echo "just compiled
" >&6; }
12839 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12840 # We already found the complete path
12841 ac_dir=`dirname $CC_FOR_TARGET`
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12843 $as_echo "pre-installed
in $ac_dir" >&6; }
12844 elif test "x
$target" = "x
$host"; then
12845 # We can use an host tool
12846 CC_FOR_TARGET='$(CC)'
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12848 $as_echo "host tool
" >&6; }
12850 # We need a cross tool
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12852 $as_echo "pre-installed
" >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
12857 $as_echo_n "checking where to
find the target c
++...
" >&6; }
12858 if test "x
${build}" != "x
${host}" ; then
12859 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12860 # We already found the complete path
12861 ac_dir=`dirname $CXX_FOR_TARGET`
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12863 $as_echo "pre-installed
in $ac_dir" >&6; }
12865 # Canadian cross, just use what we found
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12867 $as_echo "pre-installed
" >&6; }
12871 case " ${configdirs} " in
12875 case ,${enable_languages}, in
12879 if test $ok = yes; then
12880 # An in-tree tool is available and we can use it
12881 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12883 $as_echo "just compiled
" >&6; }
12884 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12885 # We already found the complete path
12886 ac_dir=`dirname $CXX_FOR_TARGET`
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12888 $as_echo "pre-installed
in $ac_dir" >&6; }
12889 elif test "x
$target" = "x
$host"; then
12890 # We can use an host tool
12891 CXX_FOR_TARGET='$(CXX)'
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12893 $as_echo "host tool
" >&6; }
12895 # We need a cross tool
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12897 $as_echo "pre-installed
" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
12902 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
12903 if test "x
${build}" != "x
${host}" ; then
12904 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12905 # We already found the complete path
12906 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12908 $as_echo "pre-installed
in $ac_dir" >&6; }
12910 # Canadian cross, just use what we found
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12912 $as_echo "pre-installed
" >&6; }
12916 case " ${configdirs} " in
12920 case ,${enable_languages}, in
12924 if test $ok = yes; then
12925 # An in-tree tool is available and we can use it
12926 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'
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12928 $as_echo "just compiled
" >&6; }
12929 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12930 # We already found the complete path
12931 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12933 $as_echo "pre-installed
in $ac_dir" >&6; }
12934 elif test "x
$target" = "x
$host"; then
12935 # We can use an host tool
12936 RAW_CXX_FOR_TARGET='$(CXX)'
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12938 $as_echo "host tool
" >&6; }
12940 # We need a cross tool
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12942 $as_echo "pre-installed
" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
12947 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
12948 if test "x
${build}" != "x
${host}" ; then
12949 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12950 # We already found the complete path
12951 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12953 $as_echo "pre-installed
in $ac_dir" >&6; }
12955 # Canadian cross, just use what we found
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12957 $as_echo "pre-installed
" >&6; }
12961 case " ${configdirs} " in
12966 if test $ok = yes; then
12967 # An in-tree tool is available and we can use it
12968 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12970 $as_echo "just compiled
" >&6; }
12971 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12972 # We already found the complete path
12973 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12975 $as_echo "pre-installed
in $ac_dir" >&6; }
12976 elif test "x
$target" = "x
$host"; then
12977 # We can use an host tool
12978 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12980 $as_echo "host tool
" >&6; }
12982 # We need a cross tool
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12984 $as_echo "pre-installed
" >&6; }
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
12989 $as_echo_n "checking where to
find the target gcc...
" >&6; }
12990 if test "x
${build}" != "x
${host}" ; then
12991 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12992 # We already found the complete path
12993 ac_dir=`dirname $GCC_FOR_TARGET`
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12995 $as_echo "pre-installed
in $ac_dir" >&6; }
12997 # Canadian cross, just use what we found
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12999 $as_echo "pre-installed
" >&6; }
13003 case " ${configdirs} " in
13008 if test $ok = yes; then
13009 # An in-tree tool is available and we can use it
13010 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13012 $as_echo "just compiled
" >&6; }
13013 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13014 # We already found the complete path
13015 ac_dir=`dirname $GCC_FOR_TARGET`
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13017 $as_echo "pre-installed
in $ac_dir" >&6; }
13018 elif test "x
$target" = "x
$host"; then
13019 # We can use an host tool
13020 GCC_FOR_TARGET='$()'
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13022 $as_echo "host tool
" >&6; }
13024 # We need a cross tool
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13026 $as_echo "pre-installed
" >&6; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13031 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13032 if test "x
${build}" != "x
${host}" ; then
13033 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13034 # We already found the complete path
13035 ac_dir=`dirname $GCJ_FOR_TARGET`
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13037 $as_echo "pre-installed
in $ac_dir" >&6; }
13039 # Canadian cross, just use what we found
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13041 $as_echo "pre-installed
" >&6; }
13045 case " ${configdirs} " in
13049 case ,${enable_languages}, in
13053 if test $ok = yes; then
13054 # An in-tree tool is available and we can use it
13055 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13057 $as_echo "just compiled
" >&6; }
13058 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13059 # We already found the complete path
13060 ac_dir=`dirname $GCJ_FOR_TARGET`
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13062 $as_echo "pre-installed
in $ac_dir" >&6; }
13063 elif test "x
$target" = "x
$host"; then
13064 # We can use an host tool
13065 GCJ_FOR_TARGET='$(GCJ)'
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13067 $as_echo "host tool
" >&6; }
13069 # We need a cross tool
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13071 $as_echo "pre-installed
" >&6; }
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13076 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13077 if test "x
${build}" != "x
${host}" ; then
13078 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13079 # We already found the complete path
13080 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13082 $as_echo "pre-installed
in $ac_dir" >&6; }
13084 # Canadian cross, just use what we found
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13086 $as_echo "pre-installed
" >&6; }
13090 case " ${configdirs} " in
13094 case ,${enable_languages}, in
13098 if test $ok = yes; then
13099 # An in-tree tool is available and we can use it
13100 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13102 $as_echo "just compiled
" >&6; }
13103 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13104 # We already found the complete path
13105 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13107 $as_echo "pre-installed
in $ac_dir" >&6; }
13108 elif test "x
$target" = "x
$host"; then
13109 # We can use an host tool
13110 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13112 $as_echo "host tool
" >&6; }
13114 # We need a cross tool
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13116 $as_echo "pre-installed
" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13121 $as_echo_n "checking where to
find the target ld...
" >&6; }
13122 if test "x
${build}" != "x
${host}" ; then
13123 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13124 # We already found the complete path
13125 ac_dir=`dirname $LD_FOR_TARGET`
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13127 $as_echo "pre-installed
in $ac_dir" >&6; }
13129 # Canadian cross, just use what we found
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13131 $as_echo "pre-installed
" >&6; }
13135 case " ${configdirs} " in
13140 if test $ok = yes; then
13141 # An in-tree tool is available and we can use it
13142 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13144 $as_echo "just compiled
" >&6; }
13145 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13146 # We already found the complete path
13147 ac_dir=`dirname $LD_FOR_TARGET`
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13149 $as_echo "pre-installed
in $ac_dir" >&6; }
13150 elif test "x
$target" = "x
$host"; then
13151 # We can use an host tool
13152 LD_FOR_TARGET='$(LD)'
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13154 $as_echo "host tool
" >&6; }
13156 # We need a cross tool
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13158 $as_echo "pre-installed
" >&6; }
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13163 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13164 if test "x
${build}" != "x
${host}" ; then
13165 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13166 # We already found the complete path
13167 ac_dir=`dirname $LIPO_FOR_TARGET`
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13169 $as_echo "pre-installed
in $ac_dir" >&6; }
13171 # Canadian cross, just use what we found
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13173 $as_echo "pre-installed
" >&6; }
13176 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13177 # We already found the complete path
13178 ac_dir=`dirname $LIPO_FOR_TARGET`
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13180 $as_echo "pre-installed
in $ac_dir" >&6; }
13181 elif test "x
$target" = "x
$host"; then
13182 # We can use an host tool
13183 LIPO_FOR_TARGET='$(LIPO)'
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13185 $as_echo "host tool
" >&6; }
13187 # We need a cross tool
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13189 $as_echo "pre-installed
" >&6; }
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13194 $as_echo_n "checking where to
find the target nm...
" >&6; }
13195 if test "x
${build}" != "x
${host}" ; then
13196 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13197 # We already found the complete path
13198 ac_dir=`dirname $NM_FOR_TARGET`
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13200 $as_echo "pre-installed
in $ac_dir" >&6; }
13202 # Canadian cross, just use what we found
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13204 $as_echo "pre-installed
" >&6; }
13208 case " ${configdirs} " in
13213 if test $ok = yes; then
13214 # An in-tree tool is available and we can use it
13215 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13217 $as_echo "just compiled
" >&6; }
13218 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13219 # We already found the complete path
13220 ac_dir=`dirname $NM_FOR_TARGET`
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13222 $as_echo "pre-installed
in $ac_dir" >&6; }
13223 elif test "x
$target" = "x
$host"; then
13224 # We can use an host tool
13225 NM_FOR_TARGET='$(NM)'
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13227 $as_echo "host tool
" >&6; }
13229 # We need a cross tool
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13231 $as_echo "pre-installed
" >&6; }
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13236 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13237 if test "x
${build}" != "x
${host}" ; then
13238 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13239 # We already found the complete path
13240 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13242 $as_echo "pre-installed
in $ac_dir" >&6; }
13244 # Canadian cross, just use what we found
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13246 $as_echo "pre-installed
" >&6; }
13250 case " ${configdirs} " in
13255 if test $ok = yes; then
13256 # An in-tree tool is available and we can use it
13257 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13259 $as_echo "just compiled
" >&6; }
13260 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13261 # We already found the complete path
13262 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13264 $as_echo "pre-installed
in $ac_dir" >&6; }
13265 elif test "x
$target" = "x
$host"; then
13266 # We can use an host tool
13267 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13269 $as_echo "host tool
" >&6; }
13271 # We need a cross tool
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13273 $as_echo "pre-installed
" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13278 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13279 if test "x
${build}" != "x
${host}" ; then
13280 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13281 # We already found the complete path
13282 ac_dir=`dirname $RANLIB_FOR_TARGET`
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13284 $as_echo "pre-installed
in $ac_dir" >&6; }
13286 # Canadian cross, just use what we found
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13288 $as_echo "pre-installed
" >&6; }
13292 case " ${configdirs} " in
13297 if test $ok = yes; then
13298 # An in-tree tool is available and we can use it
13299 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13301 $as_echo "just compiled
" >&6; }
13302 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13303 # We already found the complete path
13304 ac_dir=`dirname $RANLIB_FOR_TARGET`
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13306 $as_echo "pre-installed
in $ac_dir" >&6; }
13307 elif test "x
$target" = "x
$host"; then
13308 # We can use an host tool
13309 RANLIB_FOR_TARGET='$(RANLIB)'
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13311 $as_echo "host tool
" >&6; }
13313 # We need a cross tool
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13315 $as_echo "pre-installed
" >&6; }
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13320 $as_echo_n "checking where to
find the target strip...
" >&6; }
13321 if test "x
${build}" != "x
${host}" ; then
13322 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13323 # We already found the complete path
13324 ac_dir=`dirname $STRIP_FOR_TARGET`
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13326 $as_echo "pre-installed
in $ac_dir" >&6; }
13328 # Canadian cross, just use what we found
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13330 $as_echo "pre-installed
" >&6; }
13334 case " ${configdirs} " in
13339 if test $ok = yes; then
13340 # An in-tree tool is available and we can use it
13341 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13343 $as_echo "just compiled
" >&6; }
13344 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13345 # We already found the complete path
13346 ac_dir=`dirname $STRIP_FOR_TARGET`
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13348 $as_echo "pre-installed
in $ac_dir" >&6; }
13349 elif test "x
$target" = "x
$host"; then
13350 # We can use an host tool
13351 STRIP_FOR_TARGET='$(STRIP)'
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13353 $as_echo "host tool
" >&6; }
13355 # We need a cross tool
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13357 $as_echo "pre-installed
" >&6; }
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13362 $as_echo_n "checking where to
find the target windres...
" >&6; }
13363 if test "x
${build}" != "x
${host}" ; then
13364 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13365 # We already found the complete path
13366 ac_dir=`dirname $WINDRES_FOR_TARGET`
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13368 $as_echo "pre-installed
in $ac_dir" >&6; }
13370 # Canadian cross, just use what we found
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13372 $as_echo "pre-installed
" >&6; }
13376 case " ${configdirs} " in
13381 if test $ok = yes; then
13382 # An in-tree tool is available and we can use it
13383 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13385 $as_echo "just compiled
" >&6; }
13386 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13387 # We already found the complete path
13388 ac_dir=`dirname $WINDRES_FOR_TARGET`
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13390 $as_echo "pre-installed
in $ac_dir" >&6; }
13391 elif test "x
$target" = "x
$host"; then
13392 # We can use an host tool
13393 WINDRES_FOR_TARGET='$(WINDRES)'
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13395 $as_echo "host tool
" >&6; }
13397 # We need a cross tool
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13399 $as_echo "pre-installed
" >&6; }
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13404 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13405 if test "x
${build}" != "x
${host}" ; then
13406 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13407 # We already found the complete path
13408 ac_dir=`dirname $WINDMC_FOR_TARGET`
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13410 $as_echo "pre-installed
in $ac_dir" >&6; }
13412 # Canadian cross, just use what we found
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13414 $as_echo "pre-installed
" >&6; }
13418 case " ${configdirs} " in
13423 if test $ok = yes; then
13424 # An in-tree tool is available and we can use it
13425 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13427 $as_echo "just compiled
" >&6; }
13428 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13429 # We already found the complete path
13430 ac_dir=`dirname $WINDMC_FOR_TARGET`
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13432 $as_echo "pre-installed
in $ac_dir" >&6; }
13433 elif test "x
$target" = "x
$host"; then
13434 # We can use an host tool
13435 WINDMC_FOR_TARGET='$(WINDMC)'
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13437 $as_echo "host tool
" >&6; }
13439 # We need a cross tool
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13441 $as_echo "pre-installed
" >&6; }
13449 # Certain tools may need extra flags.
13450 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13451 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13452 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13454 # When building target libraries, except in a Canadian cross, we use
13455 # the same toolchain as the compiler we just built.
13456 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13457 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13458 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13459 if test $host = $build; then
13460 case " $configdirs " in
13462 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13463 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13464 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13474 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13475 # Check whether --enable-maintainer-mode was given.
13476 if test "${enable_maintainer_mode+set}" = set; then :
13477 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13479 USE_MAINTAINER_MODE=no
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13483 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13486 if test "$USE_MAINTAINER_MODE" = yes; then
13487 MAINTAINER_MODE_TRUE=
13488 MAINTAINER_MODE_FALSE='#'
13490 MAINTAINER_MODE_TRUE='#'
13491 MAINTAINER_MODE_FALSE=
13493 MAINT=$MAINTAINER_MODE_TRUE
13495 # ---------------------
13496 # GCC bootstrap support
13497 # ---------------------
13499 # Stage specific cflags for build.
13504 yes) stage1_cflags="-g -Wa,-J" ;;
13505 *) stage1_cflags="-g -J" ;;
13509 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13510 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13511 saved_CFLAGS="$CFLAGS"
13513 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13514 CFLAGS="$CFLAGS -fkeep-inline-functions"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13516 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 #if (__GNUC__ < 3) \
13521 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13522 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13523 #error http://gcc.gnu.org/PR29382
13534 if ac_fn_c_try_compile "$LINENO"; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13536 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13539 $as_echo "no
" >&6; }
13541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13543 CFLAGS="$saved_CFLAGS"
13548 # Enable --enable-checking in stage1 of the compiler.
13549 # Check whether --enable-stage1-checking was given.
13550 if test "${enable_stage1_checking+set}" = set; then :
13551 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13553 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13554 stage1_checking=--enable-checking=yes,types
13556 stage1_checking=--enable-checking=$enable_checking,types
13562 # Enable -Werror in bootstrap stage2 and later.
13563 # Check whether --enable-werror was given.
13564 if test "${enable_werror+set}" = set; then :
13565 enableval=$enable_werror;
13567 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13574 case ${enable_werror} in
13575 yes) stage2_werror_flag="--enable-werror-always" ;;
13576 *) stage2_werror_flag="" ;;
13580 # Specify what files to not compare during bootstrap.
13582 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13584 hppa*64*-*-hpux*) ;;
13585 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13587 case " $configdirs " in
13588 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
13592 ac_config_files="$ac_config_files Makefile
"
13594 cat >confcache <<\_ACEOF
13595 # This file is a shell script that caches the results of configure
13596 # tests run on this system so they can be shared between configure
13597 # scripts and configure runs, see configure's option --config-cache.
13598 # It is not useful on other systems. If it contains results you don't
13599 # want to keep, you may remove or edit it.
13601 # config.status only pays attention to the cache file if you give it
13602 # the --recheck option to rerun configure.
13604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13606 # following values.
13610 # The following way of writing the cache mishandles newlines in values,
13611 # but we know of no workaround that is simple, portable, and efficient.
13612 # So, we kill variables containing newlines.
13613 # Ultrix sh set writes to stderr and can't be redirected directly,
13614 # and sets the high bit in the cache file unless we assign to the vars.
13616 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13617 eval ac_val=\$$ac_var
13621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13622 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13625 _ | IFS | as_nl) ;; #(
13626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13627 *) { eval $ac_var=; unset $ac_var;} ;;
13633 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13634 *${as_nl}ac_space=\ *)
13635 # `set' does not quote correctly, so add quotes: double-quote
13636 # substitution turns \\\\ into \\, and sed turns \\ into \.
13639 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13642 # `set' quotes correctly as required by POSIX, so do not add quotes.
13643 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13652 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13654 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13656 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13657 if test -w "$cache_file"; then
13658 test "x
$cache_file" != "x
/dev
/null
" &&
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13660 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13661 cat confcache >$cache_file
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13664 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13669 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13670 # Let make expand exec_prefix.
13671 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13673 # Transform confdefs.h into DEFS.
13674 # Protect against shell expansion while executing Makefile rules.
13675 # Protect against Makefile macro expansion.
13677 # If the first sed substitution is executed (which looks for macros that
13678 # take arguments), then branch to the quote section. Otherwise,
13679 # look for a macro that doesn't take arguments.
13689 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13691 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13695 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13708 DEFS=`sed -n "$ac_script" confdefs.h`
13713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13714 # 1. Remove the extension, and $U if already installed.
13715 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13716 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13717 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13718 # will be set to the directory where LIBOBJS objects are built.
13719 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13720 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
13722 LIBOBJS=$ac_libobjs
13724 LTLIBOBJS=$ac_ltlibobjs
13728 : ${CONFIG_STATUS=./config.status}
13730 ac_clean_files_save=$ac_clean_files
13731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13737 # Generated by $as_me.
13738 # Run this file to recreate the current configuration.
13739 # Compiler output produced by configure, useful for debugging
13740 # configure, is in config.log if it exists.
13743 ac_cs_recheck=false
13746 SHELL=\${CONFIG_SHELL-$SHELL}
13749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13750 ## -------------------- ##
13751 ## M4sh Initialization. ##
13752 ## -------------------- ##
13754 # Be more Bourne compatible
13755 DUALCASE=1; export DUALCASE # for MKS sh
13756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13759 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13760 # is contrary to our usage. Disable this feature.
13761 alias -g '${1+"$@"}'='"$@"'
13762 setopt NO_GLOB_SUBST
13764 case `(set -o) 2>/dev/null` in #(
13776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13777 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13778 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
13779 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13780 # Prefer a ksh shell builtin over an external printf program on Solaris,
13781 # but without wasting forks for bash or zsh.
13782 if test -z "$BASH_VERSION$ZSH_VERSION" \
13783 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13784 as_echo
='print -r --'
13785 as_echo_n
='print -rn --'
13786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13787 as_echo
='printf %s\n'
13788 as_echo_n
='printf %s'
13790 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13791 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
13792 as_echo_n
='/usr/ucb/echo -n'
13794 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
13795 as_echo_n_body
='eval
13799 expr "X$arg" : "X\\(.*\\)$as_nl";
13800 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13802 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13804 export as_echo_n_body
13805 as_echo_n
='sh -c $as_echo_n_body as_echo'
13807 export as_echo_body
13808 as_echo
='sh -c $as_echo_body as_echo'
13811 # The user is always right.
13812 if test "${PATH_SEPARATOR+set}" != set; then
13814 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
13815 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
13822 # We need space, tab and new line, in precisely that order. Quoting is
13823 # there to prevent editors from complaining about space-tab.
13824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13825 # splitting by setting IFS to empty value.)
13828 # Find who we are. Look in the path if we contain no directory separator.
13830 *[\\/]* ) as_myself
=$0 ;;
13831 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13832 for as_dir
in $PATH
13835 test -z "$as_dir" && as_dir
=.
13836 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13842 # We did not find ourselves, most probably we were run as `sh COMMAND'
13843 # in which case we are not to be found in the path.
13844 if test "x$as_myself" = x
; then
13847 if test ! -f "$as_myself"; then
13848 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13852 # Unset variables that we do not need and which cause bugs (e.g. in
13853 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13854 # suppresses any "Segmentation fault" message there. '((' could
13855 # trigger a bug in pdksh 5.2.14.
13856 for as_var
in BASH_ENV ENV MAIL MAILPATH
13857 do eval test x\
${$as_var+set} = xset \
13858 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13871 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13874 # as_fn_error ERROR [LINENO LOG_FD]
13875 # ---------------------------------
13876 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13877 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13878 # script with status $?, using 1 if that was 0.
13881 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13883 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13884 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13886 $as_echo "$as_me: error: $1" >&2
13887 as_fn_exit
$as_status
13891 # as_fn_set_status STATUS
13892 # -----------------------
13893 # Set $? to STATUS, without forking.
13894 as_fn_set_status
()
13897 } # as_fn_set_status
13899 # as_fn_exit STATUS
13900 # -----------------
13901 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13905 as_fn_set_status
$1
13911 # Portably unset VAR.
13914 { eval $1=; unset $1;}
13916 as_unset
=as_fn_unset
13917 # as_fn_append VAR VALUE
13918 # ----------------------
13919 # Append the text in VALUE to the end of the definition contained in VAR. Take
13920 # advantage of any shell optimizations that allow amortized linear growth over
13921 # repeated appends, instead of the typical quadratic growth present in naive
13923 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13924 eval 'as_fn_append ()
13935 # as_fn_arith ARG...
13936 # ------------------
13937 # Perform arithmetic evaluation on the ARGs, and store the result in the
13938 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13939 # must be portable across $(()) and expr.
13940 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13941 eval 'as_fn_arith ()
13948 as_val
=`expr "$@" || test $? -eq 1`
13953 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13954 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13960 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13961 as_basename
=basename
13966 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13972 as_me
=`$as_basename -- "$0" ||
13973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13974 X"$0" : 'X\(//\)$' \| \
13975 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13977 sed '/^.*\/\([^/][^/]*\)\/*$/{
13991 # Avoid depending upon Character Ranges.
13992 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13993 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13994 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13995 as_cr_digits
='0123456789'
13996 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13998 ECHO_C
= ECHO_N
= ECHO_T
=
13999 case `echo -n x` in #(((((
14001 case `echo 'xy\c'` in
14002 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14004 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14011 rm -f conf$$ conf$$.exe conf$$.
file
14012 if test -d conf$$.dir
; then
14013 rm -f conf$$.dir
/conf$$.
file
14016 mkdir conf$$.dir
2>/dev
/null
14018 if (echo >conf$$.
file) 2>/dev
/null
; then
14019 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14021 # ... but there are two gotchas:
14022 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14023 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14024 # In both cases, we have to default to `cp -p'.
14025 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14027 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14035 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14036 rmdir conf$$.dir
2>/dev
/null
14041 # Create "$as_dir" as a directory, including parents if necessary.
14046 -*) as_dir
=.
/$as_dir;;
14048 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14052 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14053 *) as_qdir
=$as_dir;;
14055 as_dirs
="'$as_qdir' $as_dirs"
14056 as_dir
=`$as_dirname -- "$as_dir" ||
14057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14058 X"$as_dir" : 'X\(//\)[^/]' \| \
14059 X"$as_dir" : 'X\(//\)$' \| \
14060 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14061 $as_echo X"$as_dir" |
14062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14066 /^X\(\/\/\)[^/].*/{
14079 test -d "$as_dir" && break
14081 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14082 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14086 if mkdir
-p .
2>/dev
/null
; then
14087 as_mkdir_p
='mkdir -p "$as_dir"'
14089 test -d .
/-p && rmdir .
/-p
14093 if test -x / >/dev
/null
2>&1; then
14094 as_test_x
='test -x'
14096 if ls -dL / >/dev
/null
2>&1; then
14103 if test -d "$1"; then
14109 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14110 ???[sx]*):;;*)false;;esac;fi
14114 as_executable_p
=$as_test_x
14116 # Sed expression to map a string onto a valid CPP name.
14117 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14119 # Sed expression to map a string onto a valid variable name.
14120 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14124 ## ----------------------------------- ##
14125 ## Main body of $CONFIG_STATUS script. ##
14126 ## ----------------------------------- ##
14128 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14131 # Save the log message, to keep $0 and so on meaningful, and to
14132 # report actual input values of CONFIG_FILES etc. instead of their
14133 # values after options handling.
14135 This file was extended by $as_me, which was
14136 generated by GNU Autoconf 2.64. Invocation command line was
14138 CONFIG_FILES = $CONFIG_FILES
14139 CONFIG_HEADERS = $CONFIG_HEADERS
14140 CONFIG_LINKS = $CONFIG_LINKS
14141 CONFIG_COMMANDS = $CONFIG_COMMANDS
14144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14149 case $ac_config_files in *"
14150 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14156 # Files that config.status was made for.
14157 config_files="$ac_config_files"
14161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14163 \`$as_me' instantiates files and other configuration actions
14164 from templates according to the current configuration. Unless the files
14165 and actions are specified as TAGs, all are instantiated by default.
14167 Usage: $0 [OPTION]... [TAG]...
14169 -h, --help print this help, then exit
14170 -V, --version print version number and configuration settings, then exit
14171 -q, --quiet, --silent
14172 do not print progress messages
14173 -d, --debug don't remove temporary files
14174 --recheck update $as_me by reconfiguring in the same conditions
14175 --file=FILE[:TEMPLATE]
14176 instantiate the configuration file FILE
14178 Configuration files:
14181 Report bugs to the package provider."
14184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14187 configured by $0, generated by GNU Autoconf 2.64,
14188 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14190 Copyright (C) 2009 Free Software Foundation, Inc.
14191 This config.status script is free software; the Free Software Foundation
14192 gives unlimited permission to copy, distribute and modify it."
14198 test -n "\$AWK" || AWK=awk
14201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14202 # The default lists apply if the user does not specify any file.
14208 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14209 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14220 # Handling of the options.
14221 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14223 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14224 $as_echo "$ac_cs_version"; exit ;;
14225 --debug |
--debu |
--deb |
--de |
--d |
-d )
14227 --file |
--fil |
--fi |
--f )
14230 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14232 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14233 ac_need_defaults
=false
;;
14234 --he |
--h |
--help |
--hel |
-h )
14235 $as_echo "$ac_cs_usage"; exit ;;
14236 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14237 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14240 # This is an error.
14241 -*) as_fn_error
"unrecognized option: \`$1'
14242 Try \`$0 --help' for more information." ;;
14244 *) as_fn_append ac_config_targets
" $1"
14245 ac_need_defaults
=false
;;
14251 ac_configure_extra_args
=
14253 if $ac_cs_silent; then
14255 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14260 if \$ac_cs_recheck; then
14261 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14263 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14264 CONFIG_SHELL='$SHELL'
14265 export CONFIG_SHELL
14270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14274 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14275 ## Running $as_me. ##
14281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14285 extrasub_build="$extrasub_build"
14286 extrasub_host="$extrasub_host"
14287 extrasub_target="$extrasub_target"
14291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14293 # Handling of arguments.
14294 for ac_config_target
in $ac_config_targets
14296 case $ac_config_target in
14297 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14299 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14304 # If the user did not use the arguments to specify the items to instantiate,
14305 # then the envvar interface is used. Set only those that are not.
14306 # We use the long form for the default assignment because of an extremely
14307 # bizarre bug on SunOS 4.1.3.
14308 if $ac_need_defaults; then
14309 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14312 # Have a temporary directory for convenience. Make it in the build tree
14313 # simply because there is no reason against having it here, and in addition,
14314 # creating and moving files from /tmp can sometimes cause problems.
14315 # Hook for its removal unless debugging.
14316 # Note that there is a small window in which the directory will not be cleaned:
14317 # after its creation but before its name has been assigned to `$tmp'.
14321 trap 'exit_status=$?
14322 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14324 trap 'as_fn_exit 1' 1 2 13 15
14326 # Create a (secure) tmp directory for tmp files.
14329 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14330 test -n "$tmp" && test -d "$tmp"
14333 tmp
=.
/conf$$
-$RANDOM
14334 (umask 077 && mkdir
"$tmp")
14335 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14337 # Set up the scripts for CONFIG_FILES section.
14338 # No need to generate them if there are no CONFIG_FILES.
14339 # This happens for instance with `./config.status config.h'.
14340 if test -n "$CONFIG_FILES"; then
14342 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14343 ac_cs_awk_getline
=:
14344 ac_cs_awk_pipe_init
=
14345 ac_cs_awk_read_file
='
14346 while ((getline aline < (F[key])) > 0)
14349 ac_cs_awk_pipe_fini
=
14351 ac_cs_awk_getline
=false
14352 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14353 ac_cs_awk_read_file
='
14355 print "cat " F[key] " &&"
14356 '$ac_cs_awk_pipe_init
14357 # The final `:' finishes the AND list.
14358 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14360 ac_cr
=`echo X | tr X '\015'`
14361 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14362 # But we know of no other shell where ac_cr would be empty at this
14363 # point, so we can use a bashism as a fallback.
14364 if test "x$ac_cr" = x
; then
14365 eval ac_cr
=\$
\'\\r
\'
14367 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14368 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14371 ac_cs_awk_cr
=$ac_cr
14374 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14377 # Create commands to substitute file output variables.
14379 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14380 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14381 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14384 } >conf$
$files.sh
&&
14385 . .
/conf$
$files.sh ||
14386 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14387 rm -f conf$
$files.sh
14390 echo "cat >conf$$subs.awk <<_ACEOF" &&
14391 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14393 } >conf$$subs.sh ||
14394 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14395 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14397 for ac_last_try in false false false false false :; do
14398 . ./conf$$subs.sh ||
14399 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14401 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14402 if test $ac_delim_n = $ac_delim_num; then
14404 elif $ac_last_try; then
14405 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14407 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14410 rm -f conf$$subs.sh
14412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14413 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14417 s/^/S["/; s
/!.
*/"]=/
14427 s/\(.\{148\}\).*/\1/
14429 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14434 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14441 s/\(.\{148\}\).*/\1/
14443 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14447 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14452 ' <conf$$subs.awk | sed '
14457 ' >>$CONFIG_STATUS || ac_write_fail=1
14458 rm -f conf$$subs.awk
14459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14461 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14462 for (key in S) S_is_set[key] = 1
14464 \$ac_cs_awk_pipe_init
14468 nfields = split(line, field, "@
")
14470 len = length(field[1])
14471 for (i = 2; i < nfields; i++) {
14473 keylen = length(key)
14474 if (S_is_set[key]) {
14476 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14477 len += length(value) + length(field[++i])
14482 if (nfields == 3 && !substed) {
14484 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14485 \$ac_cs_awk_read_file
14491 \$ac_cs_awk_pipe_fini
14494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14495 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14496 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14499 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14500 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14503 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14504 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14505 # trailing colons and then remove the whole line if VPATH becomes empty
14506 # (actually we leave an empty line to preserve line numbers).
14507 if test "x
$srcdir" = x.; then
14508 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14509 s/:*\$(srcdir):*/:/
14510 s/:*\${srcdir}:*/:/
14512 s/^\([^=]*=[ ]*\):*/\1/
14518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14519 fi # test -n "$CONFIG_FILES"
14522 eval set X " :F
$CONFIG_FILES "
14527 :[FHLC]) ac_mode=$ac_tag; continue;;
14529 case $ac_mode$ac_tag in
14531 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14532 :[FH]-) ac_tag=-:-;;
14533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14550 -) ac_f="$tmp/stdin";;
14551 *) # Look for the file first in the build tree, then in the source tree
14552 # (if the path is not absolute). The absolute path cannot be DOS-style,
14553 # because $ac_f cannot contain `:'.
14557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14559 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14561 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14562 as_fn_append ac_file_inputs " '$ac_f'"
14565 # Let's still pretend it is `configure' which instantiates (i.e., don't
14566 # use $as_me), people would be surprised to read:
14567 # /* config.h. Generated by config.status. */
14568 configure_input='Generated from '`
14569 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14571 if test x"$ac_file" != x-; then
14572 configure_input="$ac_file.
$configure_input"
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14574 $as_echo "$as_me: creating
$ac_file" >&6;}
14576 # Neutralize special characters interpreted by sed in replacement strings.
14577 case $configure_input in #(
14578 *\&* | *\|* | *\\* )
14579 ac_sed_conf_input=`$as_echo "$configure_input" |
14580 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14581 *) ac_sed_conf_input=$configure_input;;
14585 *:-:* | *:-) cat >"$tmp/stdin
" \
14586 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14591 ac_dir=`$as_dirname -- "$ac_file" ||
14592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14593 X"$ac_file" : 'X\(//\)[^/]' \| \
14594 X"$ac_file" : 'X\(//\)$' \| \
14595 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14596 $as_echo X"$ac_file" |
14597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14601 /^X\(\/\/\)[^/].*/{
14614 as_dir="$ac_dir"; as_fn_mkdir_p
14618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14621 # A "..
" for each directory in $ac_dir_suffix.
14622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14623 case $ac_top_builddir_sub in
14624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14628 ac_abs_top_builddir=$ac_pwd
14629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14630 # for backward compatibility:
14631 ac_top_builddir=$ac_top_build_prefix
14634 .) # We are building in place.
14636 ac_top_srcdir=$ac_top_builddir_sub
14637 ac_abs_top_srcdir=$ac_pwd ;;
14638 [\\/]* | ?:[\\/]* ) # Absolute name.
14639 ac_srcdir=$srcdir$ac_dir_suffix;
14640 ac_top_srcdir=$srcdir
14641 ac_abs_top_srcdir=$srcdir ;;
14642 *) # Relative name.
14643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14644 ac_top_srcdir=$ac_top_build_prefix$srcdir
14645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14657 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14658 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14663 # If the template does not know about datarootdir, expand it.
14664 # FIXME: This hack should be removed a few years after 2.60.
14665 ac_datarootdir_hack=; ac_datarootdir_seen=
14676 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
14677 *datarootdir*) ac_datarootdir_seen=yes;;
14678 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
14680 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
14682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14683 ac_datarootdir_hack='
14684 s&@datadir@&$datadir&g
14685 s&@docdir@&$docdir&g
14686 s&@infodir@&$infodir&g
14687 s&@localedir@&$localedir&g
14688 s&@mandir@&$mandir&g
14689 s&\\\${datarootdir}&$datarootdir&g' ;;
14693 # Neutralize VPATH when `$srcdir' = `.'.
14694 # Shell code in configure.ac might set extrasub.
14695 # FIXME: do we really want to maintain this feature?
14696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14697 ac_sed_extra="$ac_vpsub
14700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14702 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14703 s|@configure_input@|
$ac_sed_conf_input|
;t t
14704 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14705 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14706 s
&@srcdir@
&$ac_srcdir&;t t
14707 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14708 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14709 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14710 s
&@builddir@
&$ac_builddir&;t t
14711 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14712 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14713 s
&@INSTALL@
&$ac_INSTALL&;t t
14714 $ac_datarootdir_hack
14716 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14717 if $ac_cs_awk_getline; then
14718 $AWK -f "$tmp/subs.
awk"
14720 $AWK -f "$tmp/subs.
awk" | $SHELL
14722 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14724 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14725 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14726 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14728 which seems to be undefined. Please make sure it is defined." >&5
14729 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14730 which seems to be undefined. Please make sure it is defined." >&2;}
14734 -) cat "$tmp/out" && rm -f "$tmp/out";;
14735 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14737 || as_fn_error "could not create $ac_file" "$LINENO" 5
14745 case $ac_file$ac_mode in
14746 "Makefile":F) sed "$extrasub_build" Makefile |
14747 sed "$extrasub_host" |
14748 sed "$extrasub_target" > mf$$
14749 mv -f mf$$ Makefile ;;
14757 ac_clean_files=$ac_clean_files_save
14759 test $ac_write_fail = 0 ||
14760 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14763 # configure is writing to config.log, and then calls config.status.
14764 # config.status does its own redirection, appending to config.log.
14765 # Unfortunately, on DOS this fails, as config.log is still kept open
14766 # by configure, so config.status won't be able to
write to it
; its
14767 # output is simply discarded. So we exec the FD to /dev/null,
14768 # effectively closing config.log, so it can be properly (re)opened and
14769 # appended to by config.status. When coming back to configure, we
14770 # need to make the FD available again.
14771 if test "$no_create" != yes; then
14773 ac_config_status_args
=
14774 test "$silent" = yes &&
14775 ac_config_status_args
="$ac_config_status_args --quiet"
14777 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14779 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14780 # would make configure fail if this is the last instruction.
14781 $ac_cs_success || as_fn_exit $?
14783 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14785 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}