2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
639 DEBUG_PREFIX_CFLAGS_FOR_TARGET
640 SYSROOT_CFLAGS_FOR_TARGET
642 extra_host_libiberty_configure_flags
651 extra_mpc_mpfr_configure_flags
652 extra_mpc_gmp_configure_flags
653 extra_mpfr_configure_flags
695 TOPLEVEL_CONFIGURE_ARGUMENTS
723 program_transform_name
734 ac_subst_files
='serialization_dependencies
740 enable_option_checking
745 enable_libquadmath_support
748 enable_build_with_cxx
768 enable_ppl_version_check
773 enable_cloog_version_check
775 enable_stage1_languages
778 with_debug_prefix_map
781 enable_serial_configure
782 with_build_time_tools
783 enable_maintainer_mode
784 enable_stage1_checking
787 ac_precious_vars
='build_alias
832 # Initialize some variables set by options.
834 ac_init_version
=false
835 ac_unrecognized_opts
=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name
=s
,x
,x
,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir
='${exec_prefix}/bin'
861 sbindir
='${exec_prefix}/sbin'
862 libexecdir
='${exec_prefix}/libexec'
863 datarootdir
='${prefix}/share'
864 datadir
='${datarootdir}'
865 sysconfdir
='${prefix}/etc'
866 sharedstatedir
='${prefix}/com'
867 localstatedir
='${prefix}/var'
868 includedir
='${prefix}/include'
869 oldincludedir
='/usr/include'
870 docdir
='${datarootdir}/doc/${PACKAGE}'
871 infodir
='${datarootdir}/info'
876 libdir
='${exec_prefix}/lib'
877 localedir
='${datarootdir}/locale'
878 mandir
='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\
$ac_option
892 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
902 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
904 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
907 -build |
--build |
--buil |
--bui |
--bu)
908 ac_prev
=build_alias
;;
909 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
910 build_alias
=$ac_optarg ;;
912 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
913 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
914 ac_prev
=cache_file
;;
915 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
916 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
917 cache_file
=$ac_optarg ;;
920 cache_file
=config.cache
;;
922 -datadir |
--datadir |
--datadi |
--datad)
924 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
925 datadir
=$ac_optarg ;;
927 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
928 |
--dataroo |
--dataro |
--datar)
929 ac_prev
=datarootdir
;;
930 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
931 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
932 datarootdir
=$ac_optarg ;;
934 -disable-* |
--disable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=no
;;
950 -docdir |
--docdir |
--docdi |
--doc |
--do)
952 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
955 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
957 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
960 -enable-* |
--enable-*)
961 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
964 as_fn_error
"invalid feature name: $ac_useropt"
965 ac_useropt_orig
=$ac_useropt
966 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep
=', ';;
974 eval enable_
$ac_useropt=\
$ac_optarg ;;
976 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
977 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
978 |
--exec |
--exe |
--ex)
979 ac_prev
=exec_prefix
;;
980 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
981 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
982 |
--exec=* |
--exe=* |
--ex=*)
983 exec_prefix
=$ac_optarg ;;
985 -gas |
--gas |
--ga |
--g)
986 # Obsolete; use --with-gas.
989 -help |
--help |
--hel |
--he |
-h)
991 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
992 ac_init_help
=recursive
;;
993 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
994 ac_init_help
=short
;;
996 -host |
--host |
--hos |
--ho)
997 ac_prev
=host_alias
;;
998 -host=* |
--host=* |
--hos=* |
--ho=*)
999 host_alias
=$ac_optarg ;;
1001 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1003 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1005 htmldir
=$ac_optarg ;;
1007 -includedir |
--includedir |
--includedi |
--included |
--include \
1008 |
--includ |
--inclu |
--incl |
--inc)
1009 ac_prev
=includedir
;;
1010 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1011 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1012 includedir
=$ac_optarg ;;
1014 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1016 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1017 infodir
=$ac_optarg ;;
1019 -libdir |
--libdir |
--libdi |
--libd)
1021 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1022 libdir
=$ac_optarg ;;
1024 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1025 |
--libexe |
--libex |
--libe)
1026 ac_prev
=libexecdir
;;
1027 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1028 |
--libexe=* |
--libex=* |
--libe=*)
1029 libexecdir
=$ac_optarg ;;
1031 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1032 ac_prev
=localedir
;;
1033 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1034 localedir
=$ac_optarg ;;
1036 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1037 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1038 ac_prev
=localstatedir
;;
1039 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1040 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1041 localstatedir
=$ac_optarg ;;
1043 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1045 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1046 mandir
=$ac_optarg ;;
1048 -nfp |
--nfp |
--nf)
1049 # Obsolete; use --without-fp.
1052 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1053 |
--no-cr |
--no-c |
-n)
1056 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1057 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1060 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1061 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1062 |
--oldin |
--oldi |
--old |
--ol |
--o)
1063 ac_prev
=oldincludedir
;;
1064 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1065 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1066 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1067 oldincludedir
=$ac_optarg ;;
1069 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1071 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1072 prefix
=$ac_optarg ;;
1074 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1075 |
--program-pre |
--program-pr |
--program-p)
1076 ac_prev
=program_prefix
;;
1077 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1078 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1079 program_prefix
=$ac_optarg ;;
1081 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1082 |
--program-suf |
--program-su |
--program-s)
1083 ac_prev
=program_suffix
;;
1084 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1085 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1086 program_suffix
=$ac_optarg ;;
1088 -program-transform-name |
--program-transform-name \
1089 |
--program-transform-nam |
--program-transform-na \
1090 |
--program-transform-n |
--program-transform- \
1091 |
--program-transform |
--program-transfor \
1092 |
--program-transfo |
--program-transf \
1093 |
--program-trans |
--program-tran \
1094 |
--progr-tra |
--program-tr |
--program-t)
1095 ac_prev
=program_transform_name
;;
1096 -program-transform-name=* |
--program-transform-name=* \
1097 |
--program-transform-nam=* |
--program-transform-na=* \
1098 |
--program-transform-n=* |
--program-transform-=* \
1099 |
--program-transform=* |
--program-transfor=* \
1100 |
--program-transfo=* |
--program-transf=* \
1101 |
--program-trans=* |
--program-tran=* \
1102 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1103 program_transform_name
=$ac_optarg ;;
1105 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1107 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1108 pdfdir
=$ac_optarg ;;
1110 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1112 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1115 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1116 |
-silent |
--silent |
--silen |
--sile |
--sil)
1119 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1121 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1123 sbindir
=$ac_optarg ;;
1125 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1126 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1127 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1129 ac_prev
=sharedstatedir
;;
1130 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1131 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1132 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1134 sharedstatedir
=$ac_optarg ;;
1136 -site |
--site |
--sit)
1138 -site=* |
--site=* |
--sit=*)
1141 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1143 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1144 srcdir
=$ac_optarg ;;
1146 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1147 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1148 ac_prev
=sysconfdir
;;
1149 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1150 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1151 sysconfdir
=$ac_optarg ;;
1153 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1154 ac_prev
=target_alias
;;
1155 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1156 target_alias
=$ac_optarg ;;
1158 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1161 -version |
--version |
--versio |
--versi |
--vers |
-V)
1162 ac_init_version
=: ;;
1165 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1168 as_fn_error
"invalid package name: $ac_useropt"
1169 ac_useropt_orig
=$ac_useropt
1170 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep
=', ';;
1178 eval with_
$ac_useropt=\
$ac_optarg ;;
1180 -without-* |
--without-*)
1181 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1184 as_fn_error
"invalid package name: $ac_useropt"
1185 ac_useropt_orig
=$ac_useropt
1186 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep
=', ';;
1194 eval with_
$ac_useropt=no
;;
1197 # Obsolete; use --with-x.
1200 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1201 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1202 ac_prev
=x_includes
;;
1203 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1204 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1205 x_includes
=$ac_optarg ;;
1207 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1208 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1209 ac_prev
=x_libraries
;;
1210 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1211 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1212 x_libraries
=$ac_optarg ;;
1214 -*) as_fn_error
"unrecognized option: \`$ac_option'
1215 Try \`$0 --help' for more information."
1219 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1223 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1225 eval $ac_envvar=\
$ac_optarg
1226 export $ac_envvar ;;
1229 # FIXME: should be removed in autoconf 3.0.
1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1239 if test -n "$ac_prev"; then
1240 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error
"missing argument to $ac_option"
1244 if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1247 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 # Check all directory arguments for consistency.
1253 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir
1258 eval ac_val
=\$
$ac_var
1259 # Remove trailing slashes.
1262 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\
$ac_val;;
1265 # Be sure to have absolute directory names.
1267 [\\/$
]* | ?
:[\\/]* ) continue;;
1268 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1270 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1273 # There might be people who depend on the old broken behavior: `$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1278 target
=$target_alias
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x
; then
1282 if test "x$build_alias" = x
; then
1283 cross_compiling
=maybe
1284 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1285 If a cross compiler is detected then cross compile mode will be used." >&2
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1294 test "$silent" = yes && exec 6>/dev
/null
1297 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di
=`ls -di .` &&
1299 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error
"working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error
"pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted
=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir
=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted
=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1341 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 as_fn_error
"path to source, $srcdir, contains spaces"
1362 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1364 for ac_var
in $ac_precious_vars; do
1365 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1367 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1378 \`configure' configures this package to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
1436 --program-prefix=PREFIX prepend PREFIX to installed program names
1437 --program-suffix=SUFFIX append SUFFIX to installed program names
1438 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1441 --build=BUILD configure
for building on BUILD
[guessed
]
1442 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1443 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1447 if test -n "$ac_init_help"; then
1452 --disable-option-checking ignore unrecognized
--enable/--with options
1453 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1454 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1455 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1456 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1457 --disable-libquadmath do not build libquadmath directory
1458 --disable-libquadmath-support
1459 disable libquadmath support
for Fortran
1460 --enable-libada build libada directory
1461 --enable-libssp build libssp directory
1462 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1463 --disable-ppl-version-check
1464 disable check
for PPL version
1465 --enable-cloog-backend[=BACKEND
]
1466 set the CLooG BACKEND used to either isl
, ppl or
1467 ppl-legacy
(default
)
1468 --disable-cloog-version-check
1469 disable check
for CLooG version
1470 --enable-lto enable link
time optimization support
1471 --enable-stage1-languages[=all
]
1472 choose additional languages to build during stage1.
1473 Mostly useful
for compiler development
1474 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1476 --enable-bootstrap enable bootstrapping [yes if native build]
1477 --enable-serial-[{host,target,build}-]configure
1478 force sequential configuration of sub-packages for
1479 the host, target or build machine, or all
1481 --enable-maintainer-mode
1482 enable make rules and dependencies not useful (and
1483 sometimes confusing) to the casual installer
1484 --enable-stage1-checking[=all]
1485 choose additional checking for stage1 of the
1487 --enable-werror enable -Werror in bootstrap stage2 and later
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-build-libsubdir=DIR Directory where to find libraries for build system
1493 --with-mpc=PATH specify prefix directory for installed MPC package.
1494 Equivalent to --with-mpc-include=PATH/include plus
1495 --with-mpc-lib=PATH/lib
1496 --with-mpc-include=PATH specify directory for installed MPC include files
1497 --with-mpc-lib=PATH specify directory for the installed MPC library
1498 --with-mpfr-dir=PATH this option has been REMOVED
1499 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1500 Equivalent to --with-mpfr-include=PATH/include plus
1501 --with-mpfr-lib=PATH/lib
1502 --with-mpfr-include=PATH
1503 specify directory for installed MPFR include files
1504 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1505 --with-gmp-dir=PATH this option has been REMOVED
1506 --with-gmp=PATH specify prefix directory for the installed GMP
1507 package. Equivalent to
1508 --with-gmp-include=PATH/include plus
1509 --with-gmp-lib=PATH/lib
1510 --with-gmp-include=PATH specify directory for installed GMP include files
1511 --with-gmp-lib=PATH specify directory for the installed GMP library
1512 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1514 --with-stage1-ldflags=FLAGS
1515 linker flags for stage1
1516 --with-stage1-libs=LIBS libraries for stage1
1517 --with-boot-libs=LIBS libraries for stage2 and later
1518 --with-boot-ldflags=FLAGS
1519 linker flags for stage2 and later
1520 --with-ppl=PATH specify prefix directory for the installed PPL
1521 package. Equivalent to
1522 --with-ppl-include=PATH/include plus
1523 --with-ppl-lib=PATH/lib
1524 --with-ppl-include=PATH specify directory for installed PPL include files
1525 --with-ppl-lib=PATH specify directory for the installed PPL library
1526 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1527 package. Equivalent to
1528 --with-cloog-include=PATH/include plus
1529 --with-cloog-lib=PATH/lib
1530 --with-cloog-include=PATH
1531 Specify directory for installed CLooG include files
1532 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1534 --with-build-sysroot=SYSROOT
1535 use sysroot as the system root during the build
1536 --with-debug-prefix-map='A
=B C
=D ...
'
1537 map A to B, C to D ... in debug information
1538 --with-build-config='NAME NAME2...
'
1539 use config/NAME.mk build configuration
1540 --with-build-time-tools=PATH
1541 use given path to find target tools during the build
1543 Some influential environment variables:
1544 CC C compiler command
1545 CFLAGS C compiler flags
1546 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1547 nonstandard directory <lib dir>
1548 LIBS libraries to pass to the linker, e.g. -l<library>
1549 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1550 you have headers in a nonstandard directory <include dir>
1551 CXX C++ compiler command
1552 CXXFLAGS C++ compiler flags
1554 additional configure arguments for build directories
1556 additional configure arguments for host directories
1558 additional configure arguments for target directories
1561 DLLTOOL DLLTOOL for the host
1563 LIPO LIPO for the host
1565 RANLIB RANLIB for the host
1566 STRIP STRIP for the host
1567 WINDRES WINDRES for the host
1568 WINDMC WINDMC for the host
1569 OBJCOPY OBJCOPY for the host
1570 OBJDUMP OBJDUMP for the host
1580 GFORTRAN for the target
1588 DLLTOOL for the target
1596 OBJDUMP for the target
1598 RANLIB for the target
1600 STRIP for the target
1602 WINDRES for the target
1604 WINDMC for the target
1606 Use these variables to override the choices made by `configure' or to
help
1607 it to
find libraries and programs with nonstandard names
/locations.
1609 Report bugs to the package provider.
1614 if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1617 test -d "$ac_dir" ||
1618 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1623 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1625 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626 # A ".." for each directory in $ac_dir_suffix.
1627 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628 case $ac_top_builddir_sub in
1629 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1630 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1633 ac_abs_top_builddir
=$ac_pwd
1634 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir
=$ac_top_build_prefix
1639 .
) # We are building in place.
1641 ac_top_srcdir
=$ac_top_builddir_sub
1642 ac_abs_top_srcdir
=$ac_pwd ;;
1643 [\\/]* | ?
:[\\/]* ) # Absolute name.
1644 ac_srcdir
=$srcdir$ac_dir_suffix;
1645 ac_top_srcdir
=$srcdir
1646 ac_abs_top_srcdir
=$srcdir ;;
1648 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1650 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1652 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1654 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1655 # Check for guested configure.
1656 if test -f "$ac_srcdir/configure.gnu"; then
1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659 elif test -f "$ac_srcdir/configure"; then
1661 $SHELL "$ac_srcdir/configure" --help=recursive
1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1673 generated by GNU Autoconf
2.64
1675 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1676 This configure
script is free software
; the Free Software Foundation
1677 gives unlimited permission to copy
, distribute and modify it.
1682 ## ------------------------ ##
1683 ## Autoconf initialization. ##
1684 ## ------------------------ ##
1686 # ac_fn_c_try_compile LINENO
1687 # --------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_c_try_compile
()
1691 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1692 rm -f conftest.
$ac_objext
1693 if { { ac_try
="$ac_compile"
1695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_compile") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest.$ac_objext; then :
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 } # ac_fn_c_try_compile
1724 # ac_fn_cxx_try_compile LINENO
1725 # ----------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_cxx_try_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext
1731 if { { ac_try="$ac_compile"
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1740 if test -s conftest.err
; then
1741 grep -v '^ *+' conftest.err
>conftest.er1
1742 cat conftest.er1
>&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_cxx_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.
$ac_objext; then :
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.
$ac_ext >&5
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1760 } # ac_fn_cxx_try_compile
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 rm -f conftest.
$ac_objext conftest
$ac_exeext
1769 if { { ac_try
="$ac_link"
1771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 $as_test_x conftest$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 } # ac_fn_c_try_link
1807 cat >config.log <<_ACEOF
1808 This file contains any messages produced by compilers while
1809 running configure, to aid debugging if configure makes a mistake.
1811 It was created by $as_me, which was
1812 generated by GNU Autoconf 2.64. Invocation command line was
1824 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1825 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1826 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1827 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1828 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1830 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1831 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1833 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1834 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1835 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1836 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1837 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1838 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1839 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 $as_echo "PATH: $as_dir"
1864 # Keep a trace of the command line.
1865 # Strip out --no-create and --no-recursion so they do not pile up.
1866 # Strip out --silent because we don't want to record it for future runs.
1867 # Also quote any args containing shell meta-characters.
1868 # Make two passes to allow for proper duplicate-argument suppression.
1872 ac_must_keep_next=false
1878 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1880 | -silent | --silent | --silen | --sile | --sil)
1883 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1886 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1888 as_fn_append ac_configure_args1 " '$ac_arg'"
1889 if test $ac_must_keep_next = true; then
1890 ac_must_keep_next=false # Got value, back to normal.
1893 *=* | --config-cache | -C | -disable-* | --disable-* \
1894 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1895 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1896 | -with-* | --with-* | -without-* | --without-* | --x)
1897 case "$ac_configure_args0 " in
1898 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1901 -* ) ac_must_keep_next=true ;;
1904 as_fn_append ac_configure_args " '$ac_arg'"
1909 { ac_configure_args0=; unset ac_configure_args0;}
1910 { ac_configure_args1=; unset ac_configure_args1;}
1912 # When interrupted or exit'd, cleanup temporary files, and complete
1913 # config.log. We remove comments because anyway the quotes in there
1914 # would cause problems or look ugly.
1915 # WARNING: Use '\'' to represent an apostrophe within the trap.
1916 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1917 trap 'exit_status=$?
1918 # Save into config.log some information that might help in debugging.
1923 ## ---------------- ##
1924 ## Cache variables. ##
1925 ## ---------------- ##
1928 # The following way of writing the cache mishandles newlines in values,
1930 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1931 eval ac_val=\$$ac_var
1935 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1939 _ | IFS | as_nl) ;; #(
1940 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1941 *) { eval $ac_var=; unset $ac_var;} ;;
1946 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1947 *${as_nl}ac_space=\ *)
1949 "s/'\''/'\''\\\\'\'''\''/g;
1950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1961 ## ----------------- ##
1962 ## Output variables. ##
1963 ## ----------------- ##
1966 for ac_var in $ac_subst_vars
1968 eval ac_val=\$$ac_var
1970 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972 $as_echo "$ac_var='\''$ac_val'\''"
1976 if test -n "$ac_subst_files"; then
1978 ## ------------------- ##
1979 ## File substitutions. ##
1980 ## ------------------- ##
1983 for ac_var in $ac_subst_files
1985 eval ac_val=\$$ac_var
1987 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1989 $as_echo "$ac_var='\''$ac_val'\''"
1994 if test -s confdefs.h; then
2004 test "$ac_signal" != 0 &&
2005 $as_echo "$as_me: caught signal $ac_signal"
2006 $as_echo "$as_me: exit $exit_status"
2008 rm -f core *.core core.conftest.* &&
2009 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2012 for ac_signal in 1 2 13 15; do
2013 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2017 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2018 rm -f -r conftest* confdefs.h
2020 $as_echo "/* confdefs.h */" > confdefs.h
2022 # Predefined preprocessor variables.
2024 cat >>confdefs.h <<_ACEOF
2025 #define PACKAGE_NAME "$PACKAGE_NAME"
2028 cat >>confdefs.h <<_ACEOF
2029 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_STRING "$PACKAGE_STRING"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_URL "$PACKAGE_URL"
2049 # Let the site file select an alternate cache file if it wants to.
2050 # Prefer an explicitly selected file to automatically selected ones.
2053 if test -n "$CONFIG_SITE"; then
2054 ac_site_file1=$CONFIG_SITE
2055 elif test "x$prefix" != xNONE; then
2056 ac_site_file1=$prefix/share/config.site
2057 ac_site_file2=$prefix/etc/config.site
2059 ac_site_file1=$ac_default_prefix/share/config.site
2060 ac_site_file2=$ac_default_prefix/etc/config.site
2062 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2064 test "x$ac_site_file" = xNONE && continue
2065 if test -r "$ac_site_file"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2067 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2068 sed 's/^/| /' "$ac_site_file" >&5
2073 if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special
2075 # files actually), so we avoid doing that.
2076 if test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 # Check that the precious variables saved in the cache have kept the same
2092 ac_cache_corrupted=false
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2101 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2105 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x
$ac_old_val`
2112 ac_new_val_w=`echo x
$ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2116 ac_cache_corrupted=:
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2147 ## -------------------- ##
2148 ## Main body of script. ##
2149 ## -------------------- ##
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2166 # if PWD already has a value, it is probably wrong.
2167 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2169 # Export original configure arguments for use by sub-configures.
2170 # Quote arguments with shell meta charatcers.
2171 TOPLEVEL_CONFIGURE_ARGUMENTS=
2172 set -- "$progname" "$@"
2176 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2177 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2178 # if the argument is of the form -foo=baz, quote the baz part only
2179 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2182 # Add the quoted argument to the list.
2183 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2185 if test "$silent" = yes; then
2186 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2188 # Remove the initial space we just introduced and, as these will be
2189 # expanded by make, quote '$'.
2190 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2193 # Find the build, host, and target systems.
2195 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2196 for ac_t in install-sh install.sh shtool; do
2197 if test -f "$ac_dir/$ac_t"; then
2199 ac_install_sh="$ac_aux_dir/$ac_t -c"
2204 if test -z "$ac_aux_dir"; then
2205 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2208 # These three variables are undocumented and unsupported,
2209 # and are intended to be withdrawn in a future Autoconf release.
2210 # They can cause serious problems if a builder's source tree is in a directory
2211 # whose full name contains unusual characters.
2212 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2213 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2214 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2217 # Make sure we can run config.sub.
2218 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2219 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2222 $as_echo_n "checking build system type... " >&6; }
2223 if test "${ac_cv_build+set}" = set; then :
2224 $as_echo_n "(cached) " >&6
2226 ac_build_alias=$build_alias
2227 test "x$ac_build_alias" = x &&
2228 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2229 test "x$ac_build_alias" = x &&
2230 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2231 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2232 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2236 $as_echo "$ac_cv_build" >&6; }
2237 case $ac_cv_build in
2239 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2242 ac_save_IFS=$IFS; IFS='-'
2248 # Remember, the first character of IFS is used to create $*,
2249 # except with old shells:
2252 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2255 case ${build_alias} in
2256 "") build_noncanonical=${build} ;;
2257 *) build_noncanonical=${build_alias} ;;
2262 case ${host_alias} in
2263 "") host_noncanonical=${build_noncanonical} ;;
2264 *) host_noncanonical=${host_alias} ;;
2269 case ${target_alias} in
2270 "") target_noncanonical=${host_noncanonical} ;;
2271 *) target_noncanonical=${target_alias} ;;
2277 test "$host_noncanonical" = "$target_noncanonical" &&
2278 test "$program_prefix$program_suffix$program_transform_name" = \
2280 program_transform_name=s,y,y,
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2283 $as_echo_n "checking host system type... " >&6; }
2284 if test "${ac_cv_host+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2287 if test "x$host_alias" = x; then
2288 ac_cv_host=$ac_cv_build
2290 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2291 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2296 $as_echo "$ac_cv_host" >&6; }
2299 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2302 ac_save_IFS=$IFS; IFS='-'
2308 # Remember, the first character of IFS is used to create $*,
2309 # except with old shells:
2312 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2316 $as_echo_n "checking target system type... " >&6; }
2317 if test "${ac_cv_target+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2320 if test "x$target_alias" = x; then
2321 ac_cv_target=$ac_cv_host
2323 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2324 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2329 $as_echo "$ac_cv_target" >&6; }
2330 case $ac_cv_target in
2332 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2334 target=$ac_cv_target
2335 ac_save_IFS=$IFS; IFS='-'
2341 # Remember, the first character of IFS is used to create $*,
2342 # except with old shells:
2345 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2348 # The aliases save the names the user supplied, while $host etc.
2349 # will get canonicalized.
2350 test -n "$target_alias" &&
2351 test "$program_prefix$program_suffix$program_transform_name" = \
2353 program_prefix=${target_alias}-
2355 test "$program_prefix" != NONE &&
2356 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2357 # Use a double $ so make ignores it.
2358 test "$program_suffix" != NONE &&
2359 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2360 # Double any \ or $.
2361 # By default was `s
,x
,x
', remove it if useless.
2362 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2363 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2367 # Get 'install' or 'install-sh
' and its variants.
2368 # Find a good install program. We prefer a C program (faster),
2369 # so one script is as good as another. But avoid the broken or
2370 # incompatible versions:
2371 # SysV /etc/install, /usr/sbin/install
2372 # SunOS /usr/etc/install
2373 # IRIX /sbin/install
2375 # AmigaOS /C/install, which installs bootblocks on floppy discs
2376 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2379 # OS/2's system install, which has a completely different semantic
2380 # ./install, which can be erroneously created by make from ./install.sh.
2381 # Reject install programs that cannot install multiple files.
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2383 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2384 if test -z "$INSTALL"; then
2385 if test "${ac_cv_path_install+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir
=.
2393 # Account for people who put trailing slashes in PATH elements.
2394 case $as_dir/ in #((
2395 .
/ | .
// |
/[cC
]/* | \
2396 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2397 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2400 # OSF1 and SCO ODT 3.0 have their own names for install.
2401 # Don't use installbsd from OSF since it installs stuff as root
2403 for ac_prog
in ginstall scoinst
install; do
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2406 if test $ac_prog = install &&
2407 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2408 # AIX install. It has an incompatible calling convention.
2410 elif test $ac_prog = install &&
2411 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2412 # program-specific install script used by HP pwplus--don't use.
2415 rm -rf conftest.one conftest.two conftest.dir
2416 echo one
> conftest.one
2417 echo two
> conftest.two
2419 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2420 test -s conftest.one
&& test -s conftest.two
&&
2421 test -s conftest.dir
/conftest.one
&&
2422 test -s conftest.dir
/conftest.two
2424 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2437 rm -rf conftest.one conftest.two conftest.dir
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL
=$ac_cv_path_install
2443 # As a last resort, use the slow shell script. Don't cache a
2444 # value for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the value is a relative name.
2447 INSTALL
=$ac_install_sh
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2451 $as_echo "$INSTALL" >&6; }
2453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454 # It thinks the first close brace ends the variable substitution.
2455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2459 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2462 $as_echo_n "checking whether ln works... " >&6; }
2463 if test "${acx_cv_prog_LN+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2466 rm -f conftestdata_t
2467 echo >conftestdata_f
2468 if ln conftestdata_f conftestdata_t
2>/dev
/null
2474 rm -f conftestdata_f conftestdata_t
2477 if test $acx_cv_prog_LN = no
; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2480 $as_echo "no, using $LN" >&6; }
2482 LN
="$acx_cv_prog_LN"
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484 $as_echo "yes" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2488 $as_echo_n "checking whether ln -s works... " >&6; }
2490 if test "$LN_S" = "ln -s"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2492 $as_echo "yes" >&6; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2495 $as_echo "no, using $LN_S" >&6; }
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2499 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2500 if test "${ac_cv_path_SED+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2503 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2504 for ac_i
in 1 2 3 4 5 6 7; do
2505 ac_script
="$ac_script$as_nl$ac_script"
2507 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2508 { ac_script
=; unset ac_script
;}
2509 if test -z "$SED"; then
2510 ac_path_SED_found
=false
2511 # Loop through the user's path and test for each of PROGNAME-LIST
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_prog
in sed gsed
; do
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2520 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2521 # Check for GNU ac_path_SED and select it if it is found.
2522 # Check for GNU $ac_path_SED
2523 case `"$ac_path_SED" --version 2>&1` in
2525 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2528 $as_echo_n 0123456789 >"conftest.in"
2531 cat "conftest.in" "conftest.in" >"conftest.tmp"
2532 mv "conftest.tmp" "conftest.in"
2533 cp "conftest.in" "conftest.nl"
2534 $as_echo '' >> "conftest.nl"
2535 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2536 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2537 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2538 if test $ac_count -gt ${ac_path_SED_max-0}; then
2539 # Best one so far, save it but keep looking for a better one
2540 ac_cv_path_SED
="$ac_path_SED"
2541 ac_path_SED_max
=$ac_count
2543 # 10*(2^10) chars as input seems more than enough
2544 test $ac_count -gt 10 && break
2546 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2549 $ac_path_SED_found && break 3
2554 if test -z "$ac_cv_path_SED"; then
2555 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2563 $as_echo "$ac_cv_path_SED" >&6; }
2564 SED
="$ac_cv_path_SED"
2567 for ac_prog
in gawk mawk nawk
awk
2569 # Extract the first word of "$ac_prog", so it can be a program name with args.
2570 set dummy
$ac_prog; ac_word
=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if test "${ac_cv_prog_AWK+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$AWK"; then
2577 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_exec_ext
in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586 ac_cv_prog_AWK
="$ac_prog"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 if test -n "$AWK"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2599 $as_echo "$AWK" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2606 test -n "$AWK" && break
2610 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2612 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2614 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2615 INSTALL
="${srcpwd}/install-sh -c"
2618 # Set srcdir to "." if that's what it is.
2619 # This is important for multilib support.
2621 if test "${pwd}" = "${srcpwd}" ; then
2629 ### To add a new directory to the tree, first choose whether it is a target
2630 ### or a host dependent tool. Then put it into the appropriate list
2631 ### (library or tools, host or target), doing a dependency sort.
2633 # Subdirs will be configured in the order listed in build_configdirs,
2634 # configdirs, or target_configdirs; see the serialization section below.
2636 # Dependency sorting is only needed when *configuration* must be done in
2637 # a particular order. In all cases a dependency should be specified in
2638 # the Makefile, whether or not it's implicitly specified here.
2640 # Double entries in build_configdirs, configdirs, or target_configdirs may
2641 # cause circular dependencies and break everything horribly.
2643 # these library is used by various programs built for the build
2646 build_libs
="build-libiberty"
2648 # these tools are built for the build environment
2649 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2651 # these libraries are used by various programs built for the host environment
2653 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2655 # these tools are built for the host environment
2656 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2657 # know that we are building the simulator.
2658 # binutils, gas and ld appear in that order because it makes sense to run
2659 # "make check" in that particular order.
2660 # If --enable-gold is used, "gold" may replace "ld".
2661 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2663 # libgcj represents the runtime libraries only used by gcj.
2664 libgcj
="target-libffi \
2668 # these libraries are built for the target environment, and are built after
2669 # the host libraries and the host tools (which may be a cross compiler)
2671 target_libraries
="target-libgcc \
2676 target-libstdc++-v3 \
2679 target-libquadmath \
2680 target-libgfortran \
2687 # these tools are built using the target libraries, and are intended to
2688 # run only in the target environment
2690 # note: any program that *uses* libraries that are in the "target_libraries"
2691 # list belongs in this list.
2693 target_tools
="target-rda"
2695 ################################################################################
2697 ## All tools belong in one of the four categories, and are assigned above
2698 ## We assign ${configdirs} this way to remove all embedded newlines. This
2699 ## is important because configure will choke if they ever get through.
2700 ## ${configdirs} is directories we build using the host tools.
2701 ## ${target_configdirs} is directories we build using the target tools.
2702 configdirs
=`echo ${host_libs} ${host_tools}`
2703 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2704 build_configdirs
=`echo ${build_libs} ${build_tools}`
2708 ################################################################################
2710 srcname
="gnu development package"
2712 # This gets set non-empty for some net releases of packages.
2715 # Define is_cross_compiler to save on calls to 'test'.
2717 if test x
"${host}" = x
"${target}" ; then
2718 is_cross_compiler
=no
2720 is_cross_compiler
=yes
2723 # Find the build and target subdir names.
2725 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2726 # have matching libraries, they should use host libraries: Makefile.tpl
2727 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2728 # However, they still use the build modules, because the corresponding
2729 # host modules (e.g. bison) are only built for the host when bootstrap
2731 # - build_subdir is where we find build modules, and never changes.
2732 # - build_libsubdir is where we find build libraries, and can be overridden.
2734 # Prefix 'build-' so this never conflicts with target_subdir.
2735 build_subdir
="build-${build_noncanonical}"
2737 # Check whether --with-build-libsubdir was given.
2738 if test "${with_build_libsubdir+set}" = set; then :
2739 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2741 build_libsubdir
="$build_subdir"
2744 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2745 if ( test $srcdir = .
&& test -d gcc
) \
2746 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2747 host_subdir
="host-${host_noncanonical}"
2752 target_subdir
=${target_noncanonical}
2754 # Be sure to cover against remnants of an in-tree build.
2755 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2756 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2757 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2760 # Skipdirs are removed silently.
2762 # Noconfigdirs are removed loudly.
2766 # Make sure we don't let GNU ld be added if we didn't want it.
2767 if test x
$with_gnu_ld = xno
; then
2769 noconfigdirs
="$noconfigdirs ld gold"
2773 # Make sure we don't let GNU as be added if we didn't want it.
2774 if test x
$with_gnu_as = xno
; then
2776 noconfigdirs
="$noconfigdirs gas"
2780 # Make sure we don't let ZLIB be added if we didn't want it.
2781 if test x
$with_system_zlib = xyes
; then
2782 use_included_zlib
=no
2783 noconfigdirs
="$noconfigdirs zlib"
2786 # some tools are so dependent upon X11 that if we're not building with X,
2787 # it's not even worth trying to configure, much less build, that tool.
2790 yes |
"") ;; # the default value for this tree is that X11 is available
2792 skipdirs
="${skipdirs} tk itcl libgui"
2793 # We won't be able to build gdbtk without X.
2796 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2799 # Some are only suitable for cross toolchains.
2800 # Remove these if host=target.
2801 cross_only
="target-libgloss target-newlib target-opcodes"
2803 case $is_cross_compiler in
2804 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2807 # If both --with-headers and --with-libs are specified, default to
2809 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2810 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2811 if test x
"${with_newlib}" = x
; then
2816 # Recognize --with-newlib/--without-newlib.
2817 case ${with_newlib} in
2818 no
) skipdirs
="${skipdirs} target-newlib" ;;
2819 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2822 # Handle --enable-gold, --enable-ld.
2823 # --disable-gold [--enable-ld]
2824 # Build only ld. Default option.
2825 # --enable-gold [--enable-ld]
2826 # Build both gold and ld. Install gold as "ld.gold", install ld
2827 # as "ld.bfd" and "ld".
2828 # --enable-gold=default [--enable-ld]
2829 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2830 # install ld as "ld.bfd".
2831 # --enable-gold[=default] --disable-ld
2832 # Build only gold, which is then installed as both "ld.gold" and "ld".
2833 # --enable-gold --enable-ld=default
2834 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2836 # In other words, ld is default
2837 # --enable-gold=default --enable-ld=default
2841 # Check whether --enable-gold was given.
2842 if test "${enable_gold+set}" = set; then :
2843 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2848 case "${ENABLE_GOLD}" in
2850 # Check for ELF target.
2853 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2854 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2855 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2856 |
*-*-solaris2* |
*-*-nto*)
2858 *-*-linux*aout
* |
*-*-linux*oldld
*)
2866 if test "$is_elf" = "yes"; then
2867 # Check for target supported by gold.
2869 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2870 configdirs
="$configdirs gold"
2871 if test x
${ENABLE_GOLD} = xdefault
; then
2882 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2886 # Check whether --enable-ld was given.
2887 if test "${enable_ld+set}" = set; then :
2888 enableval
=$enable_ld; ENABLE_LD
=$enableval
2894 case "${ENABLE_LD}" in
2896 if test x
${default_ld} != x
; then
2897 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2903 if test x
${ENABLE_GOLD} != xyes
; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2905 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2907 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2910 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2914 # Configure extra directories which are host specific
2918 configdirs
="$configdirs libtermcap" ;;
2921 # A target can indicate whether a language isn't supported for some reason.
2922 # Only spaces may be used in this macro; not newlines or tabs.
2923 unsupported_languages
=
2925 # Remove more programs from consideration, based on the host or
2926 # target this usually means that a port of the program doesn't
2930 i
[3456789]86-*-msdosdjgpp*)
2931 noconfigdirs
="$noconfigdirs tcl tk itcl"
2936 # Check whether --enable-libquadmath was given.
2937 if test "${enable_libquadmath+set}" = set; then :
2938 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2940 ENABLE_LIBQUADMATH
=yes
2943 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2944 noconfigdirs
="$noconfigdirs target-libquadmath"
2948 # Check whether --enable-libquadmath-support was given.
2949 if test "${enable_libquadmath_support+set}" = set; then :
2950 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2952 ENABLE_LIBQUADMATH_SUPPORT
=yes
2955 enable_libquadmath_support
=
2956 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2957 enable_libquadmath_support
=no
2961 # Check whether --enable-libada was given.
2962 if test "${enable_libada+set}" = set; then :
2963 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2968 if test "${ENABLE_LIBADA}" != "yes" ; then
2969 noconfigdirs
="$noconfigdirs gnattools"
2972 # Check whether --enable-libssp was given.
2973 if test "${enable_libssp+set}" = set; then :
2974 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2980 # Save it here so that, even in case of --enable-libgcj, if the Java
2981 # front-end isn't enabled, we still get libgcj disabled.
2982 libgcj_saved
=$libgcj
2983 case $enable_libgcj in
2985 # If we reset it here, it won't get added to noconfigdirs in the
2986 # target-specific build rules, so it will be forcibly enabled
2987 # (unless the Java language itself isn't enabled).
2991 # Make sure we get it printed in the list of not supported target libs.
2992 # Don't disable libffi, though, other languages use it.
2993 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
2994 # Clear libgcj_saved so that even if java is enabled libffi won't be
3001 # Disable libmudflap on some systems.
3002 if test x
$enable_libmudflap = x
; then
3004 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3005 # Enable libmudflap by default in GNU and friends.
3008 # Enable libmudflap by default in FreeBSD.
3011 # Disable it by default everywhere else.
3012 noconfigdirs
="$noconfigdirs target-libmudflap"
3017 # Disable libgomp on non POSIX hosted systems.
3018 if test x
$enable_libgomp = x
; then
3019 # Enable libgomp by default on hosted POSIX systems.
3021 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3023 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3025 *-*-solaris2* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3027 *-*-darwin* |
*-*-aix*)
3030 noconfigdirs
="$noconfigdirs target-libgomp"
3035 # Disable libssp for some systems.
3038 # No hosted I/O support.
3039 noconfigdirs
="$noconfigdirs target-libssp"
3041 powerpc-
*-aix* | rs6000-
*-aix*)
3042 noconfigdirs
="$noconfigdirs target-libssp"
3046 # Disable target libiberty for some systems.
3049 # Remove unsupported stuff on all kaOS configurations.
3050 skipdirs
="target-libiberty"
3053 # Skip some stuff on all NetBSD configurations.
3054 noconfigdirs
="$noconfigdirs target-libiberty"
3057 noconfigdirs
="$noconfigdirs target-libiberty"
3060 skipdirs
="${skipdirs} target-libiberty"
3063 noconfigdirs
="$noconfigdirs target-libiberty"
3066 noconfigdirs
="$noconfigdirs target-libiberty"
3068 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3069 noconfigdirs
="$noconfigdirs target-libiberty"
3072 noconfigdirs
="$noconfigdirs target-libiberty"
3075 noconfigdirs
="$noconfigdirs target-libiberty"
3077 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3078 noconfigdirs
="$noconfigdirs target-libiberty"
3081 noconfigdirs
="$noconfigdirs target-libiberty"
3084 skipdirs
="$skipdirs target-libiberty"
3087 noconfigdirs
="$noconfigdirs target-libiberty"
3091 # Disable libstdc++-v3 for some systems.
3094 # VxWorks uses the Dinkumware C++ library.
3095 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3098 # the C++ libraries don't build on top of CE's C libraries
3099 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3102 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3106 # Disable Fortran for some systems.
3109 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3110 unsupported_languages
="$unsupported_languages fortran"
3114 # Default libgloss CPU subdirectory.
3115 libgloss_dir
="$target_cpu"
3119 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3122 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3123 noconfigdirs
="$noconfigdirs sim target-rda"
3125 i
[3456789]86-*-darwin*)
3126 noconfigdirs
="$noconfigdirs ld gprof"
3127 noconfigdirs
="$noconfigdirs sim target-rda"
3129 x86_64-
*-darwin[912]*)
3130 noconfigdirs
="$noconfigdirs ld gas gprof"
3131 noconfigdirs
="$noconfigdirs sim target-rda"
3134 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3135 noconfigdirs
="$noconfigdirs sim target-rda"
3136 noconfigdirs
="$noconfigdirs ${libgcj}"
3139 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3142 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3143 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3144 && test -f /usr
/local
/include
/gmp.h
; then
3148 # Skip some stuff that's unsupported on some FreeBSD configurations.
3154 noconfigdirs
="$noconfigdirs ${libgcj}"
3159 # Remove unsupported stuff on all kaOS configurations.
3160 noconfigdirs
="$noconfigdirs target-libgloss"
3163 # Skip some stuff on all NetBSD configurations.
3164 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3166 # Skip some stuff that's unsupported on some NetBSD configurations.
3168 i
*86-*-netbsdelf*) ;;
3169 arm
*-*-netbsdelf*) ;;
3171 noconfigdirs
="$noconfigdirs ${libgcj}"
3176 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3179 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3181 # The tpf target doesn't support gdb yet.
3183 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj} gdb tcl tk libgui itcl"
3186 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3189 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3192 # ld works, but does not support shared libraries.
3193 # newlib is not 64 bit ready.
3194 # gas doesn't generate exception information.
3195 noconfigdirs
="$noconfigdirs gas ld target-newlib target-libgloss"
3198 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3201 # newlib is not 64 bit ready
3202 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3205 # newlib is not 64 bit ready
3206 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3209 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3212 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3214 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3215 noconfigdirs
="$noconfigdirs ${libgcj}"
3216 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3217 noconfigdirs
="$noconfigdirs target-newlib"
3221 noconfigdirs
="$noconfigdirs target-libgloss"
3226 arm-
*-elf* | arm
*-*-eabi* )
3227 noconfigdirs
="$noconfigdirs target-libffi"
3230 arm
*-*-linux-gnueabi)
3231 case ${with_newlib} in
3232 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3237 noconfigdirs
="$noconfigdirs ${libgcj}"
3241 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3244 noconfigdirs
="$noconfigdirs ld target-libgloss"
3247 noconfigdirs
="$noconfigdirs ${libgcj}"
3250 unsupported_languages
="$unsupported_languages java"
3251 noconfigdirs
="$noconfigdirs target-boehm-gc"
3253 c4x-
*-* | tic4x-
*-*)
3254 noconfigdirs
="$noconfigdirs target-libgloss"
3257 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3260 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3262 cris-
*-* | crisv32-
*-*)
3263 unsupported_languages
="$unsupported_languages java"
3266 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3267 *) # See PR46792 regarding target-libffi.
3268 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3273 noconfigdirs
="$noconfigdirs target-libgloss"
3276 noconfigdirs
="$noconfigdirs gdb"
3279 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3282 noconfigdirs
="$noconfigdirs ${libgcj}"
3285 noconfigdirs
="$noconfigdirs ${libgcj}"
3286 noconfigdirs
="$noconfigdirs gprof"
3289 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3292 noconfigdirs
="$noconfigdirs target-libgloss"
3294 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3297 # In this case, it's because the hppa64-linux target is for
3298 # the kernel only at this point and has no libc, and thus no
3299 # headers, crt*.o, etc., all of which are needed by these.
3300 noconfigdirs
="$noconfigdirs target-zlib"
3306 hppa
*-*-openbsd* | \
3308 noconfigdirs
="$noconfigdirs ${libgcj}"
3311 noconfigdirs
="$noconfigdirs ld"
3317 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3318 # build on HP-UX 10.20.
3319 noconfigdirs
="$noconfigdirs ld ${libgcj}"
3322 noconfigdirs
="$noconfigdirs gdb"
3325 # No gdb support yet.
3326 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3329 # No ld support yet.
3330 noconfigdirs
="$noconfigdirs ${libgcj} libgui itcl ld"
3333 # No gdb or ld support yet.
3334 noconfigdirs
="$noconfigdirs ${libgcj} readline libgui itcl gdb ld"
3336 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3337 noconfigdirs
="$noconfigdirs ${libgcj}"
3340 i
[3456789]86-*-linux*)
3341 # This section makes it possible to build newlib natively on linux.
3342 # If we are using a cross compiler then don't configure newlib.
3343 if test x
${is_cross_compiler} != xno
; then
3344 noconfigdirs
="$noconfigdirs target-newlib"
3346 noconfigdirs
="$noconfigdirs target-libgloss"
3347 # If we are not using a cross compiler, do configure newlib.
3348 # Note however, that newlib will only be configured in this situation
3349 # if the --with-newlib option has been given, because otherwise
3350 # 'target-newlib' will appear in skipdirs.
3352 i
[3456789]86-w64-mingw*)
3353 noconfigdirs
="$noconfigdirs target-libgloss target-newlib ${libgcj}"
3355 i
[3456789]86-*-mingw*)
3356 target_configdirs
="$target_configdirs target-winsup"
3357 noconfigdirs
="$noconfigdirs target-libgloss target-newlib ${libgcj}"
3360 noconfigdirs
="$noconfigdirs target-libgloss target-newlib ${libgcj}"
3363 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3364 noconfigdirs
="$noconfigdirs target-libgloss"
3365 # always build newlib if winsup directory is present.
3366 if test -d "$srcdir/winsup/cygwin"; then
3367 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3368 elif test -d "$srcdir/newlib"; then
3369 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3372 i
[3456789]86-*-interix* )
3375 noconfigdirs
="$noconfigdirs target-libgloss"
3377 i
[3456789]86-*-sco3.2v5
*)
3378 # The linker does not yet know about weak symbols in COFF,
3379 # and is not configured to handle mixed ELF and COFF.
3380 noconfigdirs
="$noconfigdirs ld target-libgloss"
3382 i
[3456789]86-*-sco*)
3383 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3385 i
[3456789]86-*-solaris2*)
3386 noconfigdirs
="$noconfigdirs target-libgloss"
3388 i
[3456789]86-*-sysv4*)
3389 noconfigdirs
="$noconfigdirs target-libgloss"
3391 i
[3456789]86-*-beos*)
3392 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3394 i
[3456789]86-*-rdos*)
3395 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3398 noconfigdirs
="$noconfigdirs ${libgcj}"
3400 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3401 libgloss_dir
=m68hc11
3404 noconfigdirs
="$noconfigdirs ${libgcj}"
3406 m68
*-*-* | fido-
*-*)
3410 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb"
3411 unsupported_languages
="$unsupported_languages java"
3414 noconfigdirs
="$noconfigdirs sim"
3417 # copied from rs6000-*-* entry
3418 noconfigdirs
="$noconfigdirs gprof target-libgloss target-newlib ${libgcj}"
3420 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3421 target_configdirs
="$target_configdirs target-winsup"
3422 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3423 # always build newlib.
3424 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3426 # This is temporary until we can link against shared libraries
3427 powerpcle-
*-solaris*)
3428 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3432 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3435 noconfigdirs
="$noconfigdirs ${libgcj}"
3438 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3442 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3445 noconfigdirs
="$noconfigdirs gprof target-libgloss target-newlib ${libgcj}"
3448 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3451 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3454 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3457 noconfigdirs
="$noconfigdirs ${libgcj}"
3458 if test x
$with_newlib = xyes
; then
3459 noconfigdirs
="$noconfigdirs gprof"
3464 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3467 # Linking libjava exceeds command-line length limits on at least
3468 # IRIX 6.2, but not on IRIX 6.5.
3469 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3470 # <oldham@codesourcery.com>
3471 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3474 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3477 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3480 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3486 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3488 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3491 sparclet-
*-aout* | sparc86x-
*-*)
3495 noconfigdirs
="$noconfigdirs ${libgcj}"
3498 noconfigdirs
="$noconfigdirs ${libgcj}"
3505 if test x
${is_cross_compiler} != xno
; then
3506 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3511 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3514 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3517 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3520 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3522 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3523 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3526 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3529 noconfigdirs
="$noconfigdirs ${libgcj}"
3533 # If we aren't building newlib, then don't build libgloss, since libgloss
3534 # depends upon some newlib header files.
3535 case "${noconfigdirs}" in
3536 *target-libgloss
*) ;;
3537 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3540 # Work in distributions that contain no compiler tools, like Autoconf.
3541 host_makefile_frag
=/dev
/null
3542 if test -d ${srcdir}/config
; then
3544 i
[3456789]86-*-msdosdjgpp*)
3545 host_makefile_frag
="config/mh-djgpp"
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3550 $as_echo_n "checking to see if cat works as expected... " >&6; }
3551 echo a
>cygwin-cat-check
3552 if test `cat cygwin-cat-check` = a
; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555 $as_echo "yes" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3560 as_fn_error
"The cat command does not ignore carriage return characters.
3561 Please either mount the build directory in binary mode or run the following
3562 commands before running any configure script:
3568 host_makefile_frag
="config/mh-cygwin"
3571 host_makefile_frag
="config/mh-mingw"
3574 host_makefile_frag
="config/mh-interix"
3577 host_makefile_frag
="config/mh-pa-hpux10"
3580 host_makefile_frag
="config/mh-pa"
3583 host_makefile_frag
="config/mh-pa"
3586 host_makefile_frag
="config/mh-darwin"
3589 host_makefile_frag
="config/mh-ppc-aix"
3592 host_makefile_frag
="config/mh-ppc-aix"
3597 if test "${build}" != "${host}" ; then
3598 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3599 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3600 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3601 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3602 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3603 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3604 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3605 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3606 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3607 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3608 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3609 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3610 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3612 AR_FOR_BUILD
="\$(AR)"
3613 AS_FOR_BUILD
="\$(AS)"
3614 CC_FOR_BUILD
="\$(CC)"
3615 CXX_FOR_BUILD
="\$(CXX)"
3616 GCJ_FOR_BUILD
="\$(GCJ)"
3617 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3618 GOC_FOR_BUILD
="\$(GOC)"
3619 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3620 LD_FOR_BUILD
="\$(LD)"
3621 NM_FOR_BUILD
="\$(NM)"
3622 RANLIB_FOR_BUILD
="\$(RANLIB)"
3623 WINDRES_FOR_BUILD
="\$(WINDRES)"
3624 WINDMC_FOR_BUILD
="\$(WINDMC)"
3628 ac_cpp
='$CPP $CPPFLAGS'
3629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3634 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC
="$CC" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3671 if test -z "$ac_cv_prog_CC"; then
3673 # Extract the first word of "gcc", so it can be a program name with args.
3674 set dummy gcc
; ac_word
=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 if test -n "$ac_ct_CC"; then
3681 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 test -z "$as_dir" && as_dir
=.
3688 for ac_exec_ext
in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 ac_cv_prog_ac_ct_CC
="gcc"
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3701 if test -n "$ac_ct_CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3703 $as_echo "$ac_ct_CC" >&6; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3709 if test "x$ac_ct_CC" = x
; then
3712 case $cross_compiling:$ac_tool_warned in
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3716 ac_tool_warned
=yes ;;
3724 if test -z "$CC"; then
3725 if test -n "$ac_tool_prefix"; then
3726 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3727 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if test "${ac_cv_prog_CC+set}" = set; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$CC"; then
3734 ac_cv_prog_CC
="$CC" # Let the user override the test.
3736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir
=.
3741 for ac_exec_ext
in '' $ac_executable_extensions; do
3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3743 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 if test -n "$CC"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756 $as_echo "$CC" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 # Extract the first word of "cc", so it can be a program name with args.
3767 set dummy cc
; ac_word
=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_prog_CC+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$CC"; then
3774 ac_cv_prog_CC
="$CC" # Let the user override the test.
3777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3781 test -z "$as_dir" && as_dir
=.
3782 for ac_exec_ext
in '' $ac_executable_extensions; do
3783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3784 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3785 ac_prog_rejected
=yes
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 if test $ac_prog_rejected = yes; then
3797 # We found a bogon in the path, so make sure we never use it.
3798 set dummy
$ac_cv_prog_CC
3800 if test $# != 0; then
3801 # We chose a different compiler from the bogus one.
3802 # However, it has the same basename, so the bogon will be chosen
3803 # first if we set CC to just the basename; use the full file name.
3805 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3811 if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3813 $as_echo "$CC" >&6; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3821 if test -z "$CC"; then
3822 if test -n "$ac_tool_prefix"; then
3823 for ac_prog
in cl.exe
3825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3826 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if test "${ac_cv_prog_CC+set}" = set; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -n "$CC"; then
3833 ac_cv_prog_CC
="$CC" # Let the user override the test.
3835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir
=.
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3842 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3862 test -n "$CC" && break
3865 if test -z "$CC"; then
3867 for ac_prog
in cl.exe
3869 # Extract the first word of "$ac_prog", so it can be a program name with args.
3870 set dummy
$ac_prog; ac_word
=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir
=.
3884 for ac_exec_ext
in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_ac_ct_CC
="$ac_prog"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3897 if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899 $as_echo "$ac_ct_CC" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3906 test -n "$ac_ct_CC" && break
3909 if test "x$ac_ct_CC" = x
; then
3912 case $cross_compiling:$ac_tool_warned in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916 ac_tool_warned
=yes ;;
3925 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3927 as_fn_error
"no acceptable C compiler found in \$PATH
3928 See \`config.log' for more details." "$LINENO" 5; }
3930 # Provide some information about the compiler.
3931 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3934 for ac_option
in --version -v -V -qversion; do
3935 { { ac_try
="$ac_compiler $ac_option >&5"
3937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 if test -s conftest.err; then
3946 ... rest of stderr output deleted ...
3947 10q' conftest.err >conftest.er1
3948 cat conftest.er1 >&5
3949 rm -f conftest.er1 conftest.err
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 ac_clean_files_save=$ac_clean_files
3967 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3968 # Try to create an executable without -o first, disregard a.out.
3969 # It will help us diagnose broken compilers, and finding out an intuition
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3972 $as_echo_n "checking for C compiler default output file name... " >&6; }
3973 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3975 # The possible output files:
3976 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3979 for ac_file in $ac_files
3982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3983 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3988 if { { ac_try="$ac_link_default"
3990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3991 *) ac_try_echo
=$ac_try;;
3993 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_link_default") 2>&5
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; then :
3999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4001 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4002 # so that the user can short-circuit this test for compilers unknown to
4004 for ac_file
in $ac_files ''
4006 test -f "$ac_file" ||
continue
4008 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4011 # We found the default executable, but exeext='' is most
4015 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4017 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4019 # We set ac_cv_exeext here because the later test for it is not
4020 # safe: cross compilers may not add the suffix if given an `-o'
4021 # argument, so we may need to know it at that point already.
4022 # Even if this section looks crufty: it has the advantage of
4029 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4035 $as_echo "$ac_file" >&6; }
4036 if test -z "$ac_file"; then :
4037 $as_echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.
$ac_ext >&5
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 { as_fn_set_status
77
4043 as_fn_error
"C compiler cannot create executables
4044 See \`config.log' for more details." "$LINENO" 5; }; }
4046 ac_exeext
=$ac_cv_exeext
4048 # Check that the compiler produces executables we can run. If not, either
4049 # the compiler is broken, or we cross compile.
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4051 $as_echo_n "checking whether the C compiler works... " >&6; }
4052 # If not cross compiling, check that we can run a simple program.
4053 if test "$cross_compiling" != yes; then
4054 if { ac_try
='./$ac_file'
4055 { { case "(($ac_try" in
4056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_try") 2>&5
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }; }; then
4067 if test "$cross_compiling" = maybe; then
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error "cannot run C compiled programs.
4073 If you meant to cross compile
, use \
`--host'.
4074 See \`config.log
' for more details." "$LINENO" 5; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4079 $as_echo "yes" >&6; }
4081 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4082 ac_clean_files=$ac_clean_files_save
4083 # Check that the compiler produces executables we can run. If not, either
4084 # the compiler is broken, or we cross compile.
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4086 $as_echo_n "checking whether we are cross compiling... " >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4088 $as_echo "$cross_compiling" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4091 $as_echo_n "checking for suffix of executables... " >&6; }
4092 if { { ac_try="$ac_link"
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link") 2>&5
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4104 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4105 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4107 for ac_file
in conftest.exe conftest conftest.
*; do
4108 test -f "$ac_file" ||
continue
4110 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4111 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4120 See \`config.log' for more details." "$LINENO" 5; }
4122 rm -f conftest
$ac_cv_exeext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4124 $as_echo "$ac_cv_exeext" >&6; }
4126 rm -f conftest.
$ac_ext
4127 EXEEXT
=$ac_cv_exeext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4130 $as_echo_n "checking for suffix of object files... " >&6; }
4131 if test "${ac_cv_objext+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4145 rm -f conftest.o conftest.obj
4146 if { { ac_try
="$ac_compile"
4148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_compile") 2>&5
4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 test $ac_status = 0; }; then :
4157 for ac_file in conftest.o conftest.obj conftest.*; do
4158 test -f "$ac_file" || continue;
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4166 $as_echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.$ac_ext >&5
4169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error "cannot compute suffix of object files
: cannot compile
4172 See \
`config.log' for more details." "$LINENO" 5; }
4174 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4177 $as_echo "$ac_cv_objext" >&6; }
4178 OBJEXT=$ac_cv_objext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4181 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4182 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4183 $as_echo_n "(cached) " >&6
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4199 if ac_fn_c_try_compile "$LINENO"; then :
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4209 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4210 if test $ac_compiler_gnu = yes; then
4215 ac_test_CFLAGS=${CFLAGS+set}
4216 ac_save_CFLAGS=$CFLAGS
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4219 if test "${ac_cv_prog_cc_g+set}" = set; then :
4220 $as_echo_n "(cached) " >&6
4222 ac_save_c_werror_flag=$ac_c_werror_flag
4223 ac_c_werror_flag=yes
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4252 if ac_fn_c_try_compile "$LINENO"; then :
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4268 if ac_fn_c_try_compile "$LINENO"; then :
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 ac_c_werror_flag=$ac_save_c_werror_flag
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4279 $as_echo "$ac_cv_prog_cc_g" >&6; }
4280 if test "$ac_test_CFLAGS" = set; then
4281 CFLAGS=$ac_save_CFLAGS
4282 elif test $ac_cv_prog_cc_g = yes; then
4283 if test "$GCC" = yes; then
4289 if test "$GCC" = yes; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4296 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4297 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4298 $as_echo_n "(cached) " >&6
4300 ac_cv_prog_cc_c89=no
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4306 #include <sys/types.h>
4307 #include <sys/stat.h>
4308 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4309 struct buf { int x; };
4310 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4311 static char *e (p, i)
4317 static char *f (char * (*g) (char **, int), char **p, ...)
4322 s = g (p, va_arg (v,int));
4327 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4328 function prototypes and stuff, but not '\xHH' hex character constants.
4329 These don't provoke an error unfortunately, instead are silently treated
4330 as 'x'. The following induces an error, until -std is added to get
4331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4332 array size at least. It's necessary to write '\x00'==0 to get something
4333 that's true only with -std. */
4334 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4336 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4337 inside strings and character constants. */
4339 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4341 int test (int i, double x);
4342 struct s1 {int (*f) (int a);};
4343 struct s2 {int (*f) (double a);};
4344 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4350 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4355 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4358 CC="$ac_save_CC $ac_arg"
4359 if ac_fn_c_try_compile "$LINENO"; then :
4360 ac_cv_prog_cc_c89=$ac_arg
4362 rm -f core conftest.err conftest.$ac_objext
4363 test "x$ac_cv_prog_cc_c89" != "xno" && break
4365 rm -f conftest.$ac_ext
4370 case "x$ac_cv_prog_cc_c89" in
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4373 $as_echo "none needed" >&6; } ;;
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4376 $as_echo "unsupported" >&6; } ;;
4378 CC="$CC $ac_cv_prog_cc_c89"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4380 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4382 if test "x$ac_cv_prog_cc_c89" != xno; then :
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393 ac_cpp='$CXXCPP $CPPFLAGS'
4394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4397 if test -z "$CXX"; then
4398 if test -n "$CCC"; then
4401 if test -n "$ac_tool_prefix"; then
4402 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if test "${ac_cv_prog_CXX+set}" = set; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -n "$CXX"; then
4412 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 if test -n "$CXX"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4434 $as_echo "$CXX" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4441 test -n "$CXX" && break
4444 if test -z "$CXX"; then
4446 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4448 # Extract the first word of "$ac_prog", so it can be a program name with args.
4449 set dummy $ac_prog; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$ac_ct_CXX"; then
4456 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465 ac_cv_prog_ac_ct_CXX="$ac_prog"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4476 if test -n "$ac_ct_CXX"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4478 $as_echo "$ac_ct_CXX" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4485 test -n "$ac_ct_CXX" && break
4488 if test "x$ac_ct_CXX" = x; then
4491 case $cross_compiling:$ac_tool_warned in
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4503 # Provide some information about the compiler.
4504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4507 for ac_option in --version -v -V -qversion; do
4508 { { ac_try="$ac_compiler $ac_option >&5"
4510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4511 *) ac_try_echo
=$ac_try;;
4513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4514 $as_echo "$ac_try_echo"; } >&5
4515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4517 if test -s conftest.err
; then
4519 ... rest of stderr output deleted ...
4520 10q' conftest.err
>conftest.er1
4521 cat conftest.er1
>&5
4522 rm -f conftest.er1 conftest.err
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4529 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4530 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4531 $as_echo_n "(cached) " >&6
4533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4547 if ac_fn_cxx_try_compile
"$LINENO"; then :
4552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4553 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4557 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4558 if test $ac_compiler_gnu = yes; then
4563 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4564 ac_save_CXXFLAGS
=$CXXFLAGS
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4566 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4567 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4570 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4571 ac_cxx_werror_flag
=yes
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4585 if ac_fn_cxx_try_compile
"$LINENO"; then :
4586 ac_cv_prog_cxx_g
=yes
4589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_cxx_try_compile
"$LINENO"; then :
4603 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4616 if ac_fn_cxx_try_compile
"$LINENO"; then :
4617 ac_cv_prog_cxx_g
=yes
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4624 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4627 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4628 if test "$ac_test_CXXFLAGS" = set; then
4629 CXXFLAGS
=$ac_save_CXXFLAGS
4630 elif test $ac_cv_prog_cxx_g = yes; then
4631 if test "$GXX" = yes; then
4637 if test "$GXX" = yes; then
4644 ac_cpp
='$CPP $CPPFLAGS'
4645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4650 # We must set the default linker to the linker used by gcc for the correct
4651 # operation of libtool. If LD is not defined and we are using gcc, try to
4652 # set the LD default to the ld used by gcc.
4653 if test -z "$LD"; then
4654 if test "$GCC" = yes; then
4657 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4659 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4661 case $gcc_prog_ld in
4662 # Accept absolute paths.
4663 [\\/]* |
[A-Za-z
]:[\\/]*)
4664 LD
="$gcc_prog_ld" ;;
4672 if test -n "$ac_tool_prefix"; then
4673 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4674 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -n "$GNATBIND"; then
4681 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4687 test -z "$as_dir" && as_dir
=.
4688 for ac_exec_ext
in '' $ac_executable_extensions; do
4689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 GNATBIND
=$ac_cv_prog_GNATBIND
4701 if test -n "$GNATBIND"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4703 $as_echo "$GNATBIND" >&6; }
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4711 if test -z "$ac_cv_prog_GNATBIND"; then
4712 ac_ct_GNATBIND
=$GNATBIND
4713 # Extract the first word of "gnatbind", so it can be a program name with args.
4714 set dummy gnatbind
; ac_word
=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$ac_ct_GNATBIND"; then
4721 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_exec_ext
in '' $ac_executable_extensions; do
4729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4730 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4741 if test -n "$ac_ct_GNATBIND"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4743 $as_echo "$ac_ct_GNATBIND" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4749 if test "x$ac_ct_GNATBIND" = x
; then
4752 case $cross_compiling:$ac_tool_warned in
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4756 ac_tool_warned
=yes ;;
4758 GNATBIND
=$ac_ct_GNATBIND
4761 GNATBIND
="$ac_cv_prog_GNATBIND"
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4766 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 $as_echo_n "checking for $ac_word... " >&6; }
4769 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4770 $as_echo_n "(cached) " >&6
4772 if test -n "$GNATMAKE"; then
4773 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 GNATMAKE
=$ac_cv_prog_GNATMAKE
4793 if test -n "$GNATMAKE"; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4795 $as_echo "$GNATMAKE" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 $as_echo "no" >&6; }
4803 if test -z "$ac_cv_prog_GNATMAKE"; then
4804 ac_ct_GNATMAKE
=$GNATMAKE
4805 # Extract the first word of "gnatmake", so it can be a program name with args.
4806 set dummy gnatmake
; ac_word
=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$ac_ct_GNATMAKE"; then
4813 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4833 if test -n "$ac_ct_GNATMAKE"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4835 $as_echo "$ac_ct_GNATMAKE" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4841 if test "x$ac_ct_GNATMAKE" = x
; then
4844 case $cross_compiling:$ac_tool_warned in
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4848 ac_tool_warned
=yes ;;
4850 GNATMAKE
=$ac_ct_GNATMAKE
4853 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4857 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4858 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4861 cat >conftest.adb
<<EOF
4862 procedure conftest is begin null; end conftest;
4864 acx_cv_cc_gcc_supports_ada
=no
4865 # There is a bug in old released versions of GCC which causes the
4866 # driver to exit successfully when the appropriate language module
4867 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4868 # Therefore we must check for the error message as well as an
4869 # unsuccessful exit.
4870 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4871 # given a .adb file, but produce no object file. So we must check
4872 # if an object file was really produced to guard against this.
4873 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4874 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4875 acx_cv_cc_gcc_supports_ada
=yes
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4880 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4882 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4889 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4890 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4891 $as_echo_n "(cached) " >&6
4895 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4896 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4897 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4900 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4903 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4904 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4907 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
4914 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
4915 do_compare
="$gcc_cv_prog_cmp_skip"
4919 # See if we are building gcc with C++.
4920 # Check whether --enable-build-with-cxx was given.
4921 if test "${enable_build_with_cxx+set}" = set; then :
4922 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
4924 ENABLE_BUILD_WITH_CXX
=no
4928 # Used for setting $lt_cv_objdir
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
4930 $as_echo_n "checking for objdir... " >&6; }
4931 if test "${lt_cv_objdir+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 rm -f .libs
2>/dev
/null
4935 mkdir .libs
2>/dev
/null
4936 if test -d .libs
; then
4939 # MS-DOS does not allow filenames that begin with a dot.
4942 rmdir .libs
2>/dev
/null
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
4945 $as_echo "$lt_cv_objdir" >&6; }
4946 objdir
=$lt_cv_objdir
4952 cat >>confdefs.h
<<_ACEOF
4953 #define LT_OBJDIR "$lt_cv_objdir/"
4958 # Check for GMP, MPFR and MPC
4959 gmplibs
="-lmpc -lmpfr -lgmp"
4963 # Specify a location for mpc
4964 # check for this first so it ends up on the link line before mpfr.
4966 # Check whether --with-mpc was given.
4967 if test "${with_mpc+set}" = set; then :
4972 # Check whether --with-mpc-include was given.
4973 if test "${with_mpc_include+set}" = set; then :
4974 withval
=$with_mpc_include;
4978 # Check whether --with-mpc-lib was given.
4979 if test "${with_mpc_lib+set}" = set; then :
4980 withval
=$with_mpc_lib;
4984 if test "x$with_mpc" != x
; then
4985 gmplibs
="-L$with_mpc/lib $gmplibs"
4986 gmpinc
="-I$with_mpc/include $gmpinc"
4988 if test "x$with_mpc_include" != x
; then
4989 gmpinc
="-I$with_mpc_include $gmpinc"
4991 if test "x$with_mpc_lib" != x
; then
4992 gmplibs
="-L$with_mpc_lib $gmplibs"
4994 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
4995 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
4996 gmpinc
='-I$$s/mpc/src '"$gmpinc"
4997 # Do not test the mpc version. Assume that it is sufficient, since
4998 # it is in the source tree, and the library has not been built yet
4999 # but it would be included on the link line in the version check below
5000 # hence making the test fail.
5004 # Specify a location for mpfr
5005 # check for this first so it ends up on the link line before gmp.
5007 # Check whether --with-mpfr-dir was given.
5008 if test "${with_mpfr_dir+set}" = set; then :
5009 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5010 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5015 # Check whether --with-mpfr was given.
5016 if test "${with_mpfr+set}" = set; then :
5021 # Check whether --with-mpfr-include was given.
5022 if test "${with_mpfr_include+set}" = set; then :
5023 withval
=$with_mpfr_include;
5027 # Check whether --with-mpfr-lib was given.
5028 if test "${with_mpfr_lib+set}" = set; then :
5029 withval
=$with_mpfr_lib;
5033 if test "x$with_mpfr" != x
; then
5034 gmplibs
="-L$with_mpfr/lib $gmplibs"
5035 gmpinc
="-I$with_mpfr/include $gmpinc"
5037 if test "x$with_mpfr_include" != x
; then
5038 gmpinc
="-I$with_mpfr_include $gmpinc"
5040 if test "x$with_mpfr_lib" != x
; then
5041 gmplibs
="-L$with_mpfr_lib $gmplibs"
5043 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5044 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5045 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5046 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5047 # Do not test the mpfr version. Assume that it is sufficient, since
5048 # it is in the source tree, and the library has not been built yet
5049 # but it would be included on the link line in the version check below
5050 # hence making the test fail.
5054 # Specify a location for gmp
5056 # Check whether --with-gmp-dir was given.
5057 if test "${with_gmp_dir+set}" = set; then :
5058 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5059 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5064 # Check whether --with-gmp was given.
5065 if test "${with_gmp+set}" = set; then :
5070 # Check whether --with-gmp-include was given.
5071 if test "${with_gmp_include+set}" = set; then :
5072 withval
=$with_gmp_include;
5076 # Check whether --with-gmp-lib was given.
5077 if test "${with_gmp_lib+set}" = set; then :
5078 withval
=$with_gmp_lib;
5083 if test "x$with_gmp" != x
; then
5084 gmplibs
="-L$with_gmp/lib $gmplibs"
5085 gmpinc
="-I$with_gmp/include $gmpinc"
5087 if test "x$with_gmp_include" != x
; then
5088 gmpinc
="-I$with_gmp_include $gmpinc"
5090 if test "x$with_gmp_lib" != x
; then
5091 gmplibs
="-L$with_gmp_lib $gmplibs"
5093 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5094 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5095 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5096 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5097 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5098 # Do not test the gmp version. Assume that it is sufficient, since
5099 # it is in the source tree, and the library has not been built yet
5100 # but it would be included on the link line in the version check below
5101 # hence making the test fail.
5105 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5107 saved_CFLAGS
="$CFLAGS"
5108 CFLAGS
="$CFLAGS $gmpinc"
5109 # Check for the recommended and required versions of GMP.
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5111 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5120 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5121 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5122 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5130 if ac_fn_c_try_compile
"$LINENO"; then :
5131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5138 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5139 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5140 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5148 if ac_fn_c_try_compile
"$LINENO"; then :
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 $as_echo "yes" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5153 $as_echo "buggy but acceptable" >&6; }
5155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }; have_gmp
=no
5160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5162 # If we have GMP, check the MPFR version.
5163 if test x
"$have_gmp" = xyes
; then
5164 # Check for the recommended and required versions of MPFR.
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5166 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5175 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5183 if ac_fn_c_try_compile
"$LINENO"; then :
5184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5192 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5200 if ac_fn_c_try_compile
"$LINENO"; then :
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 $as_echo "yes" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5205 $as_echo "buggy but acceptable" >&6; }
5207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }; have_gmp
=no
5212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5215 # Check for the MPC header version.
5216 if test x
"$have_gmp" = xyes
; then
5217 # Check for the recommended and required versions of MPC.
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5219 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5227 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5235 if ac_fn_c_try_compile
"$LINENO"; then :
5236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5243 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5251 if ac_fn_c_try_compile
"$LINENO"; then :
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5253 $as_echo "yes" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5256 $as_echo "buggy but acceptable" >&6; }
5258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }; have_gmp
=no
5263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5266 # Now check the MPFR library.
5267 if test x
"$have_gmp" = xyes
; then
5269 LIBS
="$LIBS $gmplibs"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5271 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5285 mpfr_atan2 (n, n, x, GMP_RNDN);
5286 mpfr_erfc (n, x, GMP_RNDN);
5287 mpfr_subnormalize (x, t, GMP_RNDN);
5291 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5292 mpc_cosh (c, c, MPC_RNDNN);
5293 mpc_pow (c, c, c, MPC_RNDNN);
5294 mpc_acosh (c, c, MPC_RNDNN);
5301 if ac_fn_c_try_link
"$LINENO"; then :
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303 $as_echo "yes" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }; have_gmp
=no
5308 rm -f core conftest.err conftest.
$ac_objext \
5309 conftest
$ac_exeext conftest.
$ac_ext
5313 CFLAGS
="$saved_CFLAGS"
5315 # The library versions listed in the error message below should match
5316 # the HARD-minimums enforced above.
5317 if test x
$have_gmp != xyes
; then
5318 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5319 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5320 their locations. Source code for these libraries can be found at
5321 their respective hosting sites as well as at
5322 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5323 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5324 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5325 make sure that you have installed both the libraries and the header
5326 files. They may be located in separate packages." "$LINENO" 5
5330 # Flags needed for both GMP, MPFR and/or MPC.
5337 # Allow host libstdc++ to be specified for static linking with PPL.
5339 # Check whether --with-host-libstdcxx was given.
5340 if test "${with_host_libstdcxx+set}" = set; then :
5341 withval
=$with_host_libstdcxx;
5345 case $with_host_libstdcxx in
5347 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5351 # Linker flags to use for stage1 or when not boostrapping.
5353 # Check whether --with-stage1-ldflags was given.
5354 if test "${with_stage1_ldflags+set}" = set; then :
5355 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5358 stage1_ldflags
=$withval
5366 # Libraries to use for stage1 or when not bootstrapping.
5368 # Check whether --with-stage1-libs was given.
5369 if test "${with_stage1_libs+set}" = set; then :
5370 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5373 stage1_libs
=$withval
5376 stage1_libs
=$with_host_libstdcxx
5381 # Libraries to use for stage2 and later builds. This defaults to the
5382 # argument passed to --with-host-libstdcxx.
5384 # Check whether --with-boot-libs was given.
5385 if test "${with_boot_libs+set}" = set; then :
5386 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5389 poststage1_libs
=$withval
5392 poststage1_libs
=$with_host_libstdcxx
5397 # Linker flags to use for stage2 and later builds.
5399 # Check whether --with-boot-ldflags was given.
5400 if test "${with_boot_ldflags+set}" = set; then :
5401 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5404 poststage1_ldflags
=$withval
5408 # In stages 2 and 3, default to linking libstdc++ and libgcc
5409 # statically. But if the user explicitly specified the libraries to
5410 # use, trust that they are doing what they want.
5411 if test "$poststage1_libs" = ""; then
5412 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5424 # Check whether --with-ppl was given.
5425 if test "${with_ppl+set}" = set; then :
5430 # Check whether --with-ppl-include was given.
5431 if test "${with_ppl_include+set}" = set; then :
5432 withval
=$with_ppl_include;
5436 # Check whether --with-ppl-lib was given.
5437 if test "${with_ppl_lib+set}" = set; then :
5438 withval
=$with_ppl_lib;
5442 # Check whether --enable-ppl-version-check was given.
5443 if test "${enable_ppl_version_check+set}" = set; then :
5444 enableval
=$enable_ppl_version_check;
5452 ppllibs
="-L$with_ppl/lib"
5453 pplinc
="-I$with_ppl/include $pplinc"
5454 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5457 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5462 if test x
"$with_ppl_include" != x
; then
5463 pplinc
="-I$with_ppl_include $pplinc"
5467 if test "x$with_ppl_lib" != x
; then
5468 ppllibs
="-L$with_ppl_lib"
5472 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5473 if test x
"$enable_watchdog" = xyes
; then
5476 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5477 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5478 enable_ppl_version_check
=no
5482 if test "x$with_ppl" != xno
; then
5483 if test "x$pwllib" = x
; then
5485 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5487 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5488 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5489 $as_echo_n "(cached) " >&6
5491 ac_check_lib_save_LIBS
=$LIBS
5493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5496 /* Override any GCC internal prototype to avoid an error.
5497 Use char because int might match the return type of a GCC
5498 builtin and then its argument prototype would still apply. */
5502 char PWL_handle_timeout ();
5506 return PWL_handle_timeout ();
5511 if ac_fn_c_try_link
"$LINENO"; then :
5512 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5514 ac_cv_lib_pwl_PWL_handle_timeout
=no
5516 rm -f core conftest.err conftest.
$ac_objext \
5517 conftest
$ac_exeext conftest.
$ac_ext
5518 LIBS
=$ac_check_lib_save_LIBS
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5521 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5522 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5529 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5531 if test "$enable_ppl_version_check" != no
; then
5532 saved_CFLAGS
="$CFLAGS"
5533 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5535 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5543 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5551 if ac_fn_c_try_compile
"$LINENO"; then :
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5553 $as_echo "yes" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5559 CFLAGS
="$saved_CFLAGS"
5563 # Flags needed for PPL
5572 # Check whether --with-cloog was given.
5573 if test "${with_cloog+set}" = set; then :
5574 withval
=$with_cloog;
5578 # Check whether --with-cloog-include was given.
5579 if test "${with_cloog_include+set}" = set; then :
5580 withval
=$with_cloog_include;
5584 # Check whether --with-cloog-lib was given.
5585 if test "${with_cloog_lib+set}" = set; then :
5586 withval
=$with_cloog_lib;
5590 # Check whether --enable-cloog-backend was given.
5591 if test "${enable_cloog_backend+set}" = set; then :
5592 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5594 elif test "x${enableval}" = "xppl"; then
5597 cloog_backend
=ppl-legacy
5600 cloog_backend
=ppl-legacy
5603 # Check whether --enable-cloog-version-check was given.
5604 if test "${enable_cloog_version_check+set}" = set; then :
5605 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5607 ENABLE_CLOOG_CHECK
=yes
5611 # Initialize clooglibs and clooginc.
5620 clooglibs
="-L$with_cloog/lib"
5621 clooginc
="-I$with_cloog/include"
5624 if test "x${with_cloog_include}" != x
; then
5625 clooginc
="-I$with_cloog_include"
5627 if test "x${with_cloog_lib}" != x
; then
5628 clooglibs
="-L$with_cloog_lib"
5635 if test "x$with_ppl" = "xno"; then
5639 if test "x${with_cloog}" = xno
; then
5640 graphite_requested
=no
5641 elif test "x${with_cloog}" != x \
5642 ||
test "x${with_cloog_include}" != x \
5643 ||
test "x${with_cloog_lib}" != x
; then
5644 graphite_requested
=yes
5646 graphite_requested
=no
5650 if test "${graphite_requested}" = yes; then
5651 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5655 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5656 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5657 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5658 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5660 if test "x$with_cloog" != "xno"; then
5664 _cloog_saved_CFLAGS
=$CFLAGS
5665 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5666 _cloog_saved_LDFLAGS
=$LDFLAGS
5667 _cloog_saved_LIBS
=$LIBS
5669 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5671 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5672 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5673 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5675 case $cloog_backend in
5677 CFLAGS
="${CFLAGS} ${pplinc}"
5678 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5680 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5681 if test "${gcc_cv_cloog_type+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5684 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5687 #include "cloog/cloog.h"
5691 #ifndef CLOOG_PPL_BACKEND
5698 if ac_fn_c_try_link
"$LINENO"; then :
5699 gcc_cv_cloog_type
="PPL Legacy"
5701 gcc_cv_cloog_type
=no
5703 rm -f core conftest.err conftest.
$ac_objext \
5704 conftest
$ac_exeext conftest.
$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5707 $as_echo "$gcc_cv_cloog_type" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5711 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5712 if test "${gcc_cv_cloog_type+set}" = set; then :
5713 $as_echo_n "(cached) " >&6
5715 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5718 #include "cloog/cloog.h"
5727 if ac_fn_c_try_link
"$LINENO"; then :
5728 gcc_cv_cloog_type
="ISL"
5730 gcc_cv_cloog_type
=no
5732 rm -f core conftest.err conftest.
$ac_objext \
5733 conftest
$ac_exeext conftest.
$ac_ext
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5736 $as_echo "$gcc_cv_cloog_type" >&6; }
5739 CFLAGS
="${CFLAGS} ${pplinc}"
5740 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5742 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5743 if test "${gcc_cv_cloog_type+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5746 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5749 #include "cloog/cloog.h"
5750 #include "cloog/ppl/cloog.h"
5759 if ac_fn_c_try_link
"$LINENO"; then :
5760 gcc_cv_cloog_type
="PPL"
5762 gcc_cv_cloog_type
=no
5764 rm -f core conftest.err conftest.
$ac_objext \
5765 conftest
$ac_exeext conftest.
$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5768 $as_echo "$gcc_cv_cloog_type" >&6; }
5771 gcc_cv_cloog_type
=""
5774 case $gcc_cv_cloog_type in
5776 clooginc
="${clooginc}"
5777 clooglibs
="${clooglibs} -lcloog"
5781 clooginc
="${clooginc} ${_cloogorginc}"
5782 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5786 clooginc
="${clooginc} ${_cloogorginc}"
5787 clooglibs
="${clooglibs} -lcloog-ppl"
5797 LIBS
=$_cloog_saved_LIBS
5798 CFLAGS
=$_cloog_saved_CFLAGS
5799 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5800 LDFLAGS
=$_cloog_saved_LDFLAGS
5806 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5807 _cloog_saved_CFLAGS
=$CFLAGS
5808 _cloog_saved_LDFLAGS
=$LDFLAGS
5810 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5811 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5813 if test "${cloog_org}" = yes ; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5815 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5816 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5817 $as_echo_n "(cached) " >&6
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 #include "cloog/cloog.h"
5825 #if CLOOG_VERSION_MAJOR != 0 \
5826 || CLOOG_VERSION_MINOR != 16 \
5827 || CLOOG_VERSION_REVISION < 1
5834 if ac_fn_c_try_compile
"$LINENO"; then :
5835 gcc_cv_cloog_ct_0_14_0
=yes
5837 gcc_cv_cloog_ct_0_14_0
=no
5839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5842 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5843 elif test "${cloog_org}" = no
; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5845 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5846 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5851 #include "cloog/cloog.h"
5855 #if CLOOG_VERSION_MAJOR != 0 \
5856 || CLOOG_VERSION_MINOR != 15 \
5857 || CLOOG_VERSION_REVISION < 5
5864 if ac_fn_c_try_compile
"$LINENO"; then :
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 #include "cloog/cloog.h"
5871 #if CLOOG_VERSION_MAJOR != 0 \
5872 || CLOOG_VERSION_MINOR != 15 \
5873 || CLOOG_VERSION_REVISION < 9
5880 if ac_fn_c_try_compile
"$LINENO"; then :
5881 gcc_cv_cloog_ct_0_15_5
=yes
5883 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
5885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5887 gcc_cv_cloog_ct_0_15_5
=no
5889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5892 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
5895 CFLAGS
=$_cloog_saved_CFLAGS
5896 LDFLAGS
=$_cloog_saved_LDFLAGS
5905 if test "x${with_cloog}" = xno
; then
5906 graphite_requested
=no
5907 elif test "x${with_cloog}" != x \
5908 ||
test "x${with_cloog_include}" != x \
5909 ||
test "x${with_cloog_lib}" != x
; then
5910 graphite_requested
=yes
5912 graphite_requested
=no
5917 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
5918 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
5919 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
5924 if test "${graphite_requested}" = yes \
5925 && test "x${clooglibs}" = x \
5926 && test "x${clooginc}" = x
; then
5928 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5934 # Check for LTO support.
5935 # Check whether --enable-lto was given.
5936 if test "${enable_lto+set}" = set; then :
5937 enableval
=$enable_lto; enable_lto
=$enableval
5939 enable_lto
=yes; default_enable_lto
=yes
5948 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5949 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
5950 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5958 if test $target_elf = yes; then :
5959 # ELF platforms build the lto-plugin always.
5960 build_lto_plugin
=yes
5963 if test x
"$default_enable_lto" = x
"yes" ; then
5965 *-apple-darwin9 |
*-cygwin* |
*-mingw*) ;;
5966 # On other non-ELF platforms, LTO has yet to be validated.
5970 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5971 # It would also be nice to check the binutils support, but we don't
5972 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5973 # warn during gcc/ subconfigure; unless you're bootstrapping with
5974 # -flto it won't be needed until after installation anyway.
5976 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5977 *) if test x
"$enable_lto" = x
"yes"; then
5978 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5983 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5984 # Build it unless LTO was explicitly disabled.
5986 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5994 # By default, C is the only stage 1 language.
5995 stage1_languages
=,c
,
5997 # Target libraries that we bootstrap.
5998 bootstrap_target_libs
=,target-libgcc
,
6000 # Figure out what language subdirectories are present.
6001 # Look if the user specified --enable-languages="..."; if not, use
6002 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6004 # NB: embedded tabs in this IF block -- do not untabify
6005 if test -d ${srcdir}/gcc
; then
6006 if test x
"${enable_languages+set}" != xset
; then
6007 if test x
"${LANGUAGES+set}" = xset
; then
6008 enable_languages
="${LANGUAGES}"
6009 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6011 enable_languages
=all
6014 if test x
"${enable_languages}" = x ||
6015 test x
"${enable_languages}" = xyes
;
6017 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6021 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6023 # 'f95' is the old name for the 'fortran' language. We issue a warning
6024 # and make the substitution.
6025 case ,${enable_languages}, in
6027 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6028 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6032 # First scan to see if an enabled language requires some other language.
6033 # We assume that a given config-lang.in will list all the language
6034 # front ends it requires, even if some are required indirectly.
6035 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6036 case ${lang_frag} in
6038 # The odd quoting in the next line works around
6039 # an apparent bug in bash 1.12 on linux.
6040 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6042 # From the config-lang.in, get $language, $lang_requires, and
6043 # $lang_requires_boot_languages.
6046 lang_requires_boot_languages
=
6048 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6049 case ,${enable_languages}, in
6053 echo " \`$other' language required by \`$language'; enabling" 1>&2
6054 enable_languages
="${enable_languages},${other}"
6058 for other
in ${lang_requires_boot_languages} ; do
6059 if test "$other" != "c"; then
6060 case ,${enable_stage1_languages}, in
6064 case ,${enable_languages}, in
6066 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6067 enable_stage1_languages
="$enable_stage1_languages,${other}"
6078 new_enable_languages
=,c
,
6080 # If LTO is enabled, add the LTO front end.
6081 extra_host_libiberty_configure_flags
=
6082 if test "$enable_lto" = "yes" ; then
6083 case ,${enable_languages}, in
6085 *) enable_languages
="${enable_languages},lto" ;;
6087 if test "${build_lto_plugin}" = "yes" ; then
6088 configdirs
="$configdirs lto-plugin"
6089 extra_host_libiberty_configure_flags
=--enable-shared
6094 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6095 potential_languages
=,c
,
6097 enabled_target_libs
=
6098 disabled_target_libs
=
6100 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6101 case ${lang_frag} in
6103 # The odd quoting in the next line works around
6104 # an apparent bug in bash 1.12 on linux.
6105 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6107 # From the config-lang.in, get $language, $target_libs,
6108 # $lang_dirs, $boot_language, and $build_by_default
6114 build_by_default
=yes
6116 if test x
${language} = x
; then
6117 echo "${lang_frag} doesn't set \$language." 1>&2
6121 if test "$language" = "c++" \
6122 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6126 case ,${enable_languages}, in
6128 # Language was explicitly selected; include it.
6132 # 'all' was selected, select it if it is a default language
6133 add_this_lang
=${build_by_default}
6140 # Disable languages that need other directories if these aren't available.
6141 for i
in $subdir_requires; do
6142 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6143 case ,${enable_languages}, in
6145 # Specifically requested language; tell them.
6146 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6150 add_this_lang
=unsupported
6155 # Disable Ada if no preexisting GNAT is available.
6156 case ,${enable_languages},:${language}:${have_gnat} in
6157 *,${language},*:ada
:no
)
6158 # Specifically requested language; tell them.
6159 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6163 add_this_lang
=unsupported
6167 # Disable a language that is unsupported by the target.
6168 case " $unsupported_languages " in
6170 add_this_lang
=unsupported
6174 case $add_this_lang in
6176 # Remove language-dependent dirs.
6177 disabled_target_libs
="$disabled_target_libs $target_libs"
6178 noconfigdirs
="$noconfigdirs $lang_dirs"
6181 # Remove language-dependent dirs; still show language as supported.
6182 disabled_target_libs
="$disabled_target_libs $target_libs"
6183 noconfigdirs
="$noconfigdirs $lang_dirs"
6184 potential_languages
="${potential_languages}${language},"
6187 new_enable_languages
="${new_enable_languages}${language},"
6188 potential_languages
="${potential_languages}${language},"
6189 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6190 enabled_target_libs
="$enabled_target_libs $target_libs"
6191 case "${boot_language}:,$enable_stage1_languages," in
6192 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6193 # Add to (comma-separated) list of stage 1 languages.
6194 case ",$stage1_languages," in
6195 *,$language,* |
,yes, |
,all
,) ;;
6196 *) stage1_languages
="${stage1_languages}${language}," ;;
6198 # We need to bootstrap any supporting libraries.
6199 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6208 # Add target libraries which are only needed for disabled languages
6210 if test -n "$disabled_target_libs"; then
6211 for dir
in $disabled_target_libs; do
6212 case " $enabled_target_libs " in
6214 *) noconfigdirs
="$noconfigdirs $dir" ;;
6219 # Check whether --enable-stage1-languages was given.
6220 if test "${enable_stage1_languages+set}" = set; then :
6221 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6223 # Set it to something that will have no effect in the loop below
6224 enable_stage1_languages
=c
;;
6226 enable_stage1_languages
=`echo $new_enable_languages | \
6227 sed -e "s/^,//" -e "s/,$//" ` ;;
6229 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6230 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6233 # Add "good" languages from enable_stage1_languages to stage1_languages,
6234 # while "bad" languages go in missing_languages. Leave no duplicates.
6235 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6236 case $potential_languages in
6238 case $stage1_languages in
6240 *) stage1_languages
="$stage1_languages$i," ;;
6243 case $missing_languages in
6245 *) missing_languages
="$missing_languages$i," ;;
6252 # Remove leading/trailing commas that were added for simplicity
6253 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6254 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6255 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6256 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6258 if test "x$missing_languages" != x
; then
6260 The following requested languages could not be built: ${missing_languages}
6261 Supported languages are: ${potential_languages}" "$LINENO" 5
6263 if test "x$new_enable_languages" != "x$enable_languages"; then
6264 echo The following languages will be built
: ${new_enable_languages}
6265 enable_languages
="$new_enable_languages"
6269 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6272 # Handle --disable-<component> generically.
6273 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6274 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6275 varname
=`echo $dirname | sed -e s/+/_/g`
6276 if eval test x\
${enable_${varname}} "=" xno
; then
6277 noconfigdirs
="$noconfigdirs $dir"
6281 # Check for Boehm's garbage collector
6282 # Check whether --enable-objc-gc was given.
6283 if test "${enable_objc_gc+set}" = set; then :
6284 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6285 *,objc
,*:*:yes:*target-boehm-gc
*)
6286 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6292 # Make sure we only build Boehm's garbage collector if required.
6293 case ,${enable_languages},:${enable_objc_gc} in
6295 # Keep target-boehm-gc if requested for Objective-C.
6298 # Otherwise remove target-boehm-gc depending on target-libjava.
6299 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6300 noconfigdirs
="$noconfigdirs target-boehm-gc"
6305 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6306 # $build_configdirs and $target_configdirs.
6307 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6310 for dir
in .
$skipdirs $noconfigdirs ; do
6311 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6312 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6313 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6314 if test -r $srcdir/$dirname/configure
; then
6315 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6318 notsupp
="$notsupp $dir"
6322 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6323 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6324 if test -r $srcdir/$dirname/configure
; then
6325 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6328 notsupp
="$notsupp $dir"
6332 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6333 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6334 if test -r $srcdir/$dirname/configure
; then
6335 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6338 notsupp
="$notsupp $dir"
6344 # Sometimes the tools are distributed with libiberty but with no other
6345 # libraries. In that case, we don't want to build target-libiberty.
6346 # Don't let libgcc imply libiberty either.
6347 if test -n "${target_configdirs}" ; then
6350 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6351 if test "$i" = "libgcc"; then
6352 libgcc
=target-libgcc
6353 elif test "$i" != "libiberty" ; then
6354 if test -r $srcdir/$i/configure
; then
6360 if test -z "${others}" ; then
6361 target_configdirs
=$libgcc
6365 # Quietly strip out all directories which aren't configurable in this tree.
6366 # This relies on all configurable subdirectories being autoconfiscated, which
6368 build_configdirs_all
="$build_configdirs"
6370 for i
in ${build_configdirs_all} ; do
6371 j
=`echo $i | sed -e s/build-//g`
6372 if test -f ${srcdir}/$j/configure
; then
6373 build_configdirs
="${build_configdirs} $i"
6377 configdirs_all
="$configdirs"
6379 for i
in ${configdirs_all} ; do
6380 if test -f ${srcdir}/$i/configure
; then
6381 configdirs
="${configdirs} $i"
6385 target_configdirs_all
="$target_configdirs"
6387 for i
in ${target_configdirs_all} ; do
6388 j
=`echo $i | sed -e s/target-//g`
6389 if test -f ${srcdir}/$j/configure
; then
6390 target_configdirs
="${target_configdirs} $i"
6394 # Produce a warning message for the subdirs we can't configure.
6395 # This isn't especially interesting in the Cygnus tree, but in the individual
6396 # FSF releases, it's important to let people know when their machine isn't
6397 # supported by the one or two programs in a package.
6399 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6400 # If $appdirs is non-empty, at least one of those directories must still
6401 # be configured, or we error out. (E.g., if the gas release supports a
6402 # specified target in some subdirs but not the gas subdir, we shouldn't
6403 # pretend that all is well.)
6404 if test -n "$appdirs" ; then
6405 for dir
in $appdirs ; do
6406 if test -r $dir/Makefile.
in ; then
6407 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6411 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6417 if test -n "$appdirs" ; then
6418 echo "*** This configuration is not supported by this package." 1>&2
6422 # Okay, some application will build, or we don't care to check. Still
6423 # notify of subdirs not getting built.
6424 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6425 echo " ${notsupp}" 1>&2
6426 echo " (Any other directories should still work fine.)" 1>&2
6434 # To find our prefix, in gcc_cv_tool_prefix.
6436 # The user is always right.
6437 if test "${PATH_SEPARATOR+set}" != set; then
6438 echo "#! /bin/sh" >conf$$.sh
6439 echo "exit 0" >>conf$$.sh
6441 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6451 if test "x$exec_prefix" = xNONE
; then
6452 if test "x$prefix" = xNONE
; then
6453 gcc_cv_tool_prefix
=$ac_default_prefix
6455 gcc_cv_tool_prefix
=$prefix
6458 gcc_cv_tool_prefix
=$exec_prefix
6461 # If there is no compiler in the tree, use the PATH only. In any
6462 # case, if there is no compiler in the tree nobody should use
6463 # AS_FOR_TARGET and LD_FOR_TARGET.
6464 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6465 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6466 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6467 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6468 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6469 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6470 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6471 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6476 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6477 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6485 # Check whether --with-build-sysroot was given.
6486 if test "${with_build_sysroot+set}" = set; then :
6487 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6488 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6491 SYSROOT_CFLAGS_FOR_TARGET
=
6497 # Check whether --with-debug-prefix-map was given.
6498 if test "${with_debug_prefix_map+set}" = set; then :
6499 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6500 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6501 for debug_map
in $withval; do
6502 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6506 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6511 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6512 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6513 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6514 # We want to ensure that TARGET libraries (which we know are built with
6515 # gcc) are built with "-O2 -g", so include those options when setting
6516 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6517 if test "x$CFLAGS_FOR_TARGET" = x
; then
6518 CFLAGS_FOR_TARGET
=$CFLAGS
6521 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6524 *" -g "* |
*" -g3 "*) ;;
6525 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6530 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6531 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6532 case " $CXXFLAGS " in
6534 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6536 case " $CXXFLAGS " in
6537 *" -g "* |
*" -g3 "*) ;;
6538 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6543 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6544 # the named directory are copied to $(tooldir)/sys-include.
6545 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6546 if test x
${is_cross_compiler} = xno
; then
6547 echo 1>&2 '***' --with-headers is only supported when cross compiling
6550 if test x
"${with_headers}" != xyes
; then
6551 x
=${gcc_cv_tool_prefix}
6552 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6556 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6557 # the name directories are copied to $(tooldir)/lib. Multiple directories
6559 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6560 if test x
${is_cross_compiler} = xno
; then
6561 echo 1>&2 '***' --with-libs is only supported when cross compiling
6564 if test x
"${with_libs}" != xyes
; then
6565 # Copy the libraries in reverse order, so that files in the first named
6566 # library override files in subsequent libraries.
6567 x
=${gcc_cv_tool_prefix}
6568 for l
in ${with_libs}; do
6569 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6574 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6576 # This is done by determining whether or not the appropriate directory
6577 # is available, and by checking whether or not specific configurations
6578 # have requested that this magic not happen.
6580 # The command line options always override the explicit settings in
6581 # configure.in, and the settings in configure.in override this magic.
6583 # If the default for a toolchain is to use GNU as and ld, and you don't
6584 # want to do that, then you should use the --without-gnu-as and
6585 # --without-gnu-ld options for the configure script. Similarly, if
6586 # the default is to use the included zlib and you don't want to do that,
6587 # you should use the --with-system-zlib option for the configure script.
6589 if test x
${use_gnu_as} = x
&&
6590 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6592 extra_host_args
="$extra_host_args --with-gnu-as"
6595 if test x
${use_gnu_ld} = x
&&
6596 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6598 extra_host_args
="$extra_host_args --with-gnu-ld"
6601 if test x
${use_included_zlib} = x
&&
6602 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6605 with_system_zlib
=yes
6606 extra_host_args
="$extra_host_args --with-system-zlib"
6609 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6610 # can detect this case.
6612 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6614 extra_host_args
="$extra_host_args --with-newlib"
6617 # Handle ${copy_dirs}
6618 set fnord
${copy_dirs}
6620 while test $# != 0 ; do
6621 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6624 echo Copying
$1 to
$2
6626 # Use the install script to create the directory and all required
6627 # parent directories.
6628 if test -d $2 ; then
6632 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6635 # Copy the directory, assuming we have tar.
6636 # FIXME: Should we use B in the second tar? Not all systems support it.
6637 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6639 # It is the responsibility of the user to correctly adjust all
6640 # symlinks. If somebody can figure out how to handle them correctly
6641 # here, feel free to add the code.
6648 # Determine a target-dependent exec_prefix that the installed
6649 # gcc will search in. Keep this list sorted by triplet, with
6650 # the *-*-osname triplets last.
6653 i
[34567]86-pc-msdosdjgpp*)
6654 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6659 md_exec_prefix
=/usr
/ccs
/bin
6663 extra_arflags_for_target
=
6664 extra_nmflags_for_target
=
6665 extra_ranlibflags_for_target
=
6666 target_makefile_frag
=/dev
/null
6669 target_makefile_frag
="config/mt-spu"
6672 target_makefile_frag
="config/mt-sde"
6674 mipsisa
*-*-elfoabi*)
6675 target_makefile_frag
="config/mt-mips-elfoabi"
6677 mips
*-*-*linux
* | mips
*-*-gnu*)
6678 target_makefile_frag
="config/mt-mips-gnu"
6680 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6681 target_makefile_frag
="config/mt-gnu"
6683 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6684 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6685 # commands to handle both 32-bit and 64-bit objects. These flags are
6686 # harmless if we're using GNU nm or ar.
6687 extra_arflags_for_target
=" -X32_64"
6688 extra_nmflags_for_target
=" -B -X32_64"
6691 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6692 extra_ranlibflags_for_target
=" -c"
6696 alphaieee_frag
=/dev
/null
6699 # This just makes sure to use the -mieee option to build target libs.
6700 # This should probably be set individually by each library.
6701 alphaieee_frag
="config/mt-alphaieee"
6705 # If --enable-target-optspace always use -Os instead of -O2 to build
6706 # the target libraries, similarly if it is not specified, use -Os
6707 # on selected platforms.
6708 ospace_frag
=/dev
/null
6709 case "${enable_target_optspace}:${target}" in
6711 ospace_frag
="config/mt-ospace"
6714 ospace_frag
="config/mt-d30v"
6716 :m32r-
* |
:d10v-
* |
:fr30-
*)
6717 ospace_frag
="config/mt-ospace"
6722 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6726 # Default to using --with-stabs for certain targets.
6727 if test x
${with_stabs} = x
; then
6731 mips
*-*-* | alpha
*-*-osf*)
6733 extra_host_args
="${extra_host_args} --with-stabs"
6738 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6739 # them automatically.
6742 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6746 # Some systems (e.g., one of the i386-aix systems the gas testers are
6747 # using) don't handle "\$" correctly, so don't use it here.
6748 tooldir
='${exec_prefix}'/${target_noncanonical}
6749 build_tooldir
=${tooldir}
6751 # Create a .gdbinit file which runs the one in srcdir
6752 # and tells GDB to look there for source files.
6754 if test -r ${srcdir}/.gdbinit
; then
6757 *) cat > .
/.gdbinit
<<EOF
6761 source ${srcdir}/.gdbinit
6767 # Make sure that the compiler is able to generate an executable. If it
6768 # can't, we are probably in trouble. We don't care whether we can run the
6769 # executable--we might be using a cross compiler--we only care whether it
6770 # can be created. At this point the main configure script has set CC.
6772 echo "int main () { return 0; }" > conftest.c
6773 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6774 if test $?
= 0 ; then
6775 if test -s conftest ||
test -s conftest.exe
; then
6781 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6782 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6789 # The Solaris /usr/ucb/cc compiler does not appear to work.
6791 sparc-sun-solaris2
*)
6792 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6793 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6795 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6796 if test -d /opt
/cygnus
/bin
; then
6797 if test "$could_use" = "" ; then
6798 could_use
="/opt/cygnus/bin"
6800 could_use
="$could_use or /opt/cygnus/bin"
6803 if test "$could_use" = "" ; then
6804 echo "Warning: compilation may fail because you're using"
6805 echo "/usr/ucb/cc. You should change your PATH or CC "
6806 echo "variable and rerun configure."
6808 echo "Warning: compilation may fail because you're using"
6809 echo "/usr/ucb/cc, when you should use the C compiler from"
6810 echo "$could_use. You should change your"
6811 echo "PATH or CC variable and rerun configure."
6817 # Decide which environment variable is used to find dynamic libraries.
6819 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6820 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6821 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6822 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6825 # On systems where the dynamic library environment variable is PATH,
6826 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6827 # built executables to PATH.
6828 if test "$RPATH_ENVVAR" = PATH
; then
6829 GCC_SHLIB_SUBDIR
=/shlib
6834 # Record target_configdirs and the configure arguments for target and
6835 # build configuration in Makefile.
6836 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6837 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6839 # If we are building libgomp, bootstrap it.
6840 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6841 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6844 # Determine whether gdb needs tk/tcl or not.
6845 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6846 # and in that case we want gdb to be built without tk. Ugh!
6847 # In fact I believe gdb is the *only* package directly dependent on tk,
6848 # so we should be able to put the 'maybe's in unconditionally and
6849 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6850 # 100% sure that that's safe though.
6852 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6853 case "$enable_gdbtk" in
6857 GDB_TK
="${gdb_tk}" ;;
6859 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6860 # distro. Eventually someone will fix this and move Insight, nee
6861 # gdbtk to a separate directory.
6862 if test -d ${srcdir}/gdb
/gdbtk
; then
6869 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6870 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6872 # Strip out unwanted targets.
6874 # While at that, we remove Makefiles if we were started for recursive
6875 # configuration, so that the top-level Makefile reconfigures them,
6876 # like we used to do when configure itself was recursive.
6878 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6879 # but now we're fixing up the Makefile ourselves with the additional
6880 # commands passed to AC_CONFIG_FILES. Use separate variables
6881 # extrasub-{build,host,target} not because there is any reason to split
6882 # the substitutions up that way, but only to remain below the limit of
6883 # 99 commands in a script, for HP-UX sed.
6884 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6886 # Check whether --enable-bootstrap was given.
6887 if test "${enable_bootstrap+set}" = set; then :
6888 enableval
=$enable_bootstrap;
6890 enable_bootstrap
=default
6894 # Issue errors and warnings for invalid/strange bootstrap combinations.
6895 case "$configdirs" in
6896 *gcc
*) have_compiler
=yes ;;
6897 *) have_compiler
=no
;;
6900 case "$have_compiler:$host:$target:$enable_bootstrap" in
6903 # Default behavior. Enable bootstrap if we have a compiler
6904 # and we are in a native configuration.
6905 yes:$build:$build:default
)
6906 enable_bootstrap
=yes ;;
6909 enable_bootstrap
=no
;;
6911 # We have a compiler and we are in a native configuration, bootstrap is ok
6912 yes:$build:$build:yes)
6915 # Other configurations, but we have a compiler. Assume the user knows
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6919 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6922 # No compiler: if they passed --enable-bootstrap explicitly, fail
6924 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
6926 # Fail if wrong command line
6928 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
6932 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
6935 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
6939 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6940 yes:yes:*\ gold\
*:*,c
++,*) ;;
6941 yes:yes:*\ gold\
*:*)
6942 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6946 # Adjust the toplevel makefile according to whether bootstrap was selected.
6947 case $enable_bootstrap in
6949 bootstrap_suffix
=bootstrap
6950 BUILD_CONFIG
=bootstrap-debug
6953 bootstrap_suffix
=no-bootstrap
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6959 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6962 # Check whether --with-build-config was given.
6963 if test "${with_build_config+set}" = set; then :
6964 withval
=$with_build_config; case $with_build_config in
6965 yes) with_build_config
= ;;
6966 no
) with_build_config
= BUILD_CONFIG
= ;;
6971 if test "x${with_build_config}" != x
; then
6972 BUILD_CONFIG
=$with_build_config
6974 case $BUILD_CONFIG in
6976 if echo "int f (void) { return 0; }" > conftest.c
&&
6977 ${CC} -c conftest.c
&&
6978 mv conftest.o conftest.o.g0
&&
6979 ${CC} -c -g conftest.c
&&
6980 mv conftest.o conftest.o.g
&&
6981 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6986 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6991 $as_echo "$BUILD_CONFIG" >&6; }
6995 for module
in ${build_configdirs} ; do
6996 if test -z "${no_recursion}" \
6997 && test -f ${build_subdir}/${module}/Makefile
; then
6998 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6999 rm -f ${build_subdir}/${module}/Makefile
7001 extrasub_build
="$extrasub_build
7002 /^@if build-$module\$/d
7003 /^@endif build-$module\$/d
7004 /^@if build-$module-$bootstrap_suffix\$/d
7005 /^@endif build-$module-$bootstrap_suffix\$/d"
7008 for module
in ${configdirs} ; do
7009 if test -z "${no_recursion}"; then
7010 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7011 if test -f ${file}; then
7012 echo 1>&2 "*** removing ${file} to force reconfigure"
7017 extrasub_host
="$extrasub_host
7019 /^@endif $module\$/d
7020 /^@if $module-$bootstrap_suffix\$/d
7021 /^@endif $module-$bootstrap_suffix\$/d"
7024 for module
in ${target_configdirs} ; do
7025 if test -z "${no_recursion}" \
7026 && test -f ${target_subdir}/${module}/Makefile
; then
7027 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7028 rm -f ${target_subdir}/${module}/Makefile
7031 # We only bootstrap target libraries listed in bootstrap_target_libs.
7032 case $bootstrap_target_libs in
7033 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7034 *) target_bootstrap_suffix
=no-bootstrap
;;
7037 extrasub_target
="$extrasub_target
7038 /^@if target-$module\$/d
7039 /^@endif target-$module\$/d
7040 /^@if target-$module-$target_bootstrap_suffix\$/d
7041 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7044 # Do the final fixup along with target modules.
7045 extrasub_target
="$extrasub_target
7046 /^@if /,/^@endif /d"
7048 # Create the serialization dependencies. This uses a temporary file.
7050 # Check whether --enable-serial-configure was given.
7051 if test "${enable_serial_configure+set}" = set; then :
7052 enableval
=$enable_serial_configure;
7056 case ${enable_serial_configure} in
7058 enable_serial_build_configure
=yes
7059 enable_serial_host_configure
=yes
7060 enable_serial_target_configure
=yes
7064 # These force 'configure's to be done one at a time, to avoid problems
7065 # with contention over a shared config.cache.
7067 echo '# serdep.tmp' > serdep.tmp
7069 test "x${enable_serial_build_configure}" = xyes
&&
7070 for item
in ${build_configdirs} ; do
7073 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7078 test "x${enable_serial_host_configure}" = xyes
&&
7079 for item
in ${configdirs} ; do
7082 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7087 test "x${enable_serial_target_configure}" = xyes
&&
7088 for item
in ${target_configdirs} ; do
7091 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7095 serialization_dependencies
=serdep.tmp
7098 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7099 # target, nonopt, and variable assignments. These are the ones we
7100 # might not want to pass down to subconfigures. The exception being
7101 # --cache-file=/dev/null, which is used to turn off the use of cache
7102 # files altogether, and which should be passed on to subconfigures.
7103 # Also strip program-prefix, program-suffix, and program-transform-name,
7104 # so that we can pass down a consistent program-transform-name.
7109 eval "set -- $ac_configure_args"
7112 if test X
"$skip_next" = X
"yes"; then
7116 if test X
"$keep_next" = X
"yes"; then
7119 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7121 baseargs
="$baseargs '$ac_arg'"
7122 tbaseargs
="$tbaseargs '$ac_arg'"
7127 # Handle separated arguments. Based on the logic generated by
7130 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7131 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7132 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7133 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7147 --with-* |
--without-*)
7148 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7152 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7155 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7164 mpc | mpfr | gmp | ppl | cloog
)
7165 # If we're processing --with-$lib, --with-$lib-include or
7166 # --with-$lib-lib, for one of the libs above, and target is
7167 # different from host, don't pass the current argument to any
7168 # target library's configure.
7169 if test x
$is_cross_compiler = xyes
; then
7178 --cache-file=/dev
/null | \
7179 -cache-file=/dev
/null
)
7180 # Handled here to avoid the test to skip args below.
7181 baseargs
="$baseargs '$ac_arg'"
7182 tbaseargs
="$tbaseargs '$ac_arg'"
7183 # Assert: $separate_arg should always be no.
7184 keep_next
=$separate_arg
7200 -program-prefix* | \
7201 -program-suffix* | \
7202 -program-transform-name* )
7203 skip_next
=$separate_arg
7207 # An option. Add it.
7210 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7212 baseargs
="$baseargs '$ac_arg'"
7213 if test X
"$skip_targ" = Xno
; then
7214 tbaseargs
="$tbaseargs '$ac_arg'"
7216 keep_next
=$separate_arg
7219 # Either a variable assignment, or a nonopt (triplet). Don't
7220 # pass it down; let the Makefile handle this.
7225 # Remove the initial space we just introduced and, as these will be
7226 # expanded by make, quote '$'.
7227 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7229 # Add in --program-transform-name, after --program-prefix and
7230 # --program-suffix have been applied to it. Autoconf has already
7231 # doubled dollar signs and backslashes in program_transform_name; we want
7232 # the backslashes un-doubled, and then the entire thing wrapped in single
7233 # quotes, because this will be expanded first by make and then by the shell.
7234 # Also, because we want to override the logic in subdir configure scripts to
7235 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7236 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7237 ${program_transform_name}
7239 gcc_transform_name
=`cat conftestsed.out`
7240 rm -f conftestsed.out
7241 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7242 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7243 if test "$silent" = yes; then
7244 baseargs
="$baseargs --silent"
7245 tbaseargs
="$tbaseargs --silent"
7247 baseargs
="$baseargs --disable-option-checking"
7248 tbaseargs
="$tbaseargs --disable-option-checking"
7250 # Record and document user additions to sub configure arguments.
7255 # For the build-side libraries, we just need to pretend we're native,
7256 # and not use the same cache file. Multilibs are neither needed nor
7258 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7260 # For host modules, accept cache file option, or specification as blank.
7261 case "${cache_file}" in
7263 cache_file_option
="" ;;
7264 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7265 cache_file_option
="--cache-file=${cache_file}" ;;
7267 cache_file_option
="--cache-file=../${cache_file}" ;;
7270 # Host dirs don't like to share a cache file either, horribly enough.
7271 # This seems to be due to autoconf 2.5x stupidity.
7272 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7274 target_configargs
="$target_configargs ${tbaseargs}"
7276 # Passing a --with-cross-host argument lets the target libraries know
7277 # whether they are being built with a cross-compiler or being built
7278 # native. However, it would be better to use other mechanisms to make the
7279 # sorts of decisions they want to make on this basis. Please consider
7280 # this option to be deprecated. FIXME.
7281 if test x
${is_cross_compiler} = xyes
; then
7282 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7285 # Default to --enable-multilib.
7286 if test x
${enable_multilib} = x
; then
7287 target_configargs
="--enable-multilib ${target_configargs}"
7290 # Pass --with-newlib if appropriate. Note that target_configdirs has
7291 # changed from the earlier setting of with_newlib.
7292 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7293 target_configargs
="--with-newlib ${target_configargs}"
7296 # Different target subdirs use different values of certain variables
7297 # (notably CXX). Worse, multilibs use *lots* of different values.
7298 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7299 # it doesn't automatically accept command-line overrides of them.
7300 # This means it's not safe for target subdirs to share a cache file,
7301 # which is disgusting, but there you have it. Hopefully this can be
7302 # fixed in future. It's still worthwhile to use a cache file for each
7303 # directory. I think.
7305 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7306 # We need to pass --target, as newer autoconf's requires consistency
7307 # for target_alias and gcc doesn't manage it consistently.
7308 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7311 case " $target_configdirs " in
7313 case " $target_configargs " in
7314 *" --with-newlib "*)
7317 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'
7321 # If we're not building GCC, don't discard standard headers.
7322 if test -d ${srcdir}/gcc
; then
7323 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7325 if test "${build}" != "${host}"; then
7326 # On Canadian crosses, CC_FOR_TARGET will have already been set
7327 # by `configure', so we won't have an opportunity to add -Bgcc/
7328 # to it. This is right: we don't want to search that directory
7329 # for binaries, but we want the header files in there, so add
7331 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7333 # Someone might think of using the pre-installed headers on
7334 # Canadian crosses, in case the installed compiler is not fully
7335 # compatible with the compiler being built. In this case, it
7336 # would be better to flag an error than risking having
7337 # incompatible object files being constructed. We can't
7338 # guarantee that an error will be flagged, but let's hope the
7339 # compiler will do it, when presented with incompatible header
7344 case "${target}-${is_cross_compiler}" in
7345 i
[3456789]86-*-linux*-no)
7346 # Here host == target, so we don't need to build gcc,
7347 # so we don't want to discard standard headers.
7348 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7351 # If we're building newlib, use its generic headers last, but search
7352 # for any libc-related directories first (so make it the last -B
7354 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7356 # If we're building libgloss, find the startup file, simulator library
7357 # and linker script.
7358 case " $target_configdirs " in
7360 # Look for startup file, simulator library and maybe linker script.
7361 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7362 # Look for libnosys.a in case the target needs it.
7363 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7364 # Most targets have the linker script in the source directory.
7365 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7376 x86_64-
*mingw
* |
*-w64-mingw*)
7377 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7378 # however, use a symlink named 'mingw' in ${prefix} .
7379 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7382 # MinGW can't be handled as Cygwin above since it does not use newlib.
7383 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'
7387 # Allow the user to override the flags for
7388 # our build compiler if desired.
7389 if test x
"${build}" = x
"${host}" ; then
7390 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7391 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7392 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7395 # On Canadian crosses, we'll be searching the right directories for
7396 # the previously-installed cross compiler, so don't bother to add
7397 # flags for directories within the install tree of the compiler
7398 # being built; programs in there won't even run.
7399 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7400 # Search for pre-installed headers if nothing else fits.
7401 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7404 if test "x
${use_gnu_ld}" = x &&
7405 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7406 # Arrange for us to find uninstalled linker scripts.
7407 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7410 # Search for other target-specific linker scripts and such.
7413 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7417 # Makefile fragments.
7418 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7420 eval fragval=\$$frag
7421 if test $fragval != /dev/null; then
7422 eval $frag=${srcdir}/$fragval
7430 # Miscellanea: directories, flags, etc.
7439 # Build module lists & subconfigure args.
7443 # Host module lists & subconfigure args.
7448 # Target module lists & subconfigure args.
7470 # Generate default definitions for YACC, M4, LEX and other programs that run
7471 # on the build machine. These are used if the Makefile can't locate these
7472 # programs in objdir.
7473 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7475 for ac_prog in 'bison -y' byacc yacc
7477 # Extract the first word of "$ac_prog", so it can be a program name with args.
7478 set dummy $ac_prog; ac_word=$2
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7480 $as_echo_n "checking
for $ac_word...
" >&6; }
7481 if test "${ac_cv_prog_YACC+set}" = set; then :
7482 $as_echo_n "(cached
) " >&6
7484 if test -n "$YACC"; then
7485 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 test -z "$as_dir" && as_dir=.
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494 ac_cv_prog_YACC="$ac_prog"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7504 YACC=$ac_cv_prog_YACC
7505 if test -n "$YACC"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7507 $as_echo "$YACC" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7510 $as_echo "no
" >&6; }
7514 test -n "$YACC" && break
7516 test -n "$YACC" || YACC="$MISSING bison
-y"
7518 case " $build_configdirs " in
7519 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7522 for ac_prog in bison
7524 # Extract the first word of "$ac_prog", so it can be a program name with args.
7525 set dummy $ac_prog; ac_word=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7527 $as_echo_n "checking
for $ac_word...
" >&6; }
7528 if test "${ac_cv_prog_BISON+set}" = set; then :
7529 $as_echo_n "(cached
) " >&6
7531 if test -n "$BISON"; then
7532 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7541 ac_cv_prog_BISON="$ac_prog"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7551 BISON=$ac_cv_prog_BISON
7552 if test -n "$BISON"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7554 $as_echo "$BISON" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7557 $as_echo "no
" >&6; }
7561 test -n "$BISON" && break
7563 test -n "$BISON" || BISON="$MISSING bison
"
7565 case " $build_configdirs " in
7566 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7569 for ac_prog in gm4 gnum4 m4
7571 # Extract the first word of "$ac_prog", so it can be a program name with args.
7572 set dummy $ac_prog; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7574 $as_echo_n "checking
for $ac_word...
" >&6; }
7575 if test "${ac_cv_prog_M4+set}" = set; then :
7576 $as_echo_n "(cached
) " >&6
7578 if test -n "$M4"; then
7579 ac_cv_prog_M4="$M4" # Let the user override the test.
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_M4="$ac_prog"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7599 if test -n "$M4"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7601 $as_echo "$M4" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7604 $as_echo "no
" >&6; }
7608 test -n "$M4" && break
7610 test -n "$M4" || M4="$MISSING m4"
7612 case " $build_configdirs " in
7613 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7616 for ac_prog in flex lex
7618 # Extract the first word of "$ac_prog", so it can be a program name with args.
7619 set dummy $ac_prog; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7621 $as_echo_n "checking
for $ac_word...
" >&6; }
7622 if test "${ac_cv_prog_LEX+set}" = set; then :
7623 $as_echo_n "(cached
) " >&6
7625 if test -n "$LEX"; then
7626 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_LEX="$ac_prog"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7646 if test -n "$LEX"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7648 $as_echo "$LEX" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7651 $as_echo "no
" >&6; }
7655 test -n "$LEX" && break
7657 test -n "$LEX" || LEX="$MISSING flex
"
7659 case " $build_configdirs " in
7660 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7661 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7666 # Extract the first word of "$ac_prog", so it can be a program name with args.
7667 set dummy $ac_prog; ac_word=$2
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7669 $as_echo_n "checking
for $ac_word...
" >&6; }
7670 if test "${ac_cv_prog_FLEX+set}" = set; then :
7671 $as_echo_n "(cached
) " >&6
7673 if test -n "$FLEX"; then
7674 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683 ac_cv_prog_FLEX="$ac_prog"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7693 FLEX=$ac_cv_prog_FLEX
7694 if test -n "$FLEX"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7696 $as_echo "$FLEX" >&6; }
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7699 $as_echo "no
" >&6; }
7703 test -n "$FLEX" && break
7705 test -n "$FLEX" || FLEX="$MISSING flex
"
7707 case " $build_configdirs " in
7708 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7711 for ac_prog in makeinfo
7713 # Extract the first word of "$ac_prog", so it can be a program name with args.
7714 set dummy $ac_prog; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7716 $as_echo_n "checking
for $ac_word...
" >&6; }
7717 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7718 $as_echo_n "(cached
) " >&6
7720 if test -n "$MAKEINFO"; then
7721 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_MAKEINFO="$ac_prog"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7740 MAKEINFO=$ac_cv_prog_MAKEINFO
7741 if test -n "$MAKEINFO"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7743 $as_echo "$MAKEINFO" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7746 $as_echo "no
" >&6; }
7750 test -n "$MAKEINFO" && break
7752 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7754 case " $build_configdirs " in
7755 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7758 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7759 # higher, else we use the "missing
" dummy.
7760 if ${MAKEINFO} --version \
7761 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7764 MAKEINFO="$MISSING makeinfo
"
7770 # FIXME: expect and dejagnu may become build tools?
7772 for ac_prog in expect
7774 # Extract the first word of "$ac_prog", so it can be a program name with args.
7775 set dummy $ac_prog; ac_word=$2
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7777 $as_echo_n "checking
for $ac_word...
" >&6; }
7778 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7779 $as_echo_n "(cached
) " >&6
7781 if test -n "$EXPECT"; then
7782 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7791 ac_cv_prog_EXPECT="$ac_prog"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7801 EXPECT=$ac_cv_prog_EXPECT
7802 if test -n "$EXPECT"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7804 $as_echo "$EXPECT" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7807 $as_echo "no
" >&6; }
7811 test -n "$EXPECT" && break
7813 test -n "$EXPECT" || EXPECT="expect
"
7815 case " $configdirs " in
7817 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7821 for ac_prog in runtest
7823 # Extract the first word of "$ac_prog", so it can be a program name with args.
7824 set dummy $ac_prog; ac_word=$2
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7826 $as_echo_n "checking
for $ac_word...
" >&6; }
7827 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7828 $as_echo_n "(cached
) " >&6
7830 if test -n "$RUNTEST"; then
7831 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837 test -z "$as_dir" && as_dir=.
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7840 ac_cv_prog_RUNTEST="$ac_prog"
7841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7850 RUNTEST=$ac_cv_prog_RUNTEST
7851 if test -n "$RUNTEST"; then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7853 $as_echo "$RUNTEST" >&6; }
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7856 $as_echo "no
" >&6; }
7860 test -n "$RUNTEST" && break
7862 test -n "$RUNTEST" || RUNTEST="runtest
"
7864 case " $configdirs " in
7866 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7873 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7874 ncn_target_tool_prefix=
7875 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7879 if test -n "$AR"; then
7881 elif test -n "$ac_cv_prog_AR"; then
7885 if test -n "$ac_cv_prog_AR"; then
7886 for ncn_progname in ar; do
7887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7888 set dummy ${ncn_progname}; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7890 $as_echo_n "checking
for $ac_word...
" >&6; }
7891 if test "${ac_cv_prog_AR+set}" = set; then :
7892 $as_echo_n "(cached
) " >&6
7894 if test -n "$AR"; then
7895 ac_cv_prog_AR="$AR" # Let the user override the test.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7904 ac_cv_prog_AR="${ncn_progname}"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 if test -n "$AR"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7917 $as_echo "$AR" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7920 $as_echo "no
" >&6; }
7927 for ncn_progname in ar; do
7928 if test -n "$ncn_tool_prefix"; then
7929 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7930 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7932 $as_echo_n "checking
for $ac_word...
" >&6; }
7933 if test "${ac_cv_prog_AR+set}" = set; then :
7934 $as_echo_n "(cached
) " >&6
7936 if test -n "$AR"; then
7937 ac_cv_prog_AR="$AR" # Let the user override the test.
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7946 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7957 if test -n "$AR"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7959 $as_echo "$AR" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7962 $as_echo "no
" >&6; }
7967 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7969 set dummy ${ncn_progname}; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7971 $as_echo_n "checking
for $ac_word...
" >&6; }
7972 if test "${ac_cv_prog_AR+set}" = set; then :
7973 $as_echo_n "(cached
) " >&6
7975 if test -n "$AR"; then
7976 ac_cv_prog_AR="$AR" # Let the user override the test.
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7985 ac_cv_prog_AR="${ncn_progname}"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7996 if test -n "$AR"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7998 $as_echo "$AR" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8001 $as_echo "no
" >&6; }
8006 test -n "$ac_cv_prog_AR" && break
8009 if test -z "$ac_cv_prog_AR" ; then
8011 if test $build = $host ; then
8014 AR="${ncn_tool_prefix}$2"
8020 if test -n "$AS"; then
8022 elif test -n "$ac_cv_prog_AS"; then
8026 if test -n "$ac_cv_prog_AS"; then
8027 for ncn_progname in as; do
8028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8029 set dummy ${ncn_progname}; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8031 $as_echo_n "checking
for $ac_word...
" >&6; }
8032 if test "${ac_cv_prog_AS+set}" = set; then :
8033 $as_echo_n "(cached
) " >&6
8035 if test -n "$AS"; then
8036 ac_cv_prog_AS="$AS" # Let the user override the test.
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045 ac_cv_prog_AS="${ncn_progname}"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8056 if test -n "$AS"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8058 $as_echo "$AS" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8061 $as_echo "no
" >&6; }
8068 for ncn_progname in as; do
8069 if test -n "$ncn_tool_prefix"; then
8070 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8071 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8073 $as_echo_n "checking
for $ac_word...
" >&6; }
8074 if test "${ac_cv_prog_AS+set}" = set; then :
8075 $as_echo_n "(cached
) " >&6
8077 if test -n "$AS"; then
8078 ac_cv_prog_AS="$AS" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8087 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 if test -n "$AS"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8100 $as_echo "$AS" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8103 $as_echo "no
" >&6; }
8108 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8110 set dummy ${ncn_progname}; ac_word=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8112 $as_echo_n "checking
for $ac_word...
" >&6; }
8113 if test "${ac_cv_prog_AS+set}" = set; then :
8114 $as_echo_n "(cached
) " >&6
8116 if test -n "$AS"; then
8117 ac_cv_prog_AS="$AS" # Let the user override the test.
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8126 ac_cv_prog_AS="${ncn_progname}"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8137 if test -n "$AS"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8139 $as_echo "$AS" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8142 $as_echo "no
" >&6; }
8147 test -n "$ac_cv_prog_AS" && break
8150 if test -z "$ac_cv_prog_AS" ; then
8152 if test $build = $host ; then
8155 AS="${ncn_tool_prefix}$2"
8161 if test -n "$DLLTOOL"; then
8162 ac_cv_prog_DLLTOOL=$DLLTOOL
8163 elif test -n "$ac_cv_prog_DLLTOOL"; then
8164 DLLTOOL=$ac_cv_prog_DLLTOOL
8167 if test -n "$ac_cv_prog_DLLTOOL"; then
8168 for ncn_progname in dlltool; do
8169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8170 set dummy ${ncn_progname}; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8172 $as_echo_n "checking
for $ac_word...
" >&6; }
8173 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8174 $as_echo_n "(cached
) " >&6
8176 if test -n "$DLLTOOL"; then
8177 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_prog_DLLTOOL="${ncn_progname}"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8196 DLLTOOL=$ac_cv_prog_DLLTOOL
8197 if test -n "$DLLTOOL"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8199 $as_echo "$DLLTOOL" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8202 $as_echo "no
" >&6; }
8209 for ncn_progname in dlltool; do
8210 if test -n "$ncn_tool_prefix"; then
8211 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8212 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8214 $as_echo_n "checking
for $ac_word...
" >&6; }
8215 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8216 $as_echo_n "(cached
) " >&6
8218 if test -n "$DLLTOOL"; then
8219 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8228 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8238 DLLTOOL=$ac_cv_prog_DLLTOOL
8239 if test -n "$DLLTOOL"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8241 $as_echo "$DLLTOOL" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8244 $as_echo "no
" >&6; }
8249 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8251 set dummy ${ncn_progname}; ac_word=$2
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8253 $as_echo_n "checking
for $ac_word...
" >&6; }
8254 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8255 $as_echo_n "(cached
) " >&6
8257 if test -n "$DLLTOOL"; then
8258 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 test -z "$as_dir" && as_dir=.
8265 for ac_exec_ext in '' $ac_executable_extensions; do
8266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8267 ac_cv_prog_DLLTOOL="${ncn_progname}"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8277 DLLTOOL=$ac_cv_prog_DLLTOOL
8278 if test -n "$DLLTOOL"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8280 $as_echo "$DLLTOOL" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8283 $as_echo "no
" >&6; }
8288 test -n "$ac_cv_prog_DLLTOOL" && break
8291 if test -z "$ac_cv_prog_DLLTOOL" ; then
8293 if test $build = $host ; then
8296 DLLTOOL="${ncn_tool_prefix}$2"
8302 if test -n "$LD"; then
8304 elif test -n "$ac_cv_prog_LD"; then
8308 if test -n "$ac_cv_prog_LD"; then
8309 for ncn_progname in ld; do
8310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8311 set dummy ${ncn_progname}; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8313 $as_echo_n "checking
for $ac_word...
" >&6; }
8314 if test "${ac_cv_prog_LD+set}" = set; then :
8315 $as_echo_n "(cached
) " >&6
8317 if test -n "$LD"; then
8318 ac_cv_prog_LD="$LD" # Let the user override the test.
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8327 ac_cv_prog_LD="${ncn_progname}"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8338 if test -n "$LD"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8340 $as_echo "$LD" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8343 $as_echo "no
" >&6; }
8350 for ncn_progname in ld; do
8351 if test -n "$ncn_tool_prefix"; then
8352 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8353 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8355 $as_echo_n "checking
for $ac_word...
" >&6; }
8356 if test "${ac_cv_prog_LD+set}" = set; then :
8357 $as_echo_n "(cached
) " >&6
8359 if test -n "$LD"; then
8360 ac_cv_prog_LD="$LD" # Let the user override the test.
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8380 if test -n "$LD"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8382 $as_echo "$LD" >&6; }
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8385 $as_echo "no
" >&6; }
8390 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8392 set dummy ${ncn_progname}; ac_word=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8394 $as_echo_n "checking
for $ac_word...
" >&6; }
8395 if test "${ac_cv_prog_LD+set}" = set; then :
8396 $as_echo_n "(cached
) " >&6
8398 if test -n "$LD"; then
8399 ac_cv_prog_LD="$LD" # Let the user override the test.
8401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir=.
8406 for ac_exec_ext in '' $ac_executable_extensions; do
8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8408 ac_cv_prog_LD="${ncn_progname}"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8419 if test -n "$LD"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8421 $as_echo "$LD" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8424 $as_echo "no
" >&6; }
8429 test -n "$ac_cv_prog_LD" && break
8432 if test -z "$ac_cv_prog_LD" ; then
8434 if test $build = $host ; then
8437 LD="${ncn_tool_prefix}$2"
8443 if test -n "$LIPO"; then
8444 ac_cv_prog_LIPO=$LIPO
8445 elif test -n "$ac_cv_prog_LIPO"; then
8446 LIPO=$ac_cv_prog_LIPO
8449 if test -n "$ac_cv_prog_LIPO"; then
8450 for ncn_progname in lipo; do
8451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8452 set dummy ${ncn_progname}; ac_word=$2
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8454 $as_echo_n "checking
for $ac_word...
" >&6; }
8455 if test "${ac_cv_prog_LIPO+set}" = set; then :
8456 $as_echo_n "(cached
) " >&6
8458 if test -n "$LIPO"; then
8459 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8465 test -z "$as_dir" && as_dir=.
8466 for ac_exec_ext in '' $ac_executable_extensions; do
8467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468 ac_cv_prog_LIPO="${ncn_progname}"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8478 LIPO=$ac_cv_prog_LIPO
8479 if test -n "$LIPO"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8481 $as_echo "$LIPO" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8484 $as_echo "no
" >&6; }
8491 for ncn_progname in lipo; do
8492 if test -n "$ncn_tool_prefix"; then
8493 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8494 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8496 $as_echo_n "checking
for $ac_word...
" >&6; }
8497 if test "${ac_cv_prog_LIPO+set}" = set; then :
8498 $as_echo_n "(cached
) " >&6
8500 if test -n "$LIPO"; then
8501 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8507 test -z "$as_dir" && as_dir=.
8508 for ac_exec_ext in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8520 LIPO=$ac_cv_prog_LIPO
8521 if test -n "$LIPO"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8523 $as_echo "$LIPO" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8526 $as_echo "no
" >&6; }
8531 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8533 set dummy ${ncn_progname}; ac_word=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8535 $as_echo_n "checking
for $ac_word...
" >&6; }
8536 if test "${ac_cv_prog_LIPO+set}" = set; then :
8537 $as_echo_n "(cached
) " >&6
8539 if test -n "$LIPO"; then
8540 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8546 test -z "$as_dir" && as_dir=.
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8549 ac_cv_prog_LIPO="${ncn_progname}"
8550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8559 LIPO=$ac_cv_prog_LIPO
8560 if test -n "$LIPO"; then
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8562 $as_echo "$LIPO" >&6; }
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8565 $as_echo "no
" >&6; }
8570 test -n "$ac_cv_prog_LIPO" && break
8573 if test -z "$ac_cv_prog_LIPO" ; then
8575 if test $build = $host ; then
8578 LIPO="${ncn_tool_prefix}$2"
8584 if test -n "$NM"; then
8586 elif test -n "$ac_cv_prog_NM"; then
8590 if test -n "$ac_cv_prog_NM"; then
8591 for ncn_progname in nm; do
8592 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8593 set dummy ${ncn_progname}; ac_word=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8595 $as_echo_n "checking
for $ac_word...
" >&6; }
8596 if test "${ac_cv_prog_NM+set}" = set; then :
8597 $as_echo_n "(cached
) " >&6
8599 if test -n "$NM"; then
8600 ac_cv_prog_NM="$NM" # Let the user override the test.
8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8609 ac_cv_prog_NM="${ncn_progname}"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8620 if test -n "$NM"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8622 $as_echo "$NM" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8625 $as_echo "no
" >&6; }
8632 for ncn_progname in nm; do
8633 if test -n "$ncn_tool_prefix"; then
8634 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8635 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8637 $as_echo_n "checking
for $ac_word...
" >&6; }
8638 if test "${ac_cv_prog_NM+set}" = set; then :
8639 $as_echo_n "(cached
) " >&6
8641 if test -n "$NM"; then
8642 ac_cv_prog_NM="$NM" # Let the user override the test.
8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 test -z "$as_dir" && as_dir=.
8649 for ac_exec_ext in '' $ac_executable_extensions; do
8650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8651 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8662 if test -n "$NM"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8664 $as_echo "$NM" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8667 $as_echo "no
" >&6; }
8672 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8673 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8674 set dummy ${ncn_progname}; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8676 $as_echo_n "checking
for $ac_word...
" >&6; }
8677 if test "${ac_cv_prog_NM+set}" = set; then :
8678 $as_echo_n "(cached
) " >&6
8680 if test -n "$NM"; then
8681 ac_cv_prog_NM="$NM" # Let the user override the test.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8690 ac_cv_prog_NM="${ncn_progname}"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8701 if test -n "$NM"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8703 $as_echo "$NM" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8706 $as_echo "no
" >&6; }
8711 test -n "$ac_cv_prog_NM" && break
8714 if test -z "$ac_cv_prog_NM" ; then
8716 if test $build = $host ; then
8719 NM="${ncn_tool_prefix}$2"
8725 if test -n "$RANLIB"; then
8726 ac_cv_prog_RANLIB=$RANLIB
8727 elif test -n "$ac_cv_prog_RANLIB"; then
8728 RANLIB=$ac_cv_prog_RANLIB
8731 if test -n "$ac_cv_prog_RANLIB"; then
8732 for ncn_progname in ranlib; do
8733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8734 set dummy ${ncn_progname}; ac_word=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8736 $as_echo_n "checking
for $ac_word...
" >&6; }
8737 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8738 $as_echo_n "(cached
) " >&6
8740 if test -n "$RANLIB"; then
8741 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8747 test -z "$as_dir" && as_dir=.
8748 for ac_exec_ext in '' $ac_executable_extensions; do
8749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8750 ac_cv_prog_RANLIB="${ncn_progname}"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8760 RANLIB=$ac_cv_prog_RANLIB
8761 if test -n "$RANLIB"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8763 $as_echo "$RANLIB" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8766 $as_echo "no
" >&6; }
8773 for ncn_progname in ranlib; do
8774 if test -n "$ncn_tool_prefix"; then
8775 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8776 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8778 $as_echo_n "checking
for $ac_word...
" >&6; }
8779 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8780 $as_echo_n "(cached
) " >&6
8782 if test -n "$RANLIB"; then
8783 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8802 RANLIB=$ac_cv_prog_RANLIB
8803 if test -n "$RANLIB"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8805 $as_echo "$RANLIB" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8808 $as_echo "no
" >&6; }
8813 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8815 set dummy ${ncn_progname}; ac_word=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8817 $as_echo_n "checking
for $ac_word...
" >&6; }
8818 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8819 $as_echo_n "(cached
) " >&6
8821 if test -n "$RANLIB"; then
8822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir=.
8829 for ac_exec_ext in '' $ac_executable_extensions; do
8830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8831 ac_cv_prog_RANLIB="${ncn_progname}"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8841 RANLIB=$ac_cv_prog_RANLIB
8842 if test -n "$RANLIB"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8844 $as_echo "$RANLIB" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8847 $as_echo "no
" >&6; }
8852 test -n "$ac_cv_prog_RANLIB" && break
8855 if test -z "$ac_cv_prog_RANLIB" ; then
8861 if test -n "$STRIP"; then
8862 ac_cv_prog_STRIP=$STRIP
8863 elif test -n "$ac_cv_prog_STRIP"; then
8864 STRIP=$ac_cv_prog_STRIP
8867 if test -n "$ac_cv_prog_STRIP"; then
8868 for ncn_progname in strip; do
8869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8870 set dummy ${ncn_progname}; ac_word=$2
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8872 $as_echo_n "checking
for $ac_word...
" >&6; }
8873 if test "${ac_cv_prog_STRIP+set}" = set; then :
8874 $as_echo_n "(cached
) " >&6
8876 if test -n "$STRIP"; then
8877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8883 test -z "$as_dir" && as_dir=.
8884 for ac_exec_ext in '' $ac_executable_extensions; do
8885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8886 ac_cv_prog_STRIP="${ncn_progname}"
8887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8896 STRIP=$ac_cv_prog_STRIP
8897 if test -n "$STRIP"; then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8899 $as_echo "$STRIP" >&6; }
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8902 $as_echo "no
" >&6; }
8909 for ncn_progname in strip; do
8910 if test -n "$ncn_tool_prefix"; then
8911 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8912 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8914 $as_echo_n "checking
for $ac_word...
" >&6; }
8915 if test "${ac_cv_prog_STRIP+set}" = set; then :
8916 $as_echo_n "(cached
) " >&6
8918 if test -n "$STRIP"; then
8919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8938 STRIP=$ac_cv_prog_STRIP
8939 if test -n "$STRIP"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8941 $as_echo "$STRIP" >&6; }
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8944 $as_echo "no
" >&6; }
8949 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8951 set dummy ${ncn_progname}; ac_word=$2
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8953 $as_echo_n "checking
for $ac_word...
" >&6; }
8954 if test "${ac_cv_prog_STRIP+set}" = set; then :
8955 $as_echo_n "(cached
) " >&6
8957 if test -n "$STRIP"; then
8958 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8964 test -z "$as_dir" && as_dir=.
8965 for ac_exec_ext in '' $ac_executable_extensions; do
8966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967 ac_cv_prog_STRIP="${ncn_progname}"
8968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8977 STRIP=$ac_cv_prog_STRIP
8978 if test -n "$STRIP"; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8980 $as_echo "$STRIP" >&6; }
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8983 $as_echo "no
" >&6; }
8988 test -n "$ac_cv_prog_STRIP" && break
8991 if test -z "$ac_cv_prog_STRIP" ; then
8997 if test -n "$WINDRES"; then
8998 ac_cv_prog_WINDRES=$WINDRES
8999 elif test -n "$ac_cv_prog_WINDRES"; then
9000 WINDRES=$ac_cv_prog_WINDRES
9003 if test -n "$ac_cv_prog_WINDRES"; then
9004 for ncn_progname in windres; do
9005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9006 set dummy ${ncn_progname}; ac_word=$2
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9008 $as_echo_n "checking
for $ac_word...
" >&6; }
9009 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9010 $as_echo_n "(cached
) " >&6
9012 if test -n "$WINDRES"; then
9013 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9019 test -z "$as_dir" && as_dir=.
9020 for ac_exec_ext in '' $ac_executable_extensions; do
9021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022 ac_cv_prog_WINDRES="${ncn_progname}"
9023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9032 WINDRES=$ac_cv_prog_WINDRES
9033 if test -n "$WINDRES"; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9035 $as_echo "$WINDRES" >&6; }
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9038 $as_echo "no
" >&6; }
9045 for ncn_progname in windres; do
9046 if test -n "$ncn_tool_prefix"; then
9047 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9048 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9050 $as_echo_n "checking
for $ac_word...
" >&6; }
9051 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9052 $as_echo_n "(cached
) " >&6
9054 if test -n "$WINDRES"; then
9055 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9061 test -z "$as_dir" && as_dir=.
9062 for ac_exec_ext in '' $ac_executable_extensions; do
9063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9064 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9074 WINDRES=$ac_cv_prog_WINDRES
9075 if test -n "$WINDRES"; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9077 $as_echo "$WINDRES" >&6; }
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9080 $as_echo "no
" >&6; }
9085 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9087 set dummy ${ncn_progname}; ac_word=$2
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9089 $as_echo_n "checking
for $ac_word...
" >&6; }
9090 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9091 $as_echo_n "(cached
) " >&6
9093 if test -n "$WINDRES"; then
9094 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9100 test -z "$as_dir" && as_dir=.
9101 for ac_exec_ext in '' $ac_executable_extensions; do
9102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9103 ac_cv_prog_WINDRES="${ncn_progname}"
9104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9113 WINDRES=$ac_cv_prog_WINDRES
9114 if test -n "$WINDRES"; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9116 $as_echo "$WINDRES" >&6; }
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9119 $as_echo "no
" >&6; }
9124 test -n "$ac_cv_prog_WINDRES" && break
9127 if test -z "$ac_cv_prog_WINDRES" ; then
9129 if test $build = $host ; then
9132 WINDRES="${ncn_tool_prefix}$2"
9138 if test -n "$WINDMC"; then
9139 ac_cv_prog_WINDMC=$WINDMC
9140 elif test -n "$ac_cv_prog_WINDMC"; then
9141 WINDMC=$ac_cv_prog_WINDMC
9144 if test -n "$ac_cv_prog_WINDMC"; then
9145 for ncn_progname in windmc; do
9146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9147 set dummy ${ncn_progname}; ac_word=$2
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9149 $as_echo_n "checking
for $ac_word...
" >&6; }
9150 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9151 $as_echo_n "(cached
) " >&6
9153 if test -n "$WINDMC"; then
9154 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9160 test -z "$as_dir" && as_dir=.
9161 for ac_exec_ext in '' $ac_executable_extensions; do
9162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9163 ac_cv_prog_WINDMC="${ncn_progname}"
9164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9173 WINDMC=$ac_cv_prog_WINDMC
9174 if test -n "$WINDMC"; then
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9176 $as_echo "$WINDMC" >&6; }
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9179 $as_echo "no
" >&6; }
9186 for ncn_progname in windmc; do
9187 if test -n "$ncn_tool_prefix"; then
9188 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9189 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9191 $as_echo_n "checking
for $ac_word...
" >&6; }
9192 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9193 $as_echo_n "(cached
) " >&6
9195 if test -n "$WINDMC"; then
9196 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9202 test -z "$as_dir" && as_dir=.
9203 for ac_exec_ext in '' $ac_executable_extensions; do
9204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9205 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9215 WINDMC=$ac_cv_prog_WINDMC
9216 if test -n "$WINDMC"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9218 $as_echo "$WINDMC" >&6; }
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9221 $as_echo "no
" >&6; }
9226 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9227 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9228 set dummy ${ncn_progname}; ac_word=$2
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9230 $as_echo_n "checking
for $ac_word...
" >&6; }
9231 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9232 $as_echo_n "(cached
) " >&6
9234 if test -n "$WINDMC"; then
9235 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9241 test -z "$as_dir" && as_dir=.
9242 for ac_exec_ext in '' $ac_executable_extensions; do
9243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9244 ac_cv_prog_WINDMC="${ncn_progname}"
9245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9254 WINDMC=$ac_cv_prog_WINDMC
9255 if test -n "$WINDMC"; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9257 $as_echo "$WINDMC" >&6; }
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9260 $as_echo "no
" >&6; }
9265 test -n "$ac_cv_prog_WINDMC" && break
9268 if test -z "$ac_cv_prog_WINDMC" ; then
9270 if test $build = $host ; then
9273 WINDMC="${ncn_tool_prefix}$2"
9279 if test -n "$OBJCOPY"; then
9280 ac_cv_prog_OBJCOPY=$OBJCOPY
9281 elif test -n "$ac_cv_prog_OBJCOPY"; then
9282 OBJCOPY=$ac_cv_prog_OBJCOPY
9285 if test -n "$ac_cv_prog_OBJCOPY"; then
9286 for ncn_progname in objcopy; do
9287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9288 set dummy ${ncn_progname}; ac_word=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9290 $as_echo_n "checking
for $ac_word...
" >&6; }
9291 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9292 $as_echo_n "(cached
) " >&6
9294 if test -n "$OBJCOPY"; then
9295 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9304 ac_cv_prog_OBJCOPY="${ncn_progname}"
9305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9314 OBJCOPY=$ac_cv_prog_OBJCOPY
9315 if test -n "$OBJCOPY"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9317 $as_echo "$OBJCOPY" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9320 $as_echo "no
" >&6; }
9327 for ncn_progname in objcopy; do
9328 if test -n "$ncn_tool_prefix"; then
9329 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9330 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9332 $as_echo_n "checking
for $ac_word...
" >&6; }
9333 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9334 $as_echo_n "(cached
) " >&6
9336 if test -n "$OBJCOPY"; then
9337 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9343 test -z "$as_dir" && as_dir=.
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9346 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9356 OBJCOPY=$ac_cv_prog_OBJCOPY
9357 if test -n "$OBJCOPY"; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9359 $as_echo "$OBJCOPY" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9362 $as_echo "no
" >&6; }
9367 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9369 set dummy ${ncn_progname}; ac_word=$2
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9371 $as_echo_n "checking
for $ac_word...
" >&6; }
9372 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9373 $as_echo_n "(cached
) " >&6
9375 if test -n "$OBJCOPY"; then
9376 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9382 test -z "$as_dir" && as_dir=.
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385 ac_cv_prog_OBJCOPY="${ncn_progname}"
9386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9395 OBJCOPY=$ac_cv_prog_OBJCOPY
9396 if test -n "$OBJCOPY"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9398 $as_echo "$OBJCOPY" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9401 $as_echo "no
" >&6; }
9406 test -n "$ac_cv_prog_OBJCOPY" && break
9409 if test -z "$ac_cv_prog_OBJCOPY" ; then
9411 if test $build = $host ; then
9414 OBJCOPY="${ncn_tool_prefix}$2"
9420 if test -n "$OBJDUMP"; then
9421 ac_cv_prog_OBJDUMP=$OBJDUMP
9422 elif test -n "$ac_cv_prog_OBJDUMP"; then
9423 OBJDUMP=$ac_cv_prog_OBJDUMP
9426 if test -n "$ac_cv_prog_OBJDUMP"; then
9427 for ncn_progname in objdump; do
9428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9429 set dummy ${ncn_progname}; ac_word=$2
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9431 $as_echo_n "checking
for $ac_word...
" >&6; }
9432 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9433 $as_echo_n "(cached
) " >&6
9435 if test -n "$OBJDUMP"; then
9436 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9442 test -z "$as_dir" && as_dir=.
9443 for ac_exec_ext in '' $ac_executable_extensions; do
9444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9445 ac_cv_prog_OBJDUMP="${ncn_progname}"
9446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9455 OBJDUMP=$ac_cv_prog_OBJDUMP
9456 if test -n "$OBJDUMP"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9458 $as_echo "$OBJDUMP" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9461 $as_echo "no
" >&6; }
9468 for ncn_progname in objdump; do
9469 if test -n "$ncn_tool_prefix"; then
9470 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9471 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9473 $as_echo_n "checking
for $ac_word...
" >&6; }
9474 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9475 $as_echo_n "(cached
) " >&6
9477 if test -n "$OBJDUMP"; then
9478 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9497 OBJDUMP=$ac_cv_prog_OBJDUMP
9498 if test -n "$OBJDUMP"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9500 $as_echo "$OBJDUMP" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9503 $as_echo "no
" >&6; }
9508 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9510 set dummy ${ncn_progname}; ac_word=$2
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9512 $as_echo_n "checking
for $ac_word...
" >&6; }
9513 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9514 $as_echo_n "(cached
) " >&6
9516 if test -n "$OBJDUMP"; then
9517 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9523 test -z "$as_dir" && as_dir=.
9524 for ac_exec_ext in '' $ac_executable_extensions; do
9525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9526 ac_cv_prog_OBJDUMP="${ncn_progname}"
9527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9536 OBJDUMP=$ac_cv_prog_OBJDUMP
9537 if test -n "$OBJDUMP"; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9539 $as_echo "$OBJDUMP" >&6; }
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9542 $as_echo "no
" >&6; }
9547 test -n "$ac_cv_prog_OBJDUMP" && break
9550 if test -z "$ac_cv_prog_OBJDUMP" ; then
9552 if test $build = $host ; then
9555 OBJDUMP="${ncn_tool_prefix}$2"
9566 # Check whether --with-build-time-tools was given.
9567 if test "${with_build_time_tools+set}" = set; then :
9568 withval=$with_build_time_tools; case x"$withval" in
9571 with_build_time_tools=
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9573 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9577 with_build_time_tools=
9583 if test -n "$CC_FOR_TARGET"; then
9584 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9585 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9586 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9589 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9590 for ncn_progname in cc gcc; do
9591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9592 set dummy ${ncn_progname}; ac_word=$2
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9594 $as_echo_n "checking
for $ac_word...
" >&6; }
9595 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9596 $as_echo_n "(cached
) " >&6
9598 if test -n "$CC_FOR_TARGET"; then
9599 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9608 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9618 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9619 if test -n "$CC_FOR_TARGET"; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9621 $as_echo "$CC_FOR_TARGET" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9624 $as_echo "no
" >&6; }
9631 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9632 for ncn_progname in cc gcc; do
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9634 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9635 if test -x $with_build_time_tools/${ncn_progname}; then
9636 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9638 $as_echo "yes" >&6; }
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9642 $as_echo "no
" >&6; }
9647 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9648 for ncn_progname in cc gcc; do
9649 if test -n "$ncn_target_tool_prefix"; then
9650 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9651 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9653 $as_echo_n "checking
for $ac_word...
" >&6; }
9654 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9655 $as_echo_n "(cached
) " >&6
9657 if test -n "$CC_FOR_TARGET"; then
9658 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 test -z "$as_dir" && as_dir=.
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9667 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9677 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9678 if test -n "$CC_FOR_TARGET"; then
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9680 $as_echo "$CC_FOR_TARGET" >&6; }
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9683 $as_echo "no
" >&6; }
9688 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9690 set dummy ${ncn_progname}; ac_word=$2
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9692 $as_echo_n "checking
for $ac_word...
" >&6; }
9693 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9694 $as_echo_n "(cached
) " >&6
9696 if test -n "$CC_FOR_TARGET"; then
9697 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9703 test -z "$as_dir" && as_dir=.
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9706 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9716 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9717 if test -n "$CC_FOR_TARGET"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9719 $as_echo "$CC_FOR_TARGET" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9722 $as_echo "no
" >&6; }
9727 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9731 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9733 if test $build = $target ; then
9736 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9739 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9744 if test -n "$CXX_FOR_TARGET"; then
9745 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9746 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9747 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9750 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9751 for ncn_progname in c++ g++ cxx gxx; do
9752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9753 set dummy ${ncn_progname}; ac_word=$2
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9755 $as_echo_n "checking
for $ac_word...
" >&6; }
9756 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9757 $as_echo_n "(cached
) " >&6
9759 if test -n "$CXX_FOR_TARGET"; then
9760 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 test -z "$as_dir" && as_dir=.
9767 for ac_exec_ext in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9779 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9780 if test -n "$CXX_FOR_TARGET"; then
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9782 $as_echo "$CXX_FOR_TARGET" >&6; }
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9785 $as_echo "no
" >&6; }
9792 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9793 for ncn_progname in c++ g++ cxx gxx; do
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9795 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9796 if test -x $with_build_time_tools/${ncn_progname}; then
9797 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9799 $as_echo "yes" >&6; }
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9803 $as_echo "no
" >&6; }
9808 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9809 for ncn_progname in c++ g++ cxx gxx; do
9810 if test -n "$ncn_target_tool_prefix"; then
9811 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9812 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9814 $as_echo_n "checking
for $ac_word...
" >&6; }
9815 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9816 $as_echo_n "(cached
) " >&6
9818 if test -n "$CXX_FOR_TARGET"; then
9819 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9825 test -z "$as_dir" && as_dir=.
9826 for ac_exec_ext in '' $ac_executable_extensions; do
9827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9828 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9838 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9839 if test -n "$CXX_FOR_TARGET"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9841 $as_echo "$CXX_FOR_TARGET" >&6; }
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9844 $as_echo "no
" >&6; }
9849 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9851 set dummy ${ncn_progname}; ac_word=$2
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9853 $as_echo_n "checking
for $ac_word...
" >&6; }
9854 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9855 $as_echo_n "(cached
) " >&6
9857 if test -n "$CXX_FOR_TARGET"; then
9858 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9867 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9877 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9878 if test -n "$CXX_FOR_TARGET"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9880 $as_echo "$CXX_FOR_TARGET" >&6; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9883 $as_echo "no
" >&6; }
9888 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9892 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9893 set dummy c++ g++ cxx gxx
9894 if test $build = $target ; then
9897 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9900 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9905 if test -n "$GCC_FOR_TARGET"; then
9906 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9907 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9908 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9911 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9912 for ncn_progname in gcc; do
9913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9914 set dummy ${ncn_progname}; ac_word=$2
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9916 $as_echo_n "checking
for $ac_word...
" >&6; }
9917 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9918 $as_echo_n "(cached
) " >&6
9920 if test -n "$GCC_FOR_TARGET"; then
9921 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9927 test -z "$as_dir" && as_dir=.
9928 for ac_exec_ext in '' $ac_executable_extensions; do
9929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9930 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9940 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9941 if test -n "$GCC_FOR_TARGET"; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9943 $as_echo "$GCC_FOR_TARGET" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9946 $as_echo "no
" >&6; }
9953 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9954 for ncn_progname in gcc; do
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9956 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9957 if test -x $with_build_time_tools/${ncn_progname}; then
9958 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9960 $as_echo "yes" >&6; }
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9964 $as_echo "no
" >&6; }
9969 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9970 for ncn_progname in gcc; do
9971 if test -n "$ncn_target_tool_prefix"; then
9972 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9973 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9975 $as_echo_n "checking
for $ac_word...
" >&6; }
9976 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9977 $as_echo_n "(cached
) " >&6
9979 if test -n "$GCC_FOR_TARGET"; then
9980 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9989 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9999 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10000 if test -n "$GCC_FOR_TARGET"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10002 $as_echo "$GCC_FOR_TARGET" >&6; }
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10005 $as_echo "no
" >&6; }
10010 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10012 set dummy ${ncn_progname}; ac_word=$2
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10014 $as_echo_n "checking
for $ac_word...
" >&6; }
10015 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10016 $as_echo_n "(cached
) " >&6
10018 if test -n "$GCC_FOR_TARGET"; then
10019 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10022 for as_dir in $PATH
10025 test -z "$as_dir" && as_dir=.
10026 for ac_exec_ext in '' $ac_executable_extensions; do
10027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10028 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10038 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10039 if test -n "$GCC_FOR_TARGET"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10041 $as_echo "$GCC_FOR_TARGET" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10044 $as_echo "no
" >&6; }
10049 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10053 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10054 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10056 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10061 if test -n "$GCJ_FOR_TARGET"; then
10062 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10063 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10064 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10067 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10068 for ncn_progname in gcj; do
10069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10070 set dummy ${ncn_progname}; ac_word=$2
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10072 $as_echo_n "checking
for $ac_word...
" >&6; }
10073 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10074 $as_echo_n "(cached
) " >&6
10076 if test -n "$GCJ_FOR_TARGET"; then
10077 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10080 for as_dir in $PATH
10083 test -z "$as_dir" && as_dir=.
10084 for ac_exec_ext in '' $ac_executable_extensions; do
10085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10086 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10096 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10097 if test -n "$GCJ_FOR_TARGET"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10099 $as_echo "$GCJ_FOR_TARGET" >&6; }
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10102 $as_echo "no
" >&6; }
10109 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10110 for ncn_progname in gcj; do
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10112 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10113 if test -x $with_build_time_tools/${ncn_progname}; then
10114 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10116 $as_echo "yes" >&6; }
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10120 $as_echo "no
" >&6; }
10125 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10126 for ncn_progname in gcj; do
10127 if test -n "$ncn_target_tool_prefix"; then
10128 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10129 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10131 $as_echo_n "checking
for $ac_word...
" >&6; }
10132 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10133 $as_echo_n "(cached
) " >&6
10135 if test -n "$GCJ_FOR_TARGET"; then
10136 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10139 for as_dir in $PATH
10142 test -z "$as_dir" && as_dir=.
10143 for ac_exec_ext in '' $ac_executable_extensions; do
10144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10145 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10155 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10156 if test -n "$GCJ_FOR_TARGET"; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10158 $as_echo "$GCJ_FOR_TARGET" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10161 $as_echo "no
" >&6; }
10166 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10168 set dummy ${ncn_progname}; ac_word=$2
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10170 $as_echo_n "checking
for $ac_word...
" >&6; }
10171 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10172 $as_echo_n "(cached
) " >&6
10174 if test -n "$GCJ_FOR_TARGET"; then
10175 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10178 for as_dir in $PATH
10181 test -z "$as_dir" && as_dir=.
10182 for ac_exec_ext in '' $ac_executable_extensions; do
10183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10184 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10194 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10195 if test -n "$GCJ_FOR_TARGET"; then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10197 $as_echo "$GCJ_FOR_TARGET" >&6; }
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10200 $as_echo "no
" >&6; }
10205 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10209 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10211 if test $build = $target ; then
10212 GCJ_FOR_TARGET="$2"
10214 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10217 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10222 if test -n "$GFORTRAN_FOR_TARGET"; then
10223 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10224 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10225 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10228 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10229 for ncn_progname in gfortran; do
10230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10231 set dummy ${ncn_progname}; ac_word=$2
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10233 $as_echo_n "checking
for $ac_word...
" >&6; }
10234 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10235 $as_echo_n "(cached
) " >&6
10237 if test -n "$GFORTRAN_FOR_TARGET"; then
10238 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10241 for as_dir in $PATH
10244 test -z "$as_dir" && as_dir=.
10245 for ac_exec_ext in '' $ac_executable_extensions; do
10246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10247 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10257 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10258 if test -n "$GFORTRAN_FOR_TARGET"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10260 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10263 $as_echo "no
" >&6; }
10270 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10271 for ncn_progname in gfortran; do
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10273 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10274 if test -x $with_build_time_tools/${ncn_progname}; then
10275 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10277 $as_echo "yes" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10281 $as_echo "no
" >&6; }
10286 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10287 for ncn_progname in gfortran; do
10288 if test -n "$ncn_target_tool_prefix"; then
10289 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10290 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10292 $as_echo_n "checking
for $ac_word...
" >&6; }
10293 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10294 $as_echo_n "(cached
) " >&6
10296 if test -n "$GFORTRAN_FOR_TARGET"; then
10297 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10300 for as_dir in $PATH
10303 test -z "$as_dir" && as_dir=.
10304 for ac_exec_ext in '' $ac_executable_extensions; do
10305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10306 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10316 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10317 if test -n "$GFORTRAN_FOR_TARGET"; then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10319 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10322 $as_echo "no
" >&6; }
10327 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10329 set dummy ${ncn_progname}; ac_word=$2
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10331 $as_echo_n "checking
for $ac_word...
" >&6; }
10332 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10333 $as_echo_n "(cached
) " >&6
10335 if test -n "$GFORTRAN_FOR_TARGET"; then
10336 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10339 for as_dir in $PATH
10342 test -z "$as_dir" && as_dir=.
10343 for ac_exec_ext in '' $ac_executable_extensions; do
10344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10345 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10355 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10356 if test -n "$GFORTRAN_FOR_TARGET"; then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10358 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10361 $as_echo "no
" >&6; }
10366 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10370 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10372 if test $build = $target ; then
10373 GFORTRAN_FOR_TARGET="$2"
10375 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10378 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10383 if test -n "$GOC_FOR_TARGET"; then
10384 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10385 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10386 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10389 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10390 for ncn_progname in gccgo; do
10391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10392 set dummy ${ncn_progname}; ac_word=$2
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10394 $as_echo_n "checking
for $ac_word...
" >&6; }
10395 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10396 $as_echo_n "(cached
) " >&6
10398 if test -n "$GOC_FOR_TARGET"; then
10399 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10402 for as_dir in $PATH
10405 test -z "$as_dir" && as_dir=.
10406 for ac_exec_ext in '' $ac_executable_extensions; do
10407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10408 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10418 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10419 if test -n "$GOC_FOR_TARGET"; then
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10421 $as_echo "$GOC_FOR_TARGET" >&6; }
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10424 $as_echo "no
" >&6; }
10431 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10432 for ncn_progname in gccgo; do
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10434 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10435 if test -x $with_build_time_tools/${ncn_progname}; then
10436 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10438 $as_echo "yes" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10442 $as_echo "no
" >&6; }
10447 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10448 for ncn_progname in gccgo; do
10449 if test -n "$ncn_target_tool_prefix"; then
10450 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10451 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10453 $as_echo_n "checking
for $ac_word...
" >&6; }
10454 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10455 $as_echo_n "(cached
) " >&6
10457 if test -n "$GOC_FOR_TARGET"; then
10458 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10461 for as_dir in $PATH
10464 test -z "$as_dir" && as_dir=.
10465 for ac_exec_ext in '' $ac_executable_extensions; do
10466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10467 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10477 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10478 if test -n "$GOC_FOR_TARGET"; then
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10480 $as_echo "$GOC_FOR_TARGET" >&6; }
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10483 $as_echo "no
" >&6; }
10488 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10490 set dummy ${ncn_progname}; ac_word=$2
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10492 $as_echo_n "checking
for $ac_word...
" >&6; }
10493 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10494 $as_echo_n "(cached
) " >&6
10496 if test -n "$GOC_FOR_TARGET"; then
10497 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10506 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10516 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10517 if test -n "$GOC_FOR_TARGET"; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10519 $as_echo "$GOC_FOR_TARGET" >&6; }
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10522 $as_echo "no
" >&6; }
10527 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10531 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10533 if test $build = $target ; then
10534 GOC_FOR_TARGET="$2"
10536 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10539 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10544 cat > conftest.c << \EOF
10549 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10550 have_gcc_for_target=yes
10552 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10553 have_gcc_for_target=no
10560 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10561 if test -n "$with_build_time_tools"; then
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10563 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10564 if test -x $with_build_time_tools/ar; then
10565 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10566 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10568 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10571 $as_echo "no
" >&6; }
10573 elif test $build != $host && test $have_gcc_for_target = yes; then
10574 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10575 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10576 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10579 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10580 # Extract the first word of "ar", so it can be a program name with args.
10581 set dummy ar; ac_word=$2
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10583 $as_echo_n "checking
for $ac_word...
" >&6; }
10584 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10585 $as_echo_n "(cached
) " >&6
10587 case $AR_FOR_TARGET in
10589 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $gcc_cv_tool_dirs
10596 test -z "$as_dir" && as_dir=.
10597 for ac_exec_ext in '' $ac_executable_extensions; do
10598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10599 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10610 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10611 if test -n "$AR_FOR_TARGET"; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10613 $as_echo "$AR_FOR_TARGET" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10616 $as_echo "no
" >&6; }
10621 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10624 if test -n "$AR_FOR_TARGET"; then
10625 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10626 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10627 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10630 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10631 for ncn_progname in ar; do
10632 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10633 set dummy ${ncn_progname}; ac_word=$2
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10635 $as_echo_n "checking
for $ac_word...
" >&6; }
10636 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10637 $as_echo_n "(cached
) " >&6
10639 if test -n "$AR_FOR_TARGET"; then
10640 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10643 for as_dir in $PATH
10646 test -z "$as_dir" && as_dir=.
10647 for ac_exec_ext in '' $ac_executable_extensions; do
10648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10649 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10659 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10660 if test -n "$AR_FOR_TARGET"; then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10662 $as_echo "$AR_FOR_TARGET" >&6; }
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10665 $as_echo "no
" >&6; }
10672 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10673 for ncn_progname in ar; do
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10675 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10676 if test -x $with_build_time_tools/${ncn_progname}; then
10677 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10679 $as_echo "yes" >&6; }
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10683 $as_echo "no
" >&6; }
10688 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10689 for ncn_progname in ar; do
10690 if test -n "$ncn_target_tool_prefix"; then
10691 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10692 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10694 $as_echo_n "checking
for $ac_word...
" >&6; }
10695 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10696 $as_echo_n "(cached
) " >&6
10698 if test -n "$AR_FOR_TARGET"; then
10699 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702 for as_dir in $PATH
10705 test -z "$as_dir" && as_dir=.
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10718 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10719 if test -n "$AR_FOR_TARGET"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10721 $as_echo "$AR_FOR_TARGET" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10724 $as_echo "no
" >&6; }
10729 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10731 set dummy ${ncn_progname}; ac_word=$2
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10733 $as_echo_n "checking
for $ac_word...
" >&6; }
10734 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10735 $as_echo_n "(cached
) " >&6
10737 if test -n "$AR_FOR_TARGET"; then
10738 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10741 for as_dir in $PATH
10744 test -z "$as_dir" && as_dir=.
10745 for ac_exec_ext in '' $ac_executable_extensions; do
10746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10747 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10757 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10758 if test -n "$AR_FOR_TARGET"; then
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10760 $as_echo "$AR_FOR_TARGET" >&6; }
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10763 $as_echo "no
" >&6; }
10768 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10772 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10774 if test $build = $target ; then
10777 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10780 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10784 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10790 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10791 if test -n "$with_build_time_tools"; then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10793 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10794 if test -x $with_build_time_tools/as; then
10795 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10796 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10798 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10801 $as_echo "no
" >&6; }
10803 elif test $build != $host && test $have_gcc_for_target = yes; then
10804 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10805 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10806 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10809 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10810 # Extract the first word of "as
", so it can be a program name with args.
10811 set dummy as; ac_word=$2
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10813 $as_echo_n "checking
for $ac_word...
" >&6; }
10814 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10815 $as_echo_n "(cached
) " >&6
10817 case $AS_FOR_TARGET in
10819 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10823 for as_dir in $gcc_cv_tool_dirs
10826 test -z "$as_dir" && as_dir=.
10827 for ac_exec_ext in '' $ac_executable_extensions; do
10828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10829 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10840 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10841 if test -n "$AS_FOR_TARGET"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10843 $as_echo "$AS_FOR_TARGET" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10846 $as_echo "no
" >&6; }
10851 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10854 if test -n "$AS_FOR_TARGET"; then
10855 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10856 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10857 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10860 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10861 for ncn_progname in as; do
10862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10863 set dummy ${ncn_progname}; ac_word=$2
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10865 $as_echo_n "checking
for $ac_word...
" >&6; }
10866 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10867 $as_echo_n "(cached
) " >&6
10869 if test -n "$AS_FOR_TARGET"; then
10870 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10873 for as_dir in $PATH
10876 test -z "$as_dir" && as_dir=.
10877 for ac_exec_ext in '' $ac_executable_extensions; do
10878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10879 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10889 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10890 if test -n "$AS_FOR_TARGET"; then
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10892 $as_echo "$AS_FOR_TARGET" >&6; }
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10895 $as_echo "no
" >&6; }
10902 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10903 for ncn_progname in as; do
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10905 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10906 if test -x $with_build_time_tools/${ncn_progname}; then
10907 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10909 $as_echo "yes" >&6; }
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10913 $as_echo "no
" >&6; }
10918 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10919 for ncn_progname in as; do
10920 if test -n "$ncn_target_tool_prefix"; then
10921 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10922 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10924 $as_echo_n "checking
for $ac_word...
" >&6; }
10925 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10926 $as_echo_n "(cached
) " >&6
10928 if test -n "$AS_FOR_TARGET"; then
10929 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10932 for as_dir in $PATH
10935 test -z "$as_dir" && as_dir=.
10936 for ac_exec_ext in '' $ac_executable_extensions; do
10937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10938 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10948 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10949 if test -n "$AS_FOR_TARGET"; then
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10951 $as_echo "$AS_FOR_TARGET" >&6; }
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10954 $as_echo "no
" >&6; }
10959 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10960 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10961 set dummy ${ncn_progname}; ac_word=$2
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10963 $as_echo_n "checking
for $ac_word...
" >&6; }
10964 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10965 $as_echo_n "(cached
) " >&6
10967 if test -n "$AS_FOR_TARGET"; then
10968 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10971 for as_dir in $PATH
10974 test -z "$as_dir" && as_dir=.
10975 for ac_exec_ext in '' $ac_executable_extensions; do
10976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10977 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10987 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10988 if test -n "$AS_FOR_TARGET"; then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10990 $as_echo "$AS_FOR_TARGET" >&6; }
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10993 $as_echo "no
" >&6; }
10998 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11002 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11004 if test $build = $target ; then
11007 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11010 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11014 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11020 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11021 if test -n "$with_build_time_tools"; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11023 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11024 if test -x $with_build_time_tools/dlltool; then
11025 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11026 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11028 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11031 $as_echo "no
" >&6; }
11033 elif test $build != $host && test $have_gcc_for_target = yes; then
11034 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11035 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11036 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11039 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11040 # Extract the first word of "dlltool
", so it can be a program name with args.
11041 set dummy dlltool; ac_word=$2
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11043 $as_echo_n "checking
for $ac_word...
" >&6; }
11044 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11045 $as_echo_n "(cached
) " >&6
11047 case $DLLTOOL_FOR_TARGET in
11049 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11053 for as_dir in $gcc_cv_tool_dirs
11056 test -z "$as_dir" && as_dir=.
11057 for ac_exec_ext in '' $ac_executable_extensions; do
11058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11059 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11070 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11071 if test -n "$DLLTOOL_FOR_TARGET"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11073 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11076 $as_echo "no
" >&6; }
11081 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11084 if test -n "$DLLTOOL_FOR_TARGET"; then
11085 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11086 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11087 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11090 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11091 for ncn_progname in dlltool; do
11092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11093 set dummy ${ncn_progname}; ac_word=$2
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11095 $as_echo_n "checking
for $ac_word...
" >&6; }
11096 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11097 $as_echo_n "(cached
) " >&6
11099 if test -n "$DLLTOOL_FOR_TARGET"; then
11100 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11103 for as_dir in $PATH
11106 test -z "$as_dir" && as_dir=.
11107 for ac_exec_ext in '' $ac_executable_extensions; do
11108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11109 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11119 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11120 if test -n "$DLLTOOL_FOR_TARGET"; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11122 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11125 $as_echo "no
" >&6; }
11132 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11133 for ncn_progname in dlltool; do
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11135 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11136 if test -x $with_build_time_tools/${ncn_progname}; then
11137 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11139 $as_echo "yes" >&6; }
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11143 $as_echo "no
" >&6; }
11148 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11149 for ncn_progname in dlltool; do
11150 if test -n "$ncn_target_tool_prefix"; then
11151 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11152 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11154 $as_echo_n "checking
for $ac_word...
" >&6; }
11155 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11156 $as_echo_n "(cached
) " >&6
11158 if test -n "$DLLTOOL_FOR_TARGET"; then
11159 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162 for as_dir in $PATH
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11168 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11178 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11179 if test -n "$DLLTOOL_FOR_TARGET"; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11181 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11184 $as_echo "no
" >&6; }
11189 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11191 set dummy ${ncn_progname}; ac_word=$2
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11193 $as_echo_n "checking
for $ac_word...
" >&6; }
11194 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11195 $as_echo_n "(cached
) " >&6
11197 if test -n "$DLLTOOL_FOR_TARGET"; then
11198 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11201 for as_dir in $PATH
11204 test -z "$as_dir" && as_dir=.
11205 for ac_exec_ext in '' $ac_executable_extensions; do
11206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11207 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11217 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11218 if test -n "$DLLTOOL_FOR_TARGET"; then
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11220 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11223 $as_echo "no
" >&6; }
11228 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11232 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11234 if test $build = $target ; then
11235 DLLTOOL_FOR_TARGET="$2"
11237 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11240 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11244 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11250 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11251 if test -n "$with_build_time_tools"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11253 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11254 if test -x $with_build_time_tools/ld; then
11255 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11256 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11258 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11261 $as_echo "no
" >&6; }
11263 elif test $build != $host && test $have_gcc_for_target = yes; then
11264 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11265 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11266 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11269 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11270 # Extract the first word of "ld
", so it can be a program name with args.
11271 set dummy ld; ac_word=$2
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11273 $as_echo_n "checking
for $ac_word...
" >&6; }
11274 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11275 $as_echo_n "(cached
) " >&6
11277 case $LD_FOR_TARGET in
11279 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283 for as_dir in $gcc_cv_tool_dirs
11286 test -z "$as_dir" && as_dir=.
11287 for ac_exec_ext in '' $ac_executable_extensions; do
11288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11289 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11300 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11301 if test -n "$LD_FOR_TARGET"; then
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11303 $as_echo "$LD_FOR_TARGET" >&6; }
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11306 $as_echo "no
" >&6; }
11311 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11314 if test -n "$LD_FOR_TARGET"; then
11315 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11316 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11317 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11320 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11321 for ncn_progname in ld; do
11322 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11323 set dummy ${ncn_progname}; ac_word=$2
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11325 $as_echo_n "checking
for $ac_word...
" >&6; }
11326 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11327 $as_echo_n "(cached
) " >&6
11329 if test -n "$LD_FOR_TARGET"; then
11330 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333 for as_dir in $PATH
11336 test -z "$as_dir" && as_dir=.
11337 for ac_exec_ext in '' $ac_executable_extensions; do
11338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11349 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11350 if test -n "$LD_FOR_TARGET"; then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11352 $as_echo "$LD_FOR_TARGET" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11355 $as_echo "no
" >&6; }
11362 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11363 for ncn_progname in ld; do
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11365 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11366 if test -x $with_build_time_tools/${ncn_progname}; then
11367 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11369 $as_echo "yes" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11373 $as_echo "no
" >&6; }
11378 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11379 for ncn_progname in ld; do
11380 if test -n "$ncn_target_tool_prefix"; then
11381 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11382 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11384 $as_echo_n "checking
for $ac_word...
" >&6; }
11385 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11386 $as_echo_n "(cached
) " >&6
11388 if test -n "$LD_FOR_TARGET"; then
11389 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11392 for as_dir in $PATH
11395 test -z "$as_dir" && as_dir=.
11396 for ac_exec_ext in '' $ac_executable_extensions; do
11397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11398 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11408 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11409 if test -n "$LD_FOR_TARGET"; then
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11411 $as_echo "$LD_FOR_TARGET" >&6; }
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11414 $as_echo "no
" >&6; }
11419 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11421 set dummy ${ncn_progname}; ac_word=$2
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11423 $as_echo_n "checking
for $ac_word...
" >&6; }
11424 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11425 $as_echo_n "(cached
) " >&6
11427 if test -n "$LD_FOR_TARGET"; then
11428 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11431 for as_dir in $PATH
11434 test -z "$as_dir" && as_dir=.
11435 for ac_exec_ext in '' $ac_executable_extensions; do
11436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11437 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11447 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11448 if test -n "$LD_FOR_TARGET"; then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11450 $as_echo "$LD_FOR_TARGET" >&6; }
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11453 $as_echo "no
" >&6; }
11458 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11462 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11464 if test $build = $target ; then
11467 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11470 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11474 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11480 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11481 if test -n "$with_build_time_tools"; then
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11483 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11484 if test -x $with_build_time_tools/lipo; then
11485 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11486 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11488 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11491 $as_echo "no
" >&6; }
11493 elif test $build != $host && test $have_gcc_for_target = yes; then
11494 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11495 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11496 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11499 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11500 # Extract the first word of "lipo
", so it can be a program name with args.
11501 set dummy lipo; ac_word=$2
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11503 $as_echo_n "checking
for $ac_word...
" >&6; }
11504 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11505 $as_echo_n "(cached
) " >&6
11507 case $LIPO_FOR_TARGET in
11509 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513 for as_dir in $gcc_cv_tool_dirs
11516 test -z "$as_dir" && as_dir=.
11517 for ac_exec_ext in '' $ac_executable_extensions; do
11518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11519 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11530 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11531 if test -n "$LIPO_FOR_TARGET"; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11533 $as_echo "$LIPO_FOR_TARGET" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11536 $as_echo "no
" >&6; }
11541 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11544 if test -n "$LIPO_FOR_TARGET"; then
11545 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11546 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11547 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11550 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11551 for ncn_progname in lipo; do
11552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11553 set dummy ${ncn_progname}; ac_word=$2
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11555 $as_echo_n "checking
for $ac_word...
" >&6; }
11556 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11557 $as_echo_n "(cached
) " >&6
11559 if test -n "$LIPO_FOR_TARGET"; then
11560 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11563 for as_dir in $PATH
11566 test -z "$as_dir" && as_dir=.
11567 for ac_exec_ext in '' $ac_executable_extensions; do
11568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11569 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11579 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11580 if test -n "$LIPO_FOR_TARGET"; then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11582 $as_echo "$LIPO_FOR_TARGET" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11585 $as_echo "no
" >&6; }
11592 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11593 for ncn_progname in lipo; do
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11595 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11596 if test -x $with_build_time_tools/${ncn_progname}; then
11597 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11599 $as_echo "yes" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11603 $as_echo "no
" >&6; }
11608 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11609 for ncn_progname in lipo; do
11610 if test -n "$ncn_target_tool_prefix"; then
11611 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11612 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11614 $as_echo_n "checking
for $ac_word...
" >&6; }
11615 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11616 $as_echo_n "(cached
) " >&6
11618 if test -n "$LIPO_FOR_TARGET"; then
11619 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11622 for as_dir in $PATH
11625 test -z "$as_dir" && as_dir=.
11626 for ac_exec_ext in '' $ac_executable_extensions; do
11627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11628 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11638 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11639 if test -n "$LIPO_FOR_TARGET"; then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11641 $as_echo "$LIPO_FOR_TARGET" >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11644 $as_echo "no
" >&6; }
11649 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11651 set dummy ${ncn_progname}; ac_word=$2
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11653 $as_echo_n "checking
for $ac_word...
" >&6; }
11654 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11655 $as_echo_n "(cached
) " >&6
11657 if test -n "$LIPO_FOR_TARGET"; then
11658 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 for as_dir in $PATH
11664 test -z "$as_dir" && as_dir=.
11665 for ac_exec_ext in '' $ac_executable_extensions; do
11666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11667 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11677 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11678 if test -n "$LIPO_FOR_TARGET"; then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11680 $as_echo "$LIPO_FOR_TARGET" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11683 $as_echo "no
" >&6; }
11688 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11692 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11694 if test $build = $target ; then
11695 LIPO_FOR_TARGET="$2"
11697 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11700 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11704 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11710 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11711 if test -n "$with_build_time_tools"; then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11713 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11714 if test -x $with_build_time_tools/nm; then
11715 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11716 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11718 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11721 $as_echo "no
" >&6; }
11723 elif test $build != $host && test $have_gcc_for_target = yes; then
11724 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11725 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11726 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11729 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11730 # Extract the first word of "nm
", so it can be a program name with args.
11731 set dummy nm; ac_word=$2
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11733 $as_echo_n "checking
for $ac_word...
" >&6; }
11734 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11735 $as_echo_n "(cached
) " >&6
11737 case $NM_FOR_TARGET in
11739 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $gcc_cv_tool_dirs
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11760 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11761 if test -n "$NM_FOR_TARGET"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11763 $as_echo "$NM_FOR_TARGET" >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11766 $as_echo "no
" >&6; }
11771 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11774 if test -n "$NM_FOR_TARGET"; then
11775 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11776 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11777 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11780 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11781 for ncn_progname in nm; do
11782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11783 set dummy ${ncn_progname}; ac_word=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11785 $as_echo_n "checking
for $ac_word...
" >&6; }
11786 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11787 $as_echo_n "(cached
) " >&6
11789 if test -n "$NM_FOR_TARGET"; then
11790 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11809 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11810 if test -n "$NM_FOR_TARGET"; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11812 $as_echo "$NM_FOR_TARGET" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11815 $as_echo "no
" >&6; }
11822 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11823 for ncn_progname in nm; do
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11825 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11826 if test -x $with_build_time_tools/${ncn_progname}; then
11827 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11829 $as_echo "yes" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11833 $as_echo "no
" >&6; }
11838 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11839 for ncn_progname in nm; do
11840 if test -n "$ncn_target_tool_prefix"; then
11841 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11842 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11844 $as_echo_n "checking
for $ac_word...
" >&6; }
11845 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11846 $as_echo_n "(cached
) " >&6
11848 if test -n "$NM_FOR_TARGET"; then
11849 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11852 for as_dir in $PATH
11855 test -z "$as_dir" && as_dir=.
11856 for ac_exec_ext in '' $ac_executable_extensions; do
11857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11858 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11868 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11869 if test -n "$NM_FOR_TARGET"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11871 $as_echo "$NM_FOR_TARGET" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11874 $as_echo "no
" >&6; }
11879 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11880 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11881 set dummy ${ncn_progname}; ac_word=$2
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11883 $as_echo_n "checking
for $ac_word...
" >&6; }
11884 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11885 $as_echo_n "(cached
) " >&6
11887 if test -n "$NM_FOR_TARGET"; then
11888 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11891 for as_dir in $PATH
11894 test -z "$as_dir" && as_dir=.
11895 for ac_exec_ext in '' $ac_executable_extensions; do
11896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11897 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11907 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11908 if test -n "$NM_FOR_TARGET"; then
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11910 $as_echo "$NM_FOR_TARGET" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11913 $as_echo "no
" >&6; }
11918 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11922 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11924 if test $build = $target ; then
11927 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11930 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11934 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11940 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11941 if test -n "$with_build_time_tools"; then
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11943 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11944 if test -x $with_build_time_tools/objdump; then
11945 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11946 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11948 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11951 $as_echo "no
" >&6; }
11953 elif test $build != $host && test $have_gcc_for_target = yes; then
11954 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11955 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11956 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11959 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11960 # Extract the first word of "objdump
", so it can be a program name with args.
11961 set dummy objdump; ac_word=$2
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11963 $as_echo_n "checking
for $ac_word...
" >&6; }
11964 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11965 $as_echo_n "(cached
) " >&6
11967 case $OBJDUMP_FOR_TARGET in
11969 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11973 for as_dir in $gcc_cv_tool_dirs
11976 test -z "$as_dir" && as_dir=.
11977 for ac_exec_ext in '' $ac_executable_extensions; do
11978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11979 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11990 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11991 if test -n "$OBJDUMP_FOR_TARGET"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11993 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11996 $as_echo "no
" >&6; }
12001 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12004 if test -n "$OBJDUMP_FOR_TARGET"; then
12005 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12006 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12007 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12010 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12011 for ncn_progname in objdump; do
12012 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12013 set dummy ${ncn_progname}; ac_word=$2
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12015 $as_echo_n "checking
for $ac_word...
" >&6; }
12016 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12017 $as_echo_n "(cached
) " >&6
12019 if test -n "$OBJDUMP_FOR_TARGET"; then
12020 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $PATH
12026 test -z "$as_dir" && as_dir=.
12027 for ac_exec_ext in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12039 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12040 if test -n "$OBJDUMP_FOR_TARGET"; then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12042 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12045 $as_echo "no
" >&6; }
12052 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12053 for ncn_progname in objdump; do
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12055 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12056 if test -x $with_build_time_tools/${ncn_progname}; then
12057 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12059 $as_echo "yes" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12063 $as_echo "no
" >&6; }
12068 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12069 for ncn_progname in objdump; do
12070 if test -n "$ncn_target_tool_prefix"; then
12071 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12072 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12074 $as_echo_n "checking
for $ac_word...
" >&6; }
12075 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12076 $as_echo_n "(cached
) " >&6
12078 if test -n "$OBJDUMP_FOR_TARGET"; then
12079 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12098 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12099 if test -n "$OBJDUMP_FOR_TARGET"; then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12101 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12104 $as_echo "no
" >&6; }
12109 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12111 set dummy ${ncn_progname}; ac_word=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12113 $as_echo_n "checking
for $ac_word...
" >&6; }
12114 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12115 $as_echo_n "(cached
) " >&6
12117 if test -n "$OBJDUMP_FOR_TARGET"; then
12118 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12121 for as_dir in $PATH
12124 test -z "$as_dir" && as_dir=.
12125 for ac_exec_ext in '' $ac_executable_extensions; do
12126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12127 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12137 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12138 if test -n "$OBJDUMP_FOR_TARGET"; then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12140 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12143 $as_echo "no
" >&6; }
12148 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12152 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12154 if test $build = $target ; then
12155 OBJDUMP_FOR_TARGET="$2"
12157 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12160 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12164 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12170 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12171 if test -n "$with_build_time_tools"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12173 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12174 if test -x $with_build_time_tools/ranlib; then
12175 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12176 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12178 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12181 $as_echo "no
" >&6; }
12183 elif test $build != $host && test $have_gcc_for_target = yes; then
12184 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12185 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12186 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12189 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12190 # Extract the first word of "ranlib
", so it can be a program name with args.
12191 set dummy ranlib; ac_word=$2
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12193 $as_echo_n "checking
for $ac_word...
" >&6; }
12194 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12195 $as_echo_n "(cached
) " >&6
12197 case $RANLIB_FOR_TARGET in
12199 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203 for as_dir in $gcc_cv_tool_dirs
12206 test -z "$as_dir" && as_dir=.
12207 for ac_exec_ext in '' $ac_executable_extensions; do
12208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12209 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12220 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12221 if test -n "$RANLIB_FOR_TARGET"; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12223 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12226 $as_echo "no
" >&6; }
12231 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12234 if test -n "$RANLIB_FOR_TARGET"; then
12235 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12236 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12237 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12240 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12241 for ncn_progname in ranlib; do
12242 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12243 set dummy ${ncn_progname}; ac_word=$2
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12245 $as_echo_n "checking
for $ac_word...
" >&6; }
12246 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12247 $as_echo_n "(cached
) " >&6
12249 if test -n "$RANLIB_FOR_TARGET"; then
12250 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12253 for as_dir in $PATH
12256 test -z "$as_dir" && as_dir=.
12257 for ac_exec_ext in '' $ac_executable_extensions; do
12258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12259 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12269 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12270 if test -n "$RANLIB_FOR_TARGET"; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12272 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12275 $as_echo "no
" >&6; }
12282 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12283 for ncn_progname in ranlib; do
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12285 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12286 if test -x $with_build_time_tools/${ncn_progname}; then
12287 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12289 $as_echo "yes" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12293 $as_echo "no
" >&6; }
12298 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12299 for ncn_progname in ranlib; do
12300 if test -n "$ncn_target_tool_prefix"; then
12301 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12302 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12304 $as_echo_n "checking
for $ac_word...
" >&6; }
12305 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12306 $as_echo_n "(cached
) " >&6
12308 if test -n "$RANLIB_FOR_TARGET"; then
12309 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12328 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12329 if test -n "$RANLIB_FOR_TARGET"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12331 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12334 $as_echo "no
" >&6; }
12339 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12341 set dummy ${ncn_progname}; ac_word=$2
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12343 $as_echo_n "checking
for $ac_word...
" >&6; }
12344 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12345 $as_echo_n "(cached
) " >&6
12347 if test -n "$RANLIB_FOR_TARGET"; then
12348 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12351 for as_dir in $PATH
12354 test -z "$as_dir" && as_dir=.
12355 for ac_exec_ext in '' $ac_executable_extensions; do
12356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12357 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12367 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12368 if test -n "$RANLIB_FOR_TARGET"; then
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12370 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12373 $as_echo "no
" >&6; }
12378 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12382 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12384 if test $build = $target ; then
12385 RANLIB_FOR_TARGET="$2"
12387 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12390 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12394 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12400 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12401 if test -n "$with_build_time_tools"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12403 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12404 if test -x $with_build_time_tools/strip; then
12405 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12406 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12408 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12411 $as_echo "no
" >&6; }
12413 elif test $build != $host && test $have_gcc_for_target = yes; then
12414 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12415 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12416 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12419 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12420 # Extract the first word of "strip
", so it can be a program name with args.
12421 set dummy strip; ac_word=$2
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12423 $as_echo_n "checking
for $ac_word...
" >&6; }
12424 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12425 $as_echo_n "(cached
) " >&6
12427 case $STRIP_FOR_TARGET in
12429 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12433 for as_dir in $gcc_cv_tool_dirs
12436 test -z "$as_dir" && as_dir=.
12437 for ac_exec_ext in '' $ac_executable_extensions; do
12438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12439 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12450 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12451 if test -n "$STRIP_FOR_TARGET"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12453 $as_echo "$STRIP_FOR_TARGET" >&6; }
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12456 $as_echo "no
" >&6; }
12461 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12464 if test -n "$STRIP_FOR_TARGET"; then
12465 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12466 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12467 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12470 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12471 for ncn_progname in strip; do
12472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12473 set dummy ${ncn_progname}; ac_word=$2
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12475 $as_echo_n "checking
for $ac_word...
" >&6; }
12476 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12477 $as_echo_n "(cached
) " >&6
12479 if test -n "$STRIP_FOR_TARGET"; then
12480 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12486 test -z "$as_dir" && as_dir=.
12487 for ac_exec_ext in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12499 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12500 if test -n "$STRIP_FOR_TARGET"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12502 $as_echo "$STRIP_FOR_TARGET" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12505 $as_echo "no
" >&6; }
12512 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12513 for ncn_progname in strip; do
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12515 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12516 if test -x $with_build_time_tools/${ncn_progname}; then
12517 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12519 $as_echo "yes" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12523 $as_echo "no
" >&6; }
12528 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12529 for ncn_progname in strip; do
12530 if test -n "$ncn_target_tool_prefix"; then
12531 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12532 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12534 $as_echo_n "checking
for $ac_word...
" >&6; }
12535 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12536 $as_echo_n "(cached
) " >&6
12538 if test -n "$STRIP_FOR_TARGET"; then
12539 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12542 for as_dir in $PATH
12545 test -z "$as_dir" && as_dir=.
12546 for ac_exec_ext in '' $ac_executable_extensions; do
12547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12548 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12558 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12559 if test -n "$STRIP_FOR_TARGET"; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12561 $as_echo "$STRIP_FOR_TARGET" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12564 $as_echo "no
" >&6; }
12569 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12571 set dummy ${ncn_progname}; ac_word=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12573 $as_echo_n "checking
for $ac_word...
" >&6; }
12574 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12575 $as_echo_n "(cached
) " >&6
12577 if test -n "$STRIP_FOR_TARGET"; then
12578 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12584 test -z "$as_dir" && as_dir=.
12585 for ac_exec_ext in '' $ac_executable_extensions; do
12586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12587 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12597 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12598 if test -n "$STRIP_FOR_TARGET"; then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12600 $as_echo "$STRIP_FOR_TARGET" >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12603 $as_echo "no
" >&6; }
12608 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12612 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12614 if test $build = $target ; then
12615 STRIP_FOR_TARGET="$2"
12617 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12620 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12624 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12630 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12631 if test -n "$with_build_time_tools"; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12633 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12634 if test -x $with_build_time_tools/windres; then
12635 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12636 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12638 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12641 $as_echo "no
" >&6; }
12643 elif test $build != $host && test $have_gcc_for_target = yes; then
12644 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12645 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12646 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12649 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12650 # Extract the first word of "windres
", so it can be a program name with args.
12651 set dummy windres; ac_word=$2
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12653 $as_echo_n "checking
for $ac_word...
" >&6; }
12654 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12655 $as_echo_n "(cached
) " >&6
12657 case $WINDRES_FOR_TARGET in
12659 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12663 for as_dir in $gcc_cv_tool_dirs
12666 test -z "$as_dir" && as_dir=.
12667 for ac_exec_ext in '' $ac_executable_extensions; do
12668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12669 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12680 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12681 if test -n "$WINDRES_FOR_TARGET"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12683 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12686 $as_echo "no
" >&6; }
12691 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12694 if test -n "$WINDRES_FOR_TARGET"; then
12695 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12696 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12697 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12700 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12701 for ncn_progname in windres; do
12702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12703 set dummy ${ncn_progname}; ac_word=$2
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12705 $as_echo_n "checking
for $ac_word...
" >&6; }
12706 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12707 $as_echo_n "(cached
) " >&6
12709 if test -n "$WINDRES_FOR_TARGET"; then
12710 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12713 for as_dir in $PATH
12716 test -z "$as_dir" && as_dir=.
12717 for ac_exec_ext in '' $ac_executable_extensions; do
12718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12719 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12729 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12730 if test -n "$WINDRES_FOR_TARGET"; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12732 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12735 $as_echo "no
" >&6; }
12742 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12743 for ncn_progname in windres; do
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12745 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12746 if test -x $with_build_time_tools/${ncn_progname}; then
12747 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12749 $as_echo "yes" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12753 $as_echo "no
" >&6; }
12758 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12759 for ncn_progname in windres; do
12760 if test -n "$ncn_target_tool_prefix"; then
12761 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12762 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12764 $as_echo_n "checking
for $ac_word...
" >&6; }
12765 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12766 $as_echo_n "(cached
) " >&6
12768 if test -n "$WINDRES_FOR_TARGET"; then
12769 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12772 for as_dir in $PATH
12775 test -z "$as_dir" && as_dir=.
12776 for ac_exec_ext in '' $ac_executable_extensions; do
12777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12778 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12788 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12789 if test -n "$WINDRES_FOR_TARGET"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12791 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12794 $as_echo "no
" >&6; }
12799 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12801 set dummy ${ncn_progname}; ac_word=$2
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12803 $as_echo_n "checking
for $ac_word...
" >&6; }
12804 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12805 $as_echo_n "(cached
) " >&6
12807 if test -n "$WINDRES_FOR_TARGET"; then
12808 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12811 for as_dir in $PATH
12814 test -z "$as_dir" && as_dir=.
12815 for ac_exec_ext in '' $ac_executable_extensions; do
12816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12817 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12827 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12828 if test -n "$WINDRES_FOR_TARGET"; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12830 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12833 $as_echo "no
" >&6; }
12838 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12842 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12844 if test $build = $target ; then
12845 WINDRES_FOR_TARGET="$2"
12847 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12850 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12854 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12860 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12861 if test -n "$with_build_time_tools"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12863 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12864 if test -x $with_build_time_tools/windmc; then
12865 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12866 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12868 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12871 $as_echo "no
" >&6; }
12873 elif test $build != $host && test $have_gcc_for_target = yes; then
12874 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12875 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12876 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12879 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12880 # Extract the first word of "windmc
", so it can be a program name with args.
12881 set dummy windmc; ac_word=$2
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12883 $as_echo_n "checking
for $ac_word...
" >&6; }
12884 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12885 $as_echo_n "(cached
) " >&6
12887 case $WINDMC_FOR_TARGET in
12889 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12893 for as_dir in $gcc_cv_tool_dirs
12896 test -z "$as_dir" && as_dir=.
12897 for ac_exec_ext in '' $ac_executable_extensions; do
12898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12899 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12910 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12911 if test -n "$WINDMC_FOR_TARGET"; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12913 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12916 $as_echo "no
" >&6; }
12921 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12924 if test -n "$WINDMC_FOR_TARGET"; then
12925 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12926 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12927 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12930 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12931 for ncn_progname in windmc; do
12932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12933 set dummy ${ncn_progname}; ac_word=$2
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12935 $as_echo_n "checking
for $ac_word...
" >&6; }
12936 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12937 $as_echo_n "(cached
) " >&6
12939 if test -n "$WINDMC_FOR_TARGET"; then
12940 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12949 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12959 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12960 if test -n "$WINDMC_FOR_TARGET"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12962 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12965 $as_echo "no
" >&6; }
12972 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12973 for ncn_progname in windmc; do
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12975 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12976 if test -x $with_build_time_tools/${ncn_progname}; then
12977 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12979 $as_echo "yes" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12983 $as_echo "no
" >&6; }
12988 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12989 for ncn_progname in windmc; do
12990 if test -n "$ncn_target_tool_prefix"; then
12991 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12992 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12994 $as_echo_n "checking
for $ac_word...
" >&6; }
12995 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12996 $as_echo_n "(cached
) " >&6
12998 if test -n "$WINDMC_FOR_TARGET"; then
12999 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13002 for as_dir in $PATH
13005 test -z "$as_dir" && as_dir=.
13006 for ac_exec_ext in '' $ac_executable_extensions; do
13007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13008 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13018 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13019 if test -n "$WINDMC_FOR_TARGET"; then
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13021 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13024 $as_echo "no
" >&6; }
13029 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13031 set dummy ${ncn_progname}; ac_word=$2
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13033 $as_echo_n "checking
for $ac_word...
" >&6; }
13034 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13035 $as_echo_n "(cached
) " >&6
13037 if test -n "$WINDMC_FOR_TARGET"; then
13038 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13041 for as_dir in $PATH
13044 test -z "$as_dir" && as_dir=.
13045 for ac_exec_ext in '' $ac_executable_extensions; do
13046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13047 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13057 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13058 if test -n "$WINDMC_FOR_TARGET"; then
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13060 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13063 $as_echo "no
" >&6; }
13068 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13072 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13074 if test $build = $target ; then
13075 WINDMC_FOR_TARGET="$2"
13077 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13080 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13084 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13088 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13091 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13092 if test "x
${build}" != "x
${host}" ; then
13093 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13094 # We already found the complete path
13095 ac_dir=`dirname $AR_FOR_TARGET`
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13097 $as_echo "pre-installed
in $ac_dir" >&6; }
13099 # Canadian cross, just use what we found
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13101 $as_echo "pre-installed
" >&6; }
13105 case " ${configdirs} " in
13110 if test $ok = yes; then
13111 # An in-tree tool is available and we can use it
13112 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13114 $as_echo "just compiled
" >&6; }
13115 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13116 # We already found the complete path
13117 ac_dir=`dirname $AR_FOR_TARGET`
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13119 $as_echo "pre-installed
in $ac_dir" >&6; }
13120 elif test "x
$target" = "x
$host"; then
13121 # We can use an host tool
13122 AR_FOR_TARGET='$(AR)'
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13124 $as_echo "host tool
" >&6; }
13126 # We need a cross tool
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13128 $as_echo "pre-installed
" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13133 $as_echo_n "checking where to
find the target as...
" >&6; }
13134 if test "x
${build}" != "x
${host}" ; then
13135 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13136 # We already found the complete path
13137 ac_dir=`dirname $AS_FOR_TARGET`
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13139 $as_echo "pre-installed
in $ac_dir" >&6; }
13141 # Canadian cross, just use what we found
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13143 $as_echo "pre-installed
" >&6; }
13147 case " ${configdirs} " in
13152 if test $ok = yes; then
13153 # An in-tree tool is available and we can use it
13154 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13156 $as_echo "just compiled
" >&6; }
13157 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13158 # We already found the complete path
13159 ac_dir=`dirname $AS_FOR_TARGET`
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13161 $as_echo "pre-installed
in $ac_dir" >&6; }
13162 elif test "x
$target" = "x
$host"; then
13163 # We can use an host tool
13164 AS_FOR_TARGET='$(AS)'
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13166 $as_echo "host tool
" >&6; }
13168 # We need a cross tool
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13170 $as_echo "pre-installed
" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13175 $as_echo_n "checking where to
find the target cc...
" >&6; }
13176 if test "x
${build}" != "x
${host}" ; then
13177 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13178 # We already found the complete path
13179 ac_dir=`dirname $CC_FOR_TARGET`
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13181 $as_echo "pre-installed
in $ac_dir" >&6; }
13183 # Canadian cross, just use what we found
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13185 $as_echo "pre-installed
" >&6; }
13189 case " ${configdirs} " in
13194 if test $ok = yes; then
13195 # An in-tree tool is available and we can use it
13196 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13198 $as_echo "just compiled
" >&6; }
13199 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13200 # We already found the complete path
13201 ac_dir=`dirname $CC_FOR_TARGET`
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13203 $as_echo "pre-installed
in $ac_dir" >&6; }
13204 elif test "x
$target" = "x
$host"; then
13205 # We can use an host tool
13206 CC_FOR_TARGET='$(CC)'
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13208 $as_echo "host tool
" >&6; }
13210 # We need a cross tool
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13212 $as_echo "pre-installed
" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13217 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13218 if test "x
${build}" != "x
${host}" ; then
13219 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13220 # We already found the complete path
13221 ac_dir=`dirname $CXX_FOR_TARGET`
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13223 $as_echo "pre-installed
in $ac_dir" >&6; }
13225 # Canadian cross, just use what we found
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13227 $as_echo "pre-installed
" >&6; }
13231 case " ${configdirs} " in
13235 case ,${enable_languages}, in
13239 if test $ok = yes; then
13240 # An in-tree tool is available and we can use it
13241 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'
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13243 $as_echo "just compiled
" >&6; }
13244 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13245 # We already found the complete path
13246 ac_dir=`dirname $CXX_FOR_TARGET`
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13248 $as_echo "pre-installed
in $ac_dir" >&6; }
13249 elif test "x
$target" = "x
$host"; then
13250 # We can use an host tool
13251 CXX_FOR_TARGET='$(CXX)'
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13253 $as_echo "host tool
" >&6; }
13255 # We need a cross tool
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13257 $as_echo "pre-installed
" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13262 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13263 if test "x
${build}" != "x
${host}" ; then
13264 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13265 # We already found the complete path
13266 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13268 $as_echo "pre-installed
in $ac_dir" >&6; }
13270 # Canadian cross, just use what we found
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13272 $as_echo "pre-installed
" >&6; }
13276 case " ${configdirs} " in
13280 case ,${enable_languages}, in
13284 if test $ok = yes; then
13285 # An in-tree tool is available and we can use it
13286 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'
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13288 $as_echo "just compiled
" >&6; }
13289 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13290 # We already found the complete path
13291 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13293 $as_echo "pre-installed
in $ac_dir" >&6; }
13294 elif test "x
$target" = "x
$host"; then
13295 # We can use an host tool
13296 RAW_CXX_FOR_TARGET='$(CXX)'
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13298 $as_echo "host tool
" >&6; }
13300 # We need a cross tool
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13302 $as_echo "pre-installed
" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13307 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13308 if test "x
${build}" != "x
${host}" ; then
13309 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13310 # We already found the complete path
13311 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13313 $as_echo "pre-installed
in $ac_dir" >&6; }
13315 # Canadian cross, just use what we found
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13317 $as_echo "pre-installed
" >&6; }
13321 case " ${configdirs} " in
13326 if test $ok = yes; then
13327 # An in-tree tool is available and we can use it
13328 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13330 $as_echo "just compiled
" >&6; }
13331 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13332 # We already found the complete path
13333 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13335 $as_echo "pre-installed
in $ac_dir" >&6; }
13336 elif test "x
$target" = "x
$host"; then
13337 # We can use an host tool
13338 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13340 $as_echo "host tool
" >&6; }
13342 # We need a cross tool
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13344 $as_echo "pre-installed
" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13349 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13350 if test "x
${build}" != "x
${host}" ; then
13351 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13352 # We already found the complete path
13353 ac_dir=`dirname $GCC_FOR_TARGET`
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13355 $as_echo "pre-installed
in $ac_dir" >&6; }
13357 # Canadian cross, just use what we found
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13359 $as_echo "pre-installed
" >&6; }
13363 case " ${configdirs} " in
13368 if test $ok = yes; then
13369 # An in-tree tool is available and we can use it
13370 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13372 $as_echo "just compiled
" >&6; }
13373 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13374 # We already found the complete path
13375 ac_dir=`dirname $GCC_FOR_TARGET`
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13377 $as_echo "pre-installed
in $ac_dir" >&6; }
13378 elif test "x
$target" = "x
$host"; then
13379 # We can use an host tool
13380 GCC_FOR_TARGET='$()'
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13382 $as_echo "host tool
" >&6; }
13384 # We need a cross tool
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13386 $as_echo "pre-installed
" >&6; }
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13391 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13392 if test "x
${build}" != "x
${host}" ; then
13393 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13394 # We already found the complete path
13395 ac_dir=`dirname $GCJ_FOR_TARGET`
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13397 $as_echo "pre-installed
in $ac_dir" >&6; }
13399 # Canadian cross, just use what we found
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13401 $as_echo "pre-installed
" >&6; }
13405 case " ${configdirs} " in
13409 case ,${enable_languages}, in
13413 if test $ok = yes; then
13414 # An in-tree tool is available and we can use it
13415 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13417 $as_echo "just compiled
" >&6; }
13418 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13419 # We already found the complete path
13420 ac_dir=`dirname $GCJ_FOR_TARGET`
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13422 $as_echo "pre-installed
in $ac_dir" >&6; }
13423 elif test "x
$target" = "x
$host"; then
13424 # We can use an host tool
13425 GCJ_FOR_TARGET='$(GCJ)'
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13427 $as_echo "host tool
" >&6; }
13429 # We need a cross tool
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13431 $as_echo "pre-installed
" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13436 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13437 if test "x
${build}" != "x
${host}" ; then
13438 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13439 # We already found the complete path
13440 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13442 $as_echo "pre-installed
in $ac_dir" >&6; }
13444 # Canadian cross, just use what we found
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13446 $as_echo "pre-installed
" >&6; }
13450 case " ${configdirs} " in
13454 case ,${enable_languages}, in
13458 if test $ok = yes; then
13459 # An in-tree tool is available and we can use it
13460 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13462 $as_echo "just compiled
" >&6; }
13463 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13464 # We already found the complete path
13465 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13467 $as_echo "pre-installed
in $ac_dir" >&6; }
13468 elif test "x
$target" = "x
$host"; then
13469 # We can use an host tool
13470 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13472 $as_echo "host tool
" >&6; }
13474 # We need a cross tool
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13476 $as_echo "pre-installed
" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13481 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13482 if test "x
${build}" != "x
${host}" ; then
13483 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13484 # We already found the complete path
13485 ac_dir=`dirname $GOC_FOR_TARGET`
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13487 $as_echo "pre-installed
in $ac_dir" >&6; }
13489 # Canadian cross, just use what we found
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13491 $as_echo "pre-installed
" >&6; }
13495 case " ${configdirs} " in
13499 case ,${enable_languages}, in
13503 if test $ok = yes; then
13504 # An in-tree tool is available and we can use it
13505 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13507 $as_echo "just compiled
" >&6; }
13508 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13509 # We already found the complete path
13510 ac_dir=`dirname $GOC_FOR_TARGET`
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13512 $as_echo "pre-installed
in $ac_dir" >&6; }
13513 elif test "x
$target" = "x
$host"; then
13514 # We can use an host tool
13515 GOC_FOR_TARGET='$(GOC)'
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13517 $as_echo "host tool
" >&6; }
13519 # We need a cross tool
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13521 $as_echo "pre-installed
" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13526 $as_echo_n "checking where to
find the target ld...
" >&6; }
13527 if test "x
${build}" != "x
${host}" ; then
13528 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13529 # We already found the complete path
13530 ac_dir=`dirname $LD_FOR_TARGET`
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13532 $as_echo "pre-installed
in $ac_dir" >&6; }
13534 # Canadian cross, just use what we found
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13536 $as_echo "pre-installed
" >&6; }
13540 case " ${configdirs} " in
13545 if test $ok = yes; then
13546 # An in-tree tool is available and we can use it
13547 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13549 $as_echo "just compiled
" >&6; }
13550 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13551 # We already found the complete path
13552 ac_dir=`dirname $LD_FOR_TARGET`
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13554 $as_echo "pre-installed
in $ac_dir" >&6; }
13555 elif test "x
$target" = "x
$host"; then
13556 # We can use an host tool
13557 LD_FOR_TARGET='$(LD)'
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13559 $as_echo "host tool
" >&6; }
13561 # We need a cross tool
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13563 $as_echo "pre-installed
" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13568 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13569 if test "x
${build}" != "x
${host}" ; then
13570 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13571 # We already found the complete path
13572 ac_dir=`dirname $LIPO_FOR_TARGET`
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13574 $as_echo "pre-installed
in $ac_dir" >&6; }
13576 # Canadian cross, just use what we found
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13578 $as_echo "pre-installed
" >&6; }
13581 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13582 # We already found the complete path
13583 ac_dir=`dirname $LIPO_FOR_TARGET`
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13585 $as_echo "pre-installed
in $ac_dir" >&6; }
13586 elif test "x
$target" = "x
$host"; then
13587 # We can use an host tool
13588 LIPO_FOR_TARGET='$(LIPO)'
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13590 $as_echo "host tool
" >&6; }
13592 # We need a cross tool
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13594 $as_echo "pre-installed
" >&6; }
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13599 $as_echo_n "checking where to
find the target nm...
" >&6; }
13600 if test "x
${build}" != "x
${host}" ; then
13601 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13602 # We already found the complete path
13603 ac_dir=`dirname $NM_FOR_TARGET`
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13605 $as_echo "pre-installed
in $ac_dir" >&6; }
13607 # Canadian cross, just use what we found
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13609 $as_echo "pre-installed
" >&6; }
13613 case " ${configdirs} " in
13618 if test $ok = yes; then
13619 # An in-tree tool is available and we can use it
13620 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13622 $as_echo "just compiled
" >&6; }
13623 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13624 # We already found the complete path
13625 ac_dir=`dirname $NM_FOR_TARGET`
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13627 $as_echo "pre-installed
in $ac_dir" >&6; }
13628 elif test "x
$target" = "x
$host"; then
13629 # We can use an host tool
13630 NM_FOR_TARGET='$(NM)'
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13632 $as_echo "host tool
" >&6; }
13634 # We need a cross tool
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13636 $as_echo "pre-installed
" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13641 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13642 if test "x
${build}" != "x
${host}" ; then
13643 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13644 # We already found the complete path
13645 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13647 $as_echo "pre-installed
in $ac_dir" >&6; }
13649 # Canadian cross, just use what we found
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13651 $as_echo "pre-installed
" >&6; }
13655 case " ${configdirs} " in
13660 if test $ok = yes; then
13661 # An in-tree tool is available and we can use it
13662 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13664 $as_echo "just compiled
" >&6; }
13665 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13666 # We already found the complete path
13667 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13669 $as_echo "pre-installed
in $ac_dir" >&6; }
13670 elif test "x
$target" = "x
$host"; then
13671 # We can use an host tool
13672 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13674 $as_echo "host tool
" >&6; }
13676 # We need a cross tool
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13678 $as_echo "pre-installed
" >&6; }
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13683 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13684 if test "x
${build}" != "x
${host}" ; then
13685 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13686 # We already found the complete path
13687 ac_dir=`dirname $RANLIB_FOR_TARGET`
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13689 $as_echo "pre-installed
in $ac_dir" >&6; }
13691 # Canadian cross, just use what we found
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13693 $as_echo "pre-installed
" >&6; }
13697 case " ${configdirs} " in
13702 if test $ok = yes; then
13703 # An in-tree tool is available and we can use it
13704 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13706 $as_echo "just compiled
" >&6; }
13707 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13708 # We already found the complete path
13709 ac_dir=`dirname $RANLIB_FOR_TARGET`
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13711 $as_echo "pre-installed
in $ac_dir" >&6; }
13712 elif test "x
$target" = "x
$host"; then
13713 # We can use an host tool
13714 RANLIB_FOR_TARGET='$(RANLIB)'
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13716 $as_echo "host tool
" >&6; }
13718 # We need a cross tool
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13720 $as_echo "pre-installed
" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13725 $as_echo_n "checking where to
find the target strip...
" >&6; }
13726 if test "x
${build}" != "x
${host}" ; then
13727 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13728 # We already found the complete path
13729 ac_dir=`dirname $STRIP_FOR_TARGET`
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13731 $as_echo "pre-installed
in $ac_dir" >&6; }
13733 # Canadian cross, just use what we found
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13735 $as_echo "pre-installed
" >&6; }
13739 case " ${configdirs} " in
13744 if test $ok = yes; then
13745 # An in-tree tool is available and we can use it
13746 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13748 $as_echo "just compiled
" >&6; }
13749 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13750 # We already found the complete path
13751 ac_dir=`dirname $STRIP_FOR_TARGET`
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13753 $as_echo "pre-installed
in $ac_dir" >&6; }
13754 elif test "x
$target" = "x
$host"; then
13755 # We can use an host tool
13756 STRIP_FOR_TARGET='$(STRIP)'
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13758 $as_echo "host tool
" >&6; }
13760 # We need a cross tool
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13762 $as_echo "pre-installed
" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13767 $as_echo_n "checking where to
find the target windres...
" >&6; }
13768 if test "x
${build}" != "x
${host}" ; then
13769 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13770 # We already found the complete path
13771 ac_dir=`dirname $WINDRES_FOR_TARGET`
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13773 $as_echo "pre-installed
in $ac_dir" >&6; }
13775 # Canadian cross, just use what we found
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13777 $as_echo "pre-installed
" >&6; }
13781 case " ${configdirs} " in
13786 if test $ok = yes; then
13787 # An in-tree tool is available and we can use it
13788 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13790 $as_echo "just compiled
" >&6; }
13791 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13792 # We already found the complete path
13793 ac_dir=`dirname $WINDRES_FOR_TARGET`
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13795 $as_echo "pre-installed
in $ac_dir" >&6; }
13796 elif test "x
$target" = "x
$host"; then
13797 # We can use an host tool
13798 WINDRES_FOR_TARGET='$(WINDRES)'
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13800 $as_echo "host tool
" >&6; }
13802 # We need a cross tool
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13804 $as_echo "pre-installed
" >&6; }
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13809 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13810 if test "x
${build}" != "x
${host}" ; then
13811 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13812 # We already found the complete path
13813 ac_dir=`dirname $WINDMC_FOR_TARGET`
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13815 $as_echo "pre-installed
in $ac_dir" >&6; }
13817 # Canadian cross, just use what we found
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13819 $as_echo "pre-installed
" >&6; }
13823 case " ${configdirs} " in
13828 if test $ok = yes; then
13829 # An in-tree tool is available and we can use it
13830 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13832 $as_echo "just compiled
" >&6; }
13833 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13834 # We already found the complete path
13835 ac_dir=`dirname $WINDMC_FOR_TARGET`
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13837 $as_echo "pre-installed
in $ac_dir" >&6; }
13838 elif test "x
$target" = "x
$host"; then
13839 # We can use an host tool
13840 WINDMC_FOR_TARGET='$(WINDMC)'
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13842 $as_echo "host tool
" >&6; }
13844 # We need a cross tool
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13846 $as_echo "pre-installed
" >&6; }
13854 # Certain tools may need extra flags.
13855 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13856 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13857 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13859 # When building target libraries, except in a Canadian cross, we use
13860 # the same toolchain as the compiler we just built.
13861 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13862 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13863 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13864 if test $host = $build; then
13865 case " $configdirs " in
13867 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13868 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13869 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13879 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13880 # Check whether --enable-maintainer-mode was given.
13881 if test "${enable_maintainer_mode+set}" = set; then :
13882 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13884 USE_MAINTAINER_MODE=no
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13888 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13891 if test "$USE_MAINTAINER_MODE" = yes; then
13892 MAINTAINER_MODE_TRUE=
13893 MAINTAINER_MODE_FALSE='#'
13895 MAINTAINER_MODE_TRUE='#'
13896 MAINTAINER_MODE_FALSE=
13898 MAINT=$MAINTAINER_MODE_TRUE
13900 # ---------------------
13901 # GCC bootstrap support
13902 # ---------------------
13904 # Stage specific cflags for build.
13909 yes) stage1_cflags="-g -Wa,-J" ;;
13910 *) stage1_cflags="-g -J" ;;
13914 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13915 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13916 saved_CFLAGS="$CFLAGS"
13918 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13919 CFLAGS="$CFLAGS -fkeep-inline-functions"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13921 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13925 #if (__GNUC__ < 3) \
13926 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13927 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13928 #error http://gcc.gnu.org/PR29382
13939 if ac_fn_c_try_compile "$LINENO"; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13941 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13944 $as_echo "no
" >&6; }
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13948 CFLAGS="$saved_CFLAGS"
13953 # Enable --enable-checking in stage1 of the compiler.
13954 # Check whether --enable-stage1-checking was given.
13955 if test "${enable_stage1_checking+set}" = set; then :
13956 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13958 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13959 stage1_checking=--enable-checking=yes,types
13961 stage1_checking=--enable-checking=$enable_checking,types
13967 # Enable -Werror in bootstrap stage2 and later.
13968 # Check whether --enable-werror was given.
13969 if test "${enable_werror+set}" = set; then :
13970 enableval=$enable_werror;
13972 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13979 case ${enable_werror} in
13980 yes) stage2_werror_flag="--enable-werror-always" ;;
13981 *) stage2_werror_flag="" ;;
13985 # Specify what files to not compare during bootstrap.
13987 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13989 hppa*64*-*-hpux*) ;;
13990 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13992 case " $configdirs " in
13993 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
13997 ac_config_files="$ac_config_files Makefile
"
13999 cat >confcache <<\_ACEOF
14000 # This file is a shell script that caches the results of configure
14001 # tests run on this system so they can be shared between configure
14002 # scripts and configure runs, see configure's option --config-cache.
14003 # It is not useful on other systems. If it contains results you don't
14004 # want to keep, you may remove or edit it.
14006 # config.status only pays attention to the cache file if you give it
14007 # the --recheck option to rerun configure.
14009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14011 # following values.
14015 # The following way of writing the cache mishandles newlines in values,
14016 # but we know of no workaround that is simple, portable, and efficient.
14017 # So, we kill variables containing newlines.
14018 # Ultrix sh set writes to stderr and can't be redirected directly,
14019 # and sets the high bit in the cache file unless we assign to the vars.
14021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14022 eval ac_val=\$$ac_var
14026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14027 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14030 _ | IFS | as_nl) ;; #(
14031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14032 *) { eval $ac_var=; unset $ac_var;} ;;
14038 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14039 *${as_nl}ac_space=\ *)
14040 # `set' does not quote correctly, so add quotes: double-quote
14041 # substitution turns \\\\ into \\, and sed turns \\ into \.
14044 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14047 # `set' quotes correctly as required by POSIX, so do not add quotes.
14048 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14059 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14061 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14062 if test -w "$cache_file"; then
14063 test "x
$cache_file" != "x
/dev
/null
" &&
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14065 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14066 cat confcache >$cache_file
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14069 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14074 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14075 # Let make expand exec_prefix.
14076 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14078 # Transform confdefs.h into DEFS.
14079 # Protect against shell expansion while executing Makefile rules.
14080 # Protect against Makefile macro expansion.
14082 # If the first sed substitution is executed (which looks for macros that
14083 # take arguments), then branch to the quote section. Otherwise,
14084 # look for a macro that doesn't take arguments.
14094 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14096 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14100 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14113 DEFS=`sed -n "$ac_script" confdefs.h`
14118 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14119 # 1. Remove the extension, and $U if already installed.
14120 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14121 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14122 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14123 # will be set to the directory where LIBOBJS objects are built.
14124 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14125 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14127 LIBOBJS=$ac_libobjs
14129 LTLIBOBJS=$ac_ltlibobjs
14133 : ${CONFIG_STATUS=./config.status}
14135 ac_clean_files_save=$ac_clean_files
14136 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14138 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14140 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14142 # Generated by $as_me.
14143 # Run this file to recreate the current configuration.
14144 # Compiler output produced by configure, useful for debugging
14145 # configure, is in config.log if it exists.
14148 ac_cs_recheck=false
14151 SHELL=\${CONFIG_SHELL-$SHELL}
14154 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14155 ## -------------------- ##
14156 ## M4sh Initialization. ##
14157 ## -------------------- ##
14159 # Be more Bourne compatible
14160 DUALCASE=1; export DUALCASE # for MKS sh
14161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14164 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14165 # is contrary to our usage. Disable this feature.
14166 alias -g '${1+"$@"}'='"$@"'
14167 setopt NO_GLOB_SUBST
14169 case `(set -o) 2>/dev/null` in #(
14181 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14182 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14183 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14184 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14185 # Prefer a ksh shell builtin over an external printf program on Solaris,
14186 # but without wasting forks for bash or zsh.
14187 if test -z "$BASH_VERSION$ZSH_VERSION" \
14188 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14189 as_echo
='print -r --'
14190 as_echo_n
='print -rn --'
14191 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14192 as_echo
='printf %s\n'
14193 as_echo_n
='printf %s'
14195 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14196 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14197 as_echo_n
='/usr/ucb/echo -n'
14199 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14200 as_echo_n_body
='eval
14204 expr "X$arg" : "X\\(.*\\)$as_nl";
14205 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14207 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14209 export as_echo_n_body
14210 as_echo_n
='sh -c $as_echo_n_body as_echo'
14212 export as_echo_body
14213 as_echo
='sh -c $as_echo_body as_echo'
14216 # The user is always right.
14217 if test "${PATH_SEPARATOR+set}" != set; then
14219 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14220 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14227 # We need space, tab and new line, in precisely that order. Quoting is
14228 # there to prevent editors from complaining about space-tab.
14229 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14230 # splitting by setting IFS to empty value.)
14233 # Find who we are. Look in the path if we contain no directory separator.
14235 *[\\/]* ) as_myself
=$0 ;;
14236 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14237 for as_dir
in $PATH
14240 test -z "$as_dir" && as_dir
=.
14241 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14247 # We did not find ourselves, most probably we were run as `sh COMMAND'
14248 # in which case we are not to be found in the path.
14249 if test "x$as_myself" = x
; then
14252 if test ! -f "$as_myself"; then
14253 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14257 # Unset variables that we do not need and which cause bugs (e.g. in
14258 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14259 # suppresses any "Segmentation fault" message there. '((' could
14260 # trigger a bug in pdksh 5.2.14.
14261 for as_var
in BASH_ENV ENV MAIL MAILPATH
14262 do eval test x\
${$as_var+set} = xset \
14263 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14276 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14279 # as_fn_error ERROR [LINENO LOG_FD]
14280 # ---------------------------------
14281 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14282 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14283 # script with status $?, using 1 if that was 0.
14286 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14288 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14289 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14291 $as_echo "$as_me: error: $1" >&2
14292 as_fn_exit
$as_status
14296 # as_fn_set_status STATUS
14297 # -----------------------
14298 # Set $? to STATUS, without forking.
14299 as_fn_set_status
()
14302 } # as_fn_set_status
14304 # as_fn_exit STATUS
14305 # -----------------
14306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14310 as_fn_set_status
$1
14316 # Portably unset VAR.
14319 { eval $1=; unset $1;}
14321 as_unset
=as_fn_unset
14322 # as_fn_append VAR VALUE
14323 # ----------------------
14324 # Append the text in VALUE to the end of the definition contained in VAR. Take
14325 # advantage of any shell optimizations that allow amortized linear growth over
14326 # repeated appends, instead of the typical quadratic growth present in naive
14328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14329 eval 'as_fn_append ()
14340 # as_fn_arith ARG...
14341 # ------------------
14342 # Perform arithmetic evaluation on the ARGs, and store the result in the
14343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14344 # must be portable across $(()) and expr.
14345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14346 eval 'as_fn_arith ()
14353 as_val
=`expr "$@" || test $? -eq 1`
14358 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14359 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14365 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14366 as_basename
=basename
14371 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14377 as_me
=`$as_basename -- "$0" ||
14378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14379 X"$0" : 'X\(//\)$' \| \
14380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14382 sed '/^.*\/\([^/][^/]*\)\/*$/{
14396 # Avoid depending upon Character Ranges.
14397 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14398 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14399 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14400 as_cr_digits
='0123456789'
14401 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14403 ECHO_C
= ECHO_N
= ECHO_T
=
14404 case `echo -n x` in #(((((
14406 case `echo 'xy\c'` in
14407 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14409 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14416 rm -f conf$$ conf$$.exe conf$$.
file
14417 if test -d conf$$.dir
; then
14418 rm -f conf$$.dir
/conf$$.
file
14421 mkdir conf$$.dir
2>/dev
/null
14423 if (echo >conf$$.
file) 2>/dev
/null
; then
14424 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14426 # ... but there are two gotchas:
14427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14429 # In both cases, we have to default to `cp -p'.
14430 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14440 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14441 rmdir conf$$.dir
2>/dev
/null
14446 # Create "$as_dir" as a directory, including parents if necessary.
14451 -*) as_dir
=.
/$as_dir;;
14453 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14457 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14458 *) as_qdir
=$as_dir;;
14460 as_dirs
="'$as_qdir' $as_dirs"
14461 as_dir
=`$as_dirname -- "$as_dir" ||
14462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14463 X"$as_dir" : 'X\(//\)[^/]' \| \
14464 X"$as_dir" : 'X\(//\)$' \| \
14465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14466 $as_echo X"$as_dir" |
14467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14471 /^X\(\/\/\)[^/].*/{
14484 test -d "$as_dir" && break
14486 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14487 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14491 if mkdir
-p .
2>/dev
/null
; then
14492 as_mkdir_p
='mkdir -p "$as_dir"'
14494 test -d .
/-p && rmdir .
/-p
14498 if test -x / >/dev
/null
2>&1; then
14499 as_test_x
='test -x'
14501 if ls -dL / >/dev
/null
2>&1; then
14508 if test -d "$1"; then
14514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14515 ???[sx]*):;;*)false;;esac;fi
14519 as_executable_p
=$as_test_x
14521 # Sed expression to map a string onto a valid CPP name.
14522 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14524 # Sed expression to map a string onto a valid variable name.
14525 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14529 ## ----------------------------------- ##
14530 ## Main body of $CONFIG_STATUS script. ##
14531 ## ----------------------------------- ##
14533 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14536 # Save the log message, to keep $0 and so on meaningful, and to
14537 # report actual input values of CONFIG_FILES etc. instead of their
14538 # values after options handling.
14540 This file was extended by $as_me, which was
14541 generated by GNU Autoconf 2.64. Invocation command line was
14543 CONFIG_FILES = $CONFIG_FILES
14544 CONFIG_HEADERS = $CONFIG_HEADERS
14545 CONFIG_LINKS = $CONFIG_LINKS
14546 CONFIG_COMMANDS = $CONFIG_COMMANDS
14549 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14554 case $ac_config_files in *"
14555 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14561 # Files that config.status was made for.
14562 config_files="$ac_config_files"
14566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14568 \`$as_me' instantiates files and other configuration actions
14569 from templates according to the current configuration. Unless the files
14570 and actions are specified as TAGs, all are instantiated by default.
14572 Usage: $0 [OPTION]... [TAG]...
14574 -h, --help print this help, then exit
14575 -V, --version print version number and configuration settings, then exit
14576 -q, --quiet, --silent
14577 do not print progress messages
14578 -d, --debug don't remove temporary files
14579 --recheck update $as_me by reconfiguring in the same conditions
14580 --file=FILE[:TEMPLATE]
14581 instantiate the configuration file FILE
14583 Configuration files:
14586 Report bugs to the package provider."
14589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14592 configured by $0, generated by GNU Autoconf 2.64,
14593 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14595 Copyright (C) 2009 Free Software Foundation, Inc.
14596 This config.status script is free software; the Free Software Foundation
14597 gives unlimited permission to copy, distribute and modify it."
14603 test -n "\$AWK" || AWK=awk
14606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14607 # The default lists apply if the user does not specify any file.
14613 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14614 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14625 # Handling of the options.
14626 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14628 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14629 $as_echo "$ac_cs_version"; exit ;;
14630 --debug |
--debu |
--deb |
--de |
--d |
-d )
14632 --file |
--fil |
--fi |
--f )
14635 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14637 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14638 ac_need_defaults
=false
;;
14639 --he |
--h |
--help |
--hel |
-h )
14640 $as_echo "$ac_cs_usage"; exit ;;
14641 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14642 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14645 # This is an error.
14646 -*) as_fn_error
"unrecognized option: \`$1'
14647 Try \`$0 --help' for more information." ;;
14649 *) as_fn_append ac_config_targets
" $1"
14650 ac_need_defaults
=false
;;
14656 ac_configure_extra_args
=
14658 if $ac_cs_silent; then
14660 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14665 if \$ac_cs_recheck; then
14666 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14668 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14669 CONFIG_SHELL='$SHELL'
14670 export CONFIG_SHELL
14675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14680 ## Running $as_me. ##
14686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14690 extrasub_build="$extrasub_build"
14691 extrasub_host="$extrasub_host"
14692 extrasub_target="$extrasub_target"
14696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14698 # Handling of arguments.
14699 for ac_config_target
in $ac_config_targets
14701 case $ac_config_target in
14702 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14704 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14709 # If the user did not use the arguments to specify the items to instantiate,
14710 # then the envvar interface is used. Set only those that are not.
14711 # We use the long form for the default assignment because of an extremely
14712 # bizarre bug on SunOS 4.1.3.
14713 if $ac_need_defaults; then
14714 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14717 # Have a temporary directory for convenience. Make it in the build tree
14718 # simply because there is no reason against having it here, and in addition,
14719 # creating and moving files from /tmp can sometimes cause problems.
14720 # Hook for its removal unless debugging.
14721 # Note that there is a small window in which the directory will not be cleaned:
14722 # after its creation but before its name has been assigned to `$tmp'.
14726 trap 'exit_status=$?
14727 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14729 trap 'as_fn_exit 1' 1 2 13 15
14731 # Create a (secure) tmp directory for tmp files.
14734 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14735 test -n "$tmp" && test -d "$tmp"
14738 tmp
=.
/conf$$
-$RANDOM
14739 (umask 077 && mkdir
"$tmp")
14740 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14742 # Set up the scripts for CONFIG_FILES section.
14743 # No need to generate them if there are no CONFIG_FILES.
14744 # This happens for instance with `./config.status config.h'.
14745 if test -n "$CONFIG_FILES"; then
14747 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14748 ac_cs_awk_getline
=:
14749 ac_cs_awk_pipe_init
=
14750 ac_cs_awk_read_file
='
14751 while ((getline aline < (F[key])) > 0)
14754 ac_cs_awk_pipe_fini
=
14756 ac_cs_awk_getline
=false
14757 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14758 ac_cs_awk_read_file
='
14760 print "cat " F[key] " &&"
14761 '$ac_cs_awk_pipe_init
14762 # The final `:' finishes the AND list.
14763 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14765 ac_cr
=`echo X | tr X '\015'`
14766 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14767 # But we know of no other shell where ac_cr would be empty at this
14768 # point, so we can use a bashism as a fallback.
14769 if test "x$ac_cr" = x
; then
14770 eval ac_cr
=\$
\'\\r
\'
14772 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14773 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14776 ac_cs_awk_cr
=$ac_cr
14779 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14782 # Create commands to substitute file output variables.
14784 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14785 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14786 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14789 } >conf$
$files.sh
&&
14790 . .
/conf$
$files.sh ||
14791 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14792 rm -f conf$
$files.sh
14795 echo "cat >conf$$subs.awk <<_ACEOF" &&
14796 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14798 } >conf$$subs.sh ||
14799 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14800 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14802 for ac_last_try in false false false false false :; do
14803 . ./conf$$subs.sh ||
14804 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14806 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14807 if test $ac_delim_n = $ac_delim_num; then
14809 elif $ac_last_try; then
14810 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14812 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14815 rm -f conf$$subs.sh
14817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14818 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14822 s/^/S["/; s
/!.
*/"]=/
14832 s/\(.\{148\}\).*/\1/
14834 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14839 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14846 s/\(.\{148\}\).*/\1/
14848 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14852 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14857 ' <conf$$subs.awk | sed '
14862 ' >>$CONFIG_STATUS || ac_write_fail=1
14863 rm -f conf$$subs.awk
14864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14866 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14867 for (key in S) S_is_set[key] = 1
14869 \$ac_cs_awk_pipe_init
14873 nfields = split(line, field, "@
")
14875 len = length(field[1])
14876 for (i = 2; i < nfields; i++) {
14878 keylen = length(key)
14879 if (S_is_set[key]) {
14881 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14882 len += length(value) + length(field[++i])
14887 if (nfields == 3 && !substed) {
14889 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14890 \$ac_cs_awk_read_file
14896 \$ac_cs_awk_pipe_fini
14899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14900 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14901 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14904 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14905 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14908 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14909 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14910 # trailing colons and then remove the whole line if VPATH becomes empty
14911 # (actually we leave an empty line to preserve line numbers).
14912 if test "x
$srcdir" = x.; then
14913 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14914 s/:*\$(srcdir):*/:/
14915 s/:*\${srcdir}:*/:/
14917 s/^\([^=]*=[ ]*\):*/\1/
14923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14924 fi # test -n "$CONFIG_FILES"
14927 eval set X " :F
$CONFIG_FILES "
14932 :[FHLC]) ac_mode=$ac_tag; continue;;
14934 case $ac_mode$ac_tag in
14936 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14937 :[FH]-) ac_tag=-:-;;
14938 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14955 -) ac_f="$tmp/stdin";;
14956 *) # Look for the file first in the build tree, then in the source tree
14957 # (if the path is not absolute). The absolute path cannot be DOS-style,
14958 # because $ac_f cannot contain `:'.
14962 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14964 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14966 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14967 as_fn_append ac_file_inputs " '$ac_f'"
14970 # Let's still pretend it is `configure' which instantiates (i.e., don't
14971 # use $as_me), people would be surprised to read:
14972 # /* config.h. Generated by config.status. */
14973 configure_input='Generated from '`
14974 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14976 if test x"$ac_file" != x-; then
14977 configure_input="$ac_file.
$configure_input"
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14979 $as_echo "$as_me: creating
$ac_file" >&6;}
14981 # Neutralize special characters interpreted by sed in replacement strings.
14982 case $configure_input in #(
14983 *\&* | *\|* | *\\* )
14984 ac_sed_conf_input=`$as_echo "$configure_input" |
14985 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14986 *) ac_sed_conf_input=$configure_input;;
14990 *:-:* | *:-) cat >"$tmp/stdin
" \
14991 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14996 ac_dir=`$as_dirname -- "$ac_file" ||
14997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14998 X"$ac_file" : 'X\(//\)[^/]' \| \
14999 X"$ac_file" : 'X\(//\)$' \| \
15000 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15001 $as_echo X"$ac_file" |
15002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15006 /^X\(\/\/\)[^/].*/{
15019 as_dir="$ac_dir"; as_fn_mkdir_p
15023 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15025 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15026 # A "..
" for each directory in $ac_dir_suffix.
15027 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15028 case $ac_top_builddir_sub in
15029 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15030 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15033 ac_abs_top_builddir=$ac_pwd
15034 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15035 # for backward compatibility:
15036 ac_top_builddir=$ac_top_build_prefix
15039 .) # We are building in place.
15041 ac_top_srcdir=$ac_top_builddir_sub
15042 ac_abs_top_srcdir=$ac_pwd ;;
15043 [\\/]* | ?:[\\/]* ) # Absolute name.
15044 ac_srcdir=$srcdir$ac_dir_suffix;
15045 ac_top_srcdir=$srcdir
15046 ac_abs_top_srcdir=$srcdir ;;
15047 *) # Relative name.
15048 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15049 ac_top_srcdir=$ac_top_build_prefix$srcdir
15050 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15052 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15062 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15063 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15068 # If the template does not know about datarootdir, expand it.
15069 # FIXME: This hack should be removed a few years after 2.60.
15070 ac_datarootdir_hack=; ac_datarootdir_seen=
15081 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15082 *datarootdir*) ac_datarootdir_seen=yes;;
15083 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15085 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15088 ac_datarootdir_hack='
15089 s&@datadir@&$datadir&g
15090 s&@docdir@&$docdir&g
15091 s&@infodir@&$infodir&g
15092 s&@localedir@&$localedir&g
15093 s&@mandir@&$mandir&g
15094 s&\\\${datarootdir}&$datarootdir&g' ;;
15098 # Neutralize VPATH when `$srcdir' = `.'.
15099 # Shell code in configure.ac might set extrasub.
15100 # FIXME: do we really want to maintain this feature?
15101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15102 ac_sed_extra="$ac_vpsub
15105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15107 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15108 s|@configure_input@|
$ac_sed_conf_input|
;t t
15109 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15110 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15111 s
&@srcdir@
&$ac_srcdir&;t t
15112 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15113 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15114 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15115 s
&@builddir@
&$ac_builddir&;t t
15116 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15117 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15118 s
&@INSTALL@
&$ac_INSTALL&;t t
15119 $ac_datarootdir_hack
15121 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15122 if $ac_cs_awk_getline; then
15123 $AWK -f "$tmp/subs.
awk"
15125 $AWK -f "$tmp/subs.
awk" | $SHELL
15127 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15129 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15130 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15131 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15133 which seems to be undefined. Please make sure it is defined." >&5
15134 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15135 which seems to be undefined. Please make sure it is defined." >&2;}
15139 -) cat "$tmp/out" && rm -f "$tmp/out";;
15140 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15142 || as_fn_error "could not create $ac_file" "$LINENO" 5
15150 case $ac_file$ac_mode in
15151 "Makefile":F) sed "$extrasub_build" Makefile |
15152 sed "$extrasub_host" |
15153 sed "$extrasub_target" > mf$$
15154 mv -f mf$$ Makefile ;;
15162 ac_clean_files=$ac_clean_files_save
15164 test $ac_write_fail = 0 ||
15165 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15168 # configure is writing to config.log, and then calls config.status.
15169 # config.status does its own redirection, appending to config.log.
15170 # Unfortunately, on DOS this fails, as config.log is still kept open
15171 # by configure, so config.status won't be able to
write to it
; its
15172 # output is simply discarded. So we exec the FD to /dev/null,
15173 # effectively closing config.log, so it can be properly (re)opened and
15174 # appended to by config.status. When coming back to configure, we
15175 # need to make the FD available again.
15176 if test "$no_create" != yes; then
15178 ac_config_status_args
=
15179 test "$silent" = yes &&
15180 ac_config_status_args
="$ac_config_status_args --quiet"
15182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15185 # would make configure fail if this is the last instruction.
15186 $ac_cs_success || as_fn_exit $?
15188 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15190 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}