2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
559 POSTSTAGE1_CONFIGURE_FLAGS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
641 DEBUG_PREFIX_CFLAGS_FOR_TARGET
642 SYSROOT_CFLAGS_FOR_TARGET
644 extra_host_libiberty_configure_flags
653 extra_mpc_mpfr_configure_flags
654 extra_mpc_gmp_configure_flags
655 extra_mpfr_configure_flags
671 EXTRA_CONFIGARGS_LIBJAVA
698 TOPLEVEL_CONFIGURE_ARGUMENTS
726 program_transform_name
737 ac_subst_files
='serialization_dependencies
743 enable_option_checking
748 enable_libquadmath_support
751 enable_static_libjava
753 enable_build_with_cxx
754 enable_build_poststage1_with_cxx
774 enable_ppl_version_check
779 enable_cloog_version_check
781 enable_stage1_languages
784 with_debug_prefix_map
786 enable_serial_configure
787 with_build_time_tools
788 enable_maintainer_mode
789 enable_stage1_checking
792 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information."
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used." >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 as_fn_error
"path to source, $srcdir, contains spaces"
1367 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures this package to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1452 if test -n "$ac_init_help"; then
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1461 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1462 --disable-libquadmath do not build libquadmath directory
1463 --disable-libquadmath-support
1464 disable libquadmath support
for Fortran
1465 --enable-libada build libada directory
1466 --enable-libssp build libssp directory
1467 --enable-static-libjava[=ARG
]
1468 build static libjava
[default
=no
]
1469 --enable-bootstrap enable bootstrapping
[yes if native build
]
1470 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1471 --enable-build-poststage1-with-cxx
1472 build stages
2 and
3 with C
++, not C
1473 --disable-ppl-version-check
1474 disable check
for PPL version
1475 --enable-cloog-backend[=BACKEND
]
1476 set the CLooG BACKEND used to either isl
, ppl or
1477 ppl-legacy
(default
)
1478 --disable-cloog-version-check
1479 disable check
for CLooG version
1480 --enable-lto enable link
time optimization support
1481 --enable-stage1-languages[=all
]
1482 choose additional languages to build during stage1.
1483 Mostly useful
for compiler development
1484 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1486 --enable-serial-[{host,target,build}-]configure
1487 force sequential configuration of sub-packages for
1488 the host, target or build machine, or all
1490 --enable-maintainer-mode
1491 enable make rules and dependencies not useful (and
1492 sometimes confusing) to the casual installer
1493 --enable-stage1-checking[=all]
1494 choose additional checking for stage1 of the
1496 --enable-werror enable -Werror in bootstrap stage2 and later
1499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1501 --with-build-libsubdir=DIR Directory where to find libraries for build system
1502 --with-mpc=PATH specify prefix directory for installed MPC package.
1503 Equivalent to --with-mpc-include=PATH/include plus
1504 --with-mpc-lib=PATH/lib
1505 --with-mpc-include=PATH specify directory for installed MPC include files
1506 --with-mpc-lib=PATH specify directory for the installed MPC library
1507 --with-mpfr-dir=PATH this option has been REMOVED
1508 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1509 Equivalent to --with-mpfr-include=PATH/include plus
1510 --with-mpfr-lib=PATH/lib
1511 --with-mpfr-include=PATH
1512 specify directory for installed MPFR include files
1513 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1514 --with-gmp-dir=PATH this option has been REMOVED
1515 --with-gmp=PATH specify prefix directory for the installed GMP
1516 package. Equivalent to
1517 --with-gmp-include=PATH/include plus
1518 --with-gmp-lib=PATH/lib
1519 --with-gmp-include=PATH specify directory for installed GMP include files
1520 --with-gmp-lib=PATH specify directory for the installed GMP library
1521 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1523 --with-stage1-ldflags=FLAGS
1524 linker flags for stage1
1525 --with-stage1-libs=LIBS libraries for stage1
1526 --with-boot-libs=LIBS libraries for stage2 and later
1527 --with-boot-ldflags=FLAGS
1528 linker flags for stage2 and later
1529 --with-ppl=PATH specify prefix directory for the installed PPL
1530 package. Equivalent to
1531 --with-ppl-include=PATH/include plus
1532 --with-ppl-lib=PATH/lib
1533 --with-ppl-include=PATH specify directory for installed PPL include files
1534 --with-ppl-lib=PATH specify directory for the installed PPL library
1535 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1536 package. Equivalent to
1537 --with-cloog-include=PATH/include plus
1538 --with-cloog-lib=PATH/lib
1539 --with-cloog-include=PATH
1540 Specify directory for installed CLooG include files
1541 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1543 --with-build-sysroot=SYSROOT
1544 use sysroot as the system root during the build
1545 --with-debug-prefix-map='A
=B C
=D ...
'
1546 map A to B, C to D ... in debug information
1547 --with-build-config='NAME NAME2...
'
1548 use config/NAME.mk build configuration
1549 --with-build-time-tools=PATH
1550 use given path to find target tools during the build
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1560 CXX C++ compiler command
1561 CXXFLAGS C++ compiler flags
1563 additional configure arguments for build directories
1565 additional configure arguments for host directories
1567 additional configure arguments for target directories
1570 DLLTOOL DLLTOOL for the host
1572 LIPO LIPO for the host
1574 RANLIB RANLIB for the host
1575 STRIP STRIP for the host
1576 WINDRES WINDRES for the host
1577 WINDMC WINDMC for the host
1578 OBJCOPY OBJCOPY for the host
1579 OBJDUMP OBJDUMP for the host
1589 GFORTRAN for the target
1597 DLLTOOL for the target
1605 OBJDUMP for the target
1607 RANLIB for the target
1609 STRIP for the target
1611 WINDRES for the target
1613 WINDMC for the target
1615 Use these variables to override the choices made by `configure' or to
help
1616 it to
find libraries and programs with nonstandard names
/locations.
1618 Report bugs to the package provider.
1623 if test "$ac_init_help" = "recursive"; then
1624 # If there are subdirs, report their specific --help.
1625 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1626 test -d "$ac_dir" ||
1627 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1634 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1635 # A ".." for each directory in $ac_dir_suffix.
1636 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1637 case $ac_top_builddir_sub in
1638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1642 ac_abs_top_builddir
=$ac_pwd
1643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1644 # for backward compatibility:
1645 ac_top_builddir
=$ac_top_build_prefix
1648 .
) # We are building in place.
1650 ac_top_srcdir
=$ac_top_builddir_sub
1651 ac_abs_top_srcdir
=$ac_pwd ;;
1652 [\\/]* | ?
:[\\/]* ) # Absolute name.
1653 ac_srcdir
=$srcdir$ac_dir_suffix;
1654 ac_top_srcdir
=$srcdir
1655 ac_abs_top_srcdir
=$srcdir ;;
1657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1663 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1664 # Check for guested configure.
1665 if test -f "$ac_srcdir/configure.gnu"; then
1667 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1668 elif test -f "$ac_srcdir/configure"; then
1670 $SHELL "$ac_srcdir/configure" --help=recursive
1672 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1674 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1678 test -n "$ac_init_help" && exit $ac_status
1679 if $ac_init_version; then
1682 generated by GNU Autoconf
2.64
1684 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1685 This configure
script is free software
; the Free Software Foundation
1686 gives unlimited permission to copy
, distribute and modify it.
1691 ## ------------------------ ##
1692 ## Autoconf initialization. ##
1693 ## ------------------------ ##
1695 # ac_fn_c_try_compile LINENO
1696 # --------------------------
1697 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1698 ac_fn_c_try_compile
()
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 rm -f conftest.
$ac_objext
1702 if { { ac_try
="$ac_compile"
1704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_compile") 2>conftest.err
1711 if test -s conftest.err; then
1712 grep -v '^ *+' conftest.err >conftest.er1
1713 cat conftest.er1 >&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest.$ac_objext; then :
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 } # ac_fn_c_try_compile
1733 # ac_fn_cxx_try_compile LINENO
1734 # ----------------------------
1735 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1736 ac_fn_cxx_try_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 rm -f conftest.$ac_objext
1740 if { { ac_try="$ac_compile"
1742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1743 *) ac_try_echo
=$ac_try;;
1745 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_compile") 2>conftest.err
1749 if test -s conftest.err
; then
1750 grep -v '^ *+' conftest.err
>conftest.er1
1751 cat conftest.er1
>&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } && {
1756 test -z "$ac_cxx_werror_flag" ||
1757 test ! -s conftest.err
1758 } && test -s conftest.
$ac_objext; then :
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.
$ac_ext >&5
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1769 } # ac_fn_cxx_try_compile
1771 # ac_fn_c_try_link LINENO
1772 # -----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded.
1776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1777 rm -f conftest.
$ac_objext conftest
$ac_exeext
1778 if { { ac_try
="$ac_link"
1780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1781 *) ac_try_echo=$ac_try;;
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_link") 2>conftest.err
1787 if test -s conftest.err; then
1788 grep -v '^ *+' conftest.err >conftest.er1
1789 cat conftest.er1 >&5
1790 mv -f conftest.er1 conftest.err
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; } && {
1794 test -z "$ac_c_werror_flag" ||
1795 test ! -s conftest.err
1796 } && test -s conftest$ac_exeext && {
1797 test "$cross_compiling" = yes ||
1798 $as_test_x conftest$ac_exeext
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1807 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1808 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1809 # interfere with the next link command; also delete a directory that is
1810 # left behind by Apple's compiler. We do this before executing the actions.
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815 } # ac_fn_c_try_link
1816 cat >config.log <<_ACEOF
1817 This file contains any messages produced by compilers while
1818 running configure, to aid debugging if configure makes a mistake.
1820 It was created by $as_me, which was
1821 generated by GNU Autoconf 2.64. Invocation command line was
1833 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1834 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1835 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1836 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1837 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1839 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1840 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1842 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1843 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1844 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1845 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1846 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1847 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1848 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 $as_echo "PATH: $as_dir"
1873 # Keep a trace of the command line.
1874 # Strip out --no-create and --no-recursion so they do not pile up.
1875 # Strip out --silent because we don't want to record it for future runs.
1876 # Also quote any args containing shell meta-characters.
1877 # Make two passes to allow for proper duplicate-argument suppression.
1881 ac_must_keep_next=false
1887 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1889 | -silent | --silent | --silen | --sile | --sil)
1892 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1895 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1897 as_fn_append ac_configure_args1 " '$ac_arg'"
1898 if test $ac_must_keep_next = true; then
1899 ac_must_keep_next=false # Got value, back to normal.
1902 *=* | --config-cache | -C | -disable-* | --disable-* \
1903 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1904 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1905 | -with-* | --with-* | -without-* | --without-* | --x)
1906 case "$ac_configure_args0 " in
1907 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1910 -* ) ac_must_keep_next=true ;;
1913 as_fn_append ac_configure_args " '$ac_arg'"
1918 { ac_configure_args0=; unset ac_configure_args0;}
1919 { ac_configure_args1=; unset ac_configure_args1;}
1921 # When interrupted or exit'd, cleanup temporary files, and complete
1922 # config.log. We remove comments because anyway the quotes in there
1923 # would cause problems or look ugly.
1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1926 trap 'exit_status=$?
1927 # Save into config.log some information that might help in debugging.
1932 ## ---------------- ##
1933 ## Cache variables. ##
1934 ## ---------------- ##
1937 # The following way of writing the cache mishandles newlines in values,
1939 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1940 eval ac_val=\$$ac_var
1944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1948 _ | IFS | as_nl) ;; #(
1949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1950 *) { eval $ac_var=; unset $ac_var;} ;;
1955 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1956 *${as_nl}ac_space=\ *)
1958 "s/'\''/'\''\\\\'\'''\''/g;
1959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1970 ## ----------------- ##
1971 ## Output variables. ##
1972 ## ----------------- ##
1975 for ac_var in $ac_subst_vars
1977 eval ac_val=\$$ac_var
1979 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1981 $as_echo "$ac_var='\''$ac_val'\''"
1985 if test -n "$ac_subst_files"; then
1987 ## ------------------- ##
1988 ## File substitutions. ##
1989 ## ------------------- ##
1992 for ac_var in $ac_subst_files
1994 eval ac_val=\$$ac_var
1996 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998 $as_echo "$ac_var='\''$ac_val'\''"
2003 if test -s confdefs.h; then
2013 test "$ac_signal" != 0 &&
2014 $as_echo "$as_me: caught signal $ac_signal"
2015 $as_echo "$as_me: exit $exit_status"
2017 rm -f core *.core core.conftest.* &&
2018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2021 for ac_signal in 1 2 13 15; do
2022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2027 rm -f -r conftest* confdefs.h
2029 $as_echo "/* confdefs.h */" > confdefs.h
2031 # Predefined preprocessor variables.
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2041 cat >>confdefs.h <<_ACEOF
2042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2045 cat >>confdefs.h <<_ACEOF
2046 #define PACKAGE_STRING "$PACKAGE_STRING"
2049 cat >>confdefs.h <<_ACEOF
2050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_URL "$PACKAGE_URL"
2058 # Let the site file select an alternate cache file if it wants to.
2059 # Prefer an explicitly selected file to automatically selected ones.
2062 if test -n "$CONFIG_SITE"; then
2063 ac_site_file1=$CONFIG_SITE
2064 elif test "x$prefix" != xNONE; then
2065 ac_site_file1=$prefix/share/config.site
2066 ac_site_file2=$prefix/etc/config.site
2068 ac_site_file1=$ac_default_prefix/share/config.site
2069 ac_site_file2=$ac_default_prefix/etc/config.site
2071 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2073 test "x$ac_site_file" = xNONE && continue
2074 if test -r "$ac_site_file"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2076 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2077 sed 's/^/| /' "$ac_site_file" >&5
2082 if test -r "$cache_file"; then
2083 # Some versions of bash will fail to source /dev/null (special
2084 # files actually), so we avoid doing that.
2085 if test -f "$cache_file"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2087 $as_echo "$as_me: loading cache $cache_file" >&6;}
2089 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2090 *) . "./$cache_file";;
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2095 $as_echo "$as_me: creating cache $cache_file" >&6;}
2099 # Check that the precious variables saved in the cache have kept the same
2101 ac_cache_corrupted=false
2102 for ac_var in $ac_precious_vars; do
2103 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2104 eval ac_new_set=\$ac_env_${ac_var}_set
2105 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2106 eval ac_new_val=\$ac_env_${ac_var}_value
2107 case $ac_old_set,$ac_new_set in
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2110 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2111 ac_cache_corrupted=: ;;
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2114 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2115 ac_cache_corrupted=: ;;
2118 if test "x$ac_old_val" != "x$ac_new_val"; then
2119 # differences in whitespace do not lead to failure.
2120 ac_old_val_w=`echo x
$ac_old_val`
2121 ac_new_val_w=`echo x
$ac_new_val`
2122 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2124 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2125 ac_cache_corrupted=:
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2128 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2129 eval $ac_var=\$ac_old_val
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2132 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2134 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2137 # Pass precious variables to config.status.
2138 if test "$ac_new_set" = set; then
2140 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2141 *) ac_arg=$ac_var=$ac_new_val ;;
2143 case " $ac_configure_args " in
2144 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2145 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2149 if $ac_cache_corrupted; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2153 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2154 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2156 ## -------------------- ##
2157 ## Main body of script. ##
2158 ## -------------------- ##
2161 ac_cpp='$CPP $CPPFLAGS'
2162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2175 # if PWD already has a value, it is probably wrong.
2176 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2178 # Export original configure arguments for use by sub-configures.
2179 # Quote arguments with shell meta charatcers.
2180 TOPLEVEL_CONFIGURE_ARGUMENTS=
2181 set -- "$progname" "$@"
2185 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2186 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2187 # if the argument is of the form -foo=baz, quote the baz part only
2188 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2191 # Add the quoted argument to the list.
2192 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2194 if test "$silent" = yes; then
2195 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2197 # Remove the initial space we just introduced and, as these will be
2198 # expanded by make, quote '$'.
2199 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2202 # Find the build, host, and target systems.
2204 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2205 for ac_t in install-sh install.sh shtool; do
2206 if test -f "$ac_dir/$ac_t"; then
2208 ac_install_sh="$ac_aux_dir/$ac_t -c"
2213 if test -z "$ac_aux_dir"; then
2214 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2217 # These three variables are undocumented and unsupported,
2218 # and are intended to be withdrawn in a future Autoconf release.
2219 # They can cause serious problems if a builder's source tree is in a directory
2220 # whose full name contains unusual characters.
2221 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2222 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2223 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2226 # Make sure we can run config.sub.
2227 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2228 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2231 $as_echo_n "checking build system type... " >&6; }
2232 if test "${ac_cv_build+set}" = set; then :
2233 $as_echo_n "(cached) " >&6
2235 ac_build_alias=$build_alias
2236 test "x$ac_build_alias" = x &&
2237 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2238 test "x$ac_build_alias" = x &&
2239 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2241 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2245 $as_echo "$ac_cv_build" >&6; }
2246 case $ac_cv_build in
2248 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2251 ac_save_IFS=$IFS; IFS='-'
2257 # Remember, the first character of IFS is used to create $*,
2258 # except with old shells:
2261 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2264 case ${build_alias} in
2265 "") build_noncanonical=${build} ;;
2266 *) build_noncanonical=${build_alias} ;;
2271 case ${host_alias} in
2272 "") host_noncanonical=${build_noncanonical} ;;
2273 *) host_noncanonical=${host_alias} ;;
2278 case ${target_alias} in
2279 "") target_noncanonical=${host_noncanonical} ;;
2280 *) target_noncanonical=${target_alias} ;;
2286 test "$host_noncanonical" = "$target_noncanonical" &&
2287 test "$program_prefix$program_suffix$program_transform_name" = \
2289 program_transform_name=s,y,y,
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2292 $as_echo_n "checking host system type... " >&6; }
2293 if test "${ac_cv_host+set}" = set; then :
2294 $as_echo_n "(cached) " >&6
2296 if test "x$host_alias" = x; then
2297 ac_cv_host=$ac_cv_build
2299 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2300 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2305 $as_echo "$ac_cv_host" >&6; }
2308 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2311 ac_save_IFS=$IFS; IFS='-'
2317 # Remember, the first character of IFS is used to create $*,
2318 # except with old shells:
2321 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2325 $as_echo_n "checking target system type... " >&6; }
2326 if test "${ac_cv_target+set}" = set; then :
2327 $as_echo_n "(cached) " >&6
2329 if test "x$target_alias" = x; then
2330 ac_cv_target=$ac_cv_host
2332 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2333 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2338 $as_echo "$ac_cv_target" >&6; }
2339 case $ac_cv_target in
2341 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2343 target=$ac_cv_target
2344 ac_save_IFS=$IFS; IFS='-'
2350 # Remember, the first character of IFS is used to create $*,
2351 # except with old shells:
2354 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2357 # The aliases save the names the user supplied, while $host etc.
2358 # will get canonicalized.
2359 test -n "$target_alias" &&
2360 test "$program_prefix$program_suffix$program_transform_name" = \
2362 program_prefix=${target_alias}-
2364 test "$program_prefix" != NONE &&
2365 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2366 # Use a double $ so make ignores it.
2367 test "$program_suffix" != NONE &&
2368 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2369 # Double any \ or $.
2370 # By default was `s
,x
,x
', remove it if useless.
2371 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2372 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2376 # Get 'install' or 'install-sh
' and its variants.
2377 # Find a good install program. We prefer a C program (faster),
2378 # so one script is as good as another. But avoid the broken or
2379 # incompatible versions:
2380 # SysV /etc/install, /usr/sbin/install
2381 # SunOS /usr/etc/install
2382 # IRIX /sbin/install
2384 # AmigaOS /C/install, which installs bootblocks on floppy discs
2385 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2388 # OS/2's system install, which has a completely different semantic
2389 # ./install, which can be erroneously created by make from ./install.sh.
2390 # Reject install programs that cannot install multiple files.
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2392 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2393 if test -z "$INSTALL"; then
2394 if test "${ac_cv_path_install+set}" = set; then :
2395 $as_echo_n "(cached) " >&6
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 # Account for people who put trailing slashes in PATH elements.
2403 case $as_dir/ in #((
2404 .
/ | .
// |
/[cC
]/* | \
2405 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2406 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2409 # OSF1 and SCO ODT 3.0 have their own names for install.
2410 # Don't use installbsd from OSF since it installs stuff as root
2412 for ac_prog
in ginstall scoinst
install; do
2413 for ac_exec_ext
in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2415 if test $ac_prog = install &&
2416 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2417 # AIX install. It has an incompatible calling convention.
2419 elif test $ac_prog = install &&
2420 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2421 # program-specific install script used by HP pwplus--don't use.
2424 rm -rf conftest.one conftest.two conftest.dir
2425 echo one
> conftest.one
2426 echo two
> conftest.two
2428 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2429 test -s conftest.one
&& test -s conftest.two
&&
2430 test -s conftest.dir
/conftest.one
&&
2431 test -s conftest.dir
/conftest.two
2433 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 rm -rf conftest.one conftest.two conftest.dir
2449 if test "${ac_cv_path_install+set}" = set; then
2450 INSTALL
=$ac_cv_path_install
2452 # As a last resort, use the slow shell script. Don't cache a
2453 # value for INSTALL within a source directory, because that will
2454 # break other packages using the cache if that directory is
2455 # removed, or if the value is a relative name.
2456 INSTALL
=$ac_install_sh
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2460 $as_echo "$INSTALL" >&6; }
2462 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2463 # It thinks the first close brace ends the variable substitution.
2464 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2466 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2468 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2471 $as_echo_n "checking whether ln works... " >&6; }
2472 if test "${acx_cv_prog_LN+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 rm -f conftestdata_t
2476 echo >conftestdata_f
2477 if ln conftestdata_f conftestdata_t
2>/dev
/null
2483 rm -f conftestdata_f conftestdata_t
2486 if test $acx_cv_prog_LN = no
; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2489 $as_echo "no, using $LN" >&6; }
2491 LN
="$acx_cv_prog_LN"
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2493 $as_echo "yes" >&6; }
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2497 $as_echo_n "checking whether ln -s works... " >&6; }
2499 if test "$LN_S" = "ln -s"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2504 $as_echo "no, using $LN_S" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2508 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2509 if test "${ac_cv_path_SED+set}" = set; then :
2510 $as_echo_n "(cached) " >&6
2512 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2513 for ac_i
in 1 2 3 4 5 6 7; do
2514 ac_script
="$ac_script$as_nl$ac_script"
2516 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2517 { ac_script
=; unset ac_script
;}
2518 if test -z "$SED"; then
2519 ac_path_SED_found
=false
2520 # Loop through the user's path and test for each of PROGNAME-LIST
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 for ac_prog
in sed gsed
; do
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2529 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2530 # Check for GNU ac_path_SED and select it if it is found.
2531 # Check for GNU $ac_path_SED
2532 case `"$ac_path_SED" --version 2>&1` in
2534 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2537 $as_echo_n 0123456789 >"conftest.in"
2540 cat "conftest.in" "conftest.in" >"conftest.tmp"
2541 mv "conftest.tmp" "conftest.in"
2542 cp "conftest.in" "conftest.nl"
2543 $as_echo '' >> "conftest.nl"
2544 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2545 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2546 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2547 if test $ac_count -gt ${ac_path_SED_max-0}; then
2548 # Best one so far, save it but keep looking for a better one
2549 ac_cv_path_SED
="$ac_path_SED"
2550 ac_path_SED_max
=$ac_count
2552 # 10*(2^10) chars as input seems more than enough
2553 test $ac_count -gt 10 && break
2555 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2558 $ac_path_SED_found && break 3
2563 if test -z "$ac_cv_path_SED"; then
2564 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2572 $as_echo "$ac_cv_path_SED" >&6; }
2573 SED
="$ac_cv_path_SED"
2576 for ac_prog
in gawk mawk nawk
awk
2578 # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy
$ac_prog; ac_word
=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if test "${ac_cv_prog_AWK+set}" = set; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$AWK"; then
2586 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595 ac_cv_prog_AWK
="$ac_prog"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$AWK"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2608 $as_echo "$AWK" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2615 test -n "$AWK" && break
2619 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2621 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2623 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2624 INSTALL
="${srcpwd}/install-sh -c"
2627 # Set srcdir to "." if that's what it is.
2628 # This is important for multilib support.
2630 if test "${pwd}" = "${srcpwd}" ; then
2638 ### To add a new directory to the tree, first choose whether it is a target
2639 ### or a host dependent tool. Then put it into the appropriate list
2640 ### (library or tools, host or target), doing a dependency sort.
2642 # Subdirs will be configured in the order listed in build_configdirs,
2643 # configdirs, or target_configdirs; see the serialization section below.
2645 # Dependency sorting is only needed when *configuration* must be done in
2646 # a particular order. In all cases a dependency should be specified in
2647 # the Makefile, whether or not it's implicitly specified here.
2649 # Double entries in build_configdirs, configdirs, or target_configdirs may
2650 # cause circular dependencies and break everything horribly.
2652 # these library is used by various programs built for the build
2655 build_libs
="build-libiberty"
2657 # these tools are built for the build environment
2658 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2660 # these libraries are used by various programs built for the host environment
2662 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2664 # these tools are built for the host environment
2665 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2666 # know that we are building the simulator.
2667 # binutils, gas and ld appear in that order because it makes sense to run
2668 # "make check" in that particular order.
2669 # If --enable-gold is used, "gold" may replace "ld".
2670 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2672 # libgcj represents the runtime libraries only used by gcj.
2673 libgcj
="target-libffi \
2677 # these libraries are built for the target environment, and are built after
2678 # the host libraries and the host tools (which may be a cross compiler)
2679 # Note that libiberty is not a target library.
2680 target_libraries
="target-libgcc \
2684 target-libstdc++-v3 \
2687 target-libquadmath \
2688 target-libgfortran \
2695 # these tools are built using the target libraries, and are intended to
2696 # run only in the target environment
2698 # note: any program that *uses* libraries that are in the "target_libraries"
2699 # list belongs in this list.
2701 target_tools
="target-rda"
2703 ################################################################################
2705 ## All tools belong in one of the four categories, and are assigned above
2706 ## We assign ${configdirs} this way to remove all embedded newlines. This
2707 ## is important because configure will choke if they ever get through.
2708 ## ${configdirs} is directories we build using the host tools.
2709 ## ${target_configdirs} is directories we build using the target tools.
2710 configdirs
=`echo ${host_libs} ${host_tools}`
2711 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2712 build_configdirs
=`echo ${build_libs} ${build_tools}`
2716 ################################################################################
2718 srcname
="gnu development package"
2720 # This gets set non-empty for some net releases of packages.
2723 # Define is_cross_compiler to save on calls to 'test'.
2725 if test x
"${host}" = x
"${target}" ; then
2726 is_cross_compiler
=no
2728 is_cross_compiler
=yes
2731 # Find the build and target subdir names.
2733 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2734 # have matching libraries, they should use host libraries: Makefile.tpl
2735 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2736 # However, they still use the build modules, because the corresponding
2737 # host modules (e.g. bison) are only built for the host when bootstrap
2739 # - build_subdir is where we find build modules, and never changes.
2740 # - build_libsubdir is where we find build libraries, and can be overridden.
2742 # Prefix 'build-' so this never conflicts with target_subdir.
2743 build_subdir
="build-${build_noncanonical}"
2745 # Check whether --with-build-libsubdir was given.
2746 if test "${with_build_libsubdir+set}" = set; then :
2747 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2749 build_libsubdir
="$build_subdir"
2752 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2753 if ( test $srcdir = .
&& test -d gcc
) \
2754 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2755 host_subdir
="host-${host_noncanonical}"
2760 target_subdir
=${target_noncanonical}
2762 # Be sure to cover against remnants of an in-tree build.
2763 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2764 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2765 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2768 # Skipdirs are removed silently.
2770 # Noconfigdirs are removed loudly.
2774 # Make sure we don't let GNU ld be added if we didn't want it.
2775 if test x
$with_gnu_ld = xno
; then
2777 noconfigdirs
="$noconfigdirs ld gold"
2781 # Make sure we don't let GNU as be added if we didn't want it.
2782 if test x
$with_gnu_as = xno
; then
2784 noconfigdirs
="$noconfigdirs gas"
2788 # Make sure we don't let ZLIB be added if we didn't want it.
2789 if test x
$with_system_zlib = xyes
; then
2790 use_included_zlib
=no
2791 noconfigdirs
="$noconfigdirs zlib"
2794 # some tools are so dependent upon X11 that if we're not building with X,
2795 # it's not even worth trying to configure, much less build, that tool.
2798 yes |
"") ;; # the default value for this tree is that X11 is available
2800 skipdirs
="${skipdirs} tk itcl libgui"
2801 # We won't be able to build gdbtk without X.
2804 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2807 # Some are only suitable for cross toolchains.
2808 # Remove these if host=target.
2809 cross_only
="target-libgloss target-newlib target-opcodes"
2811 case $is_cross_compiler in
2812 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2815 # If both --with-headers and --with-libs are specified, default to
2817 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2818 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2819 if test x
"${with_newlib}" = x
; then
2824 # Recognize --with-newlib/--without-newlib.
2825 case ${with_newlib} in
2826 no
) skipdirs
="${skipdirs} target-newlib" ;;
2827 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2830 # Handle --enable-gold, --enable-ld.
2831 # --disable-gold [--enable-ld]
2832 # Build only ld. Default option.
2833 # --enable-gold [--enable-ld]
2834 # Build both gold and ld. Install gold as "ld.gold", install ld
2835 # as "ld.bfd" and "ld".
2836 # --enable-gold=default [--enable-ld]
2837 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2838 # install ld as "ld.bfd".
2839 # --enable-gold[=default] --disable-ld
2840 # Build only gold, which is then installed as both "ld.gold" and "ld".
2841 # --enable-gold --enable-ld=default
2842 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2844 # In other words, ld is default
2845 # --enable-gold=default --enable-ld=default
2849 # Check whether --enable-gold was given.
2850 if test "${enable_gold+set}" = set; then :
2851 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2856 case "${ENABLE_GOLD}" in
2858 # Check for ELF target.
2861 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2862 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2863 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2864 |
*-*-solaris2* |
*-*-nto*)
2866 *-*-linux*aout
* |
*-*-linux*oldld
*)
2874 if test "$is_elf" = "yes"; then
2875 # Check for target supported by gold.
2877 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2878 configdirs
="$configdirs gold"
2879 if test x
${ENABLE_GOLD} = xdefault
; then
2890 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2894 # Check whether --enable-ld was given.
2895 if test "${enable_ld+set}" = set; then :
2896 enableval
=$enable_ld; ENABLE_LD
=$enableval
2902 case "${ENABLE_LD}" in
2904 if test x
${default_ld} != x
; then
2905 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2911 if test x
${ENABLE_GOLD} != xyes
; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2913 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2915 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2918 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2922 # Configure extra directories which are host specific
2926 configdirs
="$configdirs libtermcap" ;;
2929 # A target can indicate whether a language isn't supported for some reason.
2930 # Only spaces may be used in this macro; not newlines or tabs.
2931 unsupported_languages
=
2933 # Remove more programs from consideration, based on the host or
2934 # target this usually means that a port of the program doesn't
2938 i
[3456789]86-*-msdosdjgpp*)
2939 noconfigdirs
="$noconfigdirs tcl tk itcl"
2944 # Check whether --enable-libquadmath was given.
2945 if test "${enable_libquadmath+set}" = set; then :
2946 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2948 ENABLE_LIBQUADMATH
=yes
2951 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2952 noconfigdirs
="$noconfigdirs target-libquadmath"
2956 # Check whether --enable-libquadmath-support was given.
2957 if test "${enable_libquadmath_support+set}" = set; then :
2958 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2960 ENABLE_LIBQUADMATH_SUPPORT
=yes
2963 enable_libquadmath_support
=
2964 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2965 enable_libquadmath_support
=no
2969 # Check whether --enable-libada was given.
2970 if test "${enable_libada+set}" = set; then :
2971 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2976 if test "${ENABLE_LIBADA}" != "yes" ; then
2977 noconfigdirs
="$noconfigdirs gnattools"
2980 # Check whether --enable-libssp was given.
2981 if test "${enable_libssp+set}" = set; then :
2982 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2988 # Save it here so that, even in case of --enable-libgcj, if the Java
2989 # front-end isn't enabled, we still get libgcj disabled.
2990 libgcj_saved
=$libgcj
2991 case $enable_libgcj in
2993 # If we reset it here, it won't get added to noconfigdirs in the
2994 # target-specific build rules, so it will be forcibly enabled
2995 # (unless the Java language itself isn't enabled).
2999 # Make sure we get it printed in the list of not supported target libs.
3000 # Don't disable libffi, though, other languages use it.
3001 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3002 # Clear libgcj_saved so that even if java is enabled libffi won't be
3008 # Check whether --enable-static-libjava was given.
3009 if test "${enable_static_libjava+set}" = set; then :
3010 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3012 ENABLE_STATIC_LIBJAVA
=no
3015 enable_static_libjava
=
3016 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3017 enable_static_libjava
=yes
3020 if test x
$enable_static_libjava != xyes
; then
3021 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3025 # Disable libmudflap on some systems.
3026 if test x
$enable_libmudflap = x
; then
3028 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3029 # Enable libmudflap by default in GNU and friends.
3032 # Enable libmudflap by default in FreeBSD.
3035 # Disable it by default everywhere else.
3036 noconfigdirs
="$noconfigdirs target-libmudflap"
3041 # Disable libgomp on non POSIX hosted systems.
3042 if test x
$enable_libgomp = x
; then
3043 # Enable libgomp by default on hosted POSIX systems.
3045 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3047 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3049 *-*-solaris2* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3051 *-*-darwin* |
*-*-aix*)
3054 noconfigdirs
="$noconfigdirs target-libgomp"
3059 # Disable libssp for some systems.
3062 # No hosted I/O support.
3063 noconfigdirs
="$noconfigdirs target-libssp"
3065 powerpc-
*-aix* | rs6000-
*-aix*)
3066 noconfigdirs
="$noconfigdirs target-libssp"
3070 # Disable libstdc++-v3 for some systems.
3073 # VxWorks uses the Dinkumware C++ library.
3074 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3077 # the C++ libraries don't build on top of CE's C libraries
3078 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3081 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3085 # Disable Fortran for some systems.
3088 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3089 unsupported_languages
="$unsupported_languages fortran"
3093 # Disable Java if libffi is not supported.
3115 mips-sgi-irix6.
* | mips
*-*-rtems*)
3123 powerpc-
*-aix* | rs6000-
*-aix*)
3127 powerpc64-
*-freebsd*)
3131 s390-
*-* | s390x-
*-*)
3133 sh-
*-* | sh
[34]*-*-*)
3135 sh64-
*-* | sh5
*-*-*)
3142 unsupported_languages
="$unsupported_languages java"
3146 # Disable Java, libgcj or related libraries for some systems.
3150 i
[3456789]86-*-darwin*)
3152 x86_64-
*-darwin[912]*)
3155 noconfigdirs
="$noconfigdirs ${libgcj}"
3158 noconfigdirs
="$noconfigdirs ${libgcj}"
3161 noconfigdirs
="$noconfigdirs ${libgcj}"
3164 noconfigdirs
="$noconfigdirs ${libgcj}"
3167 noconfigdirs
="$noconfigdirs ${libgcj}"
3170 noconfigdirs
="$noconfigdirs ${libgcj}"
3173 noconfigdirs
="$noconfigdirs ${libgcj}"
3176 noconfigdirs
="$noconfigdirs ${libgcj}"
3179 noconfigdirs
="$noconfigdirs ${libgcj}"
3182 noconfigdirs
="$noconfigdirs target-boehm-gc"
3184 cris-
*-* | crisv32-
*-*)
3185 unsupported_languages
="$unsupported_languages java"
3189 *) # See PR46792 regarding target-libffi.
3190 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3194 # In this case, it's because the hppa64-linux target is for
3195 # the kernel only at this point and has no libc, and thus no
3196 # headers, crt*.o, etc., all of which are needed by these.
3197 unsupported_languages
="$unsupported_languages java"
3200 noconfigdirs
="$noconfigdirs ${libgcj}"
3205 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3206 # build on HP-UX 10.20.
3207 noconfigdirs
="$noconfigdirs ${libgcj}"
3210 noconfigdirs
="$noconfigdirs ${libgcj}"
3212 i
[3456789]86-w64-mingw*)
3213 noconfigdirs
="$noconfigdirs ${libgcj}"
3215 i
[3456789]86-*-mingw*)
3216 noconfigdirs
="$noconfigdirs ${libgcj}"
3219 noconfigdirs
="$noconfigdirs ${libgcj}"
3222 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3225 # copied from rs6000-*-* entry
3226 noconfigdirs
="$noconfigdirs ${libgcj}"
3229 noconfigdirs
="$noconfigdirs ${libgcj}"
3232 # Linking libjava exceeds command-line length limits on at least
3233 # IRIX 6.2, but not on IRIX 6.5.
3234 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3235 # <oldham@codesourcery.com>
3236 noconfigdirs
="$noconfigdirs ${libgcj}"
3239 noconfigdirs
="$noconfigdirs ${libgcj}"
3243 # Default libgloss CPU subdirectory.
3244 libgloss_dir
="$target_cpu"
3247 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3253 cris-
*-* | crisv32-
*-*)
3262 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3263 libgloss_dir
=m68hc11
3265 m68
*-*-* | fido-
*-*)
3279 # Disable newlib and libgloss for various target OSes.
3282 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3284 i
[3456789]86-*-linux*)
3285 # This section makes it possible to build newlib natively on linux.
3286 # If we are using a cross compiler then don't configure newlib.
3287 if test x
${is_cross_compiler} != xno
; then
3288 noconfigdirs
="$noconfigdirs target-newlib"
3290 noconfigdirs
="$noconfigdirs target-libgloss"
3291 # If we are not using a cross compiler, do configure newlib.
3292 # Note however, that newlib will only be configured in this situation
3293 # if the --with-newlib option has been given, because otherwise
3294 # 'target-newlib' will appear in skipdirs.
3296 i
[3456789]86-*-rdos*)
3297 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3299 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3300 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3303 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3306 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3309 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3312 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3315 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3318 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3320 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3321 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3324 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3327 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3330 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3333 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3336 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3339 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3342 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3350 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3351 noconfigdirs
="$noconfigdirs sim target-rda"
3353 i
[3456789]86-*-darwin*)
3354 noconfigdirs
="$noconfigdirs ld gprof"
3355 noconfigdirs
="$noconfigdirs sim target-rda"
3357 x86_64-
*-darwin[912]*)
3358 noconfigdirs
="$noconfigdirs ld gas gprof"
3359 noconfigdirs
="$noconfigdirs sim target-rda"
3362 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3363 noconfigdirs
="$noconfigdirs sim target-rda"
3368 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3369 && test -f /usr
/local
/include
/gmp.h
; then
3374 # Remove unsupported stuff on all kaOS configurations.
3375 noconfigdirs
="$noconfigdirs target-libgloss"
3382 noconfigdirs
="$noconfigdirs target-libgloss"
3384 # The tpf target doesn't support gdb yet.
3386 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3389 noconfigdirs
="$noconfigdirs target-rda"
3394 # ld works, but does not support shared libraries.
3395 # gas doesn't generate exception information.
3396 noconfigdirs
="$noconfigdirs gas ld"
3399 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3402 # newlib is not 64 bit ready
3403 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3405 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3406 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3409 noconfigdirs
="$noconfigdirs target-libgloss"
3412 noconfigdirs
="$noconfigdirs target-libgloss"
3415 noconfigdirs
="$noconfigdirs ld target-libgloss"
3417 c4x-
*-* | tic4x-
*-*)
3418 noconfigdirs
="$noconfigdirs target-libgloss"
3421 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3424 noconfigdirs
="$noconfigdirs gdb"
3427 noconfigdirs
="$noconfigdirs target-libgloss"
3430 noconfigdirs
="$noconfigdirs gdb"
3433 noconfigdirs
="$noconfigdirs gdb"
3436 noconfigdirs
="$noconfigdirs gprof"
3439 noconfigdirs
="$noconfigdirs target-libgloss"
3442 noconfigdirs
="$noconfigdirs target-libgloss"
3444 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3452 hppa
*-*-openbsd* | \
3456 noconfigdirs
="$noconfigdirs ld"
3461 noconfigdirs
="$noconfigdirs ld"
3464 noconfigdirs
="$noconfigdirs gdb"
3467 # No gdb support yet.
3468 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3471 # No ld support yet.
3472 noconfigdirs
="$noconfigdirs libgui itcl ld"
3475 # No gdb or ld support yet.
3476 noconfigdirs
="$noconfigdirs readline libgui itcl gdb ld"
3478 i
[3456789]86-w64-mingw*)
3480 i
[3456789]86-*-mingw*)
3481 target_configdirs
="$target_configdirs target-winsup"
3484 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3485 noconfigdirs
="$noconfigdirs target-libgloss"
3486 # always build newlib if winsup directory is present.
3487 if test -d "$srcdir/winsup/cygwin"; then
3488 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3489 elif test -d "$srcdir/newlib"; then
3490 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3494 noconfigdirs
="$noconfigdirs target-libgloss"
3496 i
[3456789]86-*-sco3.2v5
*)
3497 # The linker does not yet know about weak symbols in COFF,
3498 # and is not configured to handle mixed ELF and COFF.
3499 noconfigdirs
="$noconfigdirs ld target-libgloss"
3501 i
[3456789]86-*-sco*)
3502 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3504 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3505 noconfigdirs
="$noconfigdirs target-libgloss"
3507 i
[3456789]86-*-sysv4*)
3508 noconfigdirs
="$noconfigdirs target-libgloss"
3510 i
[3456789]86-*-beos*)
3511 noconfigdirs
="$noconfigdirs gdb"
3513 i
[3456789]86-*-rdos*)
3514 noconfigdirs
="$noconfigdirs gdb"
3517 noconfigdirs
="$noconfigdirs gdb"
3520 noconfigdirs
="$noconfigdirs sim"
3523 # copied from rs6000-*-* entry
3524 noconfigdirs
="$noconfigdirs gprof"
3526 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3527 target_configdirs
="$target_configdirs target-winsup"
3528 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3529 # always build newlib.
3530 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3532 # This is temporary until we can link against shared libraries
3533 powerpcle-
*-solaris*)
3534 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3537 noconfigdirs
="$noconfigdirs gdb"
3540 noconfigdirs
="$noconfigdirs gprof"
3543 noconfigdirs
="$noconfigdirs gprof"
3546 noconfigdirs
="$noconfigdirs gprof"
3549 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3552 noconfigdirs
="$noconfigdirs gprof"
3555 if test x
$with_newlib = xyes
; then
3556 noconfigdirs
="$noconfigdirs gprof"
3560 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3563 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3566 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3571 noconfigdirs
="$noconfigdirs gprof"
3578 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3582 if test x
${is_cross_compiler} = xno
; then
3587 noconfigdirs
="$noconfigdirs gdb sim"
3589 tilepro-
*-* | tilegx-
*-*)
3590 noconfigdirs
="$noconfigdirs sim"
3593 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3596 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3600 # If we aren't building newlib, then don't build libgloss, since libgloss
3601 # depends upon some newlib header files.
3602 case "${noconfigdirs}" in
3603 *target-libgloss
*) ;;
3604 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3607 # Work in distributions that contain no compiler tools, like Autoconf.
3608 host_makefile_frag
=/dev
/null
3609 if test -d ${srcdir}/config
; then
3611 i
[3456789]86-*-msdosdjgpp*)
3612 host_makefile_frag
="config/mh-djgpp"
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3617 $as_echo_n "checking to see if cat works as expected... " >&6; }
3618 echo a
>cygwin-cat-check
3619 if test `cat cygwin-cat-check` = a
; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3622 $as_echo "yes" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3627 as_fn_error
"The cat command does not ignore carriage return characters.
3628 Please either mount the build directory in binary mode or run the following
3629 commands before running any configure script:
3635 host_makefile_frag
="config/mh-cygwin"
3638 host_makefile_frag
="config/mh-mingw"
3641 host_makefile_frag
="config/mh-interix"
3644 host_makefile_frag
="config/mh-pa-hpux10"
3647 host_makefile_frag
="config/mh-pa"
3650 host_makefile_frag
="config/mh-pa"
3653 host_makefile_frag
="config/mh-darwin"
3656 host_makefile_frag
="config/mh-ppc-aix"
3659 host_makefile_frag
="config/mh-ppc-aix"
3664 if test "${build}" != "${host}" ; then
3665 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3666 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3667 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3668 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3669 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3670 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3671 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3672 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3673 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3674 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3675 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3676 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3677 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3679 AR_FOR_BUILD
="\$(AR)"
3680 AS_FOR_BUILD
="\$(AS)"
3681 CC_FOR_BUILD
="\$(CC)"
3682 CXX_FOR_BUILD
="\$(CXX)"
3683 GCJ_FOR_BUILD
="\$(GCJ)"
3684 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3685 GOC_FOR_BUILD
="\$(GOC)"
3686 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3687 LD_FOR_BUILD
="\$(LD)"
3688 NM_FOR_BUILD
="\$(NM)"
3689 RANLIB_FOR_BUILD
="\$(RANLIB)"
3690 WINDRES_FOR_BUILD
="\$(WINDRES)"
3691 WINDMC_FOR_BUILD
="\$(WINDMC)"
3695 ac_cpp
='$CPP $CPPFLAGS'
3696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3701 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if test "${ac_cv_prog_CC+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC
="$CC" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3738 if test -z "$ac_cv_prog_CC"; then
3740 # Extract the first word of "gcc", so it can be a program name with args.
3741 set dummy gcc
; ac_word
=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -n "$ac_ct_CC"; then
3748 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757 ac_cv_prog_ac_ct_CC
="gcc"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3768 if test -n "$ac_ct_CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3770 $as_echo "$ac_ct_CC" >&6; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3776 if test "x$ac_ct_CC" = x
; then
3779 case $cross_compiling:$ac_tool_warned in
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3783 ac_tool_warned
=yes ;;
3791 if test -z "$CC"; then
3792 if test -n "$ac_tool_prefix"; then
3793 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3794 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC
="$CC" # Let the user override the test.
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3832 if test -z "$CC"; then
3833 # Extract the first word of "cc", so it can be a program name with args.
3834 set dummy cc
; ac_word
=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if test "${ac_cv_prog_CC+set}" = set; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$CC"; then
3841 ac_cv_prog_CC
="$CC" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3852 ac_prog_rejected
=yes
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 if test $ac_prog_rejected = yes; then
3864 # We found a bogon in the path, so make sure we never use it.
3865 set dummy
$ac_cv_prog_CC
3867 if test $# != 0; then
3868 # We chose a different compiler from the bogus one.
3869 # However, it has the same basename, so the bogon will be chosen
3870 # first if we set CC to just the basename; use the full file name.
3872 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3878 if test -n "$CC"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3880 $as_echo "$CC" >&6; }
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3888 if test -z "$CC"; then
3889 if test -n "$ac_tool_prefix"; then
3890 for ac_prog
in cl.exe
3892 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3893 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3895 $as_echo_n "checking for $ac_word... " >&6; }
3896 if test "${ac_cv_prog_CC+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3899 if test -n "$CC"; then
3900 ac_cv_prog_CC
="$CC" # Let the user override the test.
3902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir
=.
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3909 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 if test -n "$CC"; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3922 $as_echo "$CC" >&6; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3929 test -n "$CC" && break
3932 if test -z "$CC"; then
3934 for ac_prog
in cl.exe
3936 # Extract the first word of "$ac_prog", so it can be a program name with args.
3937 set dummy
$ac_prog; ac_word
=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3941 $as_echo_n "(cached) " >&6
3943 if test -n "$ac_ct_CC"; then
3944 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir
=.
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3953 ac_cv_prog_ac_ct_CC
="$ac_prog"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3964 if test -n "$ac_ct_CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3966 $as_echo "$ac_ct_CC" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3973 test -n "$ac_ct_CC" && break
3976 if test "x$ac_ct_CC" = x
; then
3979 case $cross_compiling:$ac_tool_warned in
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3983 ac_tool_warned
=yes ;;
3992 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 as_fn_error
"no acceptable C compiler found in \$PATH
3995 See \`config.log' for more details." "$LINENO" 5; }
3997 # Provide some information about the compiler.
3998 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4001 for ac_option
in --version -v -V -qversion; do
4002 { { ac_try
="$ac_compiler $ac_option >&5"
4004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4011 if test -s conftest.err; then
4013 ... rest of stderr output deleted ...
4014 10q' conftest.err >conftest.er1
4015 cat conftest.er1 >&5
4016 rm -f conftest.er1 conftest.err
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4033 ac_clean_files_save=$ac_clean_files
4034 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4035 # Try to create an executable without -o first, disregard a.out.
4036 # It will help us diagnose broken compilers, and finding out an intuition
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4039 $as_echo_n "checking for C compiler default output file name... " >&6; }
4040 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4042 # The possible output files:
4043 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4046 for ac_file in $ac_files
4049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4050 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4055 if { { ac_try="$ac_link_default"
4057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4058 *) ac_try_echo
=$ac_try;;
4060 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link_default") 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4066 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4067 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4068 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4069 # so that the user can short-circuit this test for compilers unknown to
4071 for ac_file
in $ac_files ''
4073 test -f "$ac_file" ||
continue
4075 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4078 # We found the default executable, but exeext='' is most
4082 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4084 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4086 # We set ac_cv_exeext here because the later test for it is not
4087 # safe: cross compilers may not add the suffix if given an `-o'
4088 # argument, so we may need to know it at that point already.
4089 # Even if this section looks crufty: it has the advantage of
4096 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4102 $as_echo "$ac_file" >&6; }
4103 if test -z "$ac_file"; then :
4104 $as_echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.
$ac_ext >&5
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 { as_fn_set_status
77
4110 as_fn_error
"C compiler cannot create executables
4111 See \`config.log' for more details." "$LINENO" 5; }; }
4113 ac_exeext
=$ac_cv_exeext
4115 # Check that the compiler produces executables we can run. If not, either
4116 # the compiler is broken, or we cross compile.
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4118 $as_echo_n "checking whether the C compiler works... " >&6; }
4119 # If not cross compiling, check that we can run a simple program.
4120 if test "$cross_compiling" != yes; then
4121 if { ac_try
='./$ac_file'
4122 { { case "(($ac_try" in
4123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_try") 2>&5
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; }; then
4134 if test "$cross_compiling" = maybe; then
4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error "cannot run C compiled programs.
4140 If you meant to cross compile
, use \
`--host'.
4141 See \`config.log
' for more details." "$LINENO" 5; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4146 $as_echo "yes" >&6; }
4148 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4149 ac_clean_files=$ac_clean_files_save
4150 # Check that the compiler produces executables we can run. If not, either
4151 # the compiler is broken, or we cross compile.
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4153 $as_echo_n "checking whether we are cross compiling... " >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4155 $as_echo "$cross_compiling" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4158 $as_echo_n "checking for suffix of executables... " >&6; }
4159 if { { ac_try="$ac_link"
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_link") 2>&5
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; then :
4170 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4171 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4172 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4174 for ac_file
in conftest.exe conftest conftest.
*; do
4175 test -f "$ac_file" ||
continue
4177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4178 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4187 See \`config.log' for more details." "$LINENO" 5; }
4189 rm -f conftest
$ac_cv_exeext
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4191 $as_echo "$ac_cv_exeext" >&6; }
4193 rm -f conftest.
$ac_ext
4194 EXEEXT
=$ac_cv_exeext
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4197 $as_echo_n "checking for suffix of object files... " >&6; }
4198 if test "${ac_cv_objext+set}" = set; then :
4199 $as_echo_n "(cached) " >&6
4201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 rm -f conftest.o conftest.obj
4213 if { { ac_try
="$ac_compile"
4215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_compile") 2>&5
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }; then :
4224 for ac_file in conftest.o conftest.obj conftest.*; do
4225 test -f "$ac_file" || continue;
4227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4228 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error "cannot compute suffix of object files
: cannot compile
4239 See \
`config.log' for more details." "$LINENO" 5; }
4241 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4244 $as_echo "$ac_cv_objext" >&6; }
4245 OBJEXT=$ac_cv_objext
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4248 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4249 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4266 if ac_fn_c_try_compile "$LINENO"; then :
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4276 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4277 if test $ac_compiler_gnu = yes; then
4282 ac_test_CFLAGS=${CFLAGS+set}
4283 ac_save_CFLAGS=$CFLAGS
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4285 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4286 if test "${ac_cv_prog_cc_g+set}" = set; then :
4287 $as_echo_n "(cached) " >&6
4289 ac_save_c_werror_flag=$ac_c_werror_flag
4290 ac_c_werror_flag=yes
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4304 if ac_fn_c_try_compile "$LINENO"; then :
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4319 if ac_fn_c_try_compile "$LINENO"; then :
4322 ac_c_werror_flag=$ac_save_c_werror_flag
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4335 if ac_fn_c_try_compile "$LINENO"; then :
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 ac_c_werror_flag=$ac_save_c_werror_flag
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4346 $as_echo "$ac_cv_prog_cc_g" >&6; }
4347 if test "$ac_test_CFLAGS" = set; then
4348 CFLAGS=$ac_save_CFLAGS
4349 elif test $ac_cv_prog_cc_g = yes; then
4350 if test "$GCC" = yes; then
4356 if test "$GCC" = yes; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4363 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4364 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4367 ac_cv_prog_cc_c89=no
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 #include <sys/types.h>
4374 #include <sys/stat.h>
4375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4376 struct buf { int x; };
4377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4378 static char *e (p, i)
4384 static char *f (char * (*g) (char **, int), char **p, ...)
4389 s = g (p, va_arg (v,int));
4394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4395 function prototypes and stuff, but not '\xHH' hex character constants.
4396 These don't provoke an error unfortunately, instead are silently treated
4397 as 'x'. The following induces an error, until -std is added to get
4398 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4399 array size at least. It's necessary to write '\x00'==0 to get something
4400 that's true only with -std. */
4401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4403 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4404 inside strings and character constants. */
4406 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4408 int test (int i, double x);
4409 struct s1 {int (*f) (int a);};
4410 struct s2 {int (*f) (double a);};
4411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4417 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4422 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4423 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4425 CC="$ac_save_CC $ac_arg"
4426 if ac_fn_c_try_compile "$LINENO"; then :
4427 ac_cv_prog_cc_c89=$ac_arg
4429 rm -f core conftest.err conftest.$ac_objext
4430 test "x$ac_cv_prog_cc_c89" != "xno" && break
4432 rm -f conftest.$ac_ext
4437 case "x$ac_cv_prog_cc_c89" in
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4440 $as_echo "none needed" >&6; } ;;
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4443 $as_echo "unsupported" >&6; } ;;
4445 CC="$CC $ac_cv_prog_cc_c89"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4447 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4449 if test "x$ac_cv_prog_cc_c89" != xno; then :
4454 ac_cpp='$CPP $CPPFLAGS'
4455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4460 ac_cpp='$CXXCPP $CPPFLAGS'
4461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4464 if test -z "$CXX"; then
4465 if test -n "$CCC"; then
4468 if test -n "$ac_tool_prefix"; then
4469 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if test "${ac_cv_prog_CXX+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -n "$CXX"; then
4479 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4488 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 if test -n "$CXX"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4501 $as_echo "$CXX" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 test -n "$CXX" && break
4511 if test -z "$CXX"; then
4513 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4515 # Extract the first word of "$ac_prog", so it can be a program name with args.
4516 set dummy $ac_prog; ac_word=$2
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4522 if test -n "$ac_ct_CXX"; then
4523 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4532 ac_cv_prog_ac_ct_CXX="$ac_prog"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4543 if test -n "$ac_ct_CXX"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4545 $as_echo "$ac_ct_CXX" >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4552 test -n "$ac_ct_CXX" && break
4555 if test "x$ac_ct_CXX" = x; then
4558 case $cross_compiling:$ac_tool_warned in
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4562 ac_tool_warned=yes ;;
4570 # Provide some information about the compiler.
4571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4574 for ac_option in --version -v -V -qversion; do
4575 { { ac_try="$ac_compiler $ac_option >&5"
4577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4578 *) ac_try_echo
=$ac_try;;
4580 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4581 $as_echo "$ac_try_echo"; } >&5
4582 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4584 if test -s conftest.err
; then
4586 ... rest of stderr output deleted ...
4587 10q' conftest.err
>conftest.er1
4588 cat conftest.er1
>&5
4589 rm -f conftest.er1 conftest.err
4591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592 test $ac_status = 0; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4596 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4597 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4614 if ac_fn_cxx_try_compile
"$LINENO"; then :
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4624 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4625 if test $ac_compiler_gnu = yes; then
4630 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4631 ac_save_CXXFLAGS
=$CXXFLAGS
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4633 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4634 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4635 $as_echo_n "(cached) " >&6
4637 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4638 ac_cxx_werror_flag
=yes
4641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4652 if ac_fn_cxx_try_compile
"$LINENO"; then :
4653 ac_cv_prog_cxx_g
=yes
4656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4667 if ac_fn_cxx_try_compile
"$LINENO"; then :
4670 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4683 if ac_fn_cxx_try_compile
"$LINENO"; then :
4684 ac_cv_prog_cxx_g
=yes
4686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4691 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4694 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4695 if test "$ac_test_CXXFLAGS" = set; then
4696 CXXFLAGS
=$ac_save_CXXFLAGS
4697 elif test $ac_cv_prog_cxx_g = yes; then
4698 if test "$GXX" = yes; then
4704 if test "$GXX" = yes; then
4711 ac_cpp
='$CPP $CPPFLAGS'
4712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4717 # We must set the default linker to the linker used by gcc for the correct
4718 # operation of libtool. If LD is not defined and we are using gcc, try to
4719 # set the LD default to the ld used by gcc.
4720 if test -z "$LD"; then
4721 if test "$GCC" = yes; then
4724 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4726 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4728 case $gcc_prog_ld in
4729 # Accept absolute paths.
4730 [\\/]* |
[A-Za-z
]:[\\/]*)
4731 LD
="$gcc_prog_ld" ;;
4739 if test -n "$ac_tool_prefix"; then
4740 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4741 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743 $as_echo_n "checking for $ac_word... " >&6; }
4744 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -n "$GNATBIND"; then
4748 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4754 test -z "$as_dir" && as_dir
=.
4755 for ac_exec_ext
in '' $ac_executable_extensions; do
4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 GNATBIND
=$ac_cv_prog_GNATBIND
4768 if test -n "$GNATBIND"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4770 $as_echo "$GNATBIND" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4778 if test -z "$ac_cv_prog_GNATBIND"; then
4779 ac_ct_GNATBIND
=$GNATBIND
4780 # Extract the first word of "gnatbind", so it can be a program name with args.
4781 set dummy gnatbind
; ac_word
=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4787 if test -n "$ac_ct_GNATBIND"; then
4788 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir
=.
4795 for ac_exec_ext
in '' $ac_executable_extensions; do
4796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4797 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4808 if test -n "$ac_ct_GNATBIND"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4810 $as_echo "$ac_ct_GNATBIND" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4816 if test "x$ac_ct_GNATBIND" = x
; then
4819 case $cross_compiling:$ac_tool_warned in
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4823 ac_tool_warned
=yes ;;
4825 GNATBIND
=$ac_ct_GNATBIND
4828 GNATBIND
="$ac_cv_prog_GNATBIND"
4831 if test -n "$ac_tool_prefix"; then
4832 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4833 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$GNATMAKE"; then
4840 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 GNATMAKE
=$ac_cv_prog_GNATMAKE
4860 if test -n "$GNATMAKE"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4862 $as_echo "$GNATMAKE" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4870 if test -z "$ac_cv_prog_GNATMAKE"; then
4871 ac_ct_GNATMAKE
=$GNATMAKE
4872 # Extract the first word of "gnatmake", so it can be a program name with args.
4873 set dummy gnatmake
; ac_word
=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$ac_ct_GNATMAKE"; then
4880 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4889 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4900 if test -n "$ac_ct_GNATMAKE"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4902 $as_echo "$ac_ct_GNATMAKE" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4908 if test "x$ac_ct_GNATMAKE" = x
; then
4911 case $cross_compiling:$ac_tool_warned in
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4915 ac_tool_warned
=yes ;;
4917 GNATMAKE
=$ac_ct_GNATMAKE
4920 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4924 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4925 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4926 $as_echo_n "(cached) " >&6
4928 cat >conftest.adb
<<EOF
4929 procedure conftest is begin null; end conftest;
4931 acx_cv_cc_gcc_supports_ada
=no
4932 # There is a bug in old released versions of GCC which causes the
4933 # driver to exit successfully when the appropriate language module
4934 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4935 # Therefore we must check for the error message as well as an
4936 # unsuccessful exit.
4937 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4938 # given a .adb file, but produce no object file. So we must check
4939 # if an object file was really produced to guard against this.
4940 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4941 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4942 acx_cv_cc_gcc_supports_ada
=yes
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4947 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4949 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4956 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4957 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4958 $as_echo_n "(cached) " >&6
4962 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4963 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4964 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4967 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4970 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4971 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4974 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
4981 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
4982 do_compare
="$gcc_cv_prog_cmp_skip"
4986 # Check whether --enable-bootstrap was given.
4987 if test "${enable_bootstrap+set}" = set; then :
4988 enableval
=$enable_bootstrap;
4990 enable_bootstrap
=default
4994 # Issue errors and warnings for invalid/strange bootstrap combinations.
4995 case "$configdirs" in
4996 *gcc
*) have_compiler
=yes ;;
4997 *) have_compiler
=no
;;
5000 case "$have_compiler:$host:$target:$enable_bootstrap" in
5003 # Default behavior. Enable bootstrap if we have a compiler
5004 # and we are in a native configuration.
5005 yes:$build:$build:default
)
5006 enable_bootstrap
=yes ;;
5009 enable_bootstrap
=no
;;
5011 # We have a compiler and we are in a native configuration, bootstrap is ok
5012 yes:$build:$build:yes)
5015 # Other configurations, but we have a compiler. Assume the user knows
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5019 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5022 # No compiler: if they passed --enable-bootstrap explicitly, fail
5024 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5026 # Fail if wrong command line
5028 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5032 # See if we are building gcc with C++.
5033 # Check whether --enable-build-with-cxx was given.
5034 if test "${enable_build_with_cxx+set}" = set; then :
5035 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5037 ENABLE_BUILD_WITH_CXX
=no
5041 # Build stage1 with C and build stages 2 and 3 with C++.
5042 # Check whether --enable-build-poststage1-with-cxx was given.
5043 if test "${enable_build_poststage1_with_cxx+set}" = set; then :
5044 enableval
=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=$enableval
5046 ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=yes
5050 # Used for setting $lt_cv_objdir
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5052 $as_echo_n "checking for objdir... " >&6; }
5053 if test "${lt_cv_objdir+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 rm -f .libs
2>/dev
/null
5057 mkdir .libs
2>/dev
/null
5058 if test -d .libs
; then
5061 # MS-DOS does not allow filenames that begin with a dot.
5064 rmdir .libs
2>/dev
/null
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5067 $as_echo "$lt_cv_objdir" >&6; }
5068 objdir
=$lt_cv_objdir
5074 cat >>confdefs.h
<<_ACEOF
5075 #define LT_OBJDIR "$lt_cv_objdir/"
5080 # Check for GMP, MPFR and MPC
5081 gmplibs
="-lmpc -lmpfr -lgmp"
5085 # Specify a location for mpc
5086 # check for this first so it ends up on the link line before mpfr.
5088 # Check whether --with-mpc was given.
5089 if test "${with_mpc+set}" = set; then :
5094 # Check whether --with-mpc-include was given.
5095 if test "${with_mpc_include+set}" = set; then :
5096 withval
=$with_mpc_include;
5100 # Check whether --with-mpc-lib was given.
5101 if test "${with_mpc_lib+set}" = set; then :
5102 withval
=$with_mpc_lib;
5106 if test "x$with_mpc" != x
; then
5107 gmplibs
="-L$with_mpc/lib $gmplibs"
5108 gmpinc
="-I$with_mpc/include $gmpinc"
5110 if test "x$with_mpc_include" != x
; then
5111 gmpinc
="-I$with_mpc_include $gmpinc"
5113 if test "x$with_mpc_lib" != x
; then
5114 gmplibs
="-L$with_mpc_lib $gmplibs"
5116 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5117 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5118 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5119 # Do not test the mpc version. Assume that it is sufficient, since
5120 # it is in the source tree, and the library has not been built yet
5121 # but it would be included on the link line in the version check below
5122 # hence making the test fail.
5126 # Specify a location for mpfr
5127 # check for this first so it ends up on the link line before gmp.
5129 # Check whether --with-mpfr-dir was given.
5130 if test "${with_mpfr_dir+set}" = set; then :
5131 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5132 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5137 # Check whether --with-mpfr was given.
5138 if test "${with_mpfr+set}" = set; then :
5143 # Check whether --with-mpfr-include was given.
5144 if test "${with_mpfr_include+set}" = set; then :
5145 withval
=$with_mpfr_include;
5149 # Check whether --with-mpfr-lib was given.
5150 if test "${with_mpfr_lib+set}" = set; then :
5151 withval
=$with_mpfr_lib;
5155 if test "x$with_mpfr" != x
; then
5156 gmplibs
="-L$with_mpfr/lib $gmplibs"
5157 gmpinc
="-I$with_mpfr/include $gmpinc"
5159 if test "x$with_mpfr_include" != x
; then
5160 gmpinc
="-I$with_mpfr_include $gmpinc"
5162 if test "x$with_mpfr_lib" != x
; then
5163 gmplibs
="-L$with_mpfr_lib $gmplibs"
5165 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5166 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5167 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5168 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5169 # Do not test the mpfr version. Assume that it is sufficient, since
5170 # it is in the source tree, and the library has not been built yet
5171 # but it would be included on the link line in the version check below
5172 # hence making the test fail.
5176 # Specify a location for gmp
5178 # Check whether --with-gmp-dir was given.
5179 if test "${with_gmp_dir+set}" = set; then :
5180 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5181 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5186 # Check whether --with-gmp was given.
5187 if test "${with_gmp+set}" = set; then :
5192 # Check whether --with-gmp-include was given.
5193 if test "${with_gmp_include+set}" = set; then :
5194 withval
=$with_gmp_include;
5198 # Check whether --with-gmp-lib was given.
5199 if test "${with_gmp_lib+set}" = set; then :
5200 withval
=$with_gmp_lib;
5205 if test "x$with_gmp" != x
; then
5206 gmplibs
="-L$with_gmp/lib $gmplibs"
5207 gmpinc
="-I$with_gmp/include $gmpinc"
5209 if test "x$with_gmp_include" != x
; then
5210 gmpinc
="-I$with_gmp_include $gmpinc"
5212 if test "x$with_gmp_lib" != x
; then
5213 gmplibs
="-L$with_gmp_lib $gmplibs"
5215 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5216 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5217 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5218 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5219 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5220 # Do not test the gmp version. Assume that it is sufficient, since
5221 # it is in the source tree, and the library has not been built yet
5222 # but it would be included on the link line in the version check below
5223 # hence making the test fail.
5227 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5229 saved_CFLAGS
="$CFLAGS"
5230 CFLAGS
="$CFLAGS $gmpinc"
5231 # Check for the recommended and required versions of GMP.
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5233 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5242 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5243 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5244 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5252 if ac_fn_c_try_compile
"$LINENO"; then :
5253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5260 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5261 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5262 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5270 if ac_fn_c_try_compile
"$LINENO"; then :
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5272 $as_echo "yes" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5275 $as_echo "buggy but acceptable" >&6; }
5277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }; have_gmp
=no
5282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5284 # If we have GMP, check the MPFR version.
5285 if test x
"$have_gmp" = xyes
; then
5286 # Check for the recommended and required versions of MPFR.
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5288 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5297 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5305 if ac_fn_c_try_compile
"$LINENO"; then :
5306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5314 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5322 if ac_fn_c_try_compile
"$LINENO"; then :
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5324 $as_echo "yes" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5327 $as_echo "buggy but acceptable" >&6; }
5329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }; have_gmp
=no
5334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5337 # Check for the MPC header version.
5338 if test x
"$have_gmp" = xyes
; then
5339 # Check for the recommended and required versions of MPC.
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5341 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5349 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5357 if ac_fn_c_try_compile
"$LINENO"; then :
5358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5365 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5373 if ac_fn_c_try_compile
"$LINENO"; then :
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5375 $as_echo "yes" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5378 $as_echo "buggy but acceptable" >&6; }
5380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }; have_gmp
=no
5385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5388 # Now check the MPFR library.
5389 if test x
"$have_gmp" = xyes
; then
5391 LIBS
="$LIBS $gmplibs"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5393 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5407 mpfr_atan2 (n, n, x, GMP_RNDN);
5408 mpfr_erfc (n, x, GMP_RNDN);
5409 mpfr_subnormalize (x, t, GMP_RNDN);
5413 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5414 mpc_cosh (c, c, MPC_RNDNN);
5415 mpc_pow (c, c, c, MPC_RNDNN);
5416 mpc_acosh (c, c, MPC_RNDNN);
5423 if ac_fn_c_try_link
"$LINENO"; then :
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5425 $as_echo "yes" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }; have_gmp
=no
5430 rm -f core conftest.err conftest.
$ac_objext \
5431 conftest
$ac_exeext conftest.
$ac_ext
5435 CFLAGS
="$saved_CFLAGS"
5437 # The library versions listed in the error message below should match
5438 # the HARD-minimums enforced above.
5439 if test x
$have_gmp != xyes
; then
5440 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5441 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5442 their locations. Source code for these libraries can be found at
5443 their respective hosting sites as well as at
5444 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5445 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5446 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5447 make sure that you have installed both the libraries and the header
5448 files. They may be located in separate packages." "$LINENO" 5
5452 # Flags needed for both GMP, MPFR and/or MPC.
5459 # Allow host libstdc++ to be specified for static linking with PPL.
5461 # Check whether --with-host-libstdcxx was given.
5462 if test "${with_host_libstdcxx+set}" = set; then :
5463 withval
=$with_host_libstdcxx;
5467 case $with_host_libstdcxx in
5469 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5473 # Linker flags to use for stage1 or when not boostrapping.
5475 # Check whether --with-stage1-ldflags was given.
5476 if test "${with_stage1_ldflags+set}" = set; then :
5477 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5480 stage1_ldflags
=$withval
5488 # Libraries to use for stage1 or when not bootstrapping.
5490 # Check whether --with-stage1-libs was given.
5491 if test "${with_stage1_libs+set}" = set; then :
5492 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5495 stage1_libs
=$withval
5498 stage1_libs
=$with_host_libstdcxx
5503 # Libraries to use for stage2 and later builds. This defaults to the
5504 # argument passed to --with-host-libstdcxx.
5506 # Check whether --with-boot-libs was given.
5507 if test "${with_boot_libs+set}" = set; then :
5508 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5511 poststage1_libs
=$withval
5514 poststage1_libs
=$with_host_libstdcxx
5519 # Linker flags to use for stage2 and later builds.
5521 # Check whether --with-boot-ldflags was given.
5522 if test "${with_boot_ldflags+set}" = set; then :
5523 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5526 poststage1_ldflags
=$withval
5530 # In stages 2 and 3, default to linking libstdc++ and libgcc
5531 # statically. But if the user explicitly specified the libraries to
5532 # use, trust that they are doing what they want.
5533 if test "$poststage1_libs" = ""; then
5534 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5546 # Check whether --with-ppl was given.
5547 if test "${with_ppl+set}" = set; then :
5552 # Check whether --with-ppl-include was given.
5553 if test "${with_ppl_include+set}" = set; then :
5554 withval
=$with_ppl_include;
5558 # Check whether --with-ppl-lib was given.
5559 if test "${with_ppl_lib+set}" = set; then :
5560 withval
=$with_ppl_lib;
5564 # Check whether --enable-ppl-version-check was given.
5565 if test "${enable_ppl_version_check+set}" = set; then :
5566 enableval
=$enable_ppl_version_check;
5574 ppllibs
="-L$with_ppl/lib"
5575 pplinc
="-I$with_ppl/include $pplinc"
5576 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5579 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5584 if test x
"$with_ppl_include" != x
; then
5585 pplinc
="-I$with_ppl_include $pplinc"
5589 if test "x$with_ppl_lib" != x
; then
5590 ppllibs
="-L$with_ppl_lib"
5594 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5595 if test x
"$enable_watchdog" = xyes
; then
5598 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5599 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5600 enable_ppl_version_check
=no
5604 if test "x$with_ppl" != xno
; then
5605 if test "x$pwllib" = x
; then
5607 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5609 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5610 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 ac_check_lib_save_LIBS
=$LIBS
5615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5618 /* Override any GCC internal prototype to avoid an error.
5619 Use char because int might match the return type of a GCC
5620 builtin and then its argument prototype would still apply. */
5624 char PWL_handle_timeout ();
5628 return PWL_handle_timeout ();
5633 if ac_fn_c_try_link
"$LINENO"; then :
5634 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5636 ac_cv_lib_pwl_PWL_handle_timeout
=no
5638 rm -f core conftest.err conftest.
$ac_objext \
5639 conftest
$ac_exeext conftest.
$ac_ext
5640 LIBS
=$ac_check_lib_save_LIBS
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5643 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5644 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5651 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5653 if test "$enable_ppl_version_check" != no
; then
5654 saved_CFLAGS
="$CFLAGS"
5655 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5657 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5665 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5673 if ac_fn_c_try_compile
"$LINENO"; then :
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5675 $as_echo "yes" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5681 CFLAGS
="$saved_CFLAGS"
5685 # Flags needed for PPL
5694 # Check whether --with-cloog was given.
5695 if test "${with_cloog+set}" = set; then :
5696 withval
=$with_cloog;
5700 # Check whether --with-cloog-include was given.
5701 if test "${with_cloog_include+set}" = set; then :
5702 withval
=$with_cloog_include;
5706 # Check whether --with-cloog-lib was given.
5707 if test "${with_cloog_lib+set}" = set; then :
5708 withval
=$with_cloog_lib;
5712 # Check whether --enable-cloog-backend was given.
5713 if test "${enable_cloog_backend+set}" = set; then :
5714 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5716 elif test "x${enableval}" = "xppl"; then
5719 cloog_backend
=ppl-legacy
5722 cloog_backend
=ppl-legacy
5725 # Check whether --enable-cloog-version-check was given.
5726 if test "${enable_cloog_version_check+set}" = set; then :
5727 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5729 ENABLE_CLOOG_CHECK
=yes
5733 # Initialize clooglibs and clooginc.
5742 clooglibs
="-L$with_cloog/lib"
5743 clooginc
="-I$with_cloog/include"
5746 if test "x${with_cloog_include}" != x
; then
5747 clooginc
="-I$with_cloog_include"
5749 if test "x${with_cloog_lib}" != x
; then
5750 clooglibs
="-L$with_cloog_lib"
5757 if test "x$with_ppl" = "xno"; then
5761 if test "x${with_cloog}" = xno
; then
5762 graphite_requested
=no
5763 elif test "x${with_cloog}" != x \
5764 ||
test "x${with_cloog_include}" != x \
5765 ||
test "x${with_cloog_lib}" != x
; then
5766 graphite_requested
=yes
5768 graphite_requested
=no
5772 if test "${graphite_requested}" = yes; then
5773 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5777 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5778 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5779 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5780 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5782 if test "x$with_cloog" != "xno"; then
5786 _cloog_saved_CFLAGS
=$CFLAGS
5787 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5788 _cloog_saved_LDFLAGS
=$LDFLAGS
5789 _cloog_saved_LIBS
=$LIBS
5791 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5793 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5794 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5795 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5797 case $cloog_backend in
5799 CFLAGS
="${CFLAGS} ${pplinc}"
5800 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5802 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5803 if test "${gcc_cv_cloog_type+set}" = set; then :
5804 $as_echo_n "(cached) " >&6
5806 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5809 #include "cloog/cloog.h"
5813 #ifndef CLOOG_PPL_BACKEND
5820 if ac_fn_c_try_link
"$LINENO"; then :
5821 gcc_cv_cloog_type
="PPL Legacy"
5823 gcc_cv_cloog_type
=no
5825 rm -f core conftest.err conftest.
$ac_objext \
5826 conftest
$ac_exeext conftest.
$ac_ext
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5829 $as_echo "$gcc_cv_cloog_type" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5833 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5834 if test "${gcc_cv_cloog_type+set}" = set; then :
5835 $as_echo_n "(cached) " >&6
5837 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 #include "cloog/cloog.h"
5849 if ac_fn_c_try_link
"$LINENO"; then :
5850 gcc_cv_cloog_type
="ISL"
5852 gcc_cv_cloog_type
=no
5854 rm -f core conftest.err conftest.
$ac_objext \
5855 conftest
$ac_exeext conftest.
$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5858 $as_echo "$gcc_cv_cloog_type" >&6; }
5861 CFLAGS
="${CFLAGS} ${pplinc}"
5862 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5864 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5865 if test "${gcc_cv_cloog_type+set}" = set; then :
5866 $as_echo_n "(cached) " >&6
5868 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 #include "cloog/cloog.h"
5872 #include "cloog/ppl/cloog.h"
5881 if ac_fn_c_try_link
"$LINENO"; then :
5882 gcc_cv_cloog_type
="PPL"
5884 gcc_cv_cloog_type
=no
5886 rm -f core conftest.err conftest.
$ac_objext \
5887 conftest
$ac_exeext conftest.
$ac_ext
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5890 $as_echo "$gcc_cv_cloog_type" >&6; }
5893 gcc_cv_cloog_type
=""
5896 case $gcc_cv_cloog_type in
5898 clooginc
="${clooginc}"
5899 clooglibs
="${clooglibs} -lcloog"
5903 clooginc
="${clooginc} ${_cloogorginc}"
5904 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5908 clooginc
="${clooginc} ${_cloogorginc}"
5909 clooglibs
="${clooglibs} -lcloog-ppl"
5919 LIBS
=$_cloog_saved_LIBS
5920 CFLAGS
=$_cloog_saved_CFLAGS
5921 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5922 LDFLAGS
=$_cloog_saved_LDFLAGS
5928 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5929 _cloog_saved_CFLAGS
=$CFLAGS
5930 _cloog_saved_LDFLAGS
=$LDFLAGS
5932 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5933 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5935 if test "${cloog_org}" = yes ; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5937 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5938 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5942 /* end confdefs.h. */
5943 #include "cloog/cloog.h"
5947 #if CLOOG_VERSION_MAJOR != 0 \
5948 || CLOOG_VERSION_MINOR != 16 \
5949 || CLOOG_VERSION_REVISION < 1
5956 if ac_fn_c_try_compile
"$LINENO"; then :
5957 gcc_cv_cloog_ct_0_14_0
=yes
5959 gcc_cv_cloog_ct_0_14_0
=no
5961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5964 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5965 elif test "${cloog_org}" = no
; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5967 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5968 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5969 $as_echo_n "(cached) " >&6
5971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 #include "cloog/cloog.h"
5977 #if CLOOG_VERSION_MAJOR != 0 \
5978 || CLOOG_VERSION_MINOR != 15 \
5979 || CLOOG_VERSION_REVISION < 5
5986 if ac_fn_c_try_compile
"$LINENO"; then :
5987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5989 #include "cloog/cloog.h"
5993 #if CLOOG_VERSION_MAJOR != 0 \
5994 || CLOOG_VERSION_MINOR != 15 \
5995 || CLOOG_VERSION_REVISION < 9
6002 if ac_fn_c_try_compile
"$LINENO"; then :
6003 gcc_cv_cloog_ct_0_15_5
=yes
6005 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6009 gcc_cv_cloog_ct_0_15_5
=no
6011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6014 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6017 CFLAGS
=$_cloog_saved_CFLAGS
6018 LDFLAGS
=$_cloog_saved_LDFLAGS
6027 if test "x${with_cloog}" = xno
; then
6028 graphite_requested
=no
6029 elif test "x${with_cloog}" != x \
6030 ||
test "x${with_cloog_include}" != x \
6031 ||
test "x${with_cloog_lib}" != x
; then
6032 graphite_requested
=yes
6034 graphite_requested
=no
6039 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6040 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6041 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6046 if test "${graphite_requested}" = yes \
6047 && test "x${clooglibs}" = x \
6048 && test "x${clooginc}" = x
; then
6050 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6056 # Check for LTO support.
6057 # Check whether --enable-lto was given.
6058 if test "${enable_lto+set}" = set; then :
6059 enableval
=$enable_lto; enable_lto
=$enableval
6061 enable_lto
=yes; default_enable_lto
=yes
6070 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6071 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6072 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6080 if test $target_elf = yes; then :
6081 # ELF platforms build the lto-plugin always.
6082 build_lto_plugin
=yes
6085 if test x
"$default_enable_lto" = x
"yes" ; then
6087 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6088 # On other non-ELF platforms, LTO has yet to be validated.
6092 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6093 # It would also be nice to check the binutils support, but we don't
6094 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6095 # warn during gcc/ subconfigure; unless you're bootstrapping with
6096 # -flto it won't be needed until after installation anyway.
6098 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6099 *) if test x
"$enable_lto" = x
"yes"; then
6100 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6105 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6106 # Build it unless LTO was explicitly disabled.
6108 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6116 # By default, C is the only stage 1 language.
6117 stage1_languages
=,c
,
6119 # Target libraries that we bootstrap.
6120 bootstrap_target_libs
=,target-libgcc
,
6122 # Figure out what language subdirectories are present.
6123 # Look if the user specified --enable-languages="..."; if not, use
6124 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6126 # NB: embedded tabs in this IF block -- do not untabify
6127 if test -d ${srcdir}/gcc
; then
6128 if test x
"${enable_languages+set}" != xset
; then
6129 if test x
"${LANGUAGES+set}" = xset
; then
6130 enable_languages
="${LANGUAGES}"
6131 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6133 enable_languages
=all
6136 if test x
"${enable_languages}" = x ||
6137 test x
"${enable_languages}" = xyes
;
6139 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6143 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6145 # 'f95' is the old name for the 'fortran' language. We issue a warning
6146 # and make the substitution.
6147 case ,${enable_languages}, in
6149 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6150 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6154 # If bootstrapping, then using --enable-build-with-cxx or
6155 # --enable-build-poststage1-with-cxx requires enabling C++.
6156 case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
6159 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6160 enable_languages
="${enable_languages},c++"
6162 as_fn_error
"bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
6167 # First scan to see if an enabled language requires some other language.
6168 # We assume that a given config-lang.in will list all the language
6169 # front ends it requires, even if some are required indirectly.
6170 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6171 case ${lang_frag} in
6173 # The odd quoting in the next line works around
6174 # an apparent bug in bash 1.12 on linux.
6175 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6177 # From the config-lang.in, get $language, $lang_requires, and
6178 # $lang_requires_boot_languages.
6181 lang_requires_boot_languages
=
6183 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6184 case ,${enable_languages}, in
6188 echo " \`$other' language required by \`$language'; enabling" 1>&2
6189 enable_languages
="${enable_languages},${other}"
6193 for other
in ${lang_requires_boot_languages} ; do
6194 if test "$other" != "c"; then
6195 case ,${enable_stage1_languages}, in
6199 case ,${enable_languages}, in
6201 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6202 enable_stage1_languages
="$enable_stage1_languages,${other}"
6213 new_enable_languages
=,c
,
6215 # If LTO is enabled, add the LTO front end.
6216 extra_host_libiberty_configure_flags
=
6217 if test "$enable_lto" = "yes" ; then
6218 case ,${enable_languages}, in
6220 *) enable_languages
="${enable_languages},lto" ;;
6222 if test "${build_lto_plugin}" = "yes" ; then
6223 configdirs
="$configdirs lto-plugin"
6224 extra_host_libiberty_configure_flags
=--enable-shared
6229 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6230 potential_languages
=,c
,
6232 enabled_target_libs
=
6233 disabled_target_libs
=
6235 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6236 case ${lang_frag} in
6238 # The odd quoting in the next line works around
6239 # an apparent bug in bash 1.12 on linux.
6240 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6242 # From the config-lang.in, get $language, $target_libs,
6243 # $lang_dirs, $boot_language, and $build_by_default
6249 build_by_default
=yes
6251 if test x
${language} = x
; then
6252 echo "${lang_frag} doesn't set \$language." 1>&2
6256 if test "$language" = "c++"; then
6257 if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
6258 ||
test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
6263 case ,${enable_languages}, in
6265 # Language was explicitly selected; include it.
6269 # 'all' was selected, select it if it is a default language
6270 add_this_lang
=${build_by_default}
6277 # Disable languages that need other directories if these aren't available.
6278 for i
in $subdir_requires; do
6279 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6280 case ,${enable_languages}, in
6282 # Specifically requested language; tell them.
6283 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6287 add_this_lang
=unsupported
6292 # Disable Ada if no preexisting GNAT is available.
6293 case ,${enable_languages},:${language}:${have_gnat} in
6294 *,${language},*:ada
:no
)
6295 # Specifically requested language; tell them.
6296 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6300 add_this_lang
=unsupported
6304 # Disable a language that is unsupported by the target.
6305 case " $unsupported_languages " in
6307 add_this_lang
=unsupported
6311 case $add_this_lang in
6313 # Remove language-dependent dirs.
6314 disabled_target_libs
="$disabled_target_libs $target_libs"
6315 noconfigdirs
="$noconfigdirs $lang_dirs"
6318 # Remove language-dependent dirs; still show language as supported.
6319 disabled_target_libs
="$disabled_target_libs $target_libs"
6320 noconfigdirs
="$noconfigdirs $lang_dirs"
6321 potential_languages
="${potential_languages}${language},"
6324 new_enable_languages
="${new_enable_languages}${language},"
6325 potential_languages
="${potential_languages}${language},"
6326 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6327 enabled_target_libs
="$enabled_target_libs $target_libs"
6328 case "${boot_language}:,$enable_stage1_languages," in
6329 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6330 # Add to (comma-separated) list of stage 1 languages.
6331 case ",$stage1_languages," in
6332 *,$language,* |
,yes, |
,all
,) ;;
6333 *) stage1_languages
="${stage1_languages}${language}," ;;
6335 # We need to bootstrap any supporting libraries.
6336 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6345 # Add target libraries which are only needed for disabled languages
6347 if test -n "$disabled_target_libs"; then
6348 for dir
in $disabled_target_libs; do
6349 case " $enabled_target_libs " in
6351 *) noconfigdirs
="$noconfigdirs $dir" ;;
6356 # Check whether --enable-stage1-languages was given.
6357 if test "${enable_stage1_languages+set}" = set; then :
6358 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6360 # Set it to something that will have no effect in the loop below
6361 enable_stage1_languages
=c
;;
6363 enable_stage1_languages
=`echo $new_enable_languages | \
6364 sed -e "s/^,//" -e "s/,$//" ` ;;
6366 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6367 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6370 # Add "good" languages from enable_stage1_languages to stage1_languages,
6371 # while "bad" languages go in missing_languages. Leave no duplicates.
6372 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6373 case $potential_languages in
6375 case $stage1_languages in
6377 *) stage1_languages
="$stage1_languages$i," ;;
6380 case $missing_languages in
6382 *) missing_languages
="$missing_languages$i," ;;
6389 # Remove leading/trailing commas that were added for simplicity
6390 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6391 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6392 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6393 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6395 if test "x$missing_languages" != x
; then
6397 The following requested languages could not be built: ${missing_languages}
6398 Supported languages are: ${potential_languages}" "$LINENO" 5
6400 if test "x$new_enable_languages" != "x$enable_languages"; then
6401 echo The following languages will be built
: ${new_enable_languages}
6402 enable_languages
="$new_enable_languages"
6406 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6409 # Handle --disable-<component> generically.
6410 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6411 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6412 varname
=`echo $dirname | sed -e s/+/_/g`
6413 if eval test x\
${enable_${varname}} "=" xno
; then
6414 noconfigdirs
="$noconfigdirs $dir"
6418 # Check for Boehm's garbage collector
6419 # Check whether --enable-objc-gc was given.
6420 if test "${enable_objc_gc+set}" = set; then :
6421 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6422 *,objc
,*:*:yes:*target-boehm-gc
*)
6423 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6429 # Make sure we only build Boehm's garbage collector if required.
6430 case ,${enable_languages},:${enable_objc_gc} in
6432 # Keep target-boehm-gc if requested for Objective-C.
6435 # Otherwise remove target-boehm-gc depending on target-libjava.
6436 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6437 noconfigdirs
="$noconfigdirs target-boehm-gc"
6442 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6443 # $build_configdirs and $target_configdirs.
6444 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6447 for dir
in .
$skipdirs $noconfigdirs ; do
6448 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6449 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6450 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6451 if test -r $srcdir/$dirname/configure
; then
6452 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6455 notsupp
="$notsupp $dir"
6459 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6460 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6461 if test -r $srcdir/$dirname/configure
; then
6462 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6465 notsupp
="$notsupp $dir"
6469 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6470 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6471 if test -r $srcdir/$dirname/configure
; then
6472 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6475 notsupp
="$notsupp $dir"
6481 # Quietly strip out all directories which aren't configurable in this tree.
6482 # This relies on all configurable subdirectories being autoconfiscated, which
6484 build_configdirs_all
="$build_configdirs"
6486 for i
in ${build_configdirs_all} ; do
6487 j
=`echo $i | sed -e s/build-//g`
6488 if test -f ${srcdir}/$j/configure
; then
6489 build_configdirs
="${build_configdirs} $i"
6493 configdirs_all
="$configdirs"
6495 for i
in ${configdirs_all} ; do
6496 if test -f ${srcdir}/$i/configure
; then
6497 configdirs
="${configdirs} $i"
6501 target_configdirs_all
="$target_configdirs"
6503 for i
in ${target_configdirs_all} ; do
6504 j
=`echo $i | sed -e s/target-//g`
6505 if test -f ${srcdir}/$j/configure
; then
6506 target_configdirs
="${target_configdirs} $i"
6510 # Produce a warning message for the subdirs we can't configure.
6511 # This isn't especially interesting in the Cygnus tree, but in the individual
6512 # FSF releases, it's important to let people know when their machine isn't
6513 # supported by the one or two programs in a package.
6515 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6516 # If $appdirs is non-empty, at least one of those directories must still
6517 # be configured, or we error out. (E.g., if the gas release supports a
6518 # specified target in some subdirs but not the gas subdir, we shouldn't
6519 # pretend that all is well.)
6520 if test -n "$appdirs" ; then
6521 for dir
in $appdirs ; do
6522 if test -r $dir/Makefile.
in ; then
6523 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6527 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6533 if test -n "$appdirs" ; then
6534 echo "*** This configuration is not supported by this package." 1>&2
6538 # Okay, some application will build, or we don't care to check. Still
6539 # notify of subdirs not getting built.
6540 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6541 echo " ${notsupp}" 1>&2
6542 echo " (Any other directories should still work fine.)" 1>&2
6550 # To find our prefix, in gcc_cv_tool_prefix.
6552 # The user is always right.
6553 if test "${PATH_SEPARATOR+set}" != set; then
6554 echo "#! /bin/sh" >conf$$.sh
6555 echo "exit 0" >>conf$$.sh
6557 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6567 if test "x$exec_prefix" = xNONE
; then
6568 if test "x$prefix" = xNONE
; then
6569 gcc_cv_tool_prefix
=$ac_default_prefix
6571 gcc_cv_tool_prefix
=$prefix
6574 gcc_cv_tool_prefix
=$exec_prefix
6577 # If there is no compiler in the tree, use the PATH only. In any
6578 # case, if there is no compiler in the tree nobody should use
6579 # AS_FOR_TARGET and LD_FOR_TARGET.
6580 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6581 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6582 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6583 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6584 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6585 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6586 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6587 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6592 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6593 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6601 # Check whether --with-build-sysroot was given.
6602 if test "${with_build_sysroot+set}" = set; then :
6603 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6604 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6607 SYSROOT_CFLAGS_FOR_TARGET
=
6613 # Check whether --with-debug-prefix-map was given.
6614 if test "${with_debug_prefix_map+set}" = set; then :
6615 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6616 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6617 for debug_map
in $withval; do
6618 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6622 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6627 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6628 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6629 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6630 # We want to ensure that TARGET libraries (which we know are built with
6631 # gcc) are built with "-O2 -g", so include those options when setting
6632 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6633 if test "x$CFLAGS_FOR_TARGET" = x
; then
6634 CFLAGS_FOR_TARGET
=$CFLAGS
6637 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6640 *" -g "* |
*" -g3 "*) ;;
6641 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6646 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6647 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6648 case " $CXXFLAGS " in
6650 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6652 case " $CXXFLAGS " in
6653 *" -g "* |
*" -g3 "*) ;;
6654 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6661 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6662 # the named directory are copied to $(tooldir)/sys-include.
6663 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6664 if test x
${is_cross_compiler} = xno
; then
6665 echo 1>&2 '***' --with-headers is only supported when cross compiling
6668 if test x
"${with_headers}" != xyes
; then
6669 x
=${gcc_cv_tool_prefix}
6670 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6674 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6675 # the name directories are copied to $(tooldir)/lib. Multiple directories
6677 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6678 if test x
${is_cross_compiler} = xno
; then
6679 echo 1>&2 '***' --with-libs is only supported when cross compiling
6682 if test x
"${with_libs}" != xyes
; then
6683 # Copy the libraries in reverse order, so that files in the first named
6684 # library override files in subsequent libraries.
6685 x
=${gcc_cv_tool_prefix}
6686 for l
in ${with_libs}; do
6687 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6692 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6694 # This is done by determining whether or not the appropriate directory
6695 # is available, and by checking whether or not specific configurations
6696 # have requested that this magic not happen.
6698 # The command line options always override the explicit settings in
6699 # configure.in, and the settings in configure.in override this magic.
6701 # If the default for a toolchain is to use GNU as and ld, and you don't
6702 # want to do that, then you should use the --without-gnu-as and
6703 # --without-gnu-ld options for the configure script. Similarly, if
6704 # the default is to use the included zlib and you don't want to do that,
6705 # you should use the --with-system-zlib option for the configure script.
6707 if test x
${use_gnu_as} = x
&&
6708 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6710 extra_host_args
="$extra_host_args --with-gnu-as"
6713 if test x
${use_gnu_ld} = x
&&
6714 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6716 extra_host_args
="$extra_host_args --with-gnu-ld"
6719 if test x
${use_included_zlib} = x
&&
6720 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6723 with_system_zlib
=yes
6724 extra_host_args
="$extra_host_args --with-system-zlib"
6727 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6728 # can detect this case.
6730 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6732 extra_host_args
="$extra_host_args --with-newlib"
6735 # Handle ${copy_dirs}
6736 set fnord
${copy_dirs}
6738 while test $# != 0 ; do
6739 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6742 echo Copying
$1 to
$2
6744 # Use the install script to create the directory and all required
6745 # parent directories.
6746 if test -d $2 ; then
6750 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6753 # Copy the directory, assuming we have tar.
6754 # FIXME: Should we use B in the second tar? Not all systems support it.
6755 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6757 # It is the responsibility of the user to correctly adjust all
6758 # symlinks. If somebody can figure out how to handle them correctly
6759 # here, feel free to add the code.
6766 # Determine a target-dependent exec_prefix that the installed
6767 # gcc will search in. Keep this list sorted by triplet, with
6768 # the *-*-osname triplets last.
6771 i
[34567]86-pc-msdosdjgpp*)
6772 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6777 md_exec_prefix
=/usr
/ccs
/bin
6781 extra_arflags_for_target
=
6782 extra_nmflags_for_target
=
6783 extra_ranlibflags_for_target
=
6784 target_makefile_frag
=/dev
/null
6787 target_makefile_frag
="config/mt-spu"
6790 target_makefile_frag
="config/mt-sde"
6792 mipsisa
*-*-elfoabi*)
6793 target_makefile_frag
="config/mt-mips-elfoabi"
6795 mips
*-*-*linux
* | mips
*-*-gnu*)
6796 target_makefile_frag
="config/mt-mips-gnu"
6798 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6799 target_makefile_frag
="config/mt-gnu"
6801 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6802 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6803 # commands to handle both 32-bit and 64-bit objects. These flags are
6804 # harmless if we're using GNU nm or ar.
6805 extra_arflags_for_target
=" -X32_64"
6806 extra_nmflags_for_target
=" -B -X32_64"
6809 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6810 extra_ranlibflags_for_target
=" -c"
6814 alphaieee_frag
=/dev
/null
6817 # This just makes sure to use the -mieee option to build target libs.
6818 # This should probably be set individually by each library.
6819 alphaieee_frag
="config/mt-alphaieee"
6823 # If --enable-target-optspace always use -Os instead of -O2 to build
6824 # the target libraries, similarly if it is not specified, use -Os
6825 # on selected platforms.
6826 ospace_frag
=/dev
/null
6827 case "${enable_target_optspace}:${target}" in
6829 ospace_frag
="config/mt-ospace"
6832 ospace_frag
="config/mt-d30v"
6834 :m32r-
* |
:d10v-
* |
:fr30-
*)
6835 ospace_frag
="config/mt-ospace"
6840 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6844 # Default to using --with-stabs for certain targets.
6845 if test x
${with_stabs} = x
; then
6849 mips
*-*-* | alpha
*-*-osf*)
6851 extra_host_args
="${extra_host_args} --with-stabs"
6856 # Some systems (e.g., one of the i386-aix systems the gas testers are
6857 # using) don't handle "\$" correctly, so don't use it here.
6858 tooldir
='${exec_prefix}'/${target_noncanonical}
6859 build_tooldir
=${tooldir}
6861 # Create a .gdbinit file which runs the one in srcdir
6862 # and tells GDB to look there for source files.
6864 if test -r ${srcdir}/.gdbinit
; then
6867 *) cat > .
/.gdbinit
<<EOF
6871 source ${srcdir}/.gdbinit
6877 # Make sure that the compiler is able to generate an executable. If it
6878 # can't, we are probably in trouble. We don't care whether we can run the
6879 # executable--we might be using a cross compiler--we only care whether it
6880 # can be created. At this point the main configure script has set CC.
6882 echo "int main () { return 0; }" > conftest.c
6883 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6884 if test $?
= 0 ; then
6885 if test -s conftest ||
test -s conftest.exe
; then
6891 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6892 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6899 # Decide which environment variable is used to find dynamic libraries.
6901 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6902 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6903 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6904 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6907 # On systems where the dynamic library environment variable is PATH,
6908 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6909 # built executables to PATH.
6910 if test "$RPATH_ENVVAR" = PATH
; then
6911 GCC_SHLIB_SUBDIR
=/shlib
6916 # Record target_configdirs and the configure arguments for target and
6917 # build configuration in Makefile.
6918 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6919 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6921 # If we are building libgomp, bootstrap it.
6922 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6923 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6926 # Determine whether gdb needs tk/tcl or not.
6927 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6928 # and in that case we want gdb to be built without tk. Ugh!
6929 # In fact I believe gdb is the *only* package directly dependent on tk,
6930 # so we should be able to put the 'maybe's in unconditionally and
6931 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6932 # 100% sure that that's safe though.
6934 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6935 case "$enable_gdbtk" in
6939 GDB_TK
="${gdb_tk}" ;;
6941 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6942 # distro. Eventually someone will fix this and move Insight, nee
6943 # gdbtk to a separate directory.
6944 if test -d ${srcdir}/gdb
/gdbtk
; then
6951 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6952 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6954 # Strip out unwanted targets.
6956 # While at that, we remove Makefiles if we were started for recursive
6957 # configuration, so that the top-level Makefile reconfigures them,
6958 # like we used to do when configure itself was recursive.
6960 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6961 # but now we're fixing up the Makefile ourselves with the additional
6962 # commands passed to AC_CONFIG_FILES. Use separate variables
6963 # extrasub-{build,host,target} not because there is any reason to split
6964 # the substitutions up that way, but only to remain below the limit of
6965 # 99 commands in a script, for HP-UX sed.
6966 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6968 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6969 yes:yes:*\ gold\
*:*,c
++,*) ;;
6970 yes:yes:*\ gold\
*:*)
6971 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6975 # Adjust the toplevel makefile according to whether bootstrap was selected.
6976 case $enable_bootstrap in
6978 bootstrap_suffix
=bootstrap
6979 BUILD_CONFIG
=bootstrap-debug
6982 bootstrap_suffix
=no-bootstrap
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6988 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6991 # Check whether --with-build-config was given.
6992 if test "${with_build_config+set}" = set; then :
6993 withval
=$with_build_config; case $with_build_config in
6994 yes) with_build_config
= ;;
6995 no
) with_build_config
= BUILD_CONFIG
= ;;
7000 if test "x${with_build_config}" != x
; then
7001 BUILD_CONFIG
=$with_build_config
7003 case $BUILD_CONFIG in
7005 if echo "int f (void) { return 0; }" > conftest.c
&&
7006 ${CC} -c conftest.c
&&
7007 mv conftest.o conftest.o.g0
&&
7008 ${CC} -c -g conftest.c
&&
7009 mv conftest.o conftest.o.g
&&
7010 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7015 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7020 $as_echo "$BUILD_CONFIG" >&6; }
7024 for module
in ${build_configdirs} ; do
7025 if test -z "${no_recursion}" \
7026 && test -f ${build_subdir}/${module}/Makefile
; then
7027 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7028 rm -f ${build_subdir}/${module}/Makefile
7030 extrasub_build
="$extrasub_build
7031 /^@if build-$module\$/d
7032 /^@endif build-$module\$/d
7033 /^@if build-$module-$bootstrap_suffix\$/d
7034 /^@endif build-$module-$bootstrap_suffix\$/d"
7037 for module
in ${configdirs} ; do
7038 if test -z "${no_recursion}"; then
7039 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7040 if test -f ${file}; then
7041 echo 1>&2 "*** removing ${file} to force reconfigure"
7046 extrasub_host
="$extrasub_host
7048 /^@endif $module\$/d
7049 /^@if $module-$bootstrap_suffix\$/d
7050 /^@endif $module-$bootstrap_suffix\$/d"
7053 for module
in ${target_configdirs} ; do
7054 if test -z "${no_recursion}" \
7055 && test -f ${target_subdir}/${module}/Makefile
; then
7056 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7057 rm -f ${target_subdir}/${module}/Makefile
7060 # We only bootstrap target libraries listed in bootstrap_target_libs.
7061 case $bootstrap_target_libs in
7062 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7063 *) target_bootstrap_suffix
=no-bootstrap
;;
7066 extrasub_target
="$extrasub_target
7067 /^@if target-$module\$/d
7068 /^@endif target-$module\$/d
7069 /^@if target-$module-$target_bootstrap_suffix\$/d
7070 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7073 # Do the final fixup along with target modules.
7074 extrasub_target
="$extrasub_target
7075 /^@if /,/^@endif /d"
7077 # Create the serialization dependencies. This uses a temporary file.
7079 # Check whether --enable-serial-configure was given.
7080 if test "${enable_serial_configure+set}" = set; then :
7081 enableval
=$enable_serial_configure;
7085 case ${enable_serial_configure} in
7087 enable_serial_build_configure
=yes
7088 enable_serial_host_configure
=yes
7089 enable_serial_target_configure
=yes
7093 # These force 'configure's to be done one at a time, to avoid problems
7094 # with contention over a shared config.cache.
7096 echo '# serdep.tmp' > serdep.tmp
7098 test "x${enable_serial_build_configure}" = xyes
&&
7099 for item
in ${build_configdirs} ; do
7102 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7107 test "x${enable_serial_host_configure}" = xyes
&&
7108 for item
in ${configdirs} ; do
7111 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7116 test "x${enable_serial_target_configure}" = xyes
&&
7117 for item
in ${target_configdirs} ; do
7120 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7124 serialization_dependencies
=serdep.tmp
7127 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7128 # target, nonopt, and variable assignments. These are the ones we
7129 # might not want to pass down to subconfigures. The exception being
7130 # --cache-file=/dev/null, which is used to turn off the use of cache
7131 # files altogether, and which should be passed on to subconfigures.
7132 # Also strip program-prefix, program-suffix, and program-transform-name,
7133 # so that we can pass down a consistent program-transform-name.
7138 eval "set -- $ac_configure_args"
7141 if test X
"$skip_next" = X
"yes"; then
7145 if test X
"$keep_next" = X
"yes"; then
7148 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7150 baseargs
="$baseargs '$ac_arg'"
7151 tbaseargs
="$tbaseargs '$ac_arg'"
7156 # Handle separated arguments. Based on the logic generated by
7159 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7160 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7161 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7162 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7176 --with-* |
--without-*)
7177 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7181 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7184 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7193 mpc | mpfr | gmp | ppl | cloog
)
7194 # If we're processing --with-$lib, --with-$lib-include or
7195 # --with-$lib-lib, for one of the libs above, and target is
7196 # different from host, don't pass the current argument to any
7197 # target library's configure.
7198 if test x
$is_cross_compiler = xyes
; then
7207 --cache-file=/dev
/null | \
7208 -cache-file=/dev
/null
)
7209 # Handled here to avoid the test to skip args below.
7210 baseargs
="$baseargs '$ac_arg'"
7211 tbaseargs
="$tbaseargs '$ac_arg'"
7212 # Assert: $separate_arg should always be no.
7213 keep_next
=$separate_arg
7229 -program-prefix* | \
7230 -program-suffix* | \
7231 -program-transform-name* )
7232 skip_next
=$separate_arg
7236 # An option. Add it.
7239 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7241 baseargs
="$baseargs '$ac_arg'"
7242 if test X
"$skip_targ" = Xno
; then
7243 tbaseargs
="$tbaseargs '$ac_arg'"
7245 keep_next
=$separate_arg
7248 # Either a variable assignment, or a nonopt (triplet). Don't
7249 # pass it down; let the Makefile handle this.
7254 # Remove the initial space we just introduced and, as these will be
7255 # expanded by make, quote '$'.
7256 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7258 # Add in --program-transform-name, after --program-prefix and
7259 # --program-suffix have been applied to it. Autoconf has already
7260 # doubled dollar signs and backslashes in program_transform_name; we want
7261 # the backslashes un-doubled, and then the entire thing wrapped in single
7262 # quotes, because this will be expanded first by make and then by the shell.
7263 # Also, because we want to override the logic in subdir configure scripts to
7264 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7265 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7266 ${program_transform_name}
7268 gcc_transform_name
=`cat conftestsed.out`
7269 rm -f conftestsed.out
7270 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7271 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7272 if test "$silent" = yes; then
7273 baseargs
="$baseargs --silent"
7274 tbaseargs
="$tbaseargs --silent"
7276 baseargs
="$baseargs --disable-option-checking"
7277 tbaseargs
="$tbaseargs --disable-option-checking"
7279 # Record and document user additions to sub configure arguments.
7284 # For the build-side libraries, we just need to pretend we're native,
7285 # and not use the same cache file. Multilibs are neither needed nor
7287 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7289 # For host modules, accept cache file option, or specification as blank.
7290 case "${cache_file}" in
7292 cache_file_option
="" ;;
7293 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7294 cache_file_option
="--cache-file=${cache_file}" ;;
7296 cache_file_option
="--cache-file=../${cache_file}" ;;
7299 # Host dirs don't like to share a cache file either, horribly enough.
7300 # This seems to be due to autoconf 2.5x stupidity.
7301 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7303 target_configargs
="$target_configargs ${tbaseargs}"
7305 # Passing a --with-cross-host argument lets the target libraries know
7306 # whether they are being built with a cross-compiler or being built
7307 # native. However, it would be better to use other mechanisms to make the
7308 # sorts of decisions they want to make on this basis. Please consider
7309 # this option to be deprecated. FIXME.
7310 if test x
${is_cross_compiler} = xyes
; then
7311 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7314 # Default to --enable-multilib.
7315 if test x
${enable_multilib} = x
; then
7316 target_configargs
="--enable-multilib ${target_configargs}"
7319 # Pass --with-newlib if appropriate. Note that target_configdirs has
7320 # changed from the earlier setting of with_newlib.
7321 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7322 target_configargs
="--with-newlib ${target_configargs}"
7325 # Different target subdirs use different values of certain variables
7326 # (notably CXX). Worse, multilibs use *lots* of different values.
7327 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7328 # it doesn't automatically accept command-line overrides of them.
7329 # This means it's not safe for target subdirs to share a cache file,
7330 # which is disgusting, but there you have it. Hopefully this can be
7331 # fixed in future. It's still worthwhile to use a cache file for each
7332 # directory. I think.
7334 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7335 # We need to pass --target, as newer autoconf's requires consistency
7336 # for target_alias and gcc doesn't manage it consistently.
7337 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7340 case " $target_configdirs " in
7342 case " $target_configargs " in
7343 *" --with-newlib "*)
7346 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'
7350 # If we're not building GCC, don't discard standard headers.
7351 if test -d ${srcdir}/gcc
; then
7352 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7354 if test "${build}" != "${host}"; then
7355 # On Canadian crosses, CC_FOR_TARGET will have already been set
7356 # by `configure', so we won't have an opportunity to add -Bgcc/
7357 # to it. This is right: we don't want to search that directory
7358 # for binaries, but we want the header files in there, so add
7360 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7362 # Someone might think of using the pre-installed headers on
7363 # Canadian crosses, in case the installed compiler is not fully
7364 # compatible with the compiler being built. In this case, it
7365 # would be better to flag an error than risking having
7366 # incompatible object files being constructed. We can't
7367 # guarantee that an error will be flagged, but let's hope the
7368 # compiler will do it, when presented with incompatible header
7373 case "${target}-${is_cross_compiler}" in
7374 i
[3456789]86-*-linux*-no)
7375 # Here host == target, so we don't need to build gcc,
7376 # so we don't want to discard standard headers.
7377 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7380 # If we're building newlib, use its generic headers last, but search
7381 # for any libc-related directories first (so make it the last -B
7383 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7385 # If we're building libgloss, find the startup file, simulator library
7386 # and linker script.
7387 case " $target_configdirs " in
7389 # Look for startup file, simulator library and maybe linker script.
7390 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7391 # Look for libnosys.a in case the target needs it.
7392 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7393 # Most targets have the linker script in the source directory.
7394 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7405 x86_64-
*mingw
* |
*-w64-mingw*)
7406 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7407 # however, use a symlink named 'mingw' in ${prefix} .
7408 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7411 # MinGW can't be handled as Cygwin above since it does not use newlib.
7412 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'
7416 # Allow the user to override the flags for
7417 # our build compiler if desired.
7418 if test x
"${build}" = x
"${host}" ; then
7419 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7420 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7421 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7424 # On Canadian crosses, we'll be searching the right directories for
7425 # the previously-installed cross compiler, so don't bother to add
7426 # flags for directories within the install tree of the compiler
7427 # being built; programs in there won't even run.
7428 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7429 # Search for pre-installed headers if nothing else fits.
7430 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7433 if test "x
${use_gnu_ld}" = x &&
7434 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7435 # Arrange for us to find uninstalled linker scripts.
7436 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7439 # Search for other target-specific linker scripts and such.
7442 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7446 # Makefile fragments.
7447 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7449 eval fragval=\$$frag
7450 if test $fragval != /dev/null; then
7451 eval $frag=${srcdir}/$fragval
7459 # Miscellanea: directories, flags, etc.
7468 # Build module lists & subconfigure args.
7472 # Host module lists & subconfigure args.
7477 # Target module lists & subconfigure args.
7499 # Generate default definitions for YACC, M4, LEX and other programs that run
7500 # on the build machine. These are used if the Makefile can't locate these
7501 # programs in objdir.
7502 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7504 for ac_prog in 'bison -y' byacc yacc
7506 # Extract the first word of "$ac_prog", so it can be a program name with args.
7507 set dummy $ac_prog; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7509 $as_echo_n "checking
for $ac_word...
" >&6; }
7510 if test "${ac_cv_prog_YACC+set}" = set; then :
7511 $as_echo_n "(cached
) " >&6
7513 if test -n "$YACC"; then
7514 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523 ac_cv_prog_YACC="$ac_prog"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7533 YACC=$ac_cv_prog_YACC
7534 if test -n "$YACC"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7536 $as_echo "$YACC" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7539 $as_echo "no
" >&6; }
7543 test -n "$YACC" && break
7545 test -n "$YACC" || YACC="$MISSING bison
-y"
7547 case " $build_configdirs " in
7548 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7551 for ac_prog in bison
7553 # Extract the first word of "$ac_prog", so it can be a program name with args.
7554 set dummy $ac_prog; ac_word=$2
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7556 $as_echo_n "checking
for $ac_word...
" >&6; }
7557 if test "${ac_cv_prog_BISON+set}" = set; then :
7558 $as_echo_n "(cached
) " >&6
7560 if test -n "$BISON"; then
7561 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir=.
7568 for ac_exec_ext in '' $ac_executable_extensions; do
7569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570 ac_cv_prog_BISON="$ac_prog"
7571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7580 BISON=$ac_cv_prog_BISON
7581 if test -n "$BISON"; then
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7583 $as_echo "$BISON" >&6; }
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7586 $as_echo "no
" >&6; }
7590 test -n "$BISON" && break
7592 test -n "$BISON" || BISON="$MISSING bison
"
7594 case " $build_configdirs " in
7595 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7598 for ac_prog in gm4 gnum4 m4
7600 # Extract the first word of "$ac_prog", so it can be a program name with args.
7601 set dummy $ac_prog; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7603 $as_echo_n "checking
for $ac_word...
" >&6; }
7604 if test "${ac_cv_prog_M4+set}" = set; then :
7605 $as_echo_n "(cached
) " >&6
7607 if test -n "$M4"; then
7608 ac_cv_prog_M4="$M4" # Let the user override the test.
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_prog_M4="$ac_prog"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7628 if test -n "$M4"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7630 $as_echo "$M4" >&6; }
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7633 $as_echo "no
" >&6; }
7637 test -n "$M4" && break
7639 test -n "$M4" || M4="$MISSING m4"
7641 case " $build_configdirs " in
7642 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7645 for ac_prog in flex lex
7647 # Extract the first word of "$ac_prog", so it can be a program name with args.
7648 set dummy $ac_prog; ac_word=$2
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7650 $as_echo_n "checking
for $ac_word...
" >&6; }
7651 if test "${ac_cv_prog_LEX+set}" = set; then :
7652 $as_echo_n "(cached
) " >&6
7654 if test -n "$LEX"; then
7655 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7661 test -z "$as_dir" && as_dir=.
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7664 ac_cv_prog_LEX="$ac_prog"
7665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7675 if test -n "$LEX"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7677 $as_echo "$LEX" >&6; }
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7680 $as_echo "no
" >&6; }
7684 test -n "$LEX" && break
7686 test -n "$LEX" || LEX="$MISSING flex
"
7688 case " $build_configdirs " in
7689 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7690 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7695 # Extract the first word of "$ac_prog", so it can be a program name with args.
7696 set dummy $ac_prog; ac_word=$2
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7698 $as_echo_n "checking
for $ac_word...
" >&6; }
7699 if test "${ac_cv_prog_FLEX+set}" = set; then :
7700 $as_echo_n "(cached
) " >&6
7702 if test -n "$FLEX"; then
7703 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709 test -z "$as_dir" && as_dir=.
7710 for ac_exec_ext in '' $ac_executable_extensions; do
7711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7712 ac_cv_prog_FLEX="$ac_prog"
7713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7722 FLEX=$ac_cv_prog_FLEX
7723 if test -n "$FLEX"; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7725 $as_echo "$FLEX" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7728 $as_echo "no
" >&6; }
7732 test -n "$FLEX" && break
7734 test -n "$FLEX" || FLEX="$MISSING flex
"
7736 case " $build_configdirs " in
7737 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7740 for ac_prog in makeinfo
7742 # Extract the first word of "$ac_prog", so it can be a program name with args.
7743 set dummy $ac_prog; ac_word=$2
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7745 $as_echo_n "checking
for $ac_word...
" >&6; }
7746 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7747 $as_echo_n "(cached
) " >&6
7749 if test -n "$MAKEINFO"; then
7750 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7756 test -z "$as_dir" && as_dir=.
7757 for ac_exec_ext in '' $ac_executable_extensions; do
7758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7759 ac_cv_prog_MAKEINFO="$ac_prog"
7760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7769 MAKEINFO=$ac_cv_prog_MAKEINFO
7770 if test -n "$MAKEINFO"; then
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7772 $as_echo "$MAKEINFO" >&6; }
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7775 $as_echo "no
" >&6; }
7779 test -n "$MAKEINFO" && break
7781 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7783 case " $build_configdirs " in
7784 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7787 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7788 # higher, else we use the "missing
" dummy.
7789 if ${MAKEINFO} --version \
7790 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7793 MAKEINFO="$MISSING makeinfo
"
7799 # FIXME: expect and dejagnu may become build tools?
7801 for ac_prog in expect
7803 # Extract the first word of "$ac_prog", so it can be a program name with args.
7804 set dummy $ac_prog; ac_word=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7806 $as_echo_n "checking
for $ac_word...
" >&6; }
7807 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7808 $as_echo_n "(cached
) " >&6
7810 if test -n "$EXPECT"; then
7811 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7820 ac_cv_prog_EXPECT="$ac_prog"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7830 EXPECT=$ac_cv_prog_EXPECT
7831 if test -n "$EXPECT"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7833 $as_echo "$EXPECT" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7836 $as_echo "no
" >&6; }
7840 test -n "$EXPECT" && break
7842 test -n "$EXPECT" || EXPECT="expect
"
7844 case " $configdirs " in
7846 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7850 for ac_prog in runtest
7852 # Extract the first word of "$ac_prog", so it can be a program name with args.
7853 set dummy $ac_prog; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7855 $as_echo_n "checking
for $ac_word...
" >&6; }
7856 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7857 $as_echo_n "(cached
) " >&6
7859 if test -n "$RUNTEST"; then
7860 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_RUNTEST="$ac_prog"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7879 RUNTEST=$ac_cv_prog_RUNTEST
7880 if test -n "$RUNTEST"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7882 $as_echo "$RUNTEST" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7885 $as_echo "no
" >&6; }
7889 test -n "$RUNTEST" && break
7891 test -n "$RUNTEST" || RUNTEST="runtest
"
7893 case " $configdirs " in
7895 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7902 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7903 ncn_target_tool_prefix=
7904 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7908 if test -n "$AR"; then
7910 elif test -n "$ac_cv_prog_AR"; then
7914 if test -n "$ac_cv_prog_AR"; then
7915 for ncn_progname in ar; do
7916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7917 set dummy ${ncn_progname}; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7919 $as_echo_n "checking
for $ac_word...
" >&6; }
7920 if test "${ac_cv_prog_AR+set}" = set; then :
7921 $as_echo_n "(cached
) " >&6
7923 if test -n "$AR"; then
7924 ac_cv_prog_AR="$AR" # Let the user override the test.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7933 ac_cv_prog_AR="${ncn_progname}"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7944 if test -n "$AR"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7946 $as_echo "$AR" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7949 $as_echo "no
" >&6; }
7956 for ncn_progname in ar; do
7957 if test -n "$ncn_tool_prefix"; then
7958 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7959 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7961 $as_echo_n "checking
for $ac_word...
" >&6; }
7962 if test "${ac_cv_prog_AR+set}" = set; then :
7963 $as_echo_n "(cached
) " >&6
7965 if test -n "$AR"; then
7966 ac_cv_prog_AR="$AR" # Let the user override the test.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7986 if test -n "$AR"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7988 $as_echo "$AR" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7991 $as_echo "no
" >&6; }
7996 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7997 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7998 set dummy ${ncn_progname}; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8000 $as_echo_n "checking
for $ac_word...
" >&6; }
8001 if test "${ac_cv_prog_AR+set}" = set; then :
8002 $as_echo_n "(cached
) " >&6
8004 if test -n "$AR"; then
8005 ac_cv_prog_AR="$AR" # Let the user override the test.
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8014 ac_cv_prog_AR="${ncn_progname}"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8025 if test -n "$AR"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8027 $as_echo "$AR" >&6; }
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8030 $as_echo "no
" >&6; }
8035 test -n "$ac_cv_prog_AR" && break
8038 if test -z "$ac_cv_prog_AR" ; then
8040 if test $build = $host ; then
8043 AR="${ncn_tool_prefix}$2"
8049 if test -n "$AS"; then
8051 elif test -n "$ac_cv_prog_AS"; then
8055 if test -n "$ac_cv_prog_AS"; then
8056 for ncn_progname in as; do
8057 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8058 set dummy ${ncn_progname}; ac_word=$2
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8060 $as_echo_n "checking
for $ac_word...
" >&6; }
8061 if test "${ac_cv_prog_AS+set}" = set; then :
8062 $as_echo_n "(cached
) " >&6
8064 if test -n "$AS"; then
8065 ac_cv_prog_AS="$AS" # Let the user override the test.
8067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 test -z "$as_dir" && as_dir=.
8072 for ac_exec_ext in '' $ac_executable_extensions; do
8073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8074 ac_cv_prog_AS="${ncn_progname}"
8075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8085 if test -n "$AS"; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8087 $as_echo "$AS" >&6; }
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8090 $as_echo "no
" >&6; }
8097 for ncn_progname in as; do
8098 if test -n "$ncn_tool_prefix"; then
8099 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8100 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8102 $as_echo_n "checking
for $ac_word...
" >&6; }
8103 if test "${ac_cv_prog_AS+set}" = set; then :
8104 $as_echo_n "(cached
) " >&6
8106 if test -n "$AS"; then
8107 ac_cv_prog_AS="$AS" # Let the user override the test.
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8116 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8127 if test -n "$AS"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8129 $as_echo "$AS" >&6; }
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8132 $as_echo "no
" >&6; }
8137 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8139 set dummy ${ncn_progname}; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8141 $as_echo_n "checking
for $ac_word...
" >&6; }
8142 if test "${ac_cv_prog_AS+set}" = set; then :
8143 $as_echo_n "(cached
) " >&6
8145 if test -n "$AS"; then
8146 ac_cv_prog_AS="$AS" # Let the user override the test.
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8155 ac_cv_prog_AS="${ncn_progname}"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8166 if test -n "$AS"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8168 $as_echo "$AS" >&6; }
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8171 $as_echo "no
" >&6; }
8176 test -n "$ac_cv_prog_AS" && break
8179 if test -z "$ac_cv_prog_AS" ; then
8181 if test $build = $host ; then
8184 AS="${ncn_tool_prefix}$2"
8190 if test -n "$DLLTOOL"; then
8191 ac_cv_prog_DLLTOOL=$DLLTOOL
8192 elif test -n "$ac_cv_prog_DLLTOOL"; then
8193 DLLTOOL=$ac_cv_prog_DLLTOOL
8196 if test -n "$ac_cv_prog_DLLTOOL"; then
8197 for ncn_progname in dlltool; do
8198 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8199 set dummy ${ncn_progname}; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8201 $as_echo_n "checking
for $ac_word...
" >&6; }
8202 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8203 $as_echo_n "(cached
) " >&6
8205 if test -n "$DLLTOOL"; then
8206 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8215 ac_cv_prog_DLLTOOL="${ncn_progname}"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8225 DLLTOOL=$ac_cv_prog_DLLTOOL
8226 if test -n "$DLLTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8228 $as_echo "$DLLTOOL" >&6; }
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8231 $as_echo "no
" >&6; }
8238 for ncn_progname in dlltool; do
8239 if test -n "$ncn_tool_prefix"; then
8240 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8241 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8243 $as_echo_n "checking
for $ac_word...
" >&6; }
8244 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8245 $as_echo_n "(cached
) " >&6
8247 if test -n "$DLLTOOL"; then
8248 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8257 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8267 DLLTOOL=$ac_cv_prog_DLLTOOL
8268 if test -n "$DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8270 $as_echo "$DLLTOOL" >&6; }
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8273 $as_echo "no
" >&6; }
8278 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8280 set dummy ${ncn_progname}; ac_word=$2
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8282 $as_echo_n "checking
for $ac_word...
" >&6; }
8283 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8284 $as_echo_n "(cached
) " >&6
8286 if test -n "$DLLTOOL"; then
8287 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 test -z "$as_dir" && as_dir=.
8294 for ac_exec_ext in '' $ac_executable_extensions; do
8295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8296 ac_cv_prog_DLLTOOL="${ncn_progname}"
8297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8306 DLLTOOL=$ac_cv_prog_DLLTOOL
8307 if test -n "$DLLTOOL"; then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8309 $as_echo "$DLLTOOL" >&6; }
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8312 $as_echo "no
" >&6; }
8317 test -n "$ac_cv_prog_DLLTOOL" && break
8320 if test -z "$ac_cv_prog_DLLTOOL" ; then
8322 if test $build = $host ; then
8325 DLLTOOL="${ncn_tool_prefix}$2"
8331 if test -n "$LD"; then
8333 elif test -n "$ac_cv_prog_LD"; then
8337 if test -n "$ac_cv_prog_LD"; then
8338 for ncn_progname in ld; do
8339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8340 set dummy ${ncn_progname}; ac_word=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8342 $as_echo_n "checking
for $ac_word...
" >&6; }
8343 if test "${ac_cv_prog_LD+set}" = set; then :
8344 $as_echo_n "(cached
) " >&6
8346 if test -n "$LD"; then
8347 ac_cv_prog_LD="$LD" # Let the user override the test.
8349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8353 test -z "$as_dir" && as_dir=.
8354 for ac_exec_ext in '' $ac_executable_extensions; do
8355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8356 ac_cv_prog_LD="${ncn_progname}"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8367 if test -n "$LD"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8369 $as_echo "$LD" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8372 $as_echo "no
" >&6; }
8379 for ncn_progname in ld; do
8380 if test -n "$ncn_tool_prefix"; then
8381 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8382 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8384 $as_echo_n "checking
for $ac_word...
" >&6; }
8385 if test "${ac_cv_prog_LD+set}" = set; then :
8386 $as_echo_n "(cached
) " >&6
8388 if test -n "$LD"; then
8389 ac_cv_prog_LD="$LD" # Let the user override the test.
8391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395 test -z "$as_dir" && as_dir=.
8396 for ac_exec_ext in '' $ac_executable_extensions; do
8397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8398 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8409 if test -n "$LD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8411 $as_echo "$LD" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8414 $as_echo "no
" >&6; }
8419 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8421 set dummy ${ncn_progname}; ac_word=$2
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8423 $as_echo_n "checking
for $ac_word...
" >&6; }
8424 if test "${ac_cv_prog_LD+set}" = set; then :
8425 $as_echo_n "(cached
) " >&6
8427 if test -n "$LD"; then
8428 ac_cv_prog_LD="$LD" # Let the user override the test.
8430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8434 test -z "$as_dir" && as_dir=.
8435 for ac_exec_ext in '' $ac_executable_extensions; do
8436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8437 ac_cv_prog_LD="${ncn_progname}"
8438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8448 if test -n "$LD"; then
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8450 $as_echo "$LD" >&6; }
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8453 $as_echo "no
" >&6; }
8458 test -n "$ac_cv_prog_LD" && break
8461 if test -z "$ac_cv_prog_LD" ; then
8463 if test $build = $host ; then
8466 LD="${ncn_tool_prefix}$2"
8472 if test -n "$LIPO"; then
8473 ac_cv_prog_LIPO=$LIPO
8474 elif test -n "$ac_cv_prog_LIPO"; then
8475 LIPO=$ac_cv_prog_LIPO
8478 if test -n "$ac_cv_prog_LIPO"; then
8479 for ncn_progname in lipo; do
8480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8481 set dummy ${ncn_progname}; ac_word=$2
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8483 $as_echo_n "checking
for $ac_word...
" >&6; }
8484 if test "${ac_cv_prog_LIPO+set}" = set; then :
8485 $as_echo_n "(cached
) " >&6
8487 if test -n "$LIPO"; then
8488 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8494 test -z "$as_dir" && as_dir=.
8495 for ac_exec_ext in '' $ac_executable_extensions; do
8496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8497 ac_cv_prog_LIPO="${ncn_progname}"
8498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8507 LIPO=$ac_cv_prog_LIPO
8508 if test -n "$LIPO"; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8510 $as_echo "$LIPO" >&6; }
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8513 $as_echo "no
" >&6; }
8520 for ncn_progname in lipo; do
8521 if test -n "$ncn_tool_prefix"; then
8522 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8523 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8525 $as_echo_n "checking
for $ac_word...
" >&6; }
8526 if test "${ac_cv_prog_LIPO+set}" = set; then :
8527 $as_echo_n "(cached
) " >&6
8529 if test -n "$LIPO"; then
8530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536 test -z "$as_dir" && as_dir=.
8537 for ac_exec_ext in '' $ac_executable_extensions; do
8538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8539 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8549 LIPO=$ac_cv_prog_LIPO
8550 if test -n "$LIPO"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8552 $as_echo "$LIPO" >&6; }
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8555 $as_echo "no
" >&6; }
8560 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8561 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8562 set dummy ${ncn_progname}; ac_word=$2
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8564 $as_echo_n "checking
for $ac_word...
" >&6; }
8565 if test "${ac_cv_prog_LIPO+set}" = set; then :
8566 $as_echo_n "(cached
) " >&6
8568 if test -n "$LIPO"; then
8569 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8575 test -z "$as_dir" && as_dir=.
8576 for ac_exec_ext in '' $ac_executable_extensions; do
8577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8578 ac_cv_prog_LIPO="${ncn_progname}"
8579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8588 LIPO=$ac_cv_prog_LIPO
8589 if test -n "$LIPO"; then
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8591 $as_echo "$LIPO" >&6; }
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8594 $as_echo "no
" >&6; }
8599 test -n "$ac_cv_prog_LIPO" && break
8602 if test -z "$ac_cv_prog_LIPO" ; then
8604 if test $build = $host ; then
8607 LIPO="${ncn_tool_prefix}$2"
8613 if test -n "$NM"; then
8615 elif test -n "$ac_cv_prog_NM"; then
8619 if test -n "$ac_cv_prog_NM"; then
8620 for ncn_progname in nm; do
8621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8622 set dummy ${ncn_progname}; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8624 $as_echo_n "checking
for $ac_word...
" >&6; }
8625 if test "${ac_cv_prog_NM+set}" = set; then :
8626 $as_echo_n "(cached
) " >&6
8628 if test -n "$NM"; then
8629 ac_cv_prog_NM="$NM" # Let the user override the test.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_prog_NM="${ncn_progname}"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8649 if test -n "$NM"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8651 $as_echo "$NM" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8654 $as_echo "no
" >&6; }
8661 for ncn_progname in nm; do
8662 if test -n "$ncn_tool_prefix"; then
8663 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8664 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8666 $as_echo_n "checking
for $ac_word...
" >&6; }
8667 if test "${ac_cv_prog_NM+set}" = set; then :
8668 $as_echo_n "(cached
) " >&6
8670 if test -n "$NM"; then
8671 ac_cv_prog_NM="$NM" # Let the user override the test.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8680 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8691 if test -n "$NM"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8693 $as_echo "$NM" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8696 $as_echo "no
" >&6; }
8701 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8703 set dummy ${ncn_progname}; ac_word=$2
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8705 $as_echo_n "checking
for $ac_word...
" >&6; }
8706 if test "${ac_cv_prog_NM+set}" = set; then :
8707 $as_echo_n "(cached
) " >&6
8709 if test -n "$NM"; then
8710 ac_cv_prog_NM="$NM" # Let the user override the test.
8712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8716 test -z "$as_dir" && as_dir=.
8717 for ac_exec_ext in '' $ac_executable_extensions; do
8718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8719 ac_cv_prog_NM="${ncn_progname}"
8720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8730 if test -n "$NM"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8732 $as_echo "$NM" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8735 $as_echo "no
" >&6; }
8740 test -n "$ac_cv_prog_NM" && break
8743 if test -z "$ac_cv_prog_NM" ; then
8745 if test $build = $host ; then
8748 NM="${ncn_tool_prefix}$2"
8754 if test -n "$RANLIB"; then
8755 ac_cv_prog_RANLIB=$RANLIB
8756 elif test -n "$ac_cv_prog_RANLIB"; then
8757 RANLIB=$ac_cv_prog_RANLIB
8760 if test -n "$ac_cv_prog_RANLIB"; then
8761 for ncn_progname in ranlib; do
8762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8763 set dummy ${ncn_progname}; ac_word=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8765 $as_echo_n "checking
for $ac_word...
" >&6; }
8766 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8767 $as_echo_n "(cached
) " >&6
8769 if test -n "$RANLIB"; then
8770 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776 test -z "$as_dir" && as_dir=.
8777 for ac_exec_ext in '' $ac_executable_extensions; do
8778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8779 ac_cv_prog_RANLIB="${ncn_progname}"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8789 RANLIB=$ac_cv_prog_RANLIB
8790 if test -n "$RANLIB"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8792 $as_echo "$RANLIB" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8795 $as_echo "no
" >&6; }
8802 for ncn_progname in ranlib; do
8803 if test -n "$ncn_tool_prefix"; then
8804 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8805 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8807 $as_echo_n "checking
for $ac_word...
" >&6; }
8808 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8809 $as_echo_n "(cached
) " >&6
8811 if test -n "$RANLIB"; then
8812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8831 RANLIB=$ac_cv_prog_RANLIB
8832 if test -n "$RANLIB"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8834 $as_echo "$RANLIB" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8837 $as_echo "no
" >&6; }
8842 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8844 set dummy ${ncn_progname}; ac_word=$2
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8846 $as_echo_n "checking
for $ac_word...
" >&6; }
8847 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8848 $as_echo_n "(cached
) " >&6
8850 if test -n "$RANLIB"; then
8851 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857 test -z "$as_dir" && as_dir=.
8858 for ac_exec_ext in '' $ac_executable_extensions; do
8859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8860 ac_cv_prog_RANLIB="${ncn_progname}"
8861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8870 RANLIB=$ac_cv_prog_RANLIB
8871 if test -n "$RANLIB"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8873 $as_echo "$RANLIB" >&6; }
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8876 $as_echo "no
" >&6; }
8881 test -n "$ac_cv_prog_RANLIB" && break
8884 if test -z "$ac_cv_prog_RANLIB" ; then
8890 if test -n "$STRIP"; then
8891 ac_cv_prog_STRIP=$STRIP
8892 elif test -n "$ac_cv_prog_STRIP"; then
8893 STRIP=$ac_cv_prog_STRIP
8896 if test -n "$ac_cv_prog_STRIP"; then
8897 for ncn_progname in strip; do
8898 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8899 set dummy ${ncn_progname}; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8901 $as_echo_n "checking
for $ac_word...
" >&6; }
8902 if test "${ac_cv_prog_STRIP+set}" = set; then :
8903 $as_echo_n "(cached
) " >&6
8905 if test -n "$STRIP"; then
8906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8915 ac_cv_prog_STRIP="${ncn_progname}"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8925 STRIP=$ac_cv_prog_STRIP
8926 if test -n "$STRIP"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8928 $as_echo "$STRIP" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8931 $as_echo "no
" >&6; }
8938 for ncn_progname in strip; do
8939 if test -n "$ncn_tool_prefix"; then
8940 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8941 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8943 $as_echo_n "checking
for $ac_word...
" >&6; }
8944 if test "${ac_cv_prog_STRIP+set}" = set; then :
8945 $as_echo_n "(cached
) " >&6
8947 if test -n "$STRIP"; then
8948 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 for ac_exec_ext in '' $ac_executable_extensions; do
8956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8967 STRIP=$ac_cv_prog_STRIP
8968 if test -n "$STRIP"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8970 $as_echo "$STRIP" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8973 $as_echo "no
" >&6; }
8978 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8979 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8980 set dummy ${ncn_progname}; ac_word=$2
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8982 $as_echo_n "checking
for $ac_word...
" >&6; }
8983 if test "${ac_cv_prog_STRIP+set}" = set; then :
8984 $as_echo_n "(cached
) " >&6
8986 if test -n "$STRIP"; then
8987 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993 test -z "$as_dir" && as_dir=.
8994 for ac_exec_ext in '' $ac_executable_extensions; do
8995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8996 ac_cv_prog_STRIP="${ncn_progname}"
8997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9006 STRIP=$ac_cv_prog_STRIP
9007 if test -n "$STRIP"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9009 $as_echo "$STRIP" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9012 $as_echo "no
" >&6; }
9017 test -n "$ac_cv_prog_STRIP" && break
9020 if test -z "$ac_cv_prog_STRIP" ; then
9026 if test -n "$WINDRES"; then
9027 ac_cv_prog_WINDRES=$WINDRES
9028 elif test -n "$ac_cv_prog_WINDRES"; then
9029 WINDRES=$ac_cv_prog_WINDRES
9032 if test -n "$ac_cv_prog_WINDRES"; then
9033 for ncn_progname in windres; do
9034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9035 set dummy ${ncn_progname}; ac_word=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9037 $as_echo_n "checking
for $ac_word...
" >&6; }
9038 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9039 $as_echo_n "(cached
) " >&6
9041 if test -n "$WINDRES"; then
9042 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9048 test -z "$as_dir" && as_dir=.
9049 for ac_exec_ext in '' $ac_executable_extensions; do
9050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9051 ac_cv_prog_WINDRES="${ncn_progname}"
9052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9061 WINDRES=$ac_cv_prog_WINDRES
9062 if test -n "$WINDRES"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9064 $as_echo "$WINDRES" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9067 $as_echo "no
" >&6; }
9074 for ncn_progname in windres; do
9075 if test -n "$ncn_tool_prefix"; then
9076 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9077 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9079 $as_echo_n "checking
for $ac_word...
" >&6; }
9080 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9081 $as_echo_n "(cached
) " >&6
9083 if test -n "$WINDRES"; then
9084 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9090 test -z "$as_dir" && as_dir=.
9091 for ac_exec_ext in '' $ac_executable_extensions; do
9092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9093 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9103 WINDRES=$ac_cv_prog_WINDRES
9104 if test -n "$WINDRES"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9106 $as_echo "$WINDRES" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9109 $as_echo "no
" >&6; }
9114 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9115 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9116 set dummy ${ncn_progname}; ac_word=$2
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9118 $as_echo_n "checking
for $ac_word...
" >&6; }
9119 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9120 $as_echo_n "(cached
) " >&6
9122 if test -n "$WINDRES"; then
9123 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9129 test -z "$as_dir" && as_dir=.
9130 for ac_exec_ext in '' $ac_executable_extensions; do
9131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9132 ac_cv_prog_WINDRES="${ncn_progname}"
9133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9142 WINDRES=$ac_cv_prog_WINDRES
9143 if test -n "$WINDRES"; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9145 $as_echo "$WINDRES" >&6; }
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9148 $as_echo "no
" >&6; }
9153 test -n "$ac_cv_prog_WINDRES" && break
9156 if test -z "$ac_cv_prog_WINDRES" ; then
9158 if test $build = $host ; then
9161 WINDRES="${ncn_tool_prefix}$2"
9167 if test -n "$WINDMC"; then
9168 ac_cv_prog_WINDMC=$WINDMC
9169 elif test -n "$ac_cv_prog_WINDMC"; then
9170 WINDMC=$ac_cv_prog_WINDMC
9173 if test -n "$ac_cv_prog_WINDMC"; then
9174 for ncn_progname in windmc; do
9175 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9176 set dummy ${ncn_progname}; ac_word=$2
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9178 $as_echo_n "checking
for $ac_word...
" >&6; }
9179 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9180 $as_echo_n "(cached
) " >&6
9182 if test -n "$WINDMC"; then
9183 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9189 test -z "$as_dir" && as_dir=.
9190 for ac_exec_ext in '' $ac_executable_extensions; do
9191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9192 ac_cv_prog_WINDMC="${ncn_progname}"
9193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9202 WINDMC=$ac_cv_prog_WINDMC
9203 if test -n "$WINDMC"; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9205 $as_echo "$WINDMC" >&6; }
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9208 $as_echo "no
" >&6; }
9215 for ncn_progname in windmc; do
9216 if test -n "$ncn_tool_prefix"; then
9217 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9218 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9220 $as_echo_n "checking
for $ac_word...
" >&6; }
9221 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9222 $as_echo_n "(cached
) " >&6
9224 if test -n "$WINDMC"; then
9225 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 test -z "$as_dir" && as_dir=.
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9234 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9244 WINDMC=$ac_cv_prog_WINDMC
9245 if test -n "$WINDMC"; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9247 $as_echo "$WINDMC" >&6; }
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9250 $as_echo "no
" >&6; }
9255 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9256 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9257 set dummy ${ncn_progname}; ac_word=$2
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9259 $as_echo_n "checking
for $ac_word...
" >&6; }
9260 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9261 $as_echo_n "(cached
) " >&6
9263 if test -n "$WINDMC"; then
9264 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9270 test -z "$as_dir" && as_dir=.
9271 for ac_exec_ext in '' $ac_executable_extensions; do
9272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9273 ac_cv_prog_WINDMC="${ncn_progname}"
9274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9283 WINDMC=$ac_cv_prog_WINDMC
9284 if test -n "$WINDMC"; then
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9286 $as_echo "$WINDMC" >&6; }
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9289 $as_echo "no
" >&6; }
9294 test -n "$ac_cv_prog_WINDMC" && break
9297 if test -z "$ac_cv_prog_WINDMC" ; then
9299 if test $build = $host ; then
9302 WINDMC="${ncn_tool_prefix}$2"
9308 if test -n "$OBJCOPY"; then
9309 ac_cv_prog_OBJCOPY=$OBJCOPY
9310 elif test -n "$ac_cv_prog_OBJCOPY"; then
9311 OBJCOPY=$ac_cv_prog_OBJCOPY
9314 if test -n "$ac_cv_prog_OBJCOPY"; then
9315 for ncn_progname in objcopy; do
9316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9317 set dummy ${ncn_progname}; ac_word=$2
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9319 $as_echo_n "checking
for $ac_word...
" >&6; }
9320 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9321 $as_echo_n "(cached
) " >&6
9323 if test -n "$OBJCOPY"; then
9324 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 test -z "$as_dir" && as_dir=.
9331 for ac_exec_ext in '' $ac_executable_extensions; do
9332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9333 ac_cv_prog_OBJCOPY="${ncn_progname}"
9334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9343 OBJCOPY=$ac_cv_prog_OBJCOPY
9344 if test -n "$OBJCOPY"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9346 $as_echo "$OBJCOPY" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9349 $as_echo "no
" >&6; }
9356 for ncn_progname in objcopy; do
9357 if test -n "$ncn_tool_prefix"; then
9358 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9359 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9361 $as_echo_n "checking
for $ac_word...
" >&6; }
9362 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9363 $as_echo_n "(cached
) " >&6
9365 if test -n "$OBJCOPY"; then
9366 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9372 test -z "$as_dir" && as_dir=.
9373 for ac_exec_ext in '' $ac_executable_extensions; do
9374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9375 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9385 OBJCOPY=$ac_cv_prog_OBJCOPY
9386 if test -n "$OBJCOPY"; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9388 $as_echo "$OBJCOPY" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9391 $as_echo "no
" >&6; }
9396 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9398 set dummy ${ncn_progname}; ac_word=$2
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9400 $as_echo_n "checking
for $ac_word...
" >&6; }
9401 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9402 $as_echo_n "(cached
) " >&6
9404 if test -n "$OBJCOPY"; then
9405 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9411 test -z "$as_dir" && as_dir=.
9412 for ac_exec_ext in '' $ac_executable_extensions; do
9413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414 ac_cv_prog_OBJCOPY="${ncn_progname}"
9415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9424 OBJCOPY=$ac_cv_prog_OBJCOPY
9425 if test -n "$OBJCOPY"; then
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9427 $as_echo "$OBJCOPY" >&6; }
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9430 $as_echo "no
" >&6; }
9435 test -n "$ac_cv_prog_OBJCOPY" && break
9438 if test -z "$ac_cv_prog_OBJCOPY" ; then
9440 if test $build = $host ; then
9443 OBJCOPY="${ncn_tool_prefix}$2"
9449 if test -n "$OBJDUMP"; then
9450 ac_cv_prog_OBJDUMP=$OBJDUMP
9451 elif test -n "$ac_cv_prog_OBJDUMP"; then
9452 OBJDUMP=$ac_cv_prog_OBJDUMP
9455 if test -n "$ac_cv_prog_OBJDUMP"; then
9456 for ncn_progname in objdump; do
9457 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9458 set dummy ${ncn_progname}; ac_word=$2
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9460 $as_echo_n "checking
for $ac_word...
" >&6; }
9461 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9462 $as_echo_n "(cached
) " >&6
9464 if test -n "$OBJDUMP"; then
9465 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9471 test -z "$as_dir" && as_dir=.
9472 for ac_exec_ext in '' $ac_executable_extensions; do
9473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9474 ac_cv_prog_OBJDUMP="${ncn_progname}"
9475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9484 OBJDUMP=$ac_cv_prog_OBJDUMP
9485 if test -n "$OBJDUMP"; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9487 $as_echo "$OBJDUMP" >&6; }
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9490 $as_echo "no
" >&6; }
9497 for ncn_progname in objdump; do
9498 if test -n "$ncn_tool_prefix"; then
9499 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9500 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9502 $as_echo_n "checking
for $ac_word...
" >&6; }
9503 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9504 $as_echo_n "(cached
) " >&6
9506 if test -n "$OBJDUMP"; then
9507 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9513 test -z "$as_dir" && as_dir=.
9514 for ac_exec_ext in '' $ac_executable_extensions; do
9515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9516 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9526 OBJDUMP=$ac_cv_prog_OBJDUMP
9527 if test -n "$OBJDUMP"; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9529 $as_echo "$OBJDUMP" >&6; }
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9532 $as_echo "no
" >&6; }
9537 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9539 set dummy ${ncn_progname}; ac_word=$2
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9541 $as_echo_n "checking
for $ac_word...
" >&6; }
9542 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9543 $as_echo_n "(cached
) " >&6
9545 if test -n "$OBJDUMP"; then
9546 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9552 test -z "$as_dir" && as_dir=.
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9555 ac_cv_prog_OBJDUMP="${ncn_progname}"
9556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9565 OBJDUMP=$ac_cv_prog_OBJDUMP
9566 if test -n "$OBJDUMP"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9568 $as_echo "$OBJDUMP" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9571 $as_echo "no
" >&6; }
9576 test -n "$ac_cv_prog_OBJDUMP" && break
9579 if test -z "$ac_cv_prog_OBJDUMP" ; then
9581 if test $build = $host ; then
9584 OBJDUMP="${ncn_tool_prefix}$2"
9595 # Check whether --with-build-time-tools was given.
9596 if test "${with_build_time_tools+set}" = set; then :
9597 withval=$with_build_time_tools; case x"$withval" in
9600 with_build_time_tools=
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9602 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9606 with_build_time_tools=
9612 if test -n "$CC_FOR_TARGET"; then
9613 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9614 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9615 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9618 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9619 for ncn_progname in cc gcc; do
9620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9621 set dummy ${ncn_progname}; ac_word=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9623 $as_echo_n "checking
for $ac_word...
" >&6; }
9624 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9625 $as_echo_n "(cached
) " >&6
9627 if test -n "$CC_FOR_TARGET"; then
9628 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9634 test -z "$as_dir" && as_dir=.
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9637 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9647 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9648 if test -n "$CC_FOR_TARGET"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9650 $as_echo "$CC_FOR_TARGET" >&6; }
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9653 $as_echo "no
" >&6; }
9660 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9661 for ncn_progname in cc gcc; do
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9663 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9664 if test -x $with_build_time_tools/${ncn_progname}; then
9665 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9667 $as_echo "yes" >&6; }
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9671 $as_echo "no
" >&6; }
9676 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9677 for ncn_progname in cc gcc; do
9678 if test -n "$ncn_target_tool_prefix"; then
9679 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9680 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9682 $as_echo_n "checking
for $ac_word...
" >&6; }
9683 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9684 $as_echo_n "(cached
) " >&6
9686 if test -n "$CC_FOR_TARGET"; then
9687 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9696 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9706 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9707 if test -n "$CC_FOR_TARGET"; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9709 $as_echo "$CC_FOR_TARGET" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9712 $as_echo "no
" >&6; }
9717 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9718 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9719 set dummy ${ncn_progname}; ac_word=$2
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9721 $as_echo_n "checking
for $ac_word...
" >&6; }
9722 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9723 $as_echo_n "(cached
) " >&6
9725 if test -n "$CC_FOR_TARGET"; then
9726 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9732 test -z "$as_dir" && as_dir=.
9733 for ac_exec_ext in '' $ac_executable_extensions; do
9734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9735 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9745 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9746 if test -n "$CC_FOR_TARGET"; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9748 $as_echo "$CC_FOR_TARGET" >&6; }
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9751 $as_echo "no
" >&6; }
9756 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9760 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9762 if test $build = $target ; then
9765 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9768 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9773 if test -n "$CXX_FOR_TARGET"; then
9774 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9775 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9776 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9779 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9780 for ncn_progname in c++ g++ cxx gxx; do
9781 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9782 set dummy ${ncn_progname}; ac_word=$2
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9784 $as_echo_n "checking
for $ac_word...
" >&6; }
9785 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9786 $as_echo_n "(cached
) " >&6
9788 if test -n "$CXX_FOR_TARGET"; then
9789 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9795 test -z "$as_dir" && as_dir=.
9796 for ac_exec_ext in '' $ac_executable_extensions; do
9797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9798 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9808 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9809 if test -n "$CXX_FOR_TARGET"; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9811 $as_echo "$CXX_FOR_TARGET" >&6; }
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9814 $as_echo "no
" >&6; }
9821 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9822 for ncn_progname in c++ g++ cxx gxx; do
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9824 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9825 if test -x $with_build_time_tools/${ncn_progname}; then
9826 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9828 $as_echo "yes" >&6; }
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9832 $as_echo "no
" >&6; }
9837 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9838 for ncn_progname in c++ g++ cxx gxx; do
9839 if test -n "$ncn_target_tool_prefix"; then
9840 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9841 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9843 $as_echo_n "checking
for $ac_word...
" >&6; }
9844 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9845 $as_echo_n "(cached
) " >&6
9847 if test -n "$CXX_FOR_TARGET"; then
9848 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9854 test -z "$as_dir" && as_dir=.
9855 for ac_exec_ext in '' $ac_executable_extensions; do
9856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9857 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9867 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9868 if test -n "$CXX_FOR_TARGET"; then
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9870 $as_echo "$CXX_FOR_TARGET" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9873 $as_echo "no
" >&6; }
9878 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9879 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9880 set dummy ${ncn_progname}; ac_word=$2
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9882 $as_echo_n "checking
for $ac_word...
" >&6; }
9883 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9884 $as_echo_n "(cached
) " >&6
9886 if test -n "$CXX_FOR_TARGET"; then
9887 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9893 test -z "$as_dir" && as_dir=.
9894 for ac_exec_ext in '' $ac_executable_extensions; do
9895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9896 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9906 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9907 if test -n "$CXX_FOR_TARGET"; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9909 $as_echo "$CXX_FOR_TARGET" >&6; }
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9912 $as_echo "no
" >&6; }
9917 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9921 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9922 set dummy c++ g++ cxx gxx
9923 if test $build = $target ; then
9926 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9929 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9934 if test -n "$GCC_FOR_TARGET"; then
9935 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9936 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9937 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9940 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9941 for ncn_progname in gcc; do
9942 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9943 set dummy ${ncn_progname}; ac_word=$2
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9945 $as_echo_n "checking
for $ac_word...
" >&6; }
9946 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9947 $as_echo_n "(cached
) " >&6
9949 if test -n "$GCC_FOR_TARGET"; then
9950 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9956 test -z "$as_dir" && as_dir=.
9957 for ac_exec_ext in '' $ac_executable_extensions; do
9958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9959 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9969 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9970 if test -n "$GCC_FOR_TARGET"; then
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9972 $as_echo "$GCC_FOR_TARGET" >&6; }
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9975 $as_echo "no
" >&6; }
9982 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9983 for ncn_progname in gcc; do
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9985 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9986 if test -x $with_build_time_tools/${ncn_progname}; then
9987 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9989 $as_echo "yes" >&6; }
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9993 $as_echo "no
" >&6; }
9998 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9999 for ncn_progname in gcc; do
10000 if test -n "$ncn_target_tool_prefix"; then
10001 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10002 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10004 $as_echo_n "checking
for $ac_word...
" >&6; }
10005 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10006 $as_echo_n "(cached
) " >&6
10008 if test -n "$GCC_FOR_TARGET"; then
10009 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10012 for as_dir in $PATH
10015 test -z "$as_dir" && as_dir=.
10016 for ac_exec_ext in '' $ac_executable_extensions; do
10017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10018 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10028 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10029 if test -n "$GCC_FOR_TARGET"; then
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10031 $as_echo "$GCC_FOR_TARGET" >&6; }
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10034 $as_echo "no
" >&6; }
10039 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10041 set dummy ${ncn_progname}; ac_word=$2
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10043 $as_echo_n "checking
for $ac_word...
" >&6; }
10044 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10045 $as_echo_n "(cached
) " >&6
10047 if test -n "$GCC_FOR_TARGET"; then
10048 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10051 for as_dir in $PATH
10054 test -z "$as_dir" && as_dir=.
10055 for ac_exec_ext in '' $ac_executable_extensions; do
10056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10067 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10068 if test -n "$GCC_FOR_TARGET"; then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10070 $as_echo "$GCC_FOR_TARGET" >&6; }
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10073 $as_echo "no
" >&6; }
10078 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10082 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10083 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10085 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10090 if test -n "$GCJ_FOR_TARGET"; then
10091 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10092 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10093 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10096 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10097 for ncn_progname in gcj; do
10098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10099 set dummy ${ncn_progname}; ac_word=$2
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10101 $as_echo_n "checking
for $ac_word...
" >&6; }
10102 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10103 $as_echo_n "(cached
) " >&6
10105 if test -n "$GCJ_FOR_TARGET"; then
10106 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 for as_dir in $PATH
10112 test -z "$as_dir" && as_dir=.
10113 for ac_exec_ext in '' $ac_executable_extensions; do
10114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10125 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10126 if test -n "$GCJ_FOR_TARGET"; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10128 $as_echo "$GCJ_FOR_TARGET" >&6; }
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10131 $as_echo "no
" >&6; }
10138 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10139 for ncn_progname in gcj; do
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10141 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10142 if test -x $with_build_time_tools/${ncn_progname}; then
10143 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10145 $as_echo "yes" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10149 $as_echo "no
" >&6; }
10154 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10155 for ncn_progname in gcj; do
10156 if test -n "$ncn_target_tool_prefix"; then
10157 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10158 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10160 $as_echo_n "checking
for $ac_word...
" >&6; }
10161 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10162 $as_echo_n "(cached
) " >&6
10164 if test -n "$GCJ_FOR_TARGET"; then
10165 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10168 for as_dir in $PATH
10171 test -z "$as_dir" && as_dir=.
10172 for ac_exec_ext in '' $ac_executable_extensions; do
10173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10174 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10184 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10185 if test -n "$GCJ_FOR_TARGET"; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10187 $as_echo "$GCJ_FOR_TARGET" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10190 $as_echo "no
" >&6; }
10195 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10197 set dummy ${ncn_progname}; ac_word=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10199 $as_echo_n "checking
for $ac_word...
" >&6; }
10200 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10201 $as_echo_n "(cached
) " >&6
10203 if test -n "$GCJ_FOR_TARGET"; then
10204 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10213 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10223 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10224 if test -n "$GCJ_FOR_TARGET"; then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10226 $as_echo "$GCJ_FOR_TARGET" >&6; }
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10229 $as_echo "no
" >&6; }
10234 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10238 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10240 if test $build = $target ; then
10241 GCJ_FOR_TARGET="$2"
10243 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10246 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10251 if test -n "$GFORTRAN_FOR_TARGET"; then
10252 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10253 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10254 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10257 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10258 for ncn_progname in gfortran; do
10259 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10260 set dummy ${ncn_progname}; ac_word=$2
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10262 $as_echo_n "checking
for $ac_word...
" >&6; }
10263 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10264 $as_echo_n "(cached
) " >&6
10266 if test -n "$GFORTRAN_FOR_TARGET"; then
10267 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10270 for as_dir in $PATH
10273 test -z "$as_dir" && as_dir=.
10274 for ac_exec_ext in '' $ac_executable_extensions; do
10275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10276 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10286 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10287 if test -n "$GFORTRAN_FOR_TARGET"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10289 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10292 $as_echo "no
" >&6; }
10299 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10300 for ncn_progname in gfortran; do
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10302 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10303 if test -x $with_build_time_tools/${ncn_progname}; then
10304 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10306 $as_echo "yes" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10310 $as_echo "no
" >&6; }
10315 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10316 for ncn_progname in gfortran; do
10317 if test -n "$ncn_target_tool_prefix"; then
10318 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10319 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10321 $as_echo_n "checking
for $ac_word...
" >&6; }
10322 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10323 $as_echo_n "(cached
) " >&6
10325 if test -n "$GFORTRAN_FOR_TARGET"; then
10326 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10329 for as_dir in $PATH
10332 test -z "$as_dir" && as_dir=.
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10335 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10345 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10346 if test -n "$GFORTRAN_FOR_TARGET"; then
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10348 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10351 $as_echo "no
" >&6; }
10356 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10358 set dummy ${ncn_progname}; ac_word=$2
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10360 $as_echo_n "checking
for $ac_word...
" >&6; }
10361 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10362 $as_echo_n "(cached
) " >&6
10364 if test -n "$GFORTRAN_FOR_TARGET"; then
10365 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10368 for as_dir in $PATH
10371 test -z "$as_dir" && as_dir=.
10372 for ac_exec_ext in '' $ac_executable_extensions; do
10373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10374 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10384 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10385 if test -n "$GFORTRAN_FOR_TARGET"; then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10387 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10390 $as_echo "no
" >&6; }
10395 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10399 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10401 if test $build = $target ; then
10402 GFORTRAN_FOR_TARGET="$2"
10404 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10407 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10412 if test -n "$GOC_FOR_TARGET"; then
10413 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10414 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10415 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10418 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10419 for ncn_progname in gccgo; do
10420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10421 set dummy ${ncn_progname}; ac_word=$2
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10423 $as_echo_n "checking
for $ac_word...
" >&6; }
10424 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10425 $as_echo_n "(cached
) " >&6
10427 if test -n "$GOC_FOR_TARGET"; then
10428 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10431 for as_dir in $PATH
10434 test -z "$as_dir" && as_dir=.
10435 for ac_exec_ext in '' $ac_executable_extensions; do
10436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10437 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10447 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10448 if test -n "$GOC_FOR_TARGET"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10450 $as_echo "$GOC_FOR_TARGET" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10453 $as_echo "no
" >&6; }
10460 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10461 for ncn_progname in gccgo; do
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10463 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10464 if test -x $with_build_time_tools/${ncn_progname}; then
10465 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10467 $as_echo "yes" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10471 $as_echo "no
" >&6; }
10476 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10477 for ncn_progname in gccgo; do
10478 if test -n "$ncn_target_tool_prefix"; then
10479 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10480 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10482 $as_echo_n "checking
for $ac_word...
" >&6; }
10483 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10484 $as_echo_n "(cached
) " >&6
10486 if test -n "$GOC_FOR_TARGET"; then
10487 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10493 test -z "$as_dir" && as_dir=.
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10496 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10506 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10507 if test -n "$GOC_FOR_TARGET"; then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10509 $as_echo "$GOC_FOR_TARGET" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10512 $as_echo "no
" >&6; }
10517 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10519 set dummy ${ncn_progname}; ac_word=$2
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10521 $as_echo_n "checking
for $ac_word...
" >&6; }
10522 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10523 $as_echo_n "(cached
) " >&6
10525 if test -n "$GOC_FOR_TARGET"; then
10526 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10529 for as_dir in $PATH
10532 test -z "$as_dir" && as_dir=.
10533 for ac_exec_ext in '' $ac_executable_extensions; do
10534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10535 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10545 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10546 if test -n "$GOC_FOR_TARGET"; then
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10548 $as_echo "$GOC_FOR_TARGET" >&6; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10551 $as_echo "no
" >&6; }
10556 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10560 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10562 if test $build = $target ; then
10563 GOC_FOR_TARGET="$2"
10565 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10568 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10573 cat > conftest.c << \EOF
10578 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10579 have_gcc_for_target=yes
10581 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10582 have_gcc_for_target=no
10589 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10590 if test -n "$with_build_time_tools"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10592 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10593 if test -x $with_build_time_tools/ar; then
10594 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10595 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10597 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10600 $as_echo "no
" >&6; }
10602 elif test $build != $host && test $have_gcc_for_target = yes; then
10603 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10604 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10605 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10608 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10609 # Extract the first word of "ar", so it can be a program name with args.
10610 set dummy ar; ac_word=$2
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10612 $as_echo_n "checking
for $ac_word...
" >&6; }
10613 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10614 $as_echo_n "(cached
) " >&6
10616 case $AR_FOR_TARGET in
10618 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10622 for as_dir in $gcc_cv_tool_dirs
10625 test -z "$as_dir" && as_dir=.
10626 for ac_exec_ext in '' $ac_executable_extensions; do
10627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10628 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10639 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10640 if test -n "$AR_FOR_TARGET"; then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10642 $as_echo "$AR_FOR_TARGET" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10645 $as_echo "no
" >&6; }
10650 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10653 if test -n "$AR_FOR_TARGET"; then
10654 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10655 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10656 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10659 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10660 for ncn_progname in ar; do
10661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10662 set dummy ${ncn_progname}; ac_word=$2
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10664 $as_echo_n "checking
for $ac_word...
" >&6; }
10665 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10666 $as_echo_n "(cached
) " >&6
10668 if test -n "$AR_FOR_TARGET"; then
10669 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10672 for as_dir in $PATH
10675 test -z "$as_dir" && as_dir=.
10676 for ac_exec_ext in '' $ac_executable_extensions; do
10677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10678 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10688 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10689 if test -n "$AR_FOR_TARGET"; then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10691 $as_echo "$AR_FOR_TARGET" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10694 $as_echo "no
" >&6; }
10701 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10702 for ncn_progname in ar; do
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10704 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10705 if test -x $with_build_time_tools/${ncn_progname}; then
10706 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10708 $as_echo "yes" >&6; }
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10712 $as_echo "no
" >&6; }
10717 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10718 for ncn_progname in ar; do
10719 if test -n "$ncn_target_tool_prefix"; then
10720 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10721 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10723 $as_echo_n "checking
for $ac_word...
" >&6; }
10724 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10725 $as_echo_n "(cached
) " >&6
10727 if test -n "$AR_FOR_TARGET"; then
10728 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10731 for as_dir in $PATH
10734 test -z "$as_dir" && as_dir=.
10735 for ac_exec_ext in '' $ac_executable_extensions; do
10736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10737 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10747 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10748 if test -n "$AR_FOR_TARGET"; then
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10750 $as_echo "$AR_FOR_TARGET" >&6; }
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10753 $as_echo "no
" >&6; }
10758 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10759 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10760 set dummy ${ncn_progname}; ac_word=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10762 $as_echo_n "checking
for $ac_word...
" >&6; }
10763 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10764 $as_echo_n "(cached
) " >&6
10766 if test -n "$AR_FOR_TARGET"; then
10767 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10770 for as_dir in $PATH
10773 test -z "$as_dir" && as_dir=.
10774 for ac_exec_ext in '' $ac_executable_extensions; do
10775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10776 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10786 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10787 if test -n "$AR_FOR_TARGET"; then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10789 $as_echo "$AR_FOR_TARGET" >&6; }
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10792 $as_echo "no
" >&6; }
10797 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10801 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10803 if test $build = $target ; then
10806 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10809 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10813 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10819 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10820 if test -n "$with_build_time_tools"; then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10822 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10823 if test -x $with_build_time_tools/as; then
10824 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10825 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10827 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10830 $as_echo "no
" >&6; }
10832 elif test $build != $host && test $have_gcc_for_target = yes; then
10833 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10834 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10835 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10838 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10839 # Extract the first word of "as
", so it can be a program name with args.
10840 set dummy as; ac_word=$2
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10842 $as_echo_n "checking
for $ac_word...
" >&6; }
10843 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10844 $as_echo_n "(cached
) " >&6
10846 case $AS_FOR_TARGET in
10848 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10852 for as_dir in $gcc_cv_tool_dirs
10855 test -z "$as_dir" && as_dir=.
10856 for ac_exec_ext in '' $ac_executable_extensions; do
10857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10858 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10869 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10870 if test -n "$AS_FOR_TARGET"; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10872 $as_echo "$AS_FOR_TARGET" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10875 $as_echo "no
" >&6; }
10880 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10883 if test -n "$AS_FOR_TARGET"; then
10884 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10885 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10886 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10889 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10890 for ncn_progname in as; do
10891 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10892 set dummy ${ncn_progname}; ac_word=$2
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10894 $as_echo_n "checking
for $ac_word...
" >&6; }
10895 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10896 $as_echo_n "(cached
) " >&6
10898 if test -n "$AS_FOR_TARGET"; then
10899 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10902 for as_dir in $PATH
10905 test -z "$as_dir" && as_dir=.
10906 for ac_exec_ext in '' $ac_executable_extensions; do
10907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10908 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10918 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10919 if test -n "$AS_FOR_TARGET"; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10921 $as_echo "$AS_FOR_TARGET" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10924 $as_echo "no
" >&6; }
10931 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10932 for ncn_progname in as; do
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10934 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10935 if test -x $with_build_time_tools/${ncn_progname}; then
10936 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10938 $as_echo "yes" >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10942 $as_echo "no
" >&6; }
10947 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10948 for ncn_progname in as; do
10949 if test -n "$ncn_target_tool_prefix"; then
10950 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10951 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10953 $as_echo_n "checking
for $ac_word...
" >&6; }
10954 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10955 $as_echo_n "(cached
) " >&6
10957 if test -n "$AS_FOR_TARGET"; then
10958 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10961 for as_dir in $PATH
10964 test -z "$as_dir" && as_dir=.
10965 for ac_exec_ext in '' $ac_executable_extensions; do
10966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10967 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10977 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10978 if test -n "$AS_FOR_TARGET"; then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10980 $as_echo "$AS_FOR_TARGET" >&6; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10983 $as_echo "no
" >&6; }
10988 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10990 set dummy ${ncn_progname}; ac_word=$2
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10992 $as_echo_n "checking
for $ac_word...
" >&6; }
10993 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10994 $as_echo_n "(cached
) " >&6
10996 if test -n "$AS_FOR_TARGET"; then
10997 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11000 for as_dir in $PATH
11003 test -z "$as_dir" && as_dir=.
11004 for ac_exec_ext in '' $ac_executable_extensions; do
11005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11006 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11016 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11017 if test -n "$AS_FOR_TARGET"; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11019 $as_echo "$AS_FOR_TARGET" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11022 $as_echo "no
" >&6; }
11027 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11031 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11033 if test $build = $target ; then
11036 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11039 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11043 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11049 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11050 if test -n "$with_build_time_tools"; then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11052 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11053 if test -x $with_build_time_tools/dlltool; then
11054 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11055 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11057 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11060 $as_echo "no
" >&6; }
11062 elif test $build != $host && test $have_gcc_for_target = yes; then
11063 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11064 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11065 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11068 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11069 # Extract the first word of "dlltool
", so it can be a program name with args.
11070 set dummy dlltool; ac_word=$2
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11072 $as_echo_n "checking
for $ac_word...
" >&6; }
11073 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11074 $as_echo_n "(cached
) " >&6
11076 case $DLLTOOL_FOR_TARGET in
11078 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in $gcc_cv_tool_dirs
11085 test -z "$as_dir" && as_dir=.
11086 for ac_exec_ext in '' $ac_executable_extensions; do
11087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11088 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11099 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11100 if test -n "$DLLTOOL_FOR_TARGET"; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11102 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11105 $as_echo "no
" >&6; }
11110 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11113 if test -n "$DLLTOOL_FOR_TARGET"; then
11114 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11115 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11116 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11119 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11120 for ncn_progname in dlltool; do
11121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11122 set dummy ${ncn_progname}; ac_word=$2
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11124 $as_echo_n "checking
for $ac_word...
" >&6; }
11125 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11126 $as_echo_n "(cached
) " >&6
11128 if test -n "$DLLTOOL_FOR_TARGET"; then
11129 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11132 for as_dir in $PATH
11135 test -z "$as_dir" && as_dir=.
11136 for ac_exec_ext in '' $ac_executable_extensions; do
11137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11138 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11148 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11149 if test -n "$DLLTOOL_FOR_TARGET"; then
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11151 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11154 $as_echo "no
" >&6; }
11161 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11162 for ncn_progname in dlltool; do
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11164 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11165 if test -x $with_build_time_tools/${ncn_progname}; then
11166 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11168 $as_echo "yes" >&6; }
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11172 $as_echo "no
" >&6; }
11177 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11178 for ncn_progname in dlltool; do
11179 if test -n "$ncn_target_tool_prefix"; then
11180 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11181 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11183 $as_echo_n "checking
for $ac_word...
" >&6; }
11184 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11185 $as_echo_n "(cached
) " >&6
11187 if test -n "$DLLTOOL_FOR_TARGET"; then
11188 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11191 for as_dir in $PATH
11194 test -z "$as_dir" && as_dir=.
11195 for ac_exec_ext in '' $ac_executable_extensions; do
11196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11197 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11207 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11208 if test -n "$DLLTOOL_FOR_TARGET"; then
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11210 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11213 $as_echo "no
" >&6; }
11218 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11220 set dummy ${ncn_progname}; ac_word=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11222 $as_echo_n "checking
for $ac_word...
" >&6; }
11223 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11224 $as_echo_n "(cached
) " >&6
11226 if test -n "$DLLTOOL_FOR_TARGET"; then
11227 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $PATH
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11236 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11246 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11247 if test -n "$DLLTOOL_FOR_TARGET"; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11249 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11252 $as_echo "no
" >&6; }
11257 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11261 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11263 if test $build = $target ; then
11264 DLLTOOL_FOR_TARGET="$2"
11266 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11269 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11273 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11279 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11280 if test -n "$with_build_time_tools"; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11282 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11283 if test -x $with_build_time_tools/ld; then
11284 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11285 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11287 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11290 $as_echo "no
" >&6; }
11292 elif test $build != $host && test $have_gcc_for_target = yes; then
11293 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11294 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11295 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11298 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11299 # Extract the first word of "ld
", so it can be a program name with args.
11300 set dummy ld; ac_word=$2
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11302 $as_echo_n "checking
for $ac_word...
" >&6; }
11303 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11304 $as_echo_n "(cached
) " >&6
11306 case $LD_FOR_TARGET in
11308 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11312 for as_dir in $gcc_cv_tool_dirs
11315 test -z "$as_dir" && as_dir=.
11316 for ac_exec_ext in '' $ac_executable_extensions; do
11317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11318 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11329 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11330 if test -n "$LD_FOR_TARGET"; then
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11332 $as_echo "$LD_FOR_TARGET" >&6; }
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11335 $as_echo "no
" >&6; }
11340 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11343 if test -n "$LD_FOR_TARGET"; then
11344 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11345 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11346 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11349 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11350 for ncn_progname in ld; do
11351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11352 set dummy ${ncn_progname}; ac_word=$2
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11354 $as_echo_n "checking
for $ac_word...
" >&6; }
11355 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11356 $as_echo_n "(cached
) " >&6
11358 if test -n "$LD_FOR_TARGET"; then
11359 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11362 for as_dir in $PATH
11365 test -z "$as_dir" && as_dir=.
11366 for ac_exec_ext in '' $ac_executable_extensions; do
11367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11368 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11378 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11379 if test -n "$LD_FOR_TARGET"; then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11381 $as_echo "$LD_FOR_TARGET" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11384 $as_echo "no
" >&6; }
11391 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11392 for ncn_progname in ld; do
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11394 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11395 if test -x $with_build_time_tools/${ncn_progname}; then
11396 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11398 $as_echo "yes" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11402 $as_echo "no
" >&6; }
11407 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11408 for ncn_progname in ld; do
11409 if test -n "$ncn_target_tool_prefix"; then
11410 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11411 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11413 $as_echo_n "checking
for $ac_word...
" >&6; }
11414 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11415 $as_echo_n "(cached
) " >&6
11417 if test -n "$LD_FOR_TARGET"; then
11418 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421 for as_dir in $PATH
11424 test -z "$as_dir" && as_dir=.
11425 for ac_exec_ext in '' $ac_executable_extensions; do
11426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11427 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11437 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11438 if test -n "$LD_FOR_TARGET"; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11440 $as_echo "$LD_FOR_TARGET" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11443 $as_echo "no
" >&6; }
11448 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11450 set dummy ${ncn_progname}; ac_word=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11452 $as_echo_n "checking
for $ac_word...
" >&6; }
11453 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11454 $as_echo_n "(cached
) " >&6
11456 if test -n "$LD_FOR_TARGET"; then
11457 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11460 for as_dir in $PATH
11463 test -z "$as_dir" && as_dir=.
11464 for ac_exec_ext in '' $ac_executable_extensions; do
11465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11466 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11476 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11477 if test -n "$LD_FOR_TARGET"; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11479 $as_echo "$LD_FOR_TARGET" >&6; }
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11482 $as_echo "no
" >&6; }
11487 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11491 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11493 if test $build = $target ; then
11496 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11499 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11503 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11509 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11510 if test -n "$with_build_time_tools"; then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11512 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11513 if test -x $with_build_time_tools/lipo; then
11514 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11515 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11517 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11520 $as_echo "no
" >&6; }
11522 elif test $build != $host && test $have_gcc_for_target = yes; then
11523 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11524 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11525 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11528 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11529 # Extract the first word of "lipo
", so it can be a program name with args.
11530 set dummy lipo; ac_word=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11532 $as_echo_n "checking
for $ac_word...
" >&6; }
11533 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11534 $as_echo_n "(cached
) " >&6
11536 case $LIPO_FOR_TARGET in
11538 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11542 for as_dir in $gcc_cv_tool_dirs
11545 test -z "$as_dir" && as_dir=.
11546 for ac_exec_ext in '' $ac_executable_extensions; do
11547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11548 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11559 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11560 if test -n "$LIPO_FOR_TARGET"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11562 $as_echo "$LIPO_FOR_TARGET" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11565 $as_echo "no
" >&6; }
11570 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11573 if test -n "$LIPO_FOR_TARGET"; then
11574 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11575 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11576 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11579 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11580 for ncn_progname in lipo; do
11581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11582 set dummy ${ncn_progname}; ac_word=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11584 $as_echo_n "checking
for $ac_word...
" >&6; }
11585 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11586 $as_echo_n "(cached
) " >&6
11588 if test -n "$LIPO_FOR_TARGET"; then
11589 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592 for as_dir in $PATH
11595 test -z "$as_dir" && as_dir=.
11596 for ac_exec_ext in '' $ac_executable_extensions; do
11597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11598 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11608 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11609 if test -n "$LIPO_FOR_TARGET"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11611 $as_echo "$LIPO_FOR_TARGET" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11614 $as_echo "no
" >&6; }
11621 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11622 for ncn_progname in lipo; do
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11624 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11625 if test -x $with_build_time_tools/${ncn_progname}; then
11626 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11628 $as_echo "yes" >&6; }
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11632 $as_echo "no
" >&6; }
11637 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11638 for ncn_progname in lipo; do
11639 if test -n "$ncn_target_tool_prefix"; then
11640 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11641 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11643 $as_echo_n "checking
for $ac_word...
" >&6; }
11644 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11645 $as_echo_n "(cached
) " >&6
11647 if test -n "$LIPO_FOR_TARGET"; then
11648 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11651 for as_dir in $PATH
11654 test -z "$as_dir" && as_dir=.
11655 for ac_exec_ext in '' $ac_executable_extensions; do
11656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11657 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11667 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11668 if test -n "$LIPO_FOR_TARGET"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11670 $as_echo "$LIPO_FOR_TARGET" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11673 $as_echo "no
" >&6; }
11678 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11680 set dummy ${ncn_progname}; ac_word=$2
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11682 $as_echo_n "checking
for $ac_word...
" >&6; }
11683 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11684 $as_echo_n "(cached
) " >&6
11686 if test -n "$LIPO_FOR_TARGET"; then
11687 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11690 for as_dir in $PATH
11693 test -z "$as_dir" && as_dir=.
11694 for ac_exec_ext in '' $ac_executable_extensions; do
11695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11696 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11706 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11707 if test -n "$LIPO_FOR_TARGET"; then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11709 $as_echo "$LIPO_FOR_TARGET" >&6; }
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11712 $as_echo "no
" >&6; }
11717 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11721 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11723 if test $build = $target ; then
11724 LIPO_FOR_TARGET="$2"
11726 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11729 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11733 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11739 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11740 if test -n "$with_build_time_tools"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11742 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11743 if test -x $with_build_time_tools/nm; then
11744 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11745 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11747 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11750 $as_echo "no
" >&6; }
11752 elif test $build != $host && test $have_gcc_for_target = yes; then
11753 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11754 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11755 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11758 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11759 # Extract the first word of "nm
", so it can be a program name with args.
11760 set dummy nm; ac_word=$2
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11762 $as_echo_n "checking
for $ac_word...
" >&6; }
11763 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11764 $as_echo_n "(cached
) " >&6
11766 case $NM_FOR_TARGET in
11768 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772 for as_dir in $gcc_cv_tool_dirs
11775 test -z "$as_dir" && as_dir=.
11776 for ac_exec_ext in '' $ac_executable_extensions; do
11777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11778 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11789 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11790 if test -n "$NM_FOR_TARGET"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11792 $as_echo "$NM_FOR_TARGET" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11795 $as_echo "no
" >&6; }
11800 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11803 if test -n "$NM_FOR_TARGET"; then
11804 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11805 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11806 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11809 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11810 for ncn_progname in nm; do
11811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11812 set dummy ${ncn_progname}; ac_word=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11814 $as_echo_n "checking
for $ac_word...
" >&6; }
11815 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11816 $as_echo_n "(cached
) " >&6
11818 if test -n "$NM_FOR_TARGET"; then
11819 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11822 for as_dir in $PATH
11825 test -z "$as_dir" && as_dir=.
11826 for ac_exec_ext in '' $ac_executable_extensions; do
11827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11828 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11838 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11839 if test -n "$NM_FOR_TARGET"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11841 $as_echo "$NM_FOR_TARGET" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11844 $as_echo "no
" >&6; }
11851 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11852 for ncn_progname in nm; do
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11854 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11855 if test -x $with_build_time_tools/${ncn_progname}; then
11856 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11858 $as_echo "yes" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11862 $as_echo "no
" >&6; }
11867 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11868 for ncn_progname in nm; do
11869 if test -n "$ncn_target_tool_prefix"; then
11870 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11871 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11873 $as_echo_n "checking
for $ac_word...
" >&6; }
11874 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11875 $as_echo_n "(cached
) " >&6
11877 if test -n "$NM_FOR_TARGET"; then
11878 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11897 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11898 if test -n "$NM_FOR_TARGET"; then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11900 $as_echo "$NM_FOR_TARGET" >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11903 $as_echo "no
" >&6; }
11908 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11909 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11910 set dummy ${ncn_progname}; ac_word=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11912 $as_echo_n "checking
for $ac_word...
" >&6; }
11913 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11914 $as_echo_n "(cached
) " >&6
11916 if test -n "$NM_FOR_TARGET"; then
11917 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11920 for as_dir in $PATH
11923 test -z "$as_dir" && as_dir=.
11924 for ac_exec_ext in '' $ac_executable_extensions; do
11925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11926 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11936 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11937 if test -n "$NM_FOR_TARGET"; then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11939 $as_echo "$NM_FOR_TARGET" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11942 $as_echo "no
" >&6; }
11947 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11951 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11953 if test $build = $target ; then
11956 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11959 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11963 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11969 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11970 if test -n "$with_build_time_tools"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11972 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11973 if test -x $with_build_time_tools/objdump; then
11974 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11975 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11977 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11980 $as_echo "no
" >&6; }
11982 elif test $build != $host && test $have_gcc_for_target = yes; then
11983 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11984 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11985 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11988 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11989 # Extract the first word of "objdump
", so it can be a program name with args.
11990 set dummy objdump; ac_word=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11992 $as_echo_n "checking
for $ac_word...
" >&6; }
11993 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11994 $as_echo_n "(cached
) " >&6
11996 case $OBJDUMP_FOR_TARGET in
11998 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12002 for as_dir in $gcc_cv_tool_dirs
12005 test -z "$as_dir" && as_dir=.
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12008 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12019 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12020 if test -n "$OBJDUMP_FOR_TARGET"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12022 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12025 $as_echo "no
" >&6; }
12030 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12033 if test -n "$OBJDUMP_FOR_TARGET"; then
12034 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12035 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12036 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12039 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12040 for ncn_progname in objdump; do
12041 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12042 set dummy ${ncn_progname}; ac_word=$2
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12044 $as_echo_n "checking
for $ac_word...
" >&6; }
12045 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12046 $as_echo_n "(cached
) " >&6
12048 if test -n "$OBJDUMP_FOR_TARGET"; then
12049 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12052 for as_dir in $PATH
12055 test -z "$as_dir" && as_dir=.
12056 for ac_exec_ext in '' $ac_executable_extensions; do
12057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12058 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12068 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12069 if test -n "$OBJDUMP_FOR_TARGET"; then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12071 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12074 $as_echo "no
" >&6; }
12081 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12082 for ncn_progname in objdump; do
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12084 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12085 if test -x $with_build_time_tools/${ncn_progname}; then
12086 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12088 $as_echo "yes" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12092 $as_echo "no
" >&6; }
12097 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12098 for ncn_progname in objdump; do
12099 if test -n "$ncn_target_tool_prefix"; then
12100 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12101 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12103 $as_echo_n "checking
for $ac_word...
" >&6; }
12104 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12105 $as_echo_n "(cached
) " >&6
12107 if test -n "$OBJDUMP_FOR_TARGET"; then
12108 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 for as_dir in $PATH
12114 test -z "$as_dir" && as_dir=.
12115 for ac_exec_ext in '' $ac_executable_extensions; do
12116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12117 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12127 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12128 if test -n "$OBJDUMP_FOR_TARGET"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12130 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12133 $as_echo "no
" >&6; }
12138 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12140 set dummy ${ncn_progname}; ac_word=$2
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12142 $as_echo_n "checking
for $ac_word...
" >&6; }
12143 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12144 $as_echo_n "(cached
) " >&6
12146 if test -n "$OBJDUMP_FOR_TARGET"; then
12147 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12150 for as_dir in $PATH
12153 test -z "$as_dir" && as_dir=.
12154 for ac_exec_ext in '' $ac_executable_extensions; do
12155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12156 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12166 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12167 if test -n "$OBJDUMP_FOR_TARGET"; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12169 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12172 $as_echo "no
" >&6; }
12177 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12181 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12183 if test $build = $target ; then
12184 OBJDUMP_FOR_TARGET="$2"
12186 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12189 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12193 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12199 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12200 if test -n "$with_build_time_tools"; then
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12202 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12203 if test -x $with_build_time_tools/ranlib; then
12204 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12205 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12207 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12210 $as_echo "no
" >&6; }
12212 elif test $build != $host && test $have_gcc_for_target = yes; then
12213 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12214 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12215 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12218 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12219 # Extract the first word of "ranlib
", so it can be a program name with args.
12220 set dummy ranlib; ac_word=$2
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12222 $as_echo_n "checking
for $ac_word...
" >&6; }
12223 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12224 $as_echo_n "(cached
) " >&6
12226 case $RANLIB_FOR_TARGET in
12228 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12232 for as_dir in $gcc_cv_tool_dirs
12235 test -z "$as_dir" && as_dir=.
12236 for ac_exec_ext in '' $ac_executable_extensions; do
12237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12238 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12249 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12250 if test -n "$RANLIB_FOR_TARGET"; then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12252 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12255 $as_echo "no
" >&6; }
12260 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12263 if test -n "$RANLIB_FOR_TARGET"; then
12264 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12265 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12266 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12269 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12270 for ncn_progname in ranlib; do
12271 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12272 set dummy ${ncn_progname}; ac_word=$2
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12274 $as_echo_n "checking
for $ac_word...
" >&6; }
12275 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12276 $as_echo_n "(cached
) " >&6
12278 if test -n "$RANLIB_FOR_TARGET"; then
12279 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12285 test -z "$as_dir" && as_dir=.
12286 for ac_exec_ext in '' $ac_executable_extensions; do
12287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12288 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12298 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12299 if test -n "$RANLIB_FOR_TARGET"; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12301 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12304 $as_echo "no
" >&6; }
12311 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12312 for ncn_progname in ranlib; do
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12314 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12315 if test -x $with_build_time_tools/${ncn_progname}; then
12316 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12318 $as_echo "yes" >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12322 $as_echo "no
" >&6; }
12327 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12328 for ncn_progname in ranlib; do
12329 if test -n "$ncn_target_tool_prefix"; then
12330 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12331 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12333 $as_echo_n "checking
for $ac_word...
" >&6; }
12334 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12335 $as_echo_n "(cached
) " >&6
12337 if test -n "$RANLIB_FOR_TARGET"; then
12338 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12341 for as_dir in $PATH
12344 test -z "$as_dir" && as_dir=.
12345 for ac_exec_ext in '' $ac_executable_extensions; do
12346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12347 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12357 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12358 if test -n "$RANLIB_FOR_TARGET"; then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12360 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12363 $as_echo "no
" >&6; }
12368 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12370 set dummy ${ncn_progname}; ac_word=$2
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12372 $as_echo_n "checking
for $ac_word...
" >&6; }
12373 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12374 $as_echo_n "(cached
) " >&6
12376 if test -n "$RANLIB_FOR_TARGET"; then
12377 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12380 for as_dir in $PATH
12383 test -z "$as_dir" && as_dir=.
12384 for ac_exec_ext in '' $ac_executable_extensions; do
12385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12386 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12396 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12397 if test -n "$RANLIB_FOR_TARGET"; then
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12399 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12402 $as_echo "no
" >&6; }
12407 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12411 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12413 if test $build = $target ; then
12414 RANLIB_FOR_TARGET="$2"
12416 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12419 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12423 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12429 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12430 if test -n "$with_build_time_tools"; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12432 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12433 if test -x $with_build_time_tools/strip; then
12434 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12435 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12437 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12440 $as_echo "no
" >&6; }
12442 elif test $build != $host && test $have_gcc_for_target = yes; then
12443 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12444 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12445 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12448 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12449 # Extract the first word of "strip
", so it can be a program name with args.
12450 set dummy strip; ac_word=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12452 $as_echo_n "checking
for $ac_word...
" >&6; }
12453 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12454 $as_echo_n "(cached
) " >&6
12456 case $STRIP_FOR_TARGET in
12458 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12462 for as_dir in $gcc_cv_tool_dirs
12465 test -z "$as_dir" && as_dir=.
12466 for ac_exec_ext in '' $ac_executable_extensions; do
12467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12468 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12479 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12480 if test -n "$STRIP_FOR_TARGET"; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12482 $as_echo "$STRIP_FOR_TARGET" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12485 $as_echo "no
" >&6; }
12490 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12493 if test -n "$STRIP_FOR_TARGET"; then
12494 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12495 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12496 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12499 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12500 for ncn_progname in strip; do
12501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12502 set dummy ${ncn_progname}; ac_word=$2
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12504 $as_echo_n "checking
for $ac_word...
" >&6; }
12505 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12506 $as_echo_n "(cached
) " >&6
12508 if test -n "$STRIP_FOR_TARGET"; then
12509 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12512 for as_dir in $PATH
12515 test -z "$as_dir" && as_dir=.
12516 for ac_exec_ext in '' $ac_executable_extensions; do
12517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12518 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12528 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12529 if test -n "$STRIP_FOR_TARGET"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12531 $as_echo "$STRIP_FOR_TARGET" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12534 $as_echo "no
" >&6; }
12541 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12542 for ncn_progname in strip; do
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12544 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12545 if test -x $with_build_time_tools/${ncn_progname}; then
12546 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12548 $as_echo "yes" >&6; }
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12552 $as_echo "no
" >&6; }
12557 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12558 for ncn_progname in strip; do
12559 if test -n "$ncn_target_tool_prefix"; then
12560 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12561 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12563 $as_echo_n "checking
for $ac_word...
" >&6; }
12564 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12565 $as_echo_n "(cached
) " >&6
12567 if test -n "$STRIP_FOR_TARGET"; then
12568 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $PATH
12574 test -z "$as_dir" && as_dir=.
12575 for ac_exec_ext in '' $ac_executable_extensions; do
12576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12577 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12587 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12588 if test -n "$STRIP_FOR_TARGET"; then
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12590 $as_echo "$STRIP_FOR_TARGET" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12593 $as_echo "no
" >&6; }
12598 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12600 set dummy ${ncn_progname}; ac_word=$2
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12602 $as_echo_n "checking
for $ac_word...
" >&6; }
12603 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12604 $as_echo_n "(cached
) " >&6
12606 if test -n "$STRIP_FOR_TARGET"; then
12607 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12613 test -z "$as_dir" && as_dir=.
12614 for ac_exec_ext in '' $ac_executable_extensions; do
12615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12626 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12627 if test -n "$STRIP_FOR_TARGET"; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12629 $as_echo "$STRIP_FOR_TARGET" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12632 $as_echo "no
" >&6; }
12637 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12641 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12643 if test $build = $target ; then
12644 STRIP_FOR_TARGET="$2"
12646 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12649 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12653 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12659 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12660 if test -n "$with_build_time_tools"; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12662 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12663 if test -x $with_build_time_tools/windres; then
12664 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12665 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12667 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12670 $as_echo "no
" >&6; }
12672 elif test $build != $host && test $have_gcc_for_target = yes; then
12673 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12674 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12675 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12678 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12679 # Extract the first word of "windres
", so it can be a program name with args.
12680 set dummy windres; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12682 $as_echo_n "checking
for $ac_word...
" >&6; }
12683 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12684 $as_echo_n "(cached
) " >&6
12686 case $WINDRES_FOR_TARGET in
12688 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12692 for as_dir in $gcc_cv_tool_dirs
12695 test -z "$as_dir" && as_dir=.
12696 for ac_exec_ext in '' $ac_executable_extensions; do
12697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12698 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12709 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12710 if test -n "$WINDRES_FOR_TARGET"; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12712 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12715 $as_echo "no
" >&6; }
12720 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12723 if test -n "$WINDRES_FOR_TARGET"; then
12724 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12725 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12726 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12729 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12730 for ncn_progname in windres; do
12731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12732 set dummy ${ncn_progname}; ac_word=$2
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12734 $as_echo_n "checking
for $ac_word...
" >&6; }
12735 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12736 $as_echo_n "(cached
) " >&6
12738 if test -n "$WINDRES_FOR_TARGET"; then
12739 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12742 for as_dir in $PATH
12745 test -z "$as_dir" && as_dir=.
12746 for ac_exec_ext in '' $ac_executable_extensions; do
12747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12748 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12758 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12759 if test -n "$WINDRES_FOR_TARGET"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12761 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12764 $as_echo "no
" >&6; }
12771 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12772 for ncn_progname in windres; do
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12774 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12775 if test -x $with_build_time_tools/${ncn_progname}; then
12776 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12778 $as_echo "yes" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12782 $as_echo "no
" >&6; }
12787 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12788 for ncn_progname in windres; do
12789 if test -n "$ncn_target_tool_prefix"; then
12790 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12791 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12793 $as_echo_n "checking
for $ac_word...
" >&6; }
12794 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12795 $as_echo_n "(cached
) " >&6
12797 if test -n "$WINDRES_FOR_TARGET"; then
12798 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $PATH
12804 test -z "$as_dir" && as_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12817 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12818 if test -n "$WINDRES_FOR_TARGET"; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12820 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12823 $as_echo "no
" >&6; }
12828 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12830 set dummy ${ncn_progname}; ac_word=$2
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12832 $as_echo_n "checking
for $ac_word...
" >&6; }
12833 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12834 $as_echo_n "(cached
) " >&6
12836 if test -n "$WINDRES_FOR_TARGET"; then
12837 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12840 for as_dir in $PATH
12843 test -z "$as_dir" && as_dir=.
12844 for ac_exec_ext in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12856 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12857 if test -n "$WINDRES_FOR_TARGET"; then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12859 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12862 $as_echo "no
" >&6; }
12867 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12871 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12873 if test $build = $target ; then
12874 WINDRES_FOR_TARGET="$2"
12876 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12879 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12883 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12889 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12890 if test -n "$with_build_time_tools"; then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12892 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12893 if test -x $with_build_time_tools/windmc; then
12894 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12895 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12897 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12900 $as_echo "no
" >&6; }
12902 elif test $build != $host && test $have_gcc_for_target = yes; then
12903 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12904 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12905 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12908 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12909 # Extract the first word of "windmc
", so it can be a program name with args.
12910 set dummy windmc; ac_word=$2
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12912 $as_echo_n "checking
for $ac_word...
" >&6; }
12913 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12914 $as_echo_n "(cached
) " >&6
12916 case $WINDMC_FOR_TARGET in
12918 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12922 for as_dir in $gcc_cv_tool_dirs
12925 test -z "$as_dir" && as_dir=.
12926 for ac_exec_ext in '' $ac_executable_extensions; do
12927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12928 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12939 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12940 if test -n "$WINDMC_FOR_TARGET"; then
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12942 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12945 $as_echo "no
" >&6; }
12950 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12953 if test -n "$WINDMC_FOR_TARGET"; then
12954 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12955 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12956 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12959 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12960 for ncn_progname in windmc; do
12961 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12962 set dummy ${ncn_progname}; ac_word=$2
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12964 $as_echo_n "checking
for $ac_word...
" >&6; }
12965 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12966 $as_echo_n "(cached
) " >&6
12968 if test -n "$WINDMC_FOR_TARGET"; then
12969 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12972 for as_dir in $PATH
12975 test -z "$as_dir" && as_dir=.
12976 for ac_exec_ext in '' $ac_executable_extensions; do
12977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12978 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12988 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12989 if test -n "$WINDMC_FOR_TARGET"; then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12991 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12994 $as_echo "no
" >&6; }
13001 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13002 for ncn_progname in windmc; do
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13004 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13005 if test -x $with_build_time_tools/${ncn_progname}; then
13006 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13008 $as_echo "yes" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13012 $as_echo "no
" >&6; }
13017 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13018 for ncn_progname in windmc; do
13019 if test -n "$ncn_target_tool_prefix"; then
13020 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13021 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13023 $as_echo_n "checking
for $ac_word...
" >&6; }
13024 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13025 $as_echo_n "(cached
) " >&6
13027 if test -n "$WINDMC_FOR_TARGET"; then
13028 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13031 for as_dir in $PATH
13034 test -z "$as_dir" && as_dir=.
13035 for ac_exec_ext in '' $ac_executable_extensions; do
13036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13037 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13047 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13048 if test -n "$WINDMC_FOR_TARGET"; then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13050 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13053 $as_echo "no
" >&6; }
13058 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13060 set dummy ${ncn_progname}; ac_word=$2
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13062 $as_echo_n "checking
for $ac_word...
" >&6; }
13063 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13064 $as_echo_n "(cached
) " >&6
13066 if test -n "$WINDMC_FOR_TARGET"; then
13067 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13070 for as_dir in $PATH
13073 test -z "$as_dir" && as_dir=.
13074 for ac_exec_ext in '' $ac_executable_extensions; do
13075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13076 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13086 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13087 if test -n "$WINDMC_FOR_TARGET"; then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13089 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13092 $as_echo "no
" >&6; }
13097 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13101 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13103 if test $build = $target ; then
13104 WINDMC_FOR_TARGET="$2"
13106 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13109 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13113 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13117 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13120 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13121 if test "x
${build}" != "x
${host}" ; then
13122 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13123 # We already found the complete path
13124 ac_dir=`dirname $AR_FOR_TARGET`
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13126 $as_echo "pre-installed
in $ac_dir" >&6; }
13128 # Canadian cross, just use what we found
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13130 $as_echo "pre-installed
" >&6; }
13134 case " ${configdirs} " in
13139 if test $ok = yes; then
13140 # An in-tree tool is available and we can use it
13141 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13143 $as_echo "just compiled
" >&6; }
13144 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13145 # We already found the complete path
13146 ac_dir=`dirname $AR_FOR_TARGET`
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13148 $as_echo "pre-installed
in $ac_dir" >&6; }
13149 elif test "x
$target" = "x
$host"; then
13150 # We can use an host tool
13151 AR_FOR_TARGET='$(AR)'
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13153 $as_echo "host tool
" >&6; }
13155 # We need a cross tool
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13157 $as_echo "pre-installed
" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13162 $as_echo_n "checking where to
find the target as...
" >&6; }
13163 if test "x
${build}" != "x
${host}" ; then
13164 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13165 # We already found the complete path
13166 ac_dir=`dirname $AS_FOR_TARGET`
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13168 $as_echo "pre-installed
in $ac_dir" >&6; }
13170 # Canadian cross, just use what we found
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13172 $as_echo "pre-installed
" >&6; }
13176 case " ${configdirs} " in
13181 if test $ok = yes; then
13182 # An in-tree tool is available and we can use it
13183 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13185 $as_echo "just compiled
" >&6; }
13186 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13187 # We already found the complete path
13188 ac_dir=`dirname $AS_FOR_TARGET`
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13190 $as_echo "pre-installed
in $ac_dir" >&6; }
13191 elif test "x
$target" = "x
$host"; then
13192 # We can use an host tool
13193 AS_FOR_TARGET='$(AS)'
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13195 $as_echo "host tool
" >&6; }
13197 # We need a cross tool
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13199 $as_echo "pre-installed
" >&6; }
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13204 $as_echo_n "checking where to
find the target cc...
" >&6; }
13205 if test "x
${build}" != "x
${host}" ; then
13206 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13207 # We already found the complete path
13208 ac_dir=`dirname $CC_FOR_TARGET`
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13210 $as_echo "pre-installed
in $ac_dir" >&6; }
13212 # Canadian cross, just use what we found
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13214 $as_echo "pre-installed
" >&6; }
13218 case " ${configdirs} " in
13223 if test $ok = yes; then
13224 # An in-tree tool is available and we can use it
13225 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13227 $as_echo "just compiled
" >&6; }
13228 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13229 # We already found the complete path
13230 ac_dir=`dirname $CC_FOR_TARGET`
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13232 $as_echo "pre-installed
in $ac_dir" >&6; }
13233 elif test "x
$target" = "x
$host"; then
13234 # We can use an host tool
13235 CC_FOR_TARGET='$(CC)'
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13237 $as_echo "host tool
" >&6; }
13239 # We need a cross tool
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13241 $as_echo "pre-installed
" >&6; }
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13246 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13247 if test "x
${build}" != "x
${host}" ; then
13248 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13249 # We already found the complete path
13250 ac_dir=`dirname $CXX_FOR_TARGET`
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13252 $as_echo "pre-installed
in $ac_dir" >&6; }
13254 # Canadian cross, just use what we found
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13256 $as_echo "pre-installed
" >&6; }
13260 case " ${configdirs} " in
13264 case ,${enable_languages}, in
13268 if test $ok = yes; then
13269 # An in-tree tool is available and we can use it
13270 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13272 $as_echo "just compiled
" >&6; }
13273 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13274 # We already found the complete path
13275 ac_dir=`dirname $CXX_FOR_TARGET`
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13277 $as_echo "pre-installed
in $ac_dir" >&6; }
13278 elif test "x
$target" = "x
$host"; then
13279 # We can use an host tool
13280 CXX_FOR_TARGET='$(CXX)'
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13282 $as_echo "host tool
" >&6; }
13284 # We need a cross tool
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13286 $as_echo "pre-installed
" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13291 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13292 if test "x
${build}" != "x
${host}" ; then
13293 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13294 # We already found the complete path
13295 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13297 $as_echo "pre-installed
in $ac_dir" >&6; }
13299 # Canadian cross, just use what we found
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13301 $as_echo "pre-installed
" >&6; }
13305 case " ${configdirs} " in
13309 case ,${enable_languages}, in
13313 if test $ok = yes; then
13314 # An in-tree tool is available and we can use it
13315 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'
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13317 $as_echo "just compiled
" >&6; }
13318 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13319 # We already found the complete path
13320 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13322 $as_echo "pre-installed
in $ac_dir" >&6; }
13323 elif test "x
$target" = "x
$host"; then
13324 # We can use an host tool
13325 RAW_CXX_FOR_TARGET='$(CXX)'
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13327 $as_echo "host tool
" >&6; }
13329 # We need a cross tool
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13331 $as_echo "pre-installed
" >&6; }
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13336 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13337 if test "x
${build}" != "x
${host}" ; then
13338 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13339 # We already found the complete path
13340 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13342 $as_echo "pre-installed
in $ac_dir" >&6; }
13344 # Canadian cross, just use what we found
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13346 $as_echo "pre-installed
" >&6; }
13350 case " ${configdirs} " in
13355 if test $ok = yes; then
13356 # An in-tree tool is available and we can use it
13357 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13359 $as_echo "just compiled
" >&6; }
13360 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13361 # We already found the complete path
13362 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13364 $as_echo "pre-installed
in $ac_dir" >&6; }
13365 elif test "x
$target" = "x
$host"; then
13366 # We can use an host tool
13367 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13369 $as_echo "host tool
" >&6; }
13371 # We need a cross tool
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13373 $as_echo "pre-installed
" >&6; }
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13378 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13379 if test "x
${build}" != "x
${host}" ; then
13380 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13381 # We already found the complete path
13382 ac_dir=`dirname $GCC_FOR_TARGET`
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13384 $as_echo "pre-installed
in $ac_dir" >&6; }
13386 # Canadian cross, just use what we found
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13388 $as_echo "pre-installed
" >&6; }
13392 case " ${configdirs} " in
13397 if test $ok = yes; then
13398 # An in-tree tool is available and we can use it
13399 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13401 $as_echo "just compiled
" >&6; }
13402 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13403 # We already found the complete path
13404 ac_dir=`dirname $GCC_FOR_TARGET`
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13406 $as_echo "pre-installed
in $ac_dir" >&6; }
13407 elif test "x
$target" = "x
$host"; then
13408 # We can use an host tool
13409 GCC_FOR_TARGET='$()'
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13411 $as_echo "host tool
" >&6; }
13413 # We need a cross tool
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13415 $as_echo "pre-installed
" >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13420 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13421 if test "x
${build}" != "x
${host}" ; then
13422 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13423 # We already found the complete path
13424 ac_dir=`dirname $GCJ_FOR_TARGET`
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13426 $as_echo "pre-installed
in $ac_dir" >&6; }
13428 # Canadian cross, just use what we found
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13430 $as_echo "pre-installed
" >&6; }
13434 case " ${configdirs} " in
13438 case ,${enable_languages}, in
13442 if test $ok = yes; then
13443 # An in-tree tool is available and we can use it
13444 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13446 $as_echo "just compiled
" >&6; }
13447 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13448 # We already found the complete path
13449 ac_dir=`dirname $GCJ_FOR_TARGET`
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13451 $as_echo "pre-installed
in $ac_dir" >&6; }
13452 elif test "x
$target" = "x
$host"; then
13453 # We can use an host tool
13454 GCJ_FOR_TARGET='$(GCJ)'
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13456 $as_echo "host tool
" >&6; }
13458 # We need a cross tool
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13460 $as_echo "pre-installed
" >&6; }
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13465 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13466 if test "x
${build}" != "x
${host}" ; then
13467 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13468 # We already found the complete path
13469 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13471 $as_echo "pre-installed
in $ac_dir" >&6; }
13473 # Canadian cross, just use what we found
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13475 $as_echo "pre-installed
" >&6; }
13479 case " ${configdirs} " in
13483 case ,${enable_languages}, in
13487 if test $ok = yes; then
13488 # An in-tree tool is available and we can use it
13489 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13491 $as_echo "just compiled
" >&6; }
13492 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13493 # We already found the complete path
13494 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13496 $as_echo "pre-installed
in $ac_dir" >&6; }
13497 elif test "x
$target" = "x
$host"; then
13498 # We can use an host tool
13499 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13501 $as_echo "host tool
" >&6; }
13503 # We need a cross tool
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13505 $as_echo "pre-installed
" >&6; }
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13510 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13511 if test "x
${build}" != "x
${host}" ; then
13512 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13513 # We already found the complete path
13514 ac_dir=`dirname $GOC_FOR_TARGET`
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13516 $as_echo "pre-installed
in $ac_dir" >&6; }
13518 # Canadian cross, just use what we found
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13520 $as_echo "pre-installed
" >&6; }
13524 case " ${configdirs} " in
13528 case ,${enable_languages}, in
13532 if test $ok = yes; then
13533 # An in-tree tool is available and we can use it
13534 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13536 $as_echo "just compiled
" >&6; }
13537 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13538 # We already found the complete path
13539 ac_dir=`dirname $GOC_FOR_TARGET`
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13541 $as_echo "pre-installed
in $ac_dir" >&6; }
13542 elif test "x
$target" = "x
$host"; then
13543 # We can use an host tool
13544 GOC_FOR_TARGET='$(GOC)'
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13546 $as_echo "host tool
" >&6; }
13548 # We need a cross tool
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13550 $as_echo "pre-installed
" >&6; }
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13555 $as_echo_n "checking where to
find the target ld...
" >&6; }
13556 if test "x
${build}" != "x
${host}" ; then
13557 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13558 # We already found the complete path
13559 ac_dir=`dirname $LD_FOR_TARGET`
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13561 $as_echo "pre-installed
in $ac_dir" >&6; }
13563 # Canadian cross, just use what we found
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13565 $as_echo "pre-installed
" >&6; }
13569 case " ${configdirs} " in
13574 if test $ok = yes; then
13575 # An in-tree tool is available and we can use it
13576 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13578 $as_echo "just compiled
" >&6; }
13579 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13580 # We already found the complete path
13581 ac_dir=`dirname $LD_FOR_TARGET`
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13583 $as_echo "pre-installed
in $ac_dir" >&6; }
13584 elif test "x
$target" = "x
$host"; then
13585 # We can use an host tool
13586 LD_FOR_TARGET='$(LD)'
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13588 $as_echo "host tool
" >&6; }
13590 # We need a cross tool
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13592 $as_echo "pre-installed
" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13597 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13598 if test "x
${build}" != "x
${host}" ; then
13599 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13600 # We already found the complete path
13601 ac_dir=`dirname $LIPO_FOR_TARGET`
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13603 $as_echo "pre-installed
in $ac_dir" >&6; }
13605 # Canadian cross, just use what we found
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13607 $as_echo "pre-installed
" >&6; }
13610 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13611 # We already found the complete path
13612 ac_dir=`dirname $LIPO_FOR_TARGET`
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13614 $as_echo "pre-installed
in $ac_dir" >&6; }
13615 elif test "x
$target" = "x
$host"; then
13616 # We can use an host tool
13617 LIPO_FOR_TARGET='$(LIPO)'
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13619 $as_echo "host tool
" >&6; }
13621 # We need a cross tool
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13623 $as_echo "pre-installed
" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13628 $as_echo_n "checking where to
find the target nm...
" >&6; }
13629 if test "x
${build}" != "x
${host}" ; then
13630 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13631 # We already found the complete path
13632 ac_dir=`dirname $NM_FOR_TARGET`
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13634 $as_echo "pre-installed
in $ac_dir" >&6; }
13636 # Canadian cross, just use what we found
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13638 $as_echo "pre-installed
" >&6; }
13642 case " ${configdirs} " in
13647 if test $ok = yes; then
13648 # An in-tree tool is available and we can use it
13649 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13651 $as_echo "just compiled
" >&6; }
13652 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13653 # We already found the complete path
13654 ac_dir=`dirname $NM_FOR_TARGET`
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13656 $as_echo "pre-installed
in $ac_dir" >&6; }
13657 elif test "x
$target" = "x
$host"; then
13658 # We can use an host tool
13659 NM_FOR_TARGET='$(NM)'
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13661 $as_echo "host tool
" >&6; }
13663 # We need a cross tool
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13665 $as_echo "pre-installed
" >&6; }
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13670 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13671 if test "x
${build}" != "x
${host}" ; then
13672 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13673 # We already found the complete path
13674 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13676 $as_echo "pre-installed
in $ac_dir" >&6; }
13678 # Canadian cross, just use what we found
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13680 $as_echo "pre-installed
" >&6; }
13684 case " ${configdirs} " in
13689 if test $ok = yes; then
13690 # An in-tree tool is available and we can use it
13691 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13693 $as_echo "just compiled
" >&6; }
13694 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13695 # We already found the complete path
13696 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13698 $as_echo "pre-installed
in $ac_dir" >&6; }
13699 elif test "x
$target" = "x
$host"; then
13700 # We can use an host tool
13701 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13703 $as_echo "host tool
" >&6; }
13705 # We need a cross tool
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13707 $as_echo "pre-installed
" >&6; }
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13712 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13713 if test "x
${build}" != "x
${host}" ; then
13714 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13715 # We already found the complete path
13716 ac_dir=`dirname $RANLIB_FOR_TARGET`
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13718 $as_echo "pre-installed
in $ac_dir" >&6; }
13720 # Canadian cross, just use what we found
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13722 $as_echo "pre-installed
" >&6; }
13726 case " ${configdirs} " in
13731 if test $ok = yes; then
13732 # An in-tree tool is available and we can use it
13733 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13735 $as_echo "just compiled
" >&6; }
13736 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13737 # We already found the complete path
13738 ac_dir=`dirname $RANLIB_FOR_TARGET`
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13740 $as_echo "pre-installed
in $ac_dir" >&6; }
13741 elif test "x
$target" = "x
$host"; then
13742 # We can use an host tool
13743 RANLIB_FOR_TARGET='$(RANLIB)'
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13745 $as_echo "host tool
" >&6; }
13747 # We need a cross tool
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13749 $as_echo "pre-installed
" >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13754 $as_echo_n "checking where to
find the target strip...
" >&6; }
13755 if test "x
${build}" != "x
${host}" ; then
13756 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13757 # We already found the complete path
13758 ac_dir=`dirname $STRIP_FOR_TARGET`
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13760 $as_echo "pre-installed
in $ac_dir" >&6; }
13762 # Canadian cross, just use what we found
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13764 $as_echo "pre-installed
" >&6; }
13768 case " ${configdirs} " in
13773 if test $ok = yes; then
13774 # An in-tree tool is available and we can use it
13775 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13777 $as_echo "just compiled
" >&6; }
13778 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13779 # We already found the complete path
13780 ac_dir=`dirname $STRIP_FOR_TARGET`
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13782 $as_echo "pre-installed
in $ac_dir" >&6; }
13783 elif test "x
$target" = "x
$host"; then
13784 # We can use an host tool
13785 STRIP_FOR_TARGET='$(STRIP)'
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13787 $as_echo "host tool
" >&6; }
13789 # We need a cross tool
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13791 $as_echo "pre-installed
" >&6; }
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13796 $as_echo_n "checking where to
find the target windres...
" >&6; }
13797 if test "x
${build}" != "x
${host}" ; then
13798 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13799 # We already found the complete path
13800 ac_dir=`dirname $WINDRES_FOR_TARGET`
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13802 $as_echo "pre-installed
in $ac_dir" >&6; }
13804 # Canadian cross, just use what we found
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13806 $as_echo "pre-installed
" >&6; }
13810 case " ${configdirs} " in
13815 if test $ok = yes; then
13816 # An in-tree tool is available and we can use it
13817 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13819 $as_echo "just compiled
" >&6; }
13820 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13821 # We already found the complete path
13822 ac_dir=`dirname $WINDRES_FOR_TARGET`
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13824 $as_echo "pre-installed
in $ac_dir" >&6; }
13825 elif test "x
$target" = "x
$host"; then
13826 # We can use an host tool
13827 WINDRES_FOR_TARGET='$(WINDRES)'
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13829 $as_echo "host tool
" >&6; }
13831 # We need a cross tool
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13833 $as_echo "pre-installed
" >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13838 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13839 if test "x
${build}" != "x
${host}" ; then
13840 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13841 # We already found the complete path
13842 ac_dir=`dirname $WINDMC_FOR_TARGET`
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13844 $as_echo "pre-installed
in $ac_dir" >&6; }
13846 # Canadian cross, just use what we found
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13848 $as_echo "pre-installed
" >&6; }
13852 case " ${configdirs} " in
13857 if test $ok = yes; then
13858 # An in-tree tool is available and we can use it
13859 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13861 $as_echo "just compiled
" >&6; }
13862 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13863 # We already found the complete path
13864 ac_dir=`dirname $WINDMC_FOR_TARGET`
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13866 $as_echo "pre-installed
in $ac_dir" >&6; }
13867 elif test "x
$target" = "x
$host"; then
13868 # We can use an host tool
13869 WINDMC_FOR_TARGET='$(WINDMC)'
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13871 $as_echo "host tool
" >&6; }
13873 # We need a cross tool
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13875 $as_echo "pre-installed
" >&6; }
13883 # Certain tools may need extra flags.
13884 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13885 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13886 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13888 # When building target libraries, except in a Canadian cross, we use
13889 # the same toolchain as the compiler we just built.
13890 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13891 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13892 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13893 if test $host = $build; then
13894 case " $configdirs " in
13896 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13897 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13898 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13908 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13909 # Check whether --enable-maintainer-mode was given.
13910 if test "${enable_maintainer_mode+set}" = set; then :
13911 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13913 USE_MAINTAINER_MODE=no
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13917 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13920 if test "$USE_MAINTAINER_MODE" = yes; then
13921 MAINTAINER_MODE_TRUE=
13922 MAINTAINER_MODE_FALSE='#'
13924 MAINTAINER_MODE_TRUE='#'
13925 MAINTAINER_MODE_FALSE=
13927 MAINT=$MAINTAINER_MODE_TRUE
13929 # ---------------------
13930 # GCC bootstrap support
13931 # ---------------------
13933 # Stage specific cflags for build.
13938 yes) stage1_cflags="-g -Wa,-J" ;;
13939 *) stage1_cflags="-g -J" ;;
13943 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13944 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13945 saved_CFLAGS="$CFLAGS"
13947 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13948 CFLAGS="$CFLAGS -fkeep-inline-functions"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13950 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 #if (__GNUC__ < 3) \
13955 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13956 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13957 #error http://gcc.gnu.org/PR29382
13968 if ac_fn_c_try_compile "$LINENO"; then :
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13970 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13973 $as_echo "no
" >&6; }
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13977 CFLAGS="$saved_CFLAGS"
13982 # Enable --enable-checking in stage1 of the compiler.
13983 # Check whether --enable-stage1-checking was given.
13984 if test "${enable_stage1_checking+set}" = set; then :
13985 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13987 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13988 stage1_checking=--enable-checking=yes,types
13990 stage1_checking=--enable-checking=$enable_checking,types
13996 # Enable -Werror in bootstrap stage2 and later.
13997 # Check whether --enable-werror was given.
13998 if test "${enable_werror+set}" = set; then :
13999 enableval=$enable_werror;
14001 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14008 case ${enable_werror} in
14009 yes) stage2_werror_flag="--enable-werror-always" ;;
14010 *) stage2_werror_flag="" ;;
14014 # If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
14015 # --enable-build-with-cxx after stage1.
14016 if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
14017 POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
14019 POSTSTAGE1_CONFIGURE_FLAGS=
14023 # Specify what files to not compare during bootstrap.
14025 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14027 hppa*64*-*-hpux*) ;;
14028 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14030 case " $configdirs " in
14031 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14035 ac_config_files="$ac_config_files Makefile
"
14037 cat >confcache <<\_ACEOF
14038 # This file is a shell script that caches the results of configure
14039 # tests run on this system so they can be shared between configure
14040 # scripts and configure runs, see configure's option --config-cache.
14041 # It is not useful on other systems. If it contains results you don't
14042 # want to keep, you may remove or edit it.
14044 # config.status only pays attention to the cache file if you give it
14045 # the --recheck option to rerun configure.
14047 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14048 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14049 # following values.
14053 # The following way of writing the cache mishandles newlines in values,
14054 # but we know of no workaround that is simple, portable, and efficient.
14055 # So, we kill variables containing newlines.
14056 # Ultrix sh set writes to stderr and can't be redirected directly,
14057 # and sets the high bit in the cache file unless we assign to the vars.
14059 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14060 eval ac_val=\$$ac_var
14064 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14065 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14068 _ | IFS | as_nl) ;; #(
14069 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14070 *) { eval $ac_var=; unset $ac_var;} ;;
14076 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14077 *${as_nl}ac_space=\ *)
14078 # `set' does not quote correctly, so add quotes: double-quote
14079 # substitution turns \\\\ into \\, and sed turns \\ into \.
14082 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14085 # `set' quotes correctly as required by POSIX, so do not add quotes.
14086 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14097 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14099 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14100 if test -w "$cache_file"; then
14101 test "x
$cache_file" != "x
/dev
/null
" &&
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14103 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14104 cat confcache >$cache_file
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14107 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14112 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14113 # Let make expand exec_prefix.
14114 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14116 # Transform confdefs.h into DEFS.
14117 # Protect against shell expansion while executing Makefile rules.
14118 # Protect against Makefile macro expansion.
14120 # If the first sed substitution is executed (which looks for macros that
14121 # take arguments), then branch to the quote section. Otherwise,
14122 # look for a macro that doesn't take arguments.
14132 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14134 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14138 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14151 DEFS=`sed -n "$ac_script" confdefs.h`
14156 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14157 # 1. Remove the extension, and $U if already installed.
14158 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14159 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14160 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14161 # will be set to the directory where LIBOBJS objects are built.
14162 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14163 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14165 LIBOBJS=$ac_libobjs
14167 LTLIBOBJS=$ac_ltlibobjs
14171 : ${CONFIG_STATUS=./config.status}
14173 ac_clean_files_save=$ac_clean_files
14174 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14176 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14178 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14180 # Generated by $as_me.
14181 # Run this file to recreate the current configuration.
14182 # Compiler output produced by configure, useful for debugging
14183 # configure, is in config.log if it exists.
14186 ac_cs_recheck=false
14189 SHELL=\${CONFIG_SHELL-$SHELL}
14192 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14193 ## -------------------- ##
14194 ## M4sh Initialization. ##
14195 ## -------------------- ##
14197 # Be more Bourne compatible
14198 DUALCASE=1; export DUALCASE # for MKS sh
14199 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14202 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14203 # is contrary to our usage. Disable this feature.
14204 alias -g '${1+"$@"}'='"$@"'
14205 setopt NO_GLOB_SUBST
14207 case `(set -o) 2>/dev/null` in #(
14219 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14220 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14221 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14222 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14223 # Prefer a ksh shell builtin over an external printf program on Solaris,
14224 # but without wasting forks for bash or zsh.
14225 if test -z "$BASH_VERSION$ZSH_VERSION" \
14226 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14227 as_echo
='print -r --'
14228 as_echo_n
='print -rn --'
14229 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14230 as_echo
='printf %s\n'
14231 as_echo_n
='printf %s'
14233 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14234 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14235 as_echo_n
='/usr/ucb/echo -n'
14237 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14238 as_echo_n_body
='eval
14242 expr "X$arg" : "X\\(.*\\)$as_nl";
14243 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14245 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14247 export as_echo_n_body
14248 as_echo_n
='sh -c $as_echo_n_body as_echo'
14250 export as_echo_body
14251 as_echo
='sh -c $as_echo_body as_echo'
14254 # The user is always right.
14255 if test "${PATH_SEPARATOR+set}" != set; then
14257 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14258 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14265 # We need space, tab and new line, in precisely that order. Quoting is
14266 # there to prevent editors from complaining about space-tab.
14267 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14268 # splitting by setting IFS to empty value.)
14271 # Find who we are. Look in the path if we contain no directory separator.
14273 *[\\/]* ) as_myself
=$0 ;;
14274 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14275 for as_dir
in $PATH
14278 test -z "$as_dir" && as_dir
=.
14279 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14285 # We did not find ourselves, most probably we were run as `sh COMMAND'
14286 # in which case we are not to be found in the path.
14287 if test "x$as_myself" = x
; then
14290 if test ! -f "$as_myself"; then
14291 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14295 # Unset variables that we do not need and which cause bugs (e.g. in
14296 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14297 # suppresses any "Segmentation fault" message there. '((' could
14298 # trigger a bug in pdksh 5.2.14.
14299 for as_var
in BASH_ENV ENV MAIL MAILPATH
14300 do eval test x\
${$as_var+set} = xset \
14301 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14314 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14317 # as_fn_error ERROR [LINENO LOG_FD]
14318 # ---------------------------------
14319 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14320 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14321 # script with status $?, using 1 if that was 0.
14324 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14326 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14327 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14329 $as_echo "$as_me: error: $1" >&2
14330 as_fn_exit
$as_status
14334 # as_fn_set_status STATUS
14335 # -----------------------
14336 # Set $? to STATUS, without forking.
14337 as_fn_set_status
()
14340 } # as_fn_set_status
14342 # as_fn_exit STATUS
14343 # -----------------
14344 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14348 as_fn_set_status
$1
14354 # Portably unset VAR.
14357 { eval $1=; unset $1;}
14359 as_unset
=as_fn_unset
14360 # as_fn_append VAR VALUE
14361 # ----------------------
14362 # Append the text in VALUE to the end of the definition contained in VAR. Take
14363 # advantage of any shell optimizations that allow amortized linear growth over
14364 # repeated appends, instead of the typical quadratic growth present in naive
14366 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14367 eval 'as_fn_append ()
14378 # as_fn_arith ARG...
14379 # ------------------
14380 # Perform arithmetic evaluation on the ARGs, and store the result in the
14381 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14382 # must be portable across $(()) and expr.
14383 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14384 eval 'as_fn_arith ()
14391 as_val
=`expr "$@" || test $? -eq 1`
14396 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14397 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14403 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14404 as_basename
=basename
14409 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14415 as_me
=`$as_basename -- "$0" ||
14416 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14417 X"$0" : 'X\(//\)$' \| \
14418 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14420 sed '/^.*\/\([^/][^/]*\)\/*$/{
14434 # Avoid depending upon Character Ranges.
14435 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14436 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14437 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14438 as_cr_digits
='0123456789'
14439 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14441 ECHO_C
= ECHO_N
= ECHO_T
=
14442 case `echo -n x` in #(((((
14444 case `echo 'xy\c'` in
14445 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14447 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14454 rm -f conf$$ conf$$.exe conf$$.
file
14455 if test -d conf$$.dir
; then
14456 rm -f conf$$.dir
/conf$$.
file
14459 mkdir conf$$.dir
2>/dev
/null
14461 if (echo >conf$$.
file) 2>/dev
/null
; then
14462 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14464 # ... but there are two gotchas:
14465 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14466 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14467 # In both cases, we have to default to `cp -p'.
14468 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14470 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14478 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14479 rmdir conf$$.dir
2>/dev
/null
14484 # Create "$as_dir" as a directory, including parents if necessary.
14489 -*) as_dir
=.
/$as_dir;;
14491 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14495 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14496 *) as_qdir
=$as_dir;;
14498 as_dirs
="'$as_qdir' $as_dirs"
14499 as_dir
=`$as_dirname -- "$as_dir" ||
14500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501 X"$as_dir" : 'X\(//\)[^/]' \| \
14502 X"$as_dir" : 'X\(//\)$' \| \
14503 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14504 $as_echo X"$as_dir" |
14505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14509 /^X\(\/\/\)[^/].*/{
14522 test -d "$as_dir" && break
14524 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14525 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14529 if mkdir
-p .
2>/dev
/null
; then
14530 as_mkdir_p
='mkdir -p "$as_dir"'
14532 test -d .
/-p && rmdir .
/-p
14536 if test -x / >/dev
/null
2>&1; then
14537 as_test_x
='test -x'
14539 if ls -dL / >/dev
/null
2>&1; then
14546 if test -d "$1"; then
14552 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14553 ???[sx]*):;;*)false;;esac;fi
14557 as_executable_p
=$as_test_x
14559 # Sed expression to map a string onto a valid CPP name.
14560 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14562 # Sed expression to map a string onto a valid variable name.
14563 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14567 ## ----------------------------------- ##
14568 ## Main body of $CONFIG_STATUS script. ##
14569 ## ----------------------------------- ##
14571 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14574 # Save the log message, to keep $0 and so on meaningful, and to
14575 # report actual input values of CONFIG_FILES etc. instead of their
14576 # values after options handling.
14578 This file was extended by $as_me, which was
14579 generated by GNU Autoconf 2.64. Invocation command line was
14581 CONFIG_FILES = $CONFIG_FILES
14582 CONFIG_HEADERS = $CONFIG_HEADERS
14583 CONFIG_LINKS = $CONFIG_LINKS
14584 CONFIG_COMMANDS = $CONFIG_COMMANDS
14587 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14592 case $ac_config_files in *"
14593 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14599 # Files that config.status was made for.
14600 config_files="$ac_config_files"
14604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14606 \`$as_me' instantiates files and other configuration actions
14607 from templates according to the current configuration. Unless the files
14608 and actions are specified as TAGs, all are instantiated by default.
14610 Usage: $0 [OPTION]... [TAG]...
14612 -h, --help print this help, then exit
14613 -V, --version print version number and configuration settings, then exit
14614 -q, --quiet, --silent
14615 do not print progress messages
14616 -d, --debug don't remove temporary files
14617 --recheck update $as_me by reconfiguring in the same conditions
14618 --file=FILE[:TEMPLATE]
14619 instantiate the configuration file FILE
14621 Configuration files:
14624 Report bugs to the package provider."
14627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14630 configured by $0, generated by GNU Autoconf 2.64,
14631 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14633 Copyright (C) 2009 Free Software Foundation, Inc.
14634 This config.status script is free software; the Free Software Foundation
14635 gives unlimited permission to copy, distribute and modify it."
14641 test -n "\$AWK" || AWK=awk
14644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14645 # The default lists apply if the user does not specify any file.
14651 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14652 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14663 # Handling of the options.
14664 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14666 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14667 $as_echo "$ac_cs_version"; exit ;;
14668 --debug |
--debu |
--deb |
--de |
--d |
-d )
14670 --file |
--fil |
--fi |
--f )
14673 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14675 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14676 ac_need_defaults
=false
;;
14677 --he |
--h |
--help |
--hel |
-h )
14678 $as_echo "$ac_cs_usage"; exit ;;
14679 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14680 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14683 # This is an error.
14684 -*) as_fn_error
"unrecognized option: \`$1'
14685 Try \`$0 --help' for more information." ;;
14687 *) as_fn_append ac_config_targets
" $1"
14688 ac_need_defaults
=false
;;
14694 ac_configure_extra_args
=
14696 if $ac_cs_silent; then
14698 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14703 if \$ac_cs_recheck; then
14704 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14706 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14707 CONFIG_SHELL='$SHELL'
14708 export CONFIG_SHELL
14713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14717 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14718 ## Running $as_me. ##
14724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14728 extrasub_build="$extrasub_build"
14729 extrasub_host="$extrasub_host"
14730 extrasub_target="$extrasub_target"
14734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14736 # Handling of arguments.
14737 for ac_config_target
in $ac_config_targets
14739 case $ac_config_target in
14740 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14742 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14747 # If the user did not use the arguments to specify the items to instantiate,
14748 # then the envvar interface is used. Set only those that are not.
14749 # We use the long form for the default assignment because of an extremely
14750 # bizarre bug on SunOS 4.1.3.
14751 if $ac_need_defaults; then
14752 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14755 # Have a temporary directory for convenience. Make it in the build tree
14756 # simply because there is no reason against having it here, and in addition,
14757 # creating and moving files from /tmp can sometimes cause problems.
14758 # Hook for its removal unless debugging.
14759 # Note that there is a small window in which the directory will not be cleaned:
14760 # after its creation but before its name has been assigned to `$tmp'.
14764 trap 'exit_status=$?
14765 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14767 trap 'as_fn_exit 1' 1 2 13 15
14769 # Create a (secure) tmp directory for tmp files.
14772 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14773 test -n "$tmp" && test -d "$tmp"
14776 tmp
=.
/conf$$
-$RANDOM
14777 (umask 077 && mkdir
"$tmp")
14778 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14780 # Set up the scripts for CONFIG_FILES section.
14781 # No need to generate them if there are no CONFIG_FILES.
14782 # This happens for instance with `./config.status config.h'.
14783 if test -n "$CONFIG_FILES"; then
14785 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14786 ac_cs_awk_getline
=:
14787 ac_cs_awk_pipe_init
=
14788 ac_cs_awk_read_file
='
14789 while ((getline aline < (F[key])) > 0)
14792 ac_cs_awk_pipe_fini
=
14794 ac_cs_awk_getline
=false
14795 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14796 ac_cs_awk_read_file
='
14798 print "cat " F[key] " &&"
14799 '$ac_cs_awk_pipe_init
14800 # The final `:' finishes the AND list.
14801 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14803 ac_cr
=`echo X | tr X '\015'`
14804 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14805 # But we know of no other shell where ac_cr would be empty at this
14806 # point, so we can use a bashism as a fallback.
14807 if test "x$ac_cr" = x
; then
14808 eval ac_cr
=\$
\'\\r
\'
14810 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14811 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14814 ac_cs_awk_cr
=$ac_cr
14817 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14820 # Create commands to substitute file output variables.
14822 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14823 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14824 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14827 } >conf$
$files.sh
&&
14828 . .
/conf$
$files.sh ||
14829 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14830 rm -f conf$
$files.sh
14833 echo "cat >conf$$subs.awk <<_ACEOF" &&
14834 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14836 } >conf$$subs.sh ||
14837 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14838 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14840 for ac_last_try in false false false false false :; do
14841 . ./conf$$subs.sh ||
14842 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14844 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14845 if test $ac_delim_n = $ac_delim_num; then
14847 elif $ac_last_try; then
14848 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14850 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14853 rm -f conf$$subs.sh
14855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14856 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14860 s/^/S["/; s
/!.
*/"]=/
14870 s/\(.\{148\}\).*/\1/
14872 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14877 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14884 s/\(.\{148\}\).*/\1/
14886 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14890 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14895 ' <conf$$subs.awk | sed '
14900 ' >>$CONFIG_STATUS || ac_write_fail=1
14901 rm -f conf$$subs.awk
14902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14904 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14905 for (key in S) S_is_set[key] = 1
14907 \$ac_cs_awk_pipe_init
14911 nfields = split(line, field, "@
")
14913 len = length(field[1])
14914 for (i = 2; i < nfields; i++) {
14916 keylen = length(key)
14917 if (S_is_set[key]) {
14919 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14920 len += length(value) + length(field[++i])
14925 if (nfields == 3 && !substed) {
14927 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14928 \$ac_cs_awk_read_file
14934 \$ac_cs_awk_pipe_fini
14937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14938 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14939 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14942 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14943 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14946 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14947 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14948 # trailing colons and then remove the whole line if VPATH becomes empty
14949 # (actually we leave an empty line to preserve line numbers).
14950 if test "x
$srcdir" = x.; then
14951 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14952 s/:*\$(srcdir):*/:/
14953 s/:*\${srcdir}:*/:/
14955 s/^\([^=]*=[ ]*\):*/\1/
14961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14962 fi # test -n "$CONFIG_FILES"
14965 eval set X " :F
$CONFIG_FILES "
14970 :[FHLC]) ac_mode=$ac_tag; continue;;
14972 case $ac_mode$ac_tag in
14974 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14975 :[FH]-) ac_tag=-:-;;
14976 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14993 -) ac_f="$tmp/stdin";;
14994 *) # Look for the file first in the build tree, then in the source tree
14995 # (if the path is not absolute). The absolute path cannot be DOS-style,
14996 # because $ac_f cannot contain `:'.
15000 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15002 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15004 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15005 as_fn_append ac_file_inputs " '$ac_f'"
15008 # Let's still pretend it is `configure' which instantiates (i.e., don't
15009 # use $as_me), people would be surprised to read:
15010 # /* config.h. Generated by config.status. */
15011 configure_input='Generated from '`
15012 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15014 if test x"$ac_file" != x-; then
15015 configure_input="$ac_file.
$configure_input"
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15017 $as_echo "$as_me: creating
$ac_file" >&6;}
15019 # Neutralize special characters interpreted by sed in replacement strings.
15020 case $configure_input in #(
15021 *\&* | *\|* | *\\* )
15022 ac_sed_conf_input=`$as_echo "$configure_input" |
15023 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15024 *) ac_sed_conf_input=$configure_input;;
15028 *:-:* | *:-) cat >"$tmp/stdin
" \
15029 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15034 ac_dir=`$as_dirname -- "$ac_file" ||
15035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15036 X"$ac_file" : 'X\(//\)[^/]' \| \
15037 X"$ac_file" : 'X\(//\)$' \| \
15038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15039 $as_echo X"$ac_file" |
15040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15044 /^X\(\/\/\)[^/].*/{
15057 as_dir="$ac_dir"; as_fn_mkdir_p
15061 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15063 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15064 # A "..
" for each directory in $ac_dir_suffix.
15065 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15066 case $ac_top_builddir_sub in
15067 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15068 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15071 ac_abs_top_builddir=$ac_pwd
15072 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15073 # for backward compatibility:
15074 ac_top_builddir=$ac_top_build_prefix
15077 .) # We are building in place.
15079 ac_top_srcdir=$ac_top_builddir_sub
15080 ac_abs_top_srcdir=$ac_pwd ;;
15081 [\\/]* | ?:[\\/]* ) # Absolute name.
15082 ac_srcdir=$srcdir$ac_dir_suffix;
15083 ac_top_srcdir=$srcdir
15084 ac_abs_top_srcdir=$srcdir ;;
15085 *) # Relative name.
15086 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15087 ac_top_srcdir=$ac_top_build_prefix$srcdir
15088 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15090 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15100 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15101 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15106 # If the template does not know about datarootdir, expand it.
15107 # FIXME: This hack should be removed a few years after 2.60.
15108 ac_datarootdir_hack=; ac_datarootdir_seen=
15119 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15120 *datarootdir*) ac_datarootdir_seen=yes;;
15121 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15123 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15126 ac_datarootdir_hack='
15127 s&@datadir@&$datadir&g
15128 s&@docdir@&$docdir&g
15129 s&@infodir@&$infodir&g
15130 s&@localedir@&$localedir&g
15131 s&@mandir@&$mandir&g
15132 s&\\\${datarootdir}&$datarootdir&g' ;;
15136 # Neutralize VPATH when `$srcdir' = `.'.
15137 # Shell code in configure.ac might set extrasub.
15138 # FIXME: do we really want to maintain this feature?
15139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15140 ac_sed_extra="$ac_vpsub
15143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15145 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15146 s|@configure_input@|
$ac_sed_conf_input|
;t t
15147 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15148 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15149 s
&@srcdir@
&$ac_srcdir&;t t
15150 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15151 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15152 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15153 s
&@builddir@
&$ac_builddir&;t t
15154 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15155 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15156 s
&@INSTALL@
&$ac_INSTALL&;t t
15157 $ac_datarootdir_hack
15159 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15160 if $ac_cs_awk_getline; then
15161 $AWK -f "$tmp/subs.
awk"
15163 $AWK -f "$tmp/subs.
awk" | $SHELL
15165 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15167 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15168 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15169 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15171 which seems to be undefined. Please make sure it is defined." >&5
15172 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15173 which seems to be undefined. Please make sure it is defined." >&2;}
15177 -) cat "$tmp/out" && rm -f "$tmp/out";;
15178 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15180 || as_fn_error "could not create $ac_file" "$LINENO" 5
15188 case $ac_file$ac_mode in
15189 "Makefile":F) sed "$extrasub_build" Makefile |
15190 sed "$extrasub_host" |
15191 sed "$extrasub_target" > mf$$
15192 mv -f mf$$ Makefile ;;
15200 ac_clean_files=$ac_clean_files_save
15202 test $ac_write_fail = 0 ||
15203 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15206 # configure is writing to config.log, and then calls config.status.
15207 # config.status does its own redirection, appending to config.log.
15208 # Unfortunately, on DOS this fails, as config.log is still kept open
15209 # by configure, so config.status won't be able to
write to it
; its
15210 # output is simply discarded. So we exec the FD to /dev/null,
15211 # effectively closing config.log, so it can be properly (re)opened and
15212 # appended to by config.status. When coming back to configure, we
15213 # need to make the FD available again.
15214 if test "$no_create" != yes; then
15216 ac_config_status_args
=
15217 test "$silent" = yes &&
15218 ac_config_status_args
="$ac_config_status_args --quiet"
15220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15223 # would make configure fail if this is the last instruction.
15224 $ac_cs_success || as_fn_exit $?
15226 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15228 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}