2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
559 POSTSTAGE1_CONFIGURE_FLAGS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
641 DEBUG_PREFIX_CFLAGS_FOR_TARGET
642 SYSROOT_CFLAGS_FOR_TARGET
644 extra_host_libiberty_configure_flags
653 extra_mpc_mpfr_configure_flags
654 extra_mpc_gmp_configure_flags
655 extra_mpfr_configure_flags
671 EXTRA_CONFIGARGS_LIBJAVA
698 TOPLEVEL_CONFIGURE_ARGUMENTS
726 program_transform_name
737 ac_subst_files
='serialization_dependencies
743 enable_option_checking
748 enable_libquadmath_support
751 enable_static_libjava
753 enable_build_with_cxx
754 enable_build_poststage1_with_cxx
774 enable_ppl_version_check
779 enable_cloog_version_check
781 enable_stage1_languages
784 with_debug_prefix_map
786 enable_serial_configure
787 with_build_time_tools
788 enable_maintainer_mode
789 enable_stage1_checking
792 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information."
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used." >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 as_fn_error
"path to source, $srcdir, contains spaces"
1367 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures this package to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1452 if test -n "$ac_init_help"; then
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1461 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1462 --disable-libquadmath do not build libquadmath directory
1463 --disable-libquadmath-support
1464 disable libquadmath support
for Fortran
1465 --enable-libada build libada directory
1466 --enable-libssp build libssp directory
1467 --enable-static-libjava[=ARG
]
1468 build static libjava
[default
=no
]
1469 --enable-bootstrap enable bootstrapping
[yes if native build
]
1470 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1471 --enable-build-poststage1-with-cxx
1472 build stages
2 and
3 with C
++, not C
1473 --disable-ppl-version-check
1474 disable check
for PPL version
1475 --enable-cloog-backend[=BACKEND
]
1476 set the CLooG BACKEND used to either isl
, ppl or
1477 ppl-legacy
(default
)
1478 --disable-cloog-version-check
1479 disable check
for CLooG version
1480 --enable-lto enable link
time optimization support
1481 --enable-stage1-languages[=all
]
1482 choose additional languages to build during stage1.
1483 Mostly useful
for compiler development
1484 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1486 --enable-serial-[{host,target,build}-]configure
1487 force sequential configuration of sub-packages for
1488 the host, target or build machine, or all
1490 --enable-maintainer-mode
1491 enable make rules and dependencies not useful (and
1492 sometimes confusing) to the casual installer
1493 --enable-stage1-checking[=all]
1494 choose additional checking for stage1 of the
1496 --enable-werror enable -Werror in bootstrap stage2 and later
1499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1501 --with-build-libsubdir=DIR Directory where to find libraries for build system
1502 --with-mpc=PATH specify prefix directory for installed MPC package.
1503 Equivalent to --with-mpc-include=PATH/include plus
1504 --with-mpc-lib=PATH/lib
1505 --with-mpc-include=PATH specify directory for installed MPC include files
1506 --with-mpc-lib=PATH specify directory for the installed MPC library
1507 --with-mpfr-dir=PATH this option has been REMOVED
1508 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1509 Equivalent to --with-mpfr-include=PATH/include plus
1510 --with-mpfr-lib=PATH/lib
1511 --with-mpfr-include=PATH
1512 specify directory for installed MPFR include files
1513 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1514 --with-gmp-dir=PATH this option has been REMOVED
1515 --with-gmp=PATH specify prefix directory for the installed GMP
1516 package. Equivalent to
1517 --with-gmp-include=PATH/include plus
1518 --with-gmp-lib=PATH/lib
1519 --with-gmp-include=PATH specify directory for installed GMP include files
1520 --with-gmp-lib=PATH specify directory for the installed GMP library
1521 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1523 --with-stage1-ldflags=FLAGS
1524 linker flags for stage1
1525 --with-stage1-libs=LIBS libraries for stage1
1526 --with-boot-libs=LIBS libraries for stage2 and later
1527 --with-boot-ldflags=FLAGS
1528 linker flags for stage2 and later
1529 --with-ppl=PATH specify prefix directory for the installed PPL
1530 package. Equivalent to
1531 --with-ppl-include=PATH/include plus
1532 --with-ppl-lib=PATH/lib
1533 --with-ppl-include=PATH specify directory for installed PPL include files
1534 --with-ppl-lib=PATH specify directory for the installed PPL library
1535 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1536 package. Equivalent to
1537 --with-cloog-include=PATH/include plus
1538 --with-cloog-lib=PATH/lib
1539 --with-cloog-include=PATH
1540 Specify directory for installed CLooG include files
1541 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1543 --with-build-sysroot=SYSROOT
1544 use sysroot as the system root during the build
1545 --with-debug-prefix-map='A
=B C
=D ...
'
1546 map A to B, C to D ... in debug information
1547 --with-build-config='NAME NAME2...
'
1548 use config/NAME.mk build configuration
1549 --with-build-time-tools=PATH
1550 use given path to find target tools during the build
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1560 CXX C++ compiler command
1561 CXXFLAGS C++ compiler flags
1563 additional configure arguments for build directories
1565 additional configure arguments for host directories
1567 additional configure arguments for target directories
1570 DLLTOOL DLLTOOL for the host
1572 LIPO LIPO for the host
1574 RANLIB RANLIB for the host
1575 STRIP STRIP for the host
1576 WINDRES WINDRES for the host
1577 WINDMC WINDMC for the host
1578 OBJCOPY OBJCOPY for the host
1579 OBJDUMP OBJDUMP for the host
1589 GFORTRAN for the target
1597 DLLTOOL for the target
1605 OBJDUMP for the target
1607 RANLIB for the target
1609 STRIP for the target
1611 WINDRES for the target
1613 WINDMC for the target
1615 Use these variables to override the choices made by `configure' or to
help
1616 it to
find libraries and programs with nonstandard names
/locations.
1618 Report bugs to the package provider.
1623 if test "$ac_init_help" = "recursive"; then
1624 # If there are subdirs, report their specific --help.
1625 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1626 test -d "$ac_dir" ||
1627 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1634 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1635 # A ".." for each directory in $ac_dir_suffix.
1636 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1637 case $ac_top_builddir_sub in
1638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1642 ac_abs_top_builddir
=$ac_pwd
1643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1644 # for backward compatibility:
1645 ac_top_builddir
=$ac_top_build_prefix
1648 .
) # We are building in place.
1650 ac_top_srcdir
=$ac_top_builddir_sub
1651 ac_abs_top_srcdir
=$ac_pwd ;;
1652 [\\/]* | ?
:[\\/]* ) # Absolute name.
1653 ac_srcdir
=$srcdir$ac_dir_suffix;
1654 ac_top_srcdir
=$srcdir
1655 ac_abs_top_srcdir
=$srcdir ;;
1657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1663 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1664 # Check for guested configure.
1665 if test -f "$ac_srcdir/configure.gnu"; then
1667 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1668 elif test -f "$ac_srcdir/configure"; then
1670 $SHELL "$ac_srcdir/configure" --help=recursive
1672 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1674 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1678 test -n "$ac_init_help" && exit $ac_status
1679 if $ac_init_version; then
1682 generated by GNU Autoconf
2.64
1684 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1685 This configure
script is free software
; the Free Software Foundation
1686 gives unlimited permission to copy
, distribute and modify it.
1691 ## ------------------------ ##
1692 ## Autoconf initialization. ##
1693 ## ------------------------ ##
1695 # ac_fn_c_try_compile LINENO
1696 # --------------------------
1697 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1698 ac_fn_c_try_compile
()
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 rm -f conftest.
$ac_objext
1702 if { { ac_try
="$ac_compile"
1704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_compile") 2>conftest.err
1711 if test -s conftest.err; then
1712 grep -v '^ *+' conftest.err >conftest.er1
1713 cat conftest.er1 >&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest.$ac_objext; then :
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 } # ac_fn_c_try_compile
1733 # ac_fn_cxx_try_compile LINENO
1734 # ----------------------------
1735 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1736 ac_fn_cxx_try_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 rm -f conftest.$ac_objext
1740 if { { ac_try="$ac_compile"
1742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1743 *) ac_try_echo
=$ac_try;;
1745 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_compile") 2>conftest.err
1749 if test -s conftest.err
; then
1750 grep -v '^ *+' conftest.err
>conftest.er1
1751 cat conftest.er1
>&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } && {
1756 test -z "$ac_cxx_werror_flag" ||
1757 test ! -s conftest.err
1758 } && test -s conftest.
$ac_objext; then :
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.
$ac_ext >&5
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1769 } # ac_fn_cxx_try_compile
1771 # ac_fn_c_try_link LINENO
1772 # -----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded.
1776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1777 rm -f conftest.
$ac_objext conftest
$ac_exeext
1778 if { { ac_try
="$ac_link"
1780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1781 *) ac_try_echo=$ac_try;;
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_link") 2>conftest.err
1787 if test -s conftest.err; then
1788 grep -v '^ *+' conftest.err >conftest.er1
1789 cat conftest.er1 >&5
1790 mv -f conftest.er1 conftest.err
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; } && {
1794 test -z "$ac_c_werror_flag" ||
1795 test ! -s conftest.err
1796 } && test -s conftest$ac_exeext && {
1797 test "$cross_compiling" = yes ||
1798 $as_test_x conftest$ac_exeext
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1807 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1808 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1809 # interfere with the next link command; also delete a directory that is
1810 # left behind by Apple's compiler. We do this before executing the actions.
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815 } # ac_fn_c_try_link
1816 cat >config.log <<_ACEOF
1817 This file contains any messages produced by compilers while
1818 running configure, to aid debugging if configure makes a mistake.
1820 It was created by $as_me, which was
1821 generated by GNU Autoconf 2.64. Invocation command line was
1833 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1834 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1835 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1836 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1837 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1839 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1840 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1842 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1843 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1844 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1845 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1846 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1847 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1848 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 $as_echo "PATH: $as_dir"
1873 # Keep a trace of the command line.
1874 # Strip out --no-create and --no-recursion so they do not pile up.
1875 # Strip out --silent because we don't want to record it for future runs.
1876 # Also quote any args containing shell meta-characters.
1877 # Make two passes to allow for proper duplicate-argument suppression.
1881 ac_must_keep_next=false
1887 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1889 | -silent | --silent | --silen | --sile | --sil)
1892 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1895 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1897 as_fn_append ac_configure_args1 " '$ac_arg'"
1898 if test $ac_must_keep_next = true; then
1899 ac_must_keep_next=false # Got value, back to normal.
1902 *=* | --config-cache | -C | -disable-* | --disable-* \
1903 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1904 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1905 | -with-* | --with-* | -without-* | --without-* | --x)
1906 case "$ac_configure_args0 " in
1907 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1910 -* ) ac_must_keep_next=true ;;
1913 as_fn_append ac_configure_args " '$ac_arg'"
1918 { ac_configure_args0=; unset ac_configure_args0;}
1919 { ac_configure_args1=; unset ac_configure_args1;}
1921 # When interrupted or exit'd, cleanup temporary files, and complete
1922 # config.log. We remove comments because anyway the quotes in there
1923 # would cause problems or look ugly.
1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1926 trap 'exit_status=$?
1927 # Save into config.log some information that might help in debugging.
1932 ## ---------------- ##
1933 ## Cache variables. ##
1934 ## ---------------- ##
1937 # The following way of writing the cache mishandles newlines in values,
1939 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1940 eval ac_val=\$$ac_var
1944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1948 _ | IFS | as_nl) ;; #(
1949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1950 *) { eval $ac_var=; unset $ac_var;} ;;
1955 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1956 *${as_nl}ac_space=\ *)
1958 "s/'\''/'\''\\\\'\'''\''/g;
1959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1970 ## ----------------- ##
1971 ## Output variables. ##
1972 ## ----------------- ##
1975 for ac_var in $ac_subst_vars
1977 eval ac_val=\$$ac_var
1979 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1981 $as_echo "$ac_var='\''$ac_val'\''"
1985 if test -n "$ac_subst_files"; then
1987 ## ------------------- ##
1988 ## File substitutions. ##
1989 ## ------------------- ##
1992 for ac_var in $ac_subst_files
1994 eval ac_val=\$$ac_var
1996 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998 $as_echo "$ac_var='\''$ac_val'\''"
2003 if test -s confdefs.h; then
2013 test "$ac_signal" != 0 &&
2014 $as_echo "$as_me: caught signal $ac_signal"
2015 $as_echo "$as_me: exit $exit_status"
2017 rm -f core *.core core.conftest.* &&
2018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2021 for ac_signal in 1 2 13 15; do
2022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2027 rm -f -r conftest* confdefs.h
2029 $as_echo "/* confdefs.h */" > confdefs.h
2031 # Predefined preprocessor variables.
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2041 cat >>confdefs.h <<_ACEOF
2042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2045 cat >>confdefs.h <<_ACEOF
2046 #define PACKAGE_STRING "$PACKAGE_STRING"
2049 cat >>confdefs.h <<_ACEOF
2050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_URL "$PACKAGE_URL"
2058 # Let the site file select an alternate cache file if it wants to.
2059 # Prefer an explicitly selected file to automatically selected ones.
2062 if test -n "$CONFIG_SITE"; then
2063 ac_site_file1=$CONFIG_SITE
2064 elif test "x$prefix" != xNONE; then
2065 ac_site_file1=$prefix/share/config.site
2066 ac_site_file2=$prefix/etc/config.site
2068 ac_site_file1=$ac_default_prefix/share/config.site
2069 ac_site_file2=$ac_default_prefix/etc/config.site
2071 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2073 test "x$ac_site_file" = xNONE && continue
2074 if test -r "$ac_site_file"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2076 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2077 sed 's/^/| /' "$ac_site_file" >&5
2082 if test -r "$cache_file"; then
2083 # Some versions of bash will fail to source /dev/null (special
2084 # files actually), so we avoid doing that.
2085 if test -f "$cache_file"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2087 $as_echo "$as_me: loading cache $cache_file" >&6;}
2089 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2090 *) . "./$cache_file";;
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2095 $as_echo "$as_me: creating cache $cache_file" >&6;}
2099 # Check that the precious variables saved in the cache have kept the same
2101 ac_cache_corrupted=false
2102 for ac_var in $ac_precious_vars; do
2103 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2104 eval ac_new_set=\$ac_env_${ac_var}_set
2105 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2106 eval ac_new_val=\$ac_env_${ac_var}_value
2107 case $ac_old_set,$ac_new_set in
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2110 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2111 ac_cache_corrupted=: ;;
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2114 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2115 ac_cache_corrupted=: ;;
2118 if test "x$ac_old_val" != "x$ac_new_val"; then
2119 # differences in whitespace do not lead to failure.
2120 ac_old_val_w=`echo x
$ac_old_val`
2121 ac_new_val_w=`echo x
$ac_new_val`
2122 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2124 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2125 ac_cache_corrupted=:
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2128 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2129 eval $ac_var=\$ac_old_val
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2132 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2134 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2137 # Pass precious variables to config.status.
2138 if test "$ac_new_set" = set; then
2140 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2141 *) ac_arg=$ac_var=$ac_new_val ;;
2143 case " $ac_configure_args " in
2144 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2145 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2149 if $ac_cache_corrupted; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2153 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2154 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2156 ## -------------------- ##
2157 ## Main body of script. ##
2158 ## -------------------- ##
2161 ac_cpp='$CPP $CPPFLAGS'
2162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2175 # if PWD already has a value, it is probably wrong.
2176 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2178 # Export original configure arguments for use by sub-configures.
2179 # Quote arguments with shell meta charatcers.
2180 TOPLEVEL_CONFIGURE_ARGUMENTS=
2181 set -- "$progname" "$@"
2185 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2186 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2187 # if the argument is of the form -foo=baz, quote the baz part only
2188 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2191 # Add the quoted argument to the list.
2192 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2194 if test "$silent" = yes; then
2195 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2197 # Remove the initial space we just introduced and, as these will be
2198 # expanded by make, quote '$'.
2199 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2202 # Find the build, host, and target systems.
2204 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2205 for ac_t in install-sh install.sh shtool; do
2206 if test -f "$ac_dir/$ac_t"; then
2208 ac_install_sh="$ac_aux_dir/$ac_t -c"
2213 if test -z "$ac_aux_dir"; then
2214 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2217 # These three variables are undocumented and unsupported,
2218 # and are intended to be withdrawn in a future Autoconf release.
2219 # They can cause serious problems if a builder's source tree is in a directory
2220 # whose full name contains unusual characters.
2221 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2222 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2223 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2226 # Make sure we can run config.sub.
2227 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2228 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2231 $as_echo_n "checking build system type... " >&6; }
2232 if test "${ac_cv_build+set}" = set; then :
2233 $as_echo_n "(cached) " >&6
2235 ac_build_alias=$build_alias
2236 test "x$ac_build_alias" = x &&
2237 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2238 test "x$ac_build_alias" = x &&
2239 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2241 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2245 $as_echo "$ac_cv_build" >&6; }
2246 case $ac_cv_build in
2248 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2251 ac_save_IFS=$IFS; IFS='-'
2257 # Remember, the first character of IFS is used to create $*,
2258 # except with old shells:
2261 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2264 case ${build_alias} in
2265 "") build_noncanonical=${build} ;;
2266 *) build_noncanonical=${build_alias} ;;
2271 case ${host_alias} in
2272 "") host_noncanonical=${build_noncanonical} ;;
2273 *) host_noncanonical=${host_alias} ;;
2278 case ${target_alias} in
2279 "") target_noncanonical=${host_noncanonical} ;;
2280 *) target_noncanonical=${target_alias} ;;
2286 test "$host_noncanonical" = "$target_noncanonical" &&
2287 test "$program_prefix$program_suffix$program_transform_name" = \
2289 program_transform_name=s,y,y,
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2292 $as_echo_n "checking host system type... " >&6; }
2293 if test "${ac_cv_host+set}" = set; then :
2294 $as_echo_n "(cached) " >&6
2296 if test "x$host_alias" = x; then
2297 ac_cv_host=$ac_cv_build
2299 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2300 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2305 $as_echo "$ac_cv_host" >&6; }
2308 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2311 ac_save_IFS=$IFS; IFS='-'
2317 # Remember, the first character of IFS is used to create $*,
2318 # except with old shells:
2321 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2325 $as_echo_n "checking target system type... " >&6; }
2326 if test "${ac_cv_target+set}" = set; then :
2327 $as_echo_n "(cached) " >&6
2329 if test "x$target_alias" = x; then
2330 ac_cv_target=$ac_cv_host
2332 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2333 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2338 $as_echo "$ac_cv_target" >&6; }
2339 case $ac_cv_target in
2341 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2343 target=$ac_cv_target
2344 ac_save_IFS=$IFS; IFS='-'
2350 # Remember, the first character of IFS is used to create $*,
2351 # except with old shells:
2354 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2357 # The aliases save the names the user supplied, while $host etc.
2358 # will get canonicalized.
2359 test -n "$target_alias" &&
2360 test "$program_prefix$program_suffix$program_transform_name" = \
2362 program_prefix=${target_alias}-
2364 test "$program_prefix" != NONE &&
2365 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2366 # Use a double $ so make ignores it.
2367 test "$program_suffix" != NONE &&
2368 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2369 # Double any \ or $.
2370 # By default was `s
,x
,x
', remove it if useless.
2371 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2372 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2376 # Get 'install' or 'install-sh
' and its variants.
2377 # Find a good install program. We prefer a C program (faster),
2378 # so one script is as good as another. But avoid the broken or
2379 # incompatible versions:
2380 # SysV /etc/install, /usr/sbin/install
2381 # SunOS /usr/etc/install
2382 # IRIX /sbin/install
2384 # AmigaOS /C/install, which installs bootblocks on floppy discs
2385 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2388 # OS/2's system install, which has a completely different semantic
2389 # ./install, which can be erroneously created by make from ./install.sh.
2390 # Reject install programs that cannot install multiple files.
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2392 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2393 if test -z "$INSTALL"; then
2394 if test "${ac_cv_path_install+set}" = set; then :
2395 $as_echo_n "(cached) " >&6
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 # Account for people who put trailing slashes in PATH elements.
2403 case $as_dir/ in #((
2404 .
/ | .
// |
/[cC
]/* | \
2405 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2406 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2409 # OSF1 and SCO ODT 3.0 have their own names for install.
2410 # Don't use installbsd from OSF since it installs stuff as root
2412 for ac_prog
in ginstall scoinst
install; do
2413 for ac_exec_ext
in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2415 if test $ac_prog = install &&
2416 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2417 # AIX install. It has an incompatible calling convention.
2419 elif test $ac_prog = install &&
2420 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2421 # program-specific install script used by HP pwplus--don't use.
2424 rm -rf conftest.one conftest.two conftest.dir
2425 echo one
> conftest.one
2426 echo two
> conftest.two
2428 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2429 test -s conftest.one
&& test -s conftest.two
&&
2430 test -s conftest.dir
/conftest.one
&&
2431 test -s conftest.dir
/conftest.two
2433 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 rm -rf conftest.one conftest.two conftest.dir
2449 if test "${ac_cv_path_install+set}" = set; then
2450 INSTALL
=$ac_cv_path_install
2452 # As a last resort, use the slow shell script. Don't cache a
2453 # value for INSTALL within a source directory, because that will
2454 # break other packages using the cache if that directory is
2455 # removed, or if the value is a relative name.
2456 INSTALL
=$ac_install_sh
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2460 $as_echo "$INSTALL" >&6; }
2462 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2463 # It thinks the first close brace ends the variable substitution.
2464 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2466 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2468 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2471 $as_echo_n "checking whether ln works... " >&6; }
2472 if test "${acx_cv_prog_LN+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 rm -f conftestdata_t
2476 echo >conftestdata_f
2477 if ln conftestdata_f conftestdata_t
2>/dev
/null
2483 rm -f conftestdata_f conftestdata_t
2486 if test $acx_cv_prog_LN = no
; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2489 $as_echo "no, using $LN" >&6; }
2491 LN
="$acx_cv_prog_LN"
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2493 $as_echo "yes" >&6; }
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2497 $as_echo_n "checking whether ln -s works... " >&6; }
2499 if test "$LN_S" = "ln -s"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2504 $as_echo "no, using $LN_S" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2508 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2509 if test "${ac_cv_path_SED+set}" = set; then :
2510 $as_echo_n "(cached) " >&6
2512 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2513 for ac_i
in 1 2 3 4 5 6 7; do
2514 ac_script
="$ac_script$as_nl$ac_script"
2516 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2517 { ac_script
=; unset ac_script
;}
2518 if test -z "$SED"; then
2519 ac_path_SED_found
=false
2520 # Loop through the user's path and test for each of PROGNAME-LIST
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 for ac_prog
in sed gsed
; do
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2529 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2530 # Check for GNU ac_path_SED and select it if it is found.
2531 # Check for GNU $ac_path_SED
2532 case `"$ac_path_SED" --version 2>&1` in
2534 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2537 $as_echo_n 0123456789 >"conftest.in"
2540 cat "conftest.in" "conftest.in" >"conftest.tmp"
2541 mv "conftest.tmp" "conftest.in"
2542 cp "conftest.in" "conftest.nl"
2543 $as_echo '' >> "conftest.nl"
2544 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2545 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2546 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2547 if test $ac_count -gt ${ac_path_SED_max-0}; then
2548 # Best one so far, save it but keep looking for a better one
2549 ac_cv_path_SED
="$ac_path_SED"
2550 ac_path_SED_max
=$ac_count
2552 # 10*(2^10) chars as input seems more than enough
2553 test $ac_count -gt 10 && break
2555 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2558 $ac_path_SED_found && break 3
2563 if test -z "$ac_cv_path_SED"; then
2564 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2572 $as_echo "$ac_cv_path_SED" >&6; }
2573 SED
="$ac_cv_path_SED"
2576 for ac_prog
in gawk mawk nawk
awk
2578 # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy
$ac_prog; ac_word
=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if test "${ac_cv_prog_AWK+set}" = set; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$AWK"; then
2586 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595 ac_cv_prog_AWK
="$ac_prog"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$AWK"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2608 $as_echo "$AWK" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2615 test -n "$AWK" && break
2619 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2621 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2623 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2624 INSTALL
="${srcpwd}/install-sh -c"
2627 # Set srcdir to "." if that's what it is.
2628 # This is important for multilib support.
2630 if test "${pwd}" = "${srcpwd}" ; then
2638 ### To add a new directory to the tree, first choose whether it is a target
2639 ### or a host dependent tool. Then put it into the appropriate list
2640 ### (library or tools, host or target), doing a dependency sort.
2642 # Subdirs will be configured in the order listed in build_configdirs,
2643 # configdirs, or target_configdirs; see the serialization section below.
2645 # Dependency sorting is only needed when *configuration* must be done in
2646 # a particular order. In all cases a dependency should be specified in
2647 # the Makefile, whether or not it's implicitly specified here.
2649 # Double entries in build_configdirs, configdirs, or target_configdirs may
2650 # cause circular dependencies and break everything horribly.
2652 # these library is used by various programs built for the build
2655 build_libs
="build-libiberty"
2657 # these tools are built for the build environment
2658 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2660 # these libraries are used by various programs built for the host environment
2662 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2664 # these tools are built for the host environment
2665 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2666 # know that we are building the simulator.
2667 # binutils, gas and ld appear in that order because it makes sense to run
2668 # "make check" in that particular order.
2669 # If --enable-gold is used, "gold" may replace "ld".
2670 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2672 # libgcj represents the runtime libraries only used by gcj.
2673 libgcj
="target-libffi \
2677 # these libraries are built for the target environment, and are built after
2678 # the host libraries and the host tools (which may be a cross compiler)
2679 # Note that libiberty is not a target library.
2680 target_libraries
="target-libgcc \
2685 target-libstdc++-v3 \
2688 target-libquadmath \
2689 target-libgfortran \
2696 # these tools are built using the target libraries, and are intended to
2697 # run only in the target environment
2699 # note: any program that *uses* libraries that are in the "target_libraries"
2700 # list belongs in this list.
2702 target_tools
="target-rda"
2704 ################################################################################
2706 ## All tools belong in one of the four categories, and are assigned above
2707 ## We assign ${configdirs} this way to remove all embedded newlines. This
2708 ## is important because configure will choke if they ever get through.
2709 ## ${configdirs} is directories we build using the host tools.
2710 ## ${target_configdirs} is directories we build using the target tools.
2711 configdirs
=`echo ${host_libs} ${host_tools}`
2712 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2713 build_configdirs
=`echo ${build_libs} ${build_tools}`
2717 ################################################################################
2719 srcname
="gnu development package"
2721 # This gets set non-empty for some net releases of packages.
2724 # Define is_cross_compiler to save on calls to 'test'.
2726 if test x
"${host}" = x
"${target}" ; then
2727 is_cross_compiler
=no
2729 is_cross_compiler
=yes
2732 # Find the build and target subdir names.
2734 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2735 # have matching libraries, they should use host libraries: Makefile.tpl
2736 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2737 # However, they still use the build modules, because the corresponding
2738 # host modules (e.g. bison) are only built for the host when bootstrap
2740 # - build_subdir is where we find build modules, and never changes.
2741 # - build_libsubdir is where we find build libraries, and can be overridden.
2743 # Prefix 'build-' so this never conflicts with target_subdir.
2744 build_subdir
="build-${build_noncanonical}"
2746 # Check whether --with-build-libsubdir was given.
2747 if test "${with_build_libsubdir+set}" = set; then :
2748 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2750 build_libsubdir
="$build_subdir"
2753 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2754 if ( test $srcdir = .
&& test -d gcc
) \
2755 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2756 host_subdir
="host-${host_noncanonical}"
2761 target_subdir
=${target_noncanonical}
2763 # Be sure to cover against remnants of an in-tree build.
2764 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2765 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2766 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2769 # Skipdirs are removed silently.
2771 # Noconfigdirs are removed loudly.
2775 # Make sure we don't let GNU ld be added if we didn't want it.
2776 if test x
$with_gnu_ld = xno
; then
2778 noconfigdirs
="$noconfigdirs ld gold"
2782 # Make sure we don't let GNU as be added if we didn't want it.
2783 if test x
$with_gnu_as = xno
; then
2785 noconfigdirs
="$noconfigdirs gas"
2789 # Make sure we don't let ZLIB be added if we didn't want it.
2790 if test x
$with_system_zlib = xyes
; then
2791 use_included_zlib
=no
2792 noconfigdirs
="$noconfigdirs zlib"
2795 # some tools are so dependent upon X11 that if we're not building with X,
2796 # it's not even worth trying to configure, much less build, that tool.
2799 yes |
"") ;; # the default value for this tree is that X11 is available
2801 skipdirs
="${skipdirs} tk itcl libgui"
2802 # We won't be able to build gdbtk without X.
2805 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2808 # Some are only suitable for cross toolchains.
2809 # Remove these if host=target.
2810 cross_only
="target-libgloss target-newlib target-opcodes"
2812 case $is_cross_compiler in
2813 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2816 # If both --with-headers and --with-libs are specified, default to
2818 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2819 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2820 if test x
"${with_newlib}" = x
; then
2825 # Recognize --with-newlib/--without-newlib.
2826 case ${with_newlib} in
2827 no
) skipdirs
="${skipdirs} target-newlib" ;;
2828 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2831 # Handle --enable-gold, --enable-ld.
2832 # --disable-gold [--enable-ld]
2833 # Build only ld. Default option.
2834 # --enable-gold [--enable-ld]
2835 # Build both gold and ld. Install gold as "ld.gold", install ld
2836 # as "ld.bfd" and "ld".
2837 # --enable-gold=default [--enable-ld]
2838 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2839 # install ld as "ld.bfd".
2840 # --enable-gold[=default] --disable-ld
2841 # Build only gold, which is then installed as both "ld.gold" and "ld".
2842 # --enable-gold --enable-ld=default
2843 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2845 # In other words, ld is default
2846 # --enable-gold=default --enable-ld=default
2850 # Check whether --enable-gold was given.
2851 if test "${enable_gold+set}" = set; then :
2852 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2857 case "${ENABLE_GOLD}" in
2859 # Check for ELF target.
2862 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2863 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2864 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2865 |
*-*-solaris2* |
*-*-nto*)
2867 *-*-linux*aout
* |
*-*-linux*oldld
*)
2875 if test "$is_elf" = "yes"; then
2876 # Check for target supported by gold.
2878 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2879 configdirs
="$configdirs gold"
2880 if test x
${ENABLE_GOLD} = xdefault
; then
2891 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2895 # Check whether --enable-ld was given.
2896 if test "${enable_ld+set}" = set; then :
2897 enableval
=$enable_ld; ENABLE_LD
=$enableval
2903 case "${ENABLE_LD}" in
2905 if test x
${default_ld} != x
; then
2906 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2912 if test x
${ENABLE_GOLD} != xyes
; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2914 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2916 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2919 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2923 # Configure extra directories which are host specific
2927 configdirs
="$configdirs libtermcap" ;;
2930 # A target can indicate whether a language isn't supported for some reason.
2931 # Only spaces may be used in this macro; not newlines or tabs.
2932 unsupported_languages
=
2934 # Remove more programs from consideration, based on the host or
2935 # target this usually means that a port of the program doesn't
2939 i
[3456789]86-*-msdosdjgpp*)
2940 noconfigdirs
="$noconfigdirs tcl tk itcl"
2945 # Check whether --enable-libquadmath was given.
2946 if test "${enable_libquadmath+set}" = set; then :
2947 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2949 ENABLE_LIBQUADMATH
=yes
2952 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2953 noconfigdirs
="$noconfigdirs target-libquadmath"
2957 # Check whether --enable-libquadmath-support was given.
2958 if test "${enable_libquadmath_support+set}" = set; then :
2959 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2961 ENABLE_LIBQUADMATH_SUPPORT
=yes
2964 enable_libquadmath_support
=
2965 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2966 enable_libquadmath_support
=no
2970 # Check whether --enable-libada was given.
2971 if test "${enable_libada+set}" = set; then :
2972 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2977 if test "${ENABLE_LIBADA}" != "yes" ; then
2978 noconfigdirs
="$noconfigdirs gnattools"
2981 # Check whether --enable-libssp was given.
2982 if test "${enable_libssp+set}" = set; then :
2983 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2989 # Save it here so that, even in case of --enable-libgcj, if the Java
2990 # front-end isn't enabled, we still get libgcj disabled.
2991 libgcj_saved
=$libgcj
2992 case $enable_libgcj in
2994 # If we reset it here, it won't get added to noconfigdirs in the
2995 # target-specific build rules, so it will be forcibly enabled
2996 # (unless the Java language itself isn't enabled).
3000 # Make sure we get it printed in the list of not supported target libs.
3001 # Don't disable libffi, though, other languages use it.
3002 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3003 # Clear libgcj_saved so that even if java is enabled libffi won't be
3009 # Check whether --enable-static-libjava was given.
3010 if test "${enable_static_libjava+set}" = set; then :
3011 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3013 ENABLE_STATIC_LIBJAVA
=no
3016 enable_static_libjava
=
3017 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3018 enable_static_libjava
=yes
3021 if test x
$enable_static_libjava != xyes
; then
3022 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3026 # Disable libmudflap on some systems.
3027 if test x
$enable_libmudflap = x
; then
3029 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3030 # Enable libmudflap by default in GNU and friends.
3033 # Enable libmudflap by default in FreeBSD.
3036 # Disable it by default everywhere else.
3037 noconfigdirs
="$noconfigdirs target-libmudflap"
3042 # Disable libgomp on non POSIX hosted systems.
3043 if test x
$enable_libgomp = x
; then
3044 # Enable libgomp by default on hosted POSIX systems.
3046 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3048 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3050 *-*-solaris2* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3052 *-*-darwin* |
*-*-aix*)
3055 noconfigdirs
="$noconfigdirs target-libgomp"
3060 # Disable libitm on unsupported systems.
3061 if test -d ${srcdir}/libitm
; then
3062 if test x
$enable_libitm = x
; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3064 $as_echo_n "checking for libitm support... " >&6; }
3065 if (srcdir
=${srcdir}/libitm
; \
3066 .
${srcdir}/configure.tgt
; \
3067 test -n "$UNSUPPORTED")
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3071 noconfigdirs
="$noconfigdirs target-libitm"
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3074 $as_echo "yes" >&6; }
3079 # Disable libssp for some systems.
3082 # No hosted I/O support.
3083 noconfigdirs
="$noconfigdirs target-libssp"
3085 powerpc-
*-aix* | rs6000-
*-aix*)
3086 noconfigdirs
="$noconfigdirs target-libssp"
3090 # Disable libstdc++-v3 for some systems.
3093 # VxWorks uses the Dinkumware C++ library.
3094 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3097 # the C++ libraries don't build on top of CE's C libraries
3098 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3101 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3105 # Disable Fortran for some systems.
3108 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3109 unsupported_languages
="$unsupported_languages fortran"
3113 # Disable Java if libffi is not supported.
3135 mips-sgi-irix6.
* | mips
*-*-rtems*)
3143 powerpc-
*-aix* | rs6000-
*-aix*)
3147 powerpc64-
*-freebsd*)
3151 s390-
*-* | s390x-
*-*)
3153 sh-
*-* | sh
[34]*-*-*)
3155 sh64-
*-* | sh5
*-*-*)
3162 unsupported_languages
="$unsupported_languages java"
3166 # Disable Java, libgcj or related libraries for some systems.
3170 i
[3456789]86-*-darwin*)
3172 x86_64-
*-darwin[912]*)
3175 noconfigdirs
="$noconfigdirs ${libgcj}"
3178 noconfigdirs
="$noconfigdirs ${libgcj}"
3181 noconfigdirs
="$noconfigdirs ${libgcj}"
3184 noconfigdirs
="$noconfigdirs ${libgcj}"
3187 noconfigdirs
="$noconfigdirs ${libgcj}"
3190 noconfigdirs
="$noconfigdirs ${libgcj}"
3193 noconfigdirs
="$noconfigdirs ${libgcj}"
3196 noconfigdirs
="$noconfigdirs ${libgcj}"
3199 noconfigdirs
="$noconfigdirs ${libgcj}"
3202 noconfigdirs
="$noconfigdirs target-boehm-gc"
3204 cris-
*-* | crisv32-
*-*)
3205 unsupported_languages
="$unsupported_languages java"
3209 *) # See PR46792 regarding target-libffi.
3210 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3214 # In this case, it's because the hppa64-linux target is for
3215 # the kernel only at this point and has no libc, and thus no
3216 # headers, crt*.o, etc., all of which are needed by these.
3217 unsupported_languages
="$unsupported_languages java"
3220 noconfigdirs
="$noconfigdirs ${libgcj}"
3225 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3226 # build on HP-UX 10.20.
3227 noconfigdirs
="$noconfigdirs ${libgcj}"
3230 noconfigdirs
="$noconfigdirs ${libgcj}"
3232 i
[3456789]86-w64-mingw*)
3233 noconfigdirs
="$noconfigdirs ${libgcj}"
3235 i
[3456789]86-*-mingw*)
3236 noconfigdirs
="$noconfigdirs ${libgcj}"
3239 noconfigdirs
="$noconfigdirs ${libgcj}"
3242 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3245 # copied from rs6000-*-* entry
3246 noconfigdirs
="$noconfigdirs ${libgcj}"
3249 noconfigdirs
="$noconfigdirs ${libgcj}"
3252 # Linking libjava exceeds command-line length limits on at least
3253 # IRIX 6.2, but not on IRIX 6.5.
3254 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3255 # <oldham@codesourcery.com>
3256 noconfigdirs
="$noconfigdirs ${libgcj}"
3259 noconfigdirs
="$noconfigdirs ${libgcj}"
3263 # Default libgloss CPU subdirectory.
3264 libgloss_dir
="$target_cpu"
3267 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3273 cris-
*-* | crisv32-
*-*)
3282 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3283 libgloss_dir
=m68hc11
3285 m68
*-*-* | fido-
*-*)
3299 # Disable newlib and libgloss for various target OSes.
3302 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3304 i
[3456789]86-*-linux*)
3305 # This section makes it possible to build newlib natively on linux.
3306 # If we are using a cross compiler then don't configure newlib.
3307 if test x
${is_cross_compiler} != xno
; then
3308 noconfigdirs
="$noconfigdirs target-newlib"
3310 noconfigdirs
="$noconfigdirs target-libgloss"
3311 # If we are not using a cross compiler, do configure newlib.
3312 # Note however, that newlib will only be configured in this situation
3313 # if the --with-newlib option has been given, because otherwise
3314 # 'target-newlib' will appear in skipdirs.
3316 i
[3456789]86-*-rdos*)
3317 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3319 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3320 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3323 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3326 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3329 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3332 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3335 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3338 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3340 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3341 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3344 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3347 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3350 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3353 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3356 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3359 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3362 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3370 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3371 noconfigdirs
="$noconfigdirs sim target-rda"
3373 i
[3456789]86-*-darwin*)
3374 noconfigdirs
="$noconfigdirs ld gprof"
3375 noconfigdirs
="$noconfigdirs sim target-rda"
3377 x86_64-
*-darwin[912]*)
3378 noconfigdirs
="$noconfigdirs ld gas gprof"
3379 noconfigdirs
="$noconfigdirs sim target-rda"
3382 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3383 noconfigdirs
="$noconfigdirs sim target-rda"
3388 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3389 && test -f /usr
/local
/include
/gmp.h
; then
3394 # Remove unsupported stuff on all kaOS configurations.
3395 noconfigdirs
="$noconfigdirs target-libgloss"
3402 noconfigdirs
="$noconfigdirs target-libgloss"
3404 # The tpf target doesn't support gdb yet.
3406 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3409 noconfigdirs
="$noconfigdirs target-rda"
3414 # ld works, but does not support shared libraries.
3415 # gas doesn't generate exception information.
3416 noconfigdirs
="$noconfigdirs gas ld"
3419 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3422 # newlib is not 64 bit ready
3423 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3425 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3426 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3429 noconfigdirs
="$noconfigdirs target-libgloss"
3432 noconfigdirs
="$noconfigdirs target-libgloss"
3435 noconfigdirs
="$noconfigdirs ld target-libgloss"
3437 c4x-
*-* | tic4x-
*-*)
3438 noconfigdirs
="$noconfigdirs target-libgloss"
3441 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3444 noconfigdirs
="$noconfigdirs gdb"
3447 noconfigdirs
="$noconfigdirs target-libgloss"
3450 noconfigdirs
="$noconfigdirs gdb"
3453 noconfigdirs
="$noconfigdirs gdb"
3456 noconfigdirs
="$noconfigdirs gprof"
3459 noconfigdirs
="$noconfigdirs target-libgloss"
3462 noconfigdirs
="$noconfigdirs target-libgloss"
3464 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3472 hppa
*-*-openbsd* | \
3476 noconfigdirs
="$noconfigdirs ld"
3481 noconfigdirs
="$noconfigdirs ld"
3484 noconfigdirs
="$noconfigdirs gdb"
3487 # No gdb support yet.
3488 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3491 # No ld support yet.
3492 noconfigdirs
="$noconfigdirs libgui itcl ld"
3495 # No gdb or ld support yet.
3496 noconfigdirs
="$noconfigdirs readline libgui itcl gdb ld"
3498 i
[3456789]86-w64-mingw*)
3500 i
[3456789]86-*-mingw*)
3501 target_configdirs
="$target_configdirs target-winsup"
3504 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3505 noconfigdirs
="$noconfigdirs target-libgloss"
3506 # always build newlib if winsup directory is present.
3507 if test -d "$srcdir/winsup/cygwin"; then
3508 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3509 elif test -d "$srcdir/newlib"; then
3510 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3514 noconfigdirs
="$noconfigdirs target-libgloss"
3516 i
[3456789]86-*-sco3.2v5
*)
3517 # The linker does not yet know about weak symbols in COFF,
3518 # and is not configured to handle mixed ELF and COFF.
3519 noconfigdirs
="$noconfigdirs ld target-libgloss"
3521 i
[3456789]86-*-sco*)
3522 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3524 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3525 noconfigdirs
="$noconfigdirs target-libgloss"
3527 i
[3456789]86-*-sysv4*)
3528 noconfigdirs
="$noconfigdirs target-libgloss"
3530 i
[3456789]86-*-beos*)
3531 noconfigdirs
="$noconfigdirs gdb"
3533 i
[3456789]86-*-rdos*)
3534 noconfigdirs
="$noconfigdirs gdb"
3537 noconfigdirs
="$noconfigdirs gdb"
3540 noconfigdirs
="$noconfigdirs sim"
3543 # copied from rs6000-*-* entry
3544 noconfigdirs
="$noconfigdirs gprof"
3546 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3547 target_configdirs
="$target_configdirs target-winsup"
3548 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3549 # always build newlib.
3550 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3552 # This is temporary until we can link against shared libraries
3553 powerpcle-
*-solaris*)
3554 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3557 noconfigdirs
="$noconfigdirs gdb"
3560 noconfigdirs
="$noconfigdirs gprof"
3563 noconfigdirs
="$noconfigdirs gprof"
3566 noconfigdirs
="$noconfigdirs gprof"
3569 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3572 noconfigdirs
="$noconfigdirs gprof"
3575 if test x
$with_newlib = xyes
; then
3576 noconfigdirs
="$noconfigdirs gprof"
3580 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3583 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3586 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3591 noconfigdirs
="$noconfigdirs gprof"
3598 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3602 if test x
${is_cross_compiler} = xno
; then
3607 noconfigdirs
="$noconfigdirs sim"
3609 tilepro-
*-* | tilegx-
*-*)
3610 noconfigdirs
="$noconfigdirs sim"
3613 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3620 # If we aren't building newlib, then don't build libgloss, since libgloss
3621 # depends upon some newlib header files.
3622 case "${noconfigdirs}" in
3623 *target-libgloss
*) ;;
3624 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3627 # Work in distributions that contain no compiler tools, like Autoconf.
3628 host_makefile_frag
=/dev
/null
3629 if test -d ${srcdir}/config
; then
3631 i
[3456789]86-*-msdosdjgpp*)
3632 host_makefile_frag
="config/mh-djgpp"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3637 $as_echo_n "checking to see if cat works as expected... " >&6; }
3638 echo a
>cygwin-cat-check
3639 if test `cat cygwin-cat-check` = a
; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3642 $as_echo "yes" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3647 as_fn_error
"The cat command does not ignore carriage return characters.
3648 Please either mount the build directory in binary mode or run the following
3649 commands before running any configure script:
3655 host_makefile_frag
="config/mh-cygwin"
3658 host_makefile_frag
="config/mh-mingw"
3661 host_makefile_frag
="config/mh-interix"
3664 host_makefile_frag
="config/mh-pa-hpux10"
3667 host_makefile_frag
="config/mh-pa"
3670 host_makefile_frag
="config/mh-pa"
3673 host_makefile_frag
="config/mh-darwin"
3676 host_makefile_frag
="config/mh-ppc-aix"
3679 host_makefile_frag
="config/mh-ppc-aix"
3684 if test "${build}" != "${host}" ; then
3685 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3686 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3687 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3688 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3689 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3690 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3691 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3692 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3693 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3694 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3695 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3696 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3697 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3699 AR_FOR_BUILD
="\$(AR)"
3700 AS_FOR_BUILD
="\$(AS)"
3701 CC_FOR_BUILD
="\$(CC)"
3702 CXX_FOR_BUILD
="\$(CXX)"
3703 GCJ_FOR_BUILD
="\$(GCJ)"
3704 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3705 GOC_FOR_BUILD
="\$(GOC)"
3706 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3707 LD_FOR_BUILD
="\$(LD)"
3708 NM_FOR_BUILD
="\$(NM)"
3709 RANLIB_FOR_BUILD
="\$(RANLIB)"
3710 WINDRES_FOR_BUILD
="\$(WINDRES)"
3711 WINDMC_FOR_BUILD
="\$(WINDMC)"
3715 ac_cpp
='$CPP $CPPFLAGS'
3716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3719 if test -n "$ac_tool_prefix"; then
3720 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3721 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3723 $as_echo_n "checking for $ac_word... " >&6; }
3724 if test "${ac_cv_prog_CC+set}" = set; then :
3725 $as_echo_n "(cached) " >&6
3727 if test -n "$CC"; then
3728 ac_cv_prog_CC
="$CC" # Let the user override the test.
3730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3734 test -z "$as_dir" && as_dir
=.
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3737 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 if test -n "$CC"; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3750 $as_echo "$CC" >&6; }
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3758 if test -z "$ac_cv_prog_CC"; then
3760 # Extract the first word of "gcc", so it can be a program name with args.
3761 set dummy gcc
; ac_word
=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3765 $as_echo_n "(cached) " >&6
3767 if test -n "$ac_ct_CC"; then
3768 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir
=.
3775 for ac_exec_ext
in '' $ac_executable_extensions; do
3776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3777 ac_cv_prog_ac_ct_CC
="gcc"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3788 if test -n "$ac_ct_CC"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3790 $as_echo "$ac_ct_CC" >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3796 if test "x$ac_ct_CC" = x
; then
3799 case $cross_compiling:$ac_tool_warned in
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3803 ac_tool_warned
=yes ;;
3811 if test -z "$CC"; then
3812 if test -n "$ac_tool_prefix"; then
3813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3814 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if test "${ac_cv_prog_CC+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -n "$CC"; then
3821 ac_cv_prog_CC
="$CC" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 if test -n "$CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3843 $as_echo "$CC" >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3852 if test -z "$CC"; then
3853 # Extract the first word of "cc", so it can be a program name with args.
3854 set dummy cc
; ac_word
=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if test "${ac_cv_prog_CC+set}" = set; then :
3858 $as_echo_n "(cached) " >&6
3860 if test -n "$CC"; then
3861 ac_cv_prog_CC
="$CC" # Let the user override the test.
3864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 test -z "$as_dir" && as_dir
=.
3869 for ac_exec_ext
in '' $ac_executable_extensions; do
3870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3872 ac_prog_rejected
=yes
3876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 if test $ac_prog_rejected = yes; then
3884 # We found a bogon in the path, so make sure we never use it.
3885 set dummy
$ac_cv_prog_CC
3887 if test $# != 0; then
3888 # We chose a different compiler from the bogus one.
3889 # However, it has the same basename, so the bogon will be chosen
3890 # first if we set CC to just the basename; use the full file name.
3892 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3898 if test -n "$CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3900 $as_echo "$CC" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3908 if test -z "$CC"; then
3909 if test -n "$ac_tool_prefix"; then
3910 for ac_prog
in cl.exe
3912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3913 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if test "${ac_cv_prog_CC+set}" = set; then :
3917 $as_echo_n "(cached) " >&6
3919 if test -n "$CC"; then
3920 ac_cv_prog_CC
="$CC" # Let the user override the test.
3922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir
=.
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 if test -n "$CC"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3942 $as_echo "$CC" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3949 test -n "$CC" && break
3952 if test -z "$CC"; then
3954 for ac_prog
in cl.exe
3956 # Extract the first word of "$ac_prog", so it can be a program name with args.
3957 set dummy
$ac_prog; ac_word
=$2
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3961 $as_echo_n "(cached) " >&6
3963 if test -n "$ac_ct_CC"; then
3964 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir
=.
3971 for ac_exec_ext
in '' $ac_executable_extensions; do
3972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_prog_ac_ct_CC
="$ac_prog"
3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3984 if test -n "$ac_ct_CC"; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3986 $as_echo "$ac_ct_CC" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3993 test -n "$ac_ct_CC" && break
3996 if test "x$ac_ct_CC" = x
; then
3999 case $cross_compiling:$ac_tool_warned in
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4003 ac_tool_warned
=yes ;;
4012 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error
"no acceptable C compiler found in \$PATH
4015 See \`config.log' for more details." "$LINENO" 5; }
4017 # Provide some information about the compiler.
4018 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4021 for ac_option
in --version -v -V -qversion; do
4022 { { ac_try
="$ac_compiler $ac_option >&5"
4024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4031 if test -s conftest.err; then
4033 ... rest of stderr output deleted ...
4034 10q' conftest.err >conftest.er1
4035 cat conftest.er1 >&5
4036 rm -f conftest.er1 conftest.err
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 ac_clean_files_save=$ac_clean_files
4054 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4055 # Try to create an executable without -o first, disregard a.out.
4056 # It will help us diagnose broken compilers, and finding out an intuition
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4059 $as_echo_n "checking for C compiler default output file name... " >&6; }
4060 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4062 # The possible output files:
4063 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4066 for ac_file in $ac_files
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4075 if { { ac_try="$ac_link_default"
4077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4078 *) ac_try_echo
=$ac_try;;
4080 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_link_default") 2>&5
4084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 test $ac_status = 0; }; then :
4086 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4087 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4088 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4089 # so that the user can short-circuit this test for compilers unknown to
4091 for ac_file
in $ac_files ''
4093 test -f "$ac_file" ||
continue
4095 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4098 # We found the default executable, but exeext='' is most
4102 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4104 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4106 # We set ac_cv_exeext here because the later test for it is not
4107 # safe: cross compilers may not add the suffix if given an `-o'
4108 # argument, so we may need to know it at that point already.
4109 # Even if this section looks crufty: it has the advantage of
4116 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4122 $as_echo "$ac_file" >&6; }
4123 if test -z "$ac_file"; then :
4124 $as_echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.
$ac_ext >&5
4127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4129 { as_fn_set_status
77
4130 as_fn_error
"C compiler cannot create executables
4131 See \`config.log' for more details." "$LINENO" 5; }; }
4133 ac_exeext
=$ac_cv_exeext
4135 # Check that the compiler produces executables we can run. If not, either
4136 # the compiler is broken, or we cross compile.
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4138 $as_echo_n "checking whether the C compiler works... " >&6; }
4139 # If not cross compiling, check that we can run a simple program.
4140 if test "$cross_compiling" != yes; then
4141 if { ac_try
='./$ac_file'
4142 { { case "(($ac_try" in
4143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148 (eval "$ac_try") 2>&5
4150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }; }; then
4154 if test "$cross_compiling" = maybe; then
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot run C compiled programs.
4160 If you meant to cross compile
, use \
`--host'.
4161 See \`config.log
' for more details." "$LINENO" 5; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4166 $as_echo "yes" >&6; }
4168 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4169 ac_clean_files=$ac_clean_files_save
4170 # Check that the compiler produces executables we can run. If not, either
4171 # the compiler is broken, or we cross compile.
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4173 $as_echo_n "checking whether we are cross compiling... " >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4175 $as_echo "$cross_compiling" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4178 $as_echo_n "checking for suffix of executables... " >&6; }
4179 if { { ac_try="$ac_link"
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185 $as_echo "$ac_try_echo"; } >&5
4186 (eval "$ac_link") 2>&5
4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }; then :
4190 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4191 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4192 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4194 for ac_file
in conftest.exe conftest conftest.
*; do
4195 test -f "$ac_file" ||
continue
4197 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4198 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4206 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4207 See \`config.log' for more details." "$LINENO" 5; }
4209 rm -f conftest
$ac_cv_exeext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4211 $as_echo "$ac_cv_exeext" >&6; }
4213 rm -f conftest.
$ac_ext
4214 EXEEXT
=$ac_cv_exeext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4217 $as_echo_n "checking for suffix of object files... " >&6; }
4218 if test "${ac_cv_objext+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4232 rm -f conftest.o conftest.obj
4233 if { { ac_try
="$ac_compile"
4235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240 (eval "$ac_compile") 2>&5
4242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243 test $ac_status = 0; }; then :
4244 for ac_file in conftest.o conftest.obj conftest.*; do
4245 test -f "$ac_file" || continue;
4247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4248 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4253 $as_echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4258 as_fn_error "cannot compute suffix of object files
: cannot compile
4259 See \
`config.log' for more details." "$LINENO" 5; }
4261 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4264 $as_echo "$ac_cv_objext" >&6; }
4265 OBJEXT=$ac_cv_objext
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4268 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4269 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4286 if ac_fn_c_try_compile "$LINENO"; then :
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4296 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4297 if test $ac_compiler_gnu = yes; then
4302 ac_test_CFLAGS=${CFLAGS+set}
4303 ac_save_CFLAGS=$CFLAGS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4305 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4306 if test "${ac_cv_prog_cc_g+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 ac_save_c_werror_flag=$ac_c_werror_flag
4310 ac_c_werror_flag=yes
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4324 if ac_fn_c_try_compile "$LINENO"; then :
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_c_try_compile "$LINENO"; then :
4342 ac_c_werror_flag=$ac_save_c_werror_flag
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4355 if ac_fn_c_try_compile "$LINENO"; then :
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 ac_c_werror_flag=$ac_save_c_werror_flag
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4366 $as_echo "$ac_cv_prog_cc_g" >&6; }
4367 if test "$ac_test_CFLAGS" = set; then
4368 CFLAGS=$ac_save_CFLAGS
4369 elif test $ac_cv_prog_cc_g = yes; then
4370 if test "$GCC" = yes; then
4376 if test "$GCC" = yes; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4383 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4384 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 ac_cv_prog_cc_c89=no
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4393 #include <sys/types.h>
4394 #include <sys/stat.h>
4395 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4396 struct buf { int x; };
4397 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4398 static char *e (p, i)
4404 static char *f (char * (*g) (char **, int), char **p, ...)
4409 s = g (p, va_arg (v,int));
4414 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4415 function prototypes and stuff, but not '\xHH' hex character constants.
4416 These don't provoke an error unfortunately, instead are silently treated
4417 as 'x'. The following induces an error, until -std is added to get
4418 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4419 array size at least. It's necessary to write '\x00'==0 to get something
4420 that's true only with -std. */
4421 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4423 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4424 inside strings and character constants. */
4426 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4428 int test (int i, double x);
4429 struct s1 {int (*f) (int a);};
4430 struct s2 {int (*f) (double a);};
4431 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4437 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4442 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4443 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4445 CC="$ac_save_CC $ac_arg"
4446 if ac_fn_c_try_compile "$LINENO"; then :
4447 ac_cv_prog_cc_c89=$ac_arg
4449 rm -f core conftest.err conftest.$ac_objext
4450 test "x$ac_cv_prog_cc_c89" != "xno" && break
4452 rm -f conftest.$ac_ext
4457 case "x$ac_cv_prog_cc_c89" in
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4460 $as_echo "none needed" >&6; } ;;
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4463 $as_echo "unsupported" >&6; } ;;
4465 CC="$CC $ac_cv_prog_cc_c89"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4467 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4469 if test "x$ac_cv_prog_cc_c89" != xno; then :
4474 ac_cpp='$CPP $CPPFLAGS'
4475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480 ac_cpp='$CXXCPP $CPPFLAGS'
4481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4484 if test -z "$CXX"; then
4485 if test -n "$CCC"; then
4488 if test -n "$ac_tool_prefix"; then
4489 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if test "${ac_cv_prog_CXX+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4498 if test -n "$CXX"; then
4499 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir=.
4506 for ac_exec_ext in '' $ac_executable_extensions; do
4507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4508 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 if test -n "$CXX"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4521 $as_echo "$CXX" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4528 test -n "$CXX" && break
4531 if test -z "$CXX"; then
4533 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4535 # Extract the first word of "$ac_prog", so it can be a program name with args.
4536 set dummy $ac_prog; ac_word=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$ac_ct_CXX"; then
4543 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_ac_ct_CXX="$ac_prog"
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4563 if test -n "$ac_ct_CXX"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4565 $as_echo "$ac_ct_CXX" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4572 test -n "$ac_ct_CXX" && break
4575 if test "x$ac_ct_CXX" = x; then
4578 case $cross_compiling:$ac_tool_warned in
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4582 ac_tool_warned=yes ;;
4590 # Provide some information about the compiler.
4591 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4594 for ac_option in --version -v -V -qversion; do
4595 { { ac_try="$ac_compiler $ac_option >&5"
4597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4598 *) ac_try_echo
=$ac_try;;
4600 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4601 $as_echo "$ac_try_echo"; } >&5
4602 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4604 if test -s conftest.err
; then
4606 ... rest of stderr output deleted ...
4607 10q' conftest.err
>conftest.er1
4608 cat conftest.er1
>&5
4609 rm -f conftest.er1 conftest.err
4611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612 test $ac_status = 0; }
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4616 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4617 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4634 if ac_fn_cxx_try_compile
"$LINENO"; then :
4639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4640 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4644 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4645 if test $ac_compiler_gnu = yes; then
4650 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4651 ac_save_CXXFLAGS
=$CXXFLAGS
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4653 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4654 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4658 ac_cxx_werror_flag
=yes
4661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4672 if ac_fn_cxx_try_compile
"$LINENO"; then :
4673 ac_cv_prog_cxx_g
=yes
4676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4687 if ac_fn_cxx_try_compile
"$LINENO"; then :
4690 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4703 if ac_fn_cxx_try_compile
"$LINENO"; then :
4704 ac_cv_prog_cxx_g
=yes
4706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4711 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4714 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4715 if test "$ac_test_CXXFLAGS" = set; then
4716 CXXFLAGS
=$ac_save_CXXFLAGS
4717 elif test $ac_cv_prog_cxx_g = yes; then
4718 if test "$GXX" = yes; then
4724 if test "$GXX" = yes; then
4731 ac_cpp
='$CPP $CPPFLAGS'
4732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4737 # We must set the default linker to the linker used by gcc for the correct
4738 # operation of libtool. If LD is not defined and we are using gcc, try to
4739 # set the LD default to the ld used by gcc.
4740 if test -z "$LD"; then
4741 if test "$GCC" = yes; then
4744 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4746 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4748 case $gcc_prog_ld in
4749 # Accept absolute paths.
4750 [\\/]* |
[A-Za-z
]:[\\/]*)
4751 LD
="$gcc_prog_ld" ;;
4759 if test -n "$ac_tool_prefix"; then
4760 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4761 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 $as_echo_n "checking for $ac_word... " >&6; }
4764 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 if test -n "$GNATBIND"; then
4768 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir
=.
4775 for ac_exec_ext
in '' $ac_executable_extensions; do
4776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4777 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 GNATBIND
=$ac_cv_prog_GNATBIND
4788 if test -n "$GNATBIND"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4790 $as_echo "$GNATBIND" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4798 if test -z "$ac_cv_prog_GNATBIND"; then
4799 ac_ct_GNATBIND
=$GNATBIND
4800 # Extract the first word of "gnatbind", so it can be a program name with args.
4801 set dummy gnatbind
; ac_word
=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4805 $as_echo_n "(cached) " >&6
4807 if test -n "$ac_ct_GNATBIND"; then
4808 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir
=.
4815 for ac_exec_ext
in '' $ac_executable_extensions; do
4816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4817 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4828 if test -n "$ac_ct_GNATBIND"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4830 $as_echo "$ac_ct_GNATBIND" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4836 if test "x$ac_ct_GNATBIND" = x
; then
4839 case $cross_compiling:$ac_tool_warned in
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4843 ac_tool_warned
=yes ;;
4845 GNATBIND
=$ac_ct_GNATBIND
4848 GNATBIND
="$ac_cv_prog_GNATBIND"
4851 if test -n "$ac_tool_prefix"; then
4852 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4853 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$GNATMAKE"; then
4860 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 GNATMAKE
=$ac_cv_prog_GNATMAKE
4880 if test -n "$GNATMAKE"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4882 $as_echo "$GNATMAKE" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4890 if test -z "$ac_cv_prog_GNATMAKE"; then
4891 ac_ct_GNATMAKE
=$GNATMAKE
4892 # Extract the first word of "gnatmake", so it can be a program name with args.
4893 set dummy gnatmake
; ac_word
=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$ac_ct_GNATMAKE"; then
4900 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir
=.
4907 for ac_exec_ext
in '' $ac_executable_extensions; do
4908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4920 if test -n "$ac_ct_GNATMAKE"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4922 $as_echo "$ac_ct_GNATMAKE" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4928 if test "x$ac_ct_GNATMAKE" = x
; then
4931 case $cross_compiling:$ac_tool_warned in
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned
=yes ;;
4937 GNATMAKE
=$ac_ct_GNATMAKE
4940 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4944 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4945 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4946 $as_echo_n "(cached) " >&6
4948 cat >conftest.adb
<<EOF
4949 procedure conftest is begin null; end conftest;
4951 acx_cv_cc_gcc_supports_ada
=no
4952 # There is a bug in old released versions of GCC which causes the
4953 # driver to exit successfully when the appropriate language module
4954 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4955 # Therefore we must check for the error message as well as an
4956 # unsuccessful exit.
4957 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4958 # given a .adb file, but produce no object file. So we must check
4959 # if an object file was really produced to guard against this.
4960 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4961 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4962 acx_cv_cc_gcc_supports_ada
=yes
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4967 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4969 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4976 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4977 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4982 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4983 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4984 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4987 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4990 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4991 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4994 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5001 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5002 do_compare
="$gcc_cv_prog_cmp_skip"
5006 # Check whether --enable-bootstrap was given.
5007 if test "${enable_bootstrap+set}" = set; then :
5008 enableval
=$enable_bootstrap;
5010 enable_bootstrap
=default
5014 # Issue errors and warnings for invalid/strange bootstrap combinations.
5015 if test -r $srcdir/gcc
/configure
; then
5021 case "$have_compiler:$host:$target:$enable_bootstrap" in
5024 # Default behavior. Enable bootstrap if we have a compiler
5025 # and we are in a native configuration.
5026 yes:$build:$build:default
)
5027 enable_bootstrap
=yes ;;
5030 enable_bootstrap
=no
;;
5032 # We have a compiler and we are in a native configuration, bootstrap is ok
5033 yes:$build:$build:yes)
5036 # Other configurations, but we have a compiler. Assume the user knows
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5040 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5043 # No compiler: if they passed --enable-bootstrap explicitly, fail
5045 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5047 # Fail if wrong command line
5049 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5053 # See if we are building gcc with C++.
5054 # Check whether --enable-build-with-cxx was given.
5055 if test "${enable_build_with_cxx+set}" = set; then :
5056 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5058 ENABLE_BUILD_WITH_CXX
=no
5062 # Build stage1 with C and build stages 2 and 3 with C++.
5063 # Check whether --enable-build-poststage1-with-cxx was given.
5064 if test "${enable_build_poststage1_with_cxx+set}" = set; then :
5065 enableval
=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=$enableval
5067 ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=yes
5071 # Used for setting $lt_cv_objdir
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5073 $as_echo_n "checking for objdir... " >&6; }
5074 if test "${lt_cv_objdir+set}" = set; then :
5075 $as_echo_n "(cached) " >&6
5077 rm -f .libs
2>/dev
/null
5078 mkdir .libs
2>/dev
/null
5079 if test -d .libs
; then
5082 # MS-DOS does not allow filenames that begin with a dot.
5085 rmdir .libs
2>/dev
/null
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5088 $as_echo "$lt_cv_objdir" >&6; }
5089 objdir
=$lt_cv_objdir
5095 cat >>confdefs.h
<<_ACEOF
5096 #define LT_OBJDIR "$lt_cv_objdir/"
5101 # Check for GMP, MPFR and MPC
5102 gmplibs
="-lmpc -lmpfr -lgmp"
5106 # Specify a location for mpc
5107 # check for this first so it ends up on the link line before mpfr.
5109 # Check whether --with-mpc was given.
5110 if test "${with_mpc+set}" = set; then :
5115 # Check whether --with-mpc-include was given.
5116 if test "${with_mpc_include+set}" = set; then :
5117 withval
=$with_mpc_include;
5121 # Check whether --with-mpc-lib was given.
5122 if test "${with_mpc_lib+set}" = set; then :
5123 withval
=$with_mpc_lib;
5127 if test "x$with_mpc" != x
; then
5128 gmplibs
="-L$with_mpc/lib $gmplibs"
5129 gmpinc
="-I$with_mpc/include $gmpinc"
5131 if test "x$with_mpc_include" != x
; then
5132 gmpinc
="-I$with_mpc_include $gmpinc"
5134 if test "x$with_mpc_lib" != x
; then
5135 gmplibs
="-L$with_mpc_lib $gmplibs"
5137 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5138 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5139 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5140 # Do not test the mpc version. Assume that it is sufficient, since
5141 # it is in the source tree, and the library has not been built yet
5142 # but it would be included on the link line in the version check below
5143 # hence making the test fail.
5147 # Specify a location for mpfr
5148 # check for this first so it ends up on the link line before gmp.
5150 # Check whether --with-mpfr-dir was given.
5151 if test "${with_mpfr_dir+set}" = set; then :
5152 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5153 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5158 # Check whether --with-mpfr was given.
5159 if test "${with_mpfr+set}" = set; then :
5164 # Check whether --with-mpfr-include was given.
5165 if test "${with_mpfr_include+set}" = set; then :
5166 withval
=$with_mpfr_include;
5170 # Check whether --with-mpfr-lib was given.
5171 if test "${with_mpfr_lib+set}" = set; then :
5172 withval
=$with_mpfr_lib;
5176 if test "x$with_mpfr" != x
; then
5177 gmplibs
="-L$with_mpfr/lib $gmplibs"
5178 gmpinc
="-I$with_mpfr/include $gmpinc"
5180 if test "x$with_mpfr_include" != x
; then
5181 gmpinc
="-I$with_mpfr_include $gmpinc"
5183 if test "x$with_mpfr_lib" != x
; then
5184 gmplibs
="-L$with_mpfr_lib $gmplibs"
5186 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5187 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5188 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5189 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5190 # Do not test the mpfr version. Assume that it is sufficient, since
5191 # it is in the source tree, and the library has not been built yet
5192 # but it would be included on the link line in the version check below
5193 # hence making the test fail.
5197 # Specify a location for gmp
5199 # Check whether --with-gmp-dir was given.
5200 if test "${with_gmp_dir+set}" = set; then :
5201 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5202 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5207 # Check whether --with-gmp was given.
5208 if test "${with_gmp+set}" = set; then :
5213 # Check whether --with-gmp-include was given.
5214 if test "${with_gmp_include+set}" = set; then :
5215 withval
=$with_gmp_include;
5219 # Check whether --with-gmp-lib was given.
5220 if test "${with_gmp_lib+set}" = set; then :
5221 withval
=$with_gmp_lib;
5226 if test "x$with_gmp" != x
; then
5227 gmplibs
="-L$with_gmp/lib $gmplibs"
5228 gmpinc
="-I$with_gmp/include $gmpinc"
5230 if test "x$with_gmp_include" != x
; then
5231 gmpinc
="-I$with_gmp_include $gmpinc"
5233 if test "x$with_gmp_lib" != x
; then
5234 gmplibs
="-L$with_gmp_lib $gmplibs"
5236 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5237 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5238 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5239 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5240 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5241 # Do not test the gmp version. Assume that it is sufficient, since
5242 # it is in the source tree, and the library has not been built yet
5243 # but it would be included on the link line in the version check below
5244 # hence making the test fail.
5248 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5250 saved_CFLAGS
="$CFLAGS"
5251 CFLAGS
="$CFLAGS $gmpinc"
5252 # Check for the recommended and required versions of GMP.
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5254 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5263 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5264 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5265 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5273 if ac_fn_c_try_compile
"$LINENO"; then :
5274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5281 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5282 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5283 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5291 if ac_fn_c_try_compile
"$LINENO"; then :
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 $as_echo "yes" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5296 $as_echo "buggy but acceptable" >&6; }
5298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }; have_gmp
=no
5303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5305 # If we have GMP, check the MPFR version.
5306 if test x
"$have_gmp" = xyes
; then
5307 # Check for the recommended and required versions of MPFR.
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5309 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5318 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5326 if ac_fn_c_try_compile
"$LINENO"; then :
5327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5335 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5343 if ac_fn_c_try_compile
"$LINENO"; then :
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5345 $as_echo "yes" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5348 $as_echo "buggy but acceptable" >&6; }
5350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }; have_gmp
=no
5355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5358 # Check for the MPC header version.
5359 if test x
"$have_gmp" = xyes
; then
5360 # Check for the recommended and required versions of MPC.
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5362 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5370 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5378 if ac_fn_c_try_compile
"$LINENO"; then :
5379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5386 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5394 if ac_fn_c_try_compile
"$LINENO"; then :
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5396 $as_echo "yes" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5399 $as_echo "buggy but acceptable" >&6; }
5401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }; have_gmp
=no
5406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5409 # Now check the MPFR library.
5410 if test x
"$have_gmp" = xyes
; then
5412 LIBS
="$LIBS $gmplibs"
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5414 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5428 mpfr_atan2 (n, n, x, GMP_RNDN);
5429 mpfr_erfc (n, x, GMP_RNDN);
5430 mpfr_subnormalize (x, t, GMP_RNDN);
5434 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5435 mpc_cosh (c, c, MPC_RNDNN);
5436 mpc_pow (c, c, c, MPC_RNDNN);
5437 mpc_acosh (c, c, MPC_RNDNN);
5444 if ac_fn_c_try_link
"$LINENO"; then :
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }; have_gmp
=no
5451 rm -f core conftest.err conftest.
$ac_objext \
5452 conftest
$ac_exeext conftest.
$ac_ext
5456 CFLAGS
="$saved_CFLAGS"
5458 # The library versions listed in the error message below should match
5459 # the HARD-minimums enforced above.
5460 if test x
$have_gmp != xyes
; then
5461 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5462 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5463 their locations. Source code for these libraries can be found at
5464 their respective hosting sites as well as at
5465 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5466 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5467 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5468 make sure that you have installed both the libraries and the header
5469 files. They may be located in separate packages." "$LINENO" 5
5473 # Flags needed for both GMP, MPFR and/or MPC.
5480 # Allow host libstdc++ to be specified for static linking with PPL.
5482 # Check whether --with-host-libstdcxx was given.
5483 if test "${with_host_libstdcxx+set}" = set; then :
5484 withval
=$with_host_libstdcxx;
5488 case $with_host_libstdcxx in
5490 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5494 # Linker flags to use for stage1 or when not boostrapping.
5496 # Check whether --with-stage1-ldflags was given.
5497 if test "${with_stage1_ldflags+set}" = set; then :
5498 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5501 stage1_ldflags
=$withval
5509 # Libraries to use for stage1 or when not bootstrapping.
5511 # Check whether --with-stage1-libs was given.
5512 if test "${with_stage1_libs+set}" = set; then :
5513 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5516 stage1_libs
=$withval
5519 stage1_libs
=$with_host_libstdcxx
5524 # Libraries to use for stage2 and later builds. This defaults to the
5525 # argument passed to --with-host-libstdcxx.
5527 # Check whether --with-boot-libs was given.
5528 if test "${with_boot_libs+set}" = set; then :
5529 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5532 poststage1_libs
=$withval
5535 poststage1_libs
=$with_host_libstdcxx
5540 # Linker flags to use for stage2 and later builds.
5542 # Check whether --with-boot-ldflags was given.
5543 if test "${with_boot_ldflags+set}" = set; then :
5544 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5547 poststage1_ldflags
=$withval
5551 # In stages 2 and 3, default to linking libstdc++ and libgcc
5552 # statically. But if the user explicitly specified the libraries to
5553 # use, trust that they are doing what they want.
5554 if test "$poststage1_libs" = ""; then
5555 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5567 # Check whether --with-ppl was given.
5568 if test "${with_ppl+set}" = set; then :
5573 # Check whether --with-ppl-include was given.
5574 if test "${with_ppl_include+set}" = set; then :
5575 withval
=$with_ppl_include;
5579 # Check whether --with-ppl-lib was given.
5580 if test "${with_ppl_lib+set}" = set; then :
5581 withval
=$with_ppl_lib;
5585 # Check whether --enable-ppl-version-check was given.
5586 if test "${enable_ppl_version_check+set}" = set; then :
5587 enableval
=$enable_ppl_version_check;
5595 ppllibs
="-L$with_ppl/lib"
5596 pplinc
="-I$with_ppl/include $pplinc"
5597 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5600 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5605 if test x
"$with_ppl_include" != x
; then
5606 pplinc
="-I$with_ppl_include $pplinc"
5610 if test "x$with_ppl_lib" != x
; then
5611 ppllibs
="-L$with_ppl_lib"
5615 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5616 if test x
"$enable_watchdog" = xyes
; then
5619 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5620 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5621 enable_ppl_version_check
=no
5625 if test "x$with_ppl" != xno
; then
5626 if test "x$pwllib" = x
; then
5628 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5630 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5631 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5632 $as_echo_n "(cached) " >&6
5634 ac_check_lib_save_LIBS
=$LIBS
5636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5639 /* Override any GCC internal prototype to avoid an error.
5640 Use char because int might match the return type of a GCC
5641 builtin and then its argument prototype would still apply. */
5645 char PWL_handle_timeout ();
5649 return PWL_handle_timeout ();
5654 if ac_fn_c_try_link
"$LINENO"; then :
5655 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5657 ac_cv_lib_pwl_PWL_handle_timeout
=no
5659 rm -f core conftest.err conftest.
$ac_objext \
5660 conftest
$ac_exeext conftest.
$ac_ext
5661 LIBS
=$ac_check_lib_save_LIBS
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5664 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5665 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5672 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5674 if test "$enable_ppl_version_check" != no
; then
5675 saved_CFLAGS
="$CFLAGS"
5676 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5678 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5686 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5694 if ac_fn_c_try_compile
"$LINENO"; then :
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5696 $as_echo "yes" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5702 CFLAGS
="$saved_CFLAGS"
5706 # Flags needed for PPL
5715 # Check whether --with-cloog was given.
5716 if test "${with_cloog+set}" = set; then :
5717 withval
=$with_cloog;
5721 # Check whether --with-cloog-include was given.
5722 if test "${with_cloog_include+set}" = set; then :
5723 withval
=$with_cloog_include;
5727 # Check whether --with-cloog-lib was given.
5728 if test "${with_cloog_lib+set}" = set; then :
5729 withval
=$with_cloog_lib;
5733 # Check whether --enable-cloog-backend was given.
5734 if test "${enable_cloog_backend+set}" = set; then :
5735 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5737 elif test "x${enableval}" = "xppl"; then
5740 cloog_backend
=ppl-legacy
5743 cloog_backend
=ppl-legacy
5746 # Check whether --enable-cloog-version-check was given.
5747 if test "${enable_cloog_version_check+set}" = set; then :
5748 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5750 ENABLE_CLOOG_CHECK
=yes
5754 # Initialize clooglibs and clooginc.
5763 clooglibs
="-L$with_cloog/lib"
5764 clooginc
="-I$with_cloog/include"
5767 if test "x${with_cloog_include}" != x
; then
5768 clooginc
="-I$with_cloog_include"
5770 if test "x${with_cloog_lib}" != x
; then
5771 clooglibs
="-L$with_cloog_lib"
5778 if test "x$with_ppl" = "xno"; then
5782 if test "x${with_cloog}" = xno
; then
5783 graphite_requested
=no
5784 elif test "x${with_cloog}" != x \
5785 ||
test "x${with_cloog_include}" != x \
5786 ||
test "x${with_cloog_lib}" != x
; then
5787 graphite_requested
=yes
5789 graphite_requested
=no
5793 if test "${graphite_requested}" = yes; then
5794 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5798 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5799 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5800 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5801 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5803 if test "x$with_cloog" != "xno"; then
5807 _cloog_saved_CFLAGS
=$CFLAGS
5808 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5809 _cloog_saved_LDFLAGS
=$LDFLAGS
5810 _cloog_saved_LIBS
=$LIBS
5812 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5814 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5815 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5816 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5818 case $cloog_backend in
5820 CFLAGS
="${CFLAGS} ${pplinc}"
5821 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5823 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5824 if test "${gcc_cv_cloog_type+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5827 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5830 #include "cloog/cloog.h"
5834 #ifndef CLOOG_PPL_BACKEND
5841 if ac_fn_c_try_link
"$LINENO"; then :
5842 gcc_cv_cloog_type
="PPL Legacy"
5844 gcc_cv_cloog_type
=no
5846 rm -f core conftest.err conftest.
$ac_objext \
5847 conftest
$ac_exeext conftest.
$ac_ext
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5850 $as_echo "$gcc_cv_cloog_type" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5854 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5855 if test "${gcc_cv_cloog_type+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5858 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5861 #include "cloog/cloog.h"
5870 if ac_fn_c_try_link
"$LINENO"; then :
5871 gcc_cv_cloog_type
="ISL"
5873 gcc_cv_cloog_type
=no
5875 rm -f core conftest.err conftest.
$ac_objext \
5876 conftest
$ac_exeext conftest.
$ac_ext
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5879 $as_echo "$gcc_cv_cloog_type" >&6; }
5882 CFLAGS
="${CFLAGS} ${pplinc}"
5883 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5885 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5886 if test "${gcc_cv_cloog_type+set}" = set; then :
5887 $as_echo_n "(cached) " >&6
5889 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5892 #include "cloog/cloog.h"
5893 #include "cloog/ppl/cloog.h"
5902 if ac_fn_c_try_link
"$LINENO"; then :
5903 gcc_cv_cloog_type
="PPL"
5905 gcc_cv_cloog_type
=no
5907 rm -f core conftest.err conftest.
$ac_objext \
5908 conftest
$ac_exeext conftest.
$ac_ext
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5911 $as_echo "$gcc_cv_cloog_type" >&6; }
5914 gcc_cv_cloog_type
=""
5917 case $gcc_cv_cloog_type in
5919 clooginc
="${clooginc}"
5920 clooglibs
="${clooglibs} -lcloog"
5924 clooginc
="${clooginc} ${_cloogorginc}"
5925 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5929 clooginc
="${clooginc} ${_cloogorginc}"
5930 clooglibs
="${clooglibs} -lcloog-ppl"
5940 LIBS
=$_cloog_saved_LIBS
5941 CFLAGS
=$_cloog_saved_CFLAGS
5942 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5943 LDFLAGS
=$_cloog_saved_LDFLAGS
5949 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5950 _cloog_saved_CFLAGS
=$CFLAGS
5951 _cloog_saved_LDFLAGS
=$LDFLAGS
5953 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5954 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5956 if test "${cloog_org}" = yes ; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5958 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5959 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5960 $as_echo_n "(cached) " >&6
5962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5963 /* end confdefs.h. */
5964 #include "cloog/cloog.h"
5968 #if CLOOG_VERSION_MAJOR != 0 \
5969 || CLOOG_VERSION_MINOR != 16 \
5970 || CLOOG_VERSION_REVISION < 1
5977 if ac_fn_c_try_compile
"$LINENO"; then :
5978 gcc_cv_cloog_ct_0_14_0
=yes
5980 gcc_cv_cloog_ct_0_14_0
=no
5982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5985 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5986 elif test "${cloog_org}" = no
; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5988 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5989 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5990 $as_echo_n "(cached) " >&6
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include "cloog/cloog.h"
5998 #if CLOOG_VERSION_MAJOR != 0 \
5999 || CLOOG_VERSION_MINOR != 15 \
6000 || CLOOG_VERSION_REVISION < 5
6007 if ac_fn_c_try_compile
"$LINENO"; then :
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6010 #include "cloog/cloog.h"
6014 #if CLOOG_VERSION_MAJOR != 0 \
6015 || CLOOG_VERSION_MINOR != 15 \
6016 || CLOOG_VERSION_REVISION < 9
6023 if ac_fn_c_try_compile
"$LINENO"; then :
6024 gcc_cv_cloog_ct_0_15_5
=yes
6026 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 gcc_cv_cloog_ct_0_15_5
=no
6032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6035 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6038 CFLAGS
=$_cloog_saved_CFLAGS
6039 LDFLAGS
=$_cloog_saved_LDFLAGS
6048 if test "x${with_cloog}" = xno
; then
6049 graphite_requested
=no
6050 elif test "x${with_cloog}" != x \
6051 ||
test "x${with_cloog_include}" != x \
6052 ||
test "x${with_cloog_lib}" != x
; then
6053 graphite_requested
=yes
6055 graphite_requested
=no
6060 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6061 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6062 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6067 if test "${graphite_requested}" = yes \
6068 && test "x${clooglibs}" = x \
6069 && test "x${clooginc}" = x
; then
6071 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6077 # Check for LTO support.
6078 # Check whether --enable-lto was given.
6079 if test "${enable_lto+set}" = set; then :
6080 enableval
=$enable_lto; enable_lto
=$enableval
6082 enable_lto
=yes; default_enable_lto
=yes
6091 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6092 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6093 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6101 if test $target_elf = yes; then :
6102 # ELF platforms build the lto-plugin always.
6103 build_lto_plugin
=yes
6106 if test x
"$default_enable_lto" = x
"yes" ; then
6108 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6109 # On other non-ELF platforms, LTO has yet to be validated.
6113 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6114 # It would also be nice to check the binutils support, but we don't
6115 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6116 # warn during gcc/ subconfigure; unless you're bootstrapping with
6117 # -flto it won't be needed until after installation anyway.
6119 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6120 *) if test x
"$enable_lto" = x
"yes"; then
6121 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6126 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6127 # Build it unless LTO was explicitly disabled.
6129 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6137 # By default, C is the only stage 1 language.
6138 stage1_languages
=,c
,
6140 # Target libraries that we bootstrap.
6141 bootstrap_target_libs
=,target-libgcc
,
6143 # Figure out what language subdirectories are present.
6144 # Look if the user specified --enable-languages="..."; if not, use
6145 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6147 # NB: embedded tabs in this IF block -- do not untabify
6148 if test -d ${srcdir}/gcc
; then
6149 if test x
"${enable_languages+set}" != xset
; then
6150 if test x
"${LANGUAGES+set}" = xset
; then
6151 enable_languages
="${LANGUAGES}"
6152 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6154 enable_languages
=all
6157 if test x
"${enable_languages}" = x ||
6158 test x
"${enable_languages}" = xyes
;
6160 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6164 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6166 # 'f95' is the old name for the 'fortran' language. We issue a warning
6167 # and make the substitution.
6168 case ,${enable_languages}, in
6170 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6171 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6175 # If bootstrapping, then using --enable-build-with-cxx or
6176 # --enable-build-poststage1-with-cxx requires enabling C++.
6177 case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
6180 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6181 enable_languages
="${enable_languages},c++"
6183 as_fn_error
"bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
6188 # First scan to see if an enabled language requires some other language.
6189 # We assume that a given config-lang.in will list all the language
6190 # front ends it requires, even if some are required indirectly.
6191 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6192 case ${lang_frag} in
6194 # The odd quoting in the next line works around
6195 # an apparent bug in bash 1.12 on linux.
6196 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6198 # From the config-lang.in, get $language, $lang_requires, and
6199 # $lang_requires_boot_languages.
6202 lang_requires_boot_languages
=
6204 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6205 case ,${enable_languages}, in
6209 echo " \`$other' language required by \`$language'; enabling" 1>&2
6210 enable_languages
="${enable_languages},${other}"
6214 for other
in ${lang_requires_boot_languages} ; do
6215 if test "$other" != "c"; then
6216 case ,${enable_stage1_languages}, in
6220 case ,${enable_languages}, in
6222 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6223 enable_stage1_languages
="$enable_stage1_languages,${other}"
6234 new_enable_languages
=,c
,
6236 # If LTO is enabled, add the LTO front end.
6237 extra_host_libiberty_configure_flags
=
6238 if test "$enable_lto" = "yes" ; then
6239 case ,${enable_languages}, in
6241 *) enable_languages
="${enable_languages},lto" ;;
6243 if test "${build_lto_plugin}" = "yes" ; then
6244 configdirs
="$configdirs lto-plugin"
6245 extra_host_libiberty_configure_flags
=--enable-shared
6250 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6251 potential_languages
=,c
,
6253 enabled_target_libs
=
6254 disabled_target_libs
=
6256 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6257 case ${lang_frag} in
6259 # The odd quoting in the next line works around
6260 # an apparent bug in bash 1.12 on linux.
6261 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6263 # From the config-lang.in, get $language, $target_libs,
6264 # $lang_dirs, $boot_language, and $build_by_default
6270 build_by_default
=yes
6272 if test x
${language} = x
; then
6273 echo "${lang_frag} doesn't set \$language." 1>&2
6277 if test "$language" = "c++"; then
6278 if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
6279 ||
test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
6284 case ,${enable_languages}, in
6286 # Language was explicitly selected; include it.
6290 # 'all' was selected, select it if it is a default language
6291 add_this_lang
=${build_by_default}
6298 # Disable languages that need other directories if these aren't available.
6299 for i
in $subdir_requires; do
6300 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6301 case ,${enable_languages}, in
6303 # Specifically requested language; tell them.
6304 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6308 add_this_lang
=unsupported
6313 # Disable Ada if no preexisting GNAT is available.
6314 case ,${enable_languages},:${language}:${have_gnat} in
6315 *,${language},*:ada
:no
)
6316 # Specifically requested language; tell them.
6317 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6321 add_this_lang
=unsupported
6325 # Disable a language that is unsupported by the target.
6326 case " $unsupported_languages " in
6328 add_this_lang
=unsupported
6332 case $add_this_lang in
6334 # Remove language-dependent dirs.
6335 disabled_target_libs
="$disabled_target_libs $target_libs"
6336 noconfigdirs
="$noconfigdirs $lang_dirs"
6339 # Remove language-dependent dirs; still show language as supported.
6340 disabled_target_libs
="$disabled_target_libs $target_libs"
6341 noconfigdirs
="$noconfigdirs $lang_dirs"
6342 potential_languages
="${potential_languages}${language},"
6345 new_enable_languages
="${new_enable_languages}${language},"
6346 potential_languages
="${potential_languages}${language},"
6347 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6348 enabled_target_libs
="$enabled_target_libs $target_libs"
6349 case "${boot_language}:,$enable_stage1_languages," in
6350 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6351 # Add to (comma-separated) list of stage 1 languages.
6352 case ",$stage1_languages," in
6353 *,$language,* |
,yes, |
,all
,) ;;
6354 *) stage1_languages
="${stage1_languages}${language}," ;;
6356 # We need to bootstrap any supporting libraries.
6357 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6366 # Add target libraries which are only needed for disabled languages
6368 if test -n "$disabled_target_libs"; then
6369 for dir
in $disabled_target_libs; do
6370 case " $enabled_target_libs " in
6372 *) noconfigdirs
="$noconfigdirs $dir" ;;
6377 # Check whether --enable-stage1-languages was given.
6378 if test "${enable_stage1_languages+set}" = set; then :
6379 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6381 # Set it to something that will have no effect in the loop below
6382 enable_stage1_languages
=c
;;
6384 enable_stage1_languages
=`echo $new_enable_languages | \
6385 sed -e "s/^,//" -e "s/,$//" ` ;;
6387 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6388 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6391 # Add "good" languages from enable_stage1_languages to stage1_languages,
6392 # while "bad" languages go in missing_languages. Leave no duplicates.
6393 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6394 case $potential_languages in
6396 case $stage1_languages in
6398 *) stage1_languages
="$stage1_languages$i," ;;
6401 case $missing_languages in
6403 *) missing_languages
="$missing_languages$i," ;;
6410 # Remove leading/trailing commas that were added for simplicity
6411 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6412 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6413 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6414 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6416 if test "x$missing_languages" != x
; then
6418 The following requested languages could not be built: ${missing_languages}
6419 Supported languages are: ${potential_languages}" "$LINENO" 5
6421 if test "x$new_enable_languages" != "x$enable_languages"; then
6422 echo The following languages will be built
: ${new_enable_languages}
6423 enable_languages
="$new_enable_languages"
6427 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6430 # Handle --disable-<component> generically.
6431 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6432 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6433 varname
=`echo $dirname | sed -e s/+/_/g`
6434 if eval test x\
${enable_${varname}} "=" xno
; then
6435 noconfigdirs
="$noconfigdirs $dir"
6439 # Check for Boehm's garbage collector
6440 # Check whether --enable-objc-gc was given.
6441 if test "${enable_objc_gc+set}" = set; then :
6442 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6443 *,objc
,*:*:yes:*target-boehm-gc
*)
6444 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6450 # Make sure we only build Boehm's garbage collector if required.
6451 case ,${enable_languages},:${enable_objc_gc} in
6453 # Keep target-boehm-gc if requested for Objective-C.
6456 # Otherwise remove target-boehm-gc depending on target-libjava.
6457 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6458 noconfigdirs
="$noconfigdirs target-boehm-gc"
6463 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6464 # $build_configdirs and $target_configdirs.
6465 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6468 for dir
in .
$skipdirs $noconfigdirs ; do
6469 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6470 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6471 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6472 if test -r $srcdir/$dirname/configure
; then
6473 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6476 notsupp
="$notsupp $dir"
6480 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6481 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6482 if test -r $srcdir/$dirname/configure
; then
6483 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6486 notsupp
="$notsupp $dir"
6490 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6491 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6492 if test -r $srcdir/$dirname/configure
; then
6493 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6496 notsupp
="$notsupp $dir"
6502 # Quietly strip out all directories which aren't configurable in this tree.
6503 # This relies on all configurable subdirectories being autoconfiscated, which
6505 build_configdirs_all
="$build_configdirs"
6507 for i
in ${build_configdirs_all} ; do
6508 j
=`echo $i | sed -e s/build-//g`
6509 if test -f ${srcdir}/$j/configure
; then
6510 build_configdirs
="${build_configdirs} $i"
6514 configdirs_all
="$configdirs"
6516 for i
in ${configdirs_all} ; do
6517 if test -f ${srcdir}/$i/configure
; then
6518 configdirs
="${configdirs} $i"
6522 target_configdirs_all
="$target_configdirs"
6524 for i
in ${target_configdirs_all} ; do
6525 j
=`echo $i | sed -e s/target-//g`
6526 if test -f ${srcdir}/$j/configure
; then
6527 target_configdirs
="${target_configdirs} $i"
6531 # Produce a warning message for the subdirs we can't configure.
6532 # This isn't especially interesting in the Cygnus tree, but in the individual
6533 # FSF releases, it's important to let people know when their machine isn't
6534 # supported by the one or two programs in a package.
6536 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6537 # If $appdirs is non-empty, at least one of those directories must still
6538 # be configured, or we error out. (E.g., if the gas release supports a
6539 # specified target in some subdirs but not the gas subdir, we shouldn't
6540 # pretend that all is well.)
6541 if test -n "$appdirs" ; then
6542 for dir
in $appdirs ; do
6543 if test -r $dir/Makefile.
in ; then
6544 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6548 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6554 if test -n "$appdirs" ; then
6555 echo "*** This configuration is not supported by this package." 1>&2
6559 # Okay, some application will build, or we don't care to check. Still
6560 # notify of subdirs not getting built.
6561 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6562 echo " ${notsupp}" 1>&2
6563 echo " (Any other directories should still work fine.)" 1>&2
6571 # To find our prefix, in gcc_cv_tool_prefix.
6573 # The user is always right.
6574 if test "${PATH_SEPARATOR+set}" != set; then
6575 echo "#! /bin/sh" >conf$$.sh
6576 echo "exit 0" >>conf$$.sh
6578 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6588 if test "x$exec_prefix" = xNONE
; then
6589 if test "x$prefix" = xNONE
; then
6590 gcc_cv_tool_prefix
=$ac_default_prefix
6592 gcc_cv_tool_prefix
=$prefix
6595 gcc_cv_tool_prefix
=$exec_prefix
6598 # If there is no compiler in the tree, use the PATH only. In any
6599 # case, if there is no compiler in the tree nobody should use
6600 # AS_FOR_TARGET and LD_FOR_TARGET.
6601 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6602 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6603 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6604 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6605 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6606 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6607 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6608 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6613 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6614 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6622 # Check whether --with-build-sysroot was given.
6623 if test "${with_build_sysroot+set}" = set; then :
6624 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6625 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6628 SYSROOT_CFLAGS_FOR_TARGET
=
6634 # Check whether --with-debug-prefix-map was given.
6635 if test "${with_debug_prefix_map+set}" = set; then :
6636 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6637 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6638 for debug_map
in $withval; do
6639 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6648 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6649 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6650 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6651 # We want to ensure that TARGET libraries (which we know are built with
6652 # gcc) are built with "-O2 -g", so include those options when setting
6653 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6654 if test "x$CFLAGS_FOR_TARGET" = x
; then
6655 CFLAGS_FOR_TARGET
=$CFLAGS
6658 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6661 *" -g "* |
*" -g3 "*) ;;
6662 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6667 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6668 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6669 case " $CXXFLAGS " in
6671 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6673 case " $CXXFLAGS " in
6674 *" -g "* |
*" -g3 "*) ;;
6675 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6682 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6683 # the named directory are copied to $(tooldir)/sys-include.
6684 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6685 if test x
${is_cross_compiler} = xno
; then
6686 echo 1>&2 '***' --with-headers is only supported when cross compiling
6689 if test x
"${with_headers}" != xyes
; then
6690 x
=${gcc_cv_tool_prefix}
6691 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6695 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6696 # the name directories are copied to $(tooldir)/lib. Multiple directories
6698 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6699 if test x
${is_cross_compiler} = xno
; then
6700 echo 1>&2 '***' --with-libs is only supported when cross compiling
6703 if test x
"${with_libs}" != xyes
; then
6704 # Copy the libraries in reverse order, so that files in the first named
6705 # library override files in subsequent libraries.
6706 x
=${gcc_cv_tool_prefix}
6707 for l
in ${with_libs}; do
6708 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6713 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6715 # This is done by determining whether or not the appropriate directory
6716 # is available, and by checking whether or not specific configurations
6717 # have requested that this magic not happen.
6719 # The command line options always override the explicit settings in
6720 # configure.in, and the settings in configure.in override this magic.
6722 # If the default for a toolchain is to use GNU as and ld, and you don't
6723 # want to do that, then you should use the --without-gnu-as and
6724 # --without-gnu-ld options for the configure script. Similarly, if
6725 # the default is to use the included zlib and you don't want to do that,
6726 # you should use the --with-system-zlib option for the configure script.
6728 if test x
${use_gnu_as} = x
&&
6729 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6731 extra_host_args
="$extra_host_args --with-gnu-as"
6734 if test x
${use_gnu_ld} = x
&&
6735 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6737 extra_host_args
="$extra_host_args --with-gnu-ld"
6740 if test x
${use_included_zlib} = x
&&
6741 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6744 with_system_zlib
=yes
6745 extra_host_args
="$extra_host_args --with-system-zlib"
6748 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6749 # can detect this case.
6751 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6753 extra_host_args
="$extra_host_args --with-newlib"
6756 # Handle ${copy_dirs}
6757 set fnord
${copy_dirs}
6759 while test $# != 0 ; do
6760 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6763 echo Copying
$1 to
$2
6765 # Use the install script to create the directory and all required
6766 # parent directories.
6767 if test -d $2 ; then
6771 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6774 # Copy the directory, assuming we have tar.
6775 # FIXME: Should we use B in the second tar? Not all systems support it.
6776 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6778 # It is the responsibility of the user to correctly adjust all
6779 # symlinks. If somebody can figure out how to handle them correctly
6780 # here, feel free to add the code.
6787 # Determine a target-dependent exec_prefix that the installed
6788 # gcc will search in. Keep this list sorted by triplet, with
6789 # the *-*-osname triplets last.
6792 i
[34567]86-pc-msdosdjgpp*)
6793 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6798 md_exec_prefix
=/usr
/ccs
/bin
6802 extra_arflags_for_target
=
6803 extra_nmflags_for_target
=
6804 extra_ranlibflags_for_target
=
6805 target_makefile_frag
=/dev
/null
6808 target_makefile_frag
="config/mt-spu"
6811 target_makefile_frag
="config/mt-sde"
6813 mipsisa
*-*-elfoabi*)
6814 target_makefile_frag
="config/mt-mips-elfoabi"
6816 mips
*-*-*linux
* | mips
*-*-gnu*)
6817 target_makefile_frag
="config/mt-mips-gnu"
6819 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6820 target_makefile_frag
="config/mt-gnu"
6822 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6823 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6824 # commands to handle both 32-bit and 64-bit objects. These flags are
6825 # harmless if we're using GNU nm or ar.
6826 extra_arflags_for_target
=" -X32_64"
6827 extra_nmflags_for_target
=" -B -X32_64"
6830 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6831 extra_ranlibflags_for_target
=" -c"
6835 alphaieee_frag
=/dev
/null
6838 # This just makes sure to use the -mieee option to build target libs.
6839 # This should probably be set individually by each library.
6840 alphaieee_frag
="config/mt-alphaieee"
6844 # If --enable-target-optspace always use -Os instead of -O2 to build
6845 # the target libraries, similarly if it is not specified, use -Os
6846 # on selected platforms.
6847 ospace_frag
=/dev
/null
6848 case "${enable_target_optspace}:${target}" in
6850 ospace_frag
="config/mt-ospace"
6853 ospace_frag
="config/mt-d30v"
6855 :m32r-
* |
:d10v-
* |
:fr30-
*)
6856 ospace_frag
="config/mt-ospace"
6861 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6865 # Default to using --with-stabs for certain targets.
6866 if test x
${with_stabs} = x
; then
6870 mips
*-*-* | alpha
*-*-osf*)
6872 extra_host_args
="${extra_host_args} --with-stabs"
6877 # Some systems (e.g., one of the i386-aix systems the gas testers are
6878 # using) don't handle "\$" correctly, so don't use it here.
6879 tooldir
='${exec_prefix}'/${target_noncanonical}
6880 build_tooldir
=${tooldir}
6882 # Create a .gdbinit file which runs the one in srcdir
6883 # and tells GDB to look there for source files.
6885 if test -r ${srcdir}/.gdbinit
; then
6888 *) cat > .
/.gdbinit
<<EOF
6892 source ${srcdir}/.gdbinit
6898 # Make sure that the compiler is able to generate an executable. If it
6899 # can't, we are probably in trouble. We don't care whether we can run the
6900 # executable--we might be using a cross compiler--we only care whether it
6901 # can be created. At this point the main configure script has set CC.
6903 echo "int main () { return 0; }" > conftest.c
6904 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6905 if test $?
= 0 ; then
6906 if test -s conftest ||
test -s conftest.exe
; then
6912 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6913 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6920 # Decide which environment variable is used to find dynamic libraries.
6922 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6923 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6924 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6925 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6928 # On systems where the dynamic library environment variable is PATH,
6929 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6930 # built executables to PATH.
6931 if test "$RPATH_ENVVAR" = PATH
; then
6932 GCC_SHLIB_SUBDIR
=/shlib
6937 # Record target_configdirs and the configure arguments for target and
6938 # build configuration in Makefile.
6939 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6940 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6942 # If we are building libgomp, bootstrap it.
6943 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6944 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6947 # Determine whether gdb needs tk/tcl or not.
6948 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6949 # and in that case we want gdb to be built without tk. Ugh!
6950 # In fact I believe gdb is the *only* package directly dependent on tk,
6951 # so we should be able to put the 'maybe's in unconditionally and
6952 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6953 # 100% sure that that's safe though.
6955 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6956 case "$enable_gdbtk" in
6960 GDB_TK
="${gdb_tk}" ;;
6962 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6963 # distro. Eventually someone will fix this and move Insight, nee
6964 # gdbtk to a separate directory.
6965 if test -d ${srcdir}/gdb
/gdbtk
; then
6972 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6973 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6975 # Strip out unwanted targets.
6977 # While at that, we remove Makefiles if we were started for recursive
6978 # configuration, so that the top-level Makefile reconfigures them,
6979 # like we used to do when configure itself was recursive.
6981 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6982 # but now we're fixing up the Makefile ourselves with the additional
6983 # commands passed to AC_CONFIG_FILES. Use separate variables
6984 # extrasub-{build,host,target} not because there is any reason to split
6985 # the substitutions up that way, but only to remain below the limit of
6986 # 99 commands in a script, for HP-UX sed.
6987 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6989 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6990 yes:yes:*\ gold\
*:*,c
++,*) ;;
6991 yes:yes:*\ gold\
*:*)
6992 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6996 # Adjust the toplevel makefile according to whether bootstrap was selected.
6997 case $enable_bootstrap in
6999 bootstrap_suffix
=bootstrap
7000 BUILD_CONFIG
=bootstrap-debug
7003 bootstrap_suffix
=no-bootstrap
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7009 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7012 # Check whether --with-build-config was given.
7013 if test "${with_build_config+set}" = set; then :
7014 withval
=$with_build_config; case $with_build_config in
7015 yes) with_build_config
= ;;
7016 no
) with_build_config
= BUILD_CONFIG
= ;;
7021 if test "x${with_build_config}" != x
; then
7022 BUILD_CONFIG
=$with_build_config
7024 case $BUILD_CONFIG in
7026 if echo "int f (void) { return 0; }" > conftest.c
&&
7027 ${CC} -c conftest.c
&&
7028 mv conftest.o conftest.o.g0
&&
7029 ${CC} -c -g conftest.c
&&
7030 mv conftest.o conftest.o.g
&&
7031 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7036 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7041 $as_echo "$BUILD_CONFIG" >&6; }
7045 for module
in ${build_configdirs} ; do
7046 if test -z "${no_recursion}" \
7047 && test -f ${build_subdir}/${module}/Makefile
; then
7048 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7049 rm -f ${build_subdir}/${module}/Makefile
7051 extrasub_build
="$extrasub_build
7052 /^@if build-$module\$/d
7053 /^@endif build-$module\$/d
7054 /^@if build-$module-$bootstrap_suffix\$/d
7055 /^@endif build-$module-$bootstrap_suffix\$/d"
7058 for module
in ${configdirs} ; do
7059 if test -z "${no_recursion}"; then
7060 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7061 if test -f ${file}; then
7062 echo 1>&2 "*** removing ${file} to force reconfigure"
7067 extrasub_host
="$extrasub_host
7069 /^@endif $module\$/d
7070 /^@if $module-$bootstrap_suffix\$/d
7071 /^@endif $module-$bootstrap_suffix\$/d"
7074 for module
in ${target_configdirs} ; do
7075 if test -z "${no_recursion}" \
7076 && test -f ${target_subdir}/${module}/Makefile
; then
7077 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7078 rm -f ${target_subdir}/${module}/Makefile
7081 # We only bootstrap target libraries listed in bootstrap_target_libs.
7082 case $bootstrap_target_libs in
7083 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7084 *) target_bootstrap_suffix
=no-bootstrap
;;
7087 extrasub_target
="$extrasub_target
7088 /^@if target-$module\$/d
7089 /^@endif target-$module\$/d
7090 /^@if target-$module-$target_bootstrap_suffix\$/d
7091 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7094 # Do the final fixup along with target modules.
7095 extrasub_target
="$extrasub_target
7096 /^@if /,/^@endif /d"
7098 # Create the serialization dependencies. This uses a temporary file.
7100 # Check whether --enable-serial-configure was given.
7101 if test "${enable_serial_configure+set}" = set; then :
7102 enableval
=$enable_serial_configure;
7106 case ${enable_serial_configure} in
7108 enable_serial_build_configure
=yes
7109 enable_serial_host_configure
=yes
7110 enable_serial_target_configure
=yes
7114 # These force 'configure's to be done one at a time, to avoid problems
7115 # with contention over a shared config.cache.
7117 echo '# serdep.tmp' > serdep.tmp
7119 test "x${enable_serial_build_configure}" = xyes
&&
7120 for item
in ${build_configdirs} ; do
7123 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7128 test "x${enable_serial_host_configure}" = xyes
&&
7129 for item
in ${configdirs} ; do
7132 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7137 test "x${enable_serial_target_configure}" = xyes
&&
7138 for item
in ${target_configdirs} ; do
7141 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7145 serialization_dependencies
=serdep.tmp
7148 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7149 # target, nonopt, and variable assignments. These are the ones we
7150 # might not want to pass down to subconfigures. The exception being
7151 # --cache-file=/dev/null, which is used to turn off the use of cache
7152 # files altogether, and which should be passed on to subconfigures.
7153 # Also strip program-prefix, program-suffix, and program-transform-name,
7154 # so that we can pass down a consistent program-transform-name.
7159 eval "set -- $ac_configure_args"
7162 if test X
"$skip_next" = X
"yes"; then
7166 if test X
"$keep_next" = X
"yes"; then
7169 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7171 baseargs
="$baseargs '$ac_arg'"
7172 tbaseargs
="$tbaseargs '$ac_arg'"
7177 # Handle separated arguments. Based on the logic generated by
7180 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7181 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7182 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7183 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7197 --with-* |
--without-*)
7198 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7202 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7205 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7214 mpc | mpfr | gmp | ppl | cloog
)
7215 # If we're processing --with-$lib, --with-$lib-include or
7216 # --with-$lib-lib, for one of the libs above, and target is
7217 # different from host, don't pass the current argument to any
7218 # target library's configure.
7219 if test x
$is_cross_compiler = xyes
; then
7228 --cache-file=/dev
/null | \
7229 -cache-file=/dev
/null
)
7230 # Handled here to avoid the test to skip args below.
7231 baseargs
="$baseargs '$ac_arg'"
7232 tbaseargs
="$tbaseargs '$ac_arg'"
7233 # Assert: $separate_arg should always be no.
7234 keep_next
=$separate_arg
7250 -program-prefix* | \
7251 -program-suffix* | \
7252 -program-transform-name* )
7253 skip_next
=$separate_arg
7257 # An option. Add it.
7260 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7262 baseargs
="$baseargs '$ac_arg'"
7263 if test X
"$skip_targ" = Xno
; then
7264 tbaseargs
="$tbaseargs '$ac_arg'"
7266 keep_next
=$separate_arg
7269 # Either a variable assignment, or a nonopt (triplet). Don't
7270 # pass it down; let the Makefile handle this.
7275 # Remove the initial space we just introduced and, as these will be
7276 # expanded by make, quote '$'.
7277 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7279 # Add in --program-transform-name, after --program-prefix and
7280 # --program-suffix have been applied to it. Autoconf has already
7281 # doubled dollar signs and backslashes in program_transform_name; we want
7282 # the backslashes un-doubled, and then the entire thing wrapped in single
7283 # quotes, because this will be expanded first by make and then by the shell.
7284 # Also, because we want to override the logic in subdir configure scripts to
7285 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7286 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7287 ${program_transform_name}
7289 gcc_transform_name
=`cat conftestsed.out`
7290 rm -f conftestsed.out
7291 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7292 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7293 if test "$silent" = yes; then
7294 baseargs
="$baseargs --silent"
7295 tbaseargs
="$tbaseargs --silent"
7297 baseargs
="$baseargs --disable-option-checking"
7298 tbaseargs
="$tbaseargs --disable-option-checking"
7300 # Record and document user additions to sub configure arguments.
7305 # For the build-side libraries, we just need to pretend we're native,
7306 # and not use the same cache file. Multilibs are neither needed nor
7308 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7310 # For host modules, accept cache file option, or specification as blank.
7311 case "${cache_file}" in
7313 cache_file_option
="" ;;
7314 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7315 cache_file_option
="--cache-file=${cache_file}" ;;
7317 cache_file_option
="--cache-file=../${cache_file}" ;;
7320 # Host dirs don't like to share a cache file either, horribly enough.
7321 # This seems to be due to autoconf 2.5x stupidity.
7322 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7324 target_configargs
="$target_configargs ${tbaseargs}"
7326 # Passing a --with-cross-host argument lets the target libraries know
7327 # whether they are being built with a cross-compiler or being built
7328 # native. However, it would be better to use other mechanisms to make the
7329 # sorts of decisions they want to make on this basis. Please consider
7330 # this option to be deprecated. FIXME.
7331 if test x
${is_cross_compiler} = xyes
; then
7332 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7335 # Default to --enable-multilib.
7336 if test x
${enable_multilib} = x
; then
7337 target_configargs
="--enable-multilib ${target_configargs}"
7340 # Pass --with-newlib if appropriate. Note that target_configdirs has
7341 # changed from the earlier setting of with_newlib.
7342 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7343 target_configargs
="--with-newlib ${target_configargs}"
7346 # Different target subdirs use different values of certain variables
7347 # (notably CXX). Worse, multilibs use *lots* of different values.
7348 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7349 # it doesn't automatically accept command-line overrides of them.
7350 # This means it's not safe for target subdirs to share a cache file,
7351 # which is disgusting, but there you have it. Hopefully this can be
7352 # fixed in future. It's still worthwhile to use a cache file for each
7353 # directory. I think.
7355 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7356 # We need to pass --target, as newer autoconf's requires consistency
7357 # for target_alias and gcc doesn't manage it consistently.
7358 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7361 case " $target_configdirs " in
7363 case " $target_configargs " in
7364 *" --with-newlib "*)
7367 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'
7371 # If we're not building GCC, don't discard standard headers.
7372 if test -d ${srcdir}/gcc
; then
7373 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7375 if test "${build}" != "${host}"; then
7376 # On Canadian crosses, CC_FOR_TARGET will have already been set
7377 # by `configure', so we won't have an opportunity to add -Bgcc/
7378 # to it. This is right: we don't want to search that directory
7379 # for binaries, but we want the header files in there, so add
7381 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7383 # Someone might think of using the pre-installed headers on
7384 # Canadian crosses, in case the installed compiler is not fully
7385 # compatible with the compiler being built. In this case, it
7386 # would be better to flag an error than risking having
7387 # incompatible object files being constructed. We can't
7388 # guarantee that an error will be flagged, but let's hope the
7389 # compiler will do it, when presented with incompatible header
7394 case "${target}-${is_cross_compiler}" in
7395 i
[3456789]86-*-linux*-no)
7396 # Here host == target, so we don't need to build gcc,
7397 # so we don't want to discard standard headers.
7398 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7401 # If we're building newlib, use its generic headers last, but search
7402 # for any libc-related directories first (so make it the last -B
7404 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7406 # If we're building libgloss, find the startup file, simulator library
7407 # and linker script.
7408 case " $target_configdirs " in
7410 # Look for startup file, simulator library and maybe linker script.
7411 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7412 # Look for libnosys.a in case the target needs it.
7413 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7414 # Most targets have the linker script in the source directory.
7415 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7426 x86_64-
*mingw
* |
*-w64-mingw*)
7427 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7428 # however, use a symlink named 'mingw' in ${prefix} .
7429 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7432 # MinGW can't be handled as Cygwin above since it does not use newlib.
7433 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'
7437 # Allow the user to override the flags for
7438 # our build compiler if desired.
7439 if test x
"${build}" = x
"${host}" ; then
7440 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7441 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7442 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7445 # On Canadian crosses, we'll be searching the right directories for
7446 # the previously-installed cross compiler, so don't bother to add
7447 # flags for directories within the install tree of the compiler
7448 # being built; programs in there won't even run.
7449 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7450 # Search for pre-installed headers if nothing else fits.
7451 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7454 if test "x
${use_gnu_ld}" = x &&
7455 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7456 # Arrange for us to find uninstalled linker scripts.
7457 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7460 # Search for other target-specific linker scripts and such.
7463 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7467 # Makefile fragments.
7468 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7470 eval fragval=\$$frag
7471 if test $fragval != /dev/null; then
7472 eval $frag=${srcdir}/$fragval
7480 # Miscellanea: directories, flags, etc.
7489 # Build module lists & subconfigure args.
7493 # Host module lists & subconfigure args.
7498 # Target module lists & subconfigure args.
7520 # Generate default definitions for YACC, M4, LEX and other programs that run
7521 # on the build machine. These are used if the Makefile can't locate these
7522 # programs in objdir.
7523 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7525 for ac_prog in 'bison -y' byacc yacc
7527 # Extract the first word of "$ac_prog", so it can be a program name with args.
7528 set dummy $ac_prog; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7530 $as_echo_n "checking
for $ac_word...
" >&6; }
7531 if test "${ac_cv_prog_YACC+set}" = set; then :
7532 $as_echo_n "(cached
) " >&6
7534 if test -n "$YACC"; then
7535 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7544 ac_cv_prog_YACC="$ac_prog"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7554 YACC=$ac_cv_prog_YACC
7555 if test -n "$YACC"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7557 $as_echo "$YACC" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7560 $as_echo "no
" >&6; }
7564 test -n "$YACC" && break
7566 test -n "$YACC" || YACC="$MISSING bison
-y"
7568 case " $build_configdirs " in
7569 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7572 for ac_prog in bison
7574 # Extract the first word of "$ac_prog", so it can be a program name with args.
7575 set dummy $ac_prog; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7577 $as_echo_n "checking
for $ac_word...
" >&6; }
7578 if test "${ac_cv_prog_BISON+set}" = set; then :
7579 $as_echo_n "(cached
) " >&6
7581 if test -n "$BISON"; then
7582 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7591 ac_cv_prog_BISON="$ac_prog"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7601 BISON=$ac_cv_prog_BISON
7602 if test -n "$BISON"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7604 $as_echo "$BISON" >&6; }
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7607 $as_echo "no
" >&6; }
7611 test -n "$BISON" && break
7613 test -n "$BISON" || BISON="$MISSING bison
"
7615 case " $build_configdirs " in
7616 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7619 for ac_prog in gm4 gnum4 m4
7621 # Extract the first word of "$ac_prog", so it can be a program name with args.
7622 set dummy $ac_prog; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7624 $as_echo_n "checking
for $ac_word...
" >&6; }
7625 if test "${ac_cv_prog_M4+set}" = set; then :
7626 $as_echo_n "(cached
) " >&6
7628 if test -n "$M4"; then
7629 ac_cv_prog_M4="$M4" # Let the user override the test.
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_M4="$ac_prog"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7649 if test -n "$M4"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7651 $as_echo "$M4" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7654 $as_echo "no
" >&6; }
7658 test -n "$M4" && break
7660 test -n "$M4" || M4="$MISSING m4"
7662 case " $build_configdirs " in
7663 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7666 for ac_prog in flex lex
7668 # Extract the first word of "$ac_prog", so it can be a program name with args.
7669 set dummy $ac_prog; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7671 $as_echo_n "checking
for $ac_word...
" >&6; }
7672 if test "${ac_cv_prog_LEX+set}" = set; then :
7673 $as_echo_n "(cached
) " >&6
7675 if test -n "$LEX"; then
7676 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7685 ac_cv_prog_LEX="$ac_prog"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 if test -n "$LEX"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7698 $as_echo "$LEX" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7701 $as_echo "no
" >&6; }
7705 test -n "$LEX" && break
7707 test -n "$LEX" || LEX="$MISSING flex
"
7709 case " $build_configdirs " in
7710 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7711 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7716 # Extract the first word of "$ac_prog", so it can be a program name with args.
7717 set dummy $ac_prog; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if test "${ac_cv_prog_FLEX+set}" = set; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$FLEX"; then
7724 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733 ac_cv_prog_FLEX="$ac_prog"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 FLEX=$ac_cv_prog_FLEX
7744 if test -n "$FLEX"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7746 $as_echo "$FLEX" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7753 test -n "$FLEX" && break
7755 test -n "$FLEX" || FLEX="$MISSING flex
"
7757 case " $build_configdirs " in
7758 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7761 for ac_prog in makeinfo
7763 # Extract the first word of "$ac_prog", so it can be a program name with args.
7764 set dummy $ac_prog; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7766 $as_echo_n "checking
for $ac_word...
" >&6; }
7767 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7768 $as_echo_n "(cached
) " >&6
7770 if test -n "$MAKEINFO"; then
7771 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7780 ac_cv_prog_MAKEINFO="$ac_prog"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 MAKEINFO=$ac_cv_prog_MAKEINFO
7791 if test -n "$MAKEINFO"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7793 $as_echo "$MAKEINFO" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7796 $as_echo "no
" >&6; }
7800 test -n "$MAKEINFO" && break
7802 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7804 case " $build_configdirs " in
7805 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7808 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7809 # higher, else we use the "missing
" dummy.
7810 if ${MAKEINFO} --version \
7811 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7814 MAKEINFO="$MISSING makeinfo
"
7820 # FIXME: expect and dejagnu may become build tools?
7822 for ac_prog in expect
7824 # Extract the first word of "$ac_prog", so it can be a program name with args.
7825 set dummy $ac_prog; ac_word=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7827 $as_echo_n "checking
for $ac_word...
" >&6; }
7828 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7829 $as_echo_n "(cached
) " >&6
7831 if test -n "$EXPECT"; then
7832 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838 test -z "$as_dir" && as_dir=.
7839 for ac_exec_ext in '' $ac_executable_extensions; do
7840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7841 ac_cv_prog_EXPECT="$ac_prog"
7842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7851 EXPECT=$ac_cv_prog_EXPECT
7852 if test -n "$EXPECT"; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7854 $as_echo "$EXPECT" >&6; }
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7857 $as_echo "no
" >&6; }
7861 test -n "$EXPECT" && break
7863 test -n "$EXPECT" || EXPECT="expect
"
7865 case " $configdirs " in
7867 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7871 for ac_prog in runtest
7873 # Extract the first word of "$ac_prog", so it can be a program name with args.
7874 set dummy $ac_prog; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7876 $as_echo_n "checking
for $ac_word...
" >&6; }
7877 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7878 $as_echo_n "(cached
) " >&6
7880 if test -n "$RUNTEST"; then
7881 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7890 ac_cv_prog_RUNTEST="$ac_prog"
7891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7900 RUNTEST=$ac_cv_prog_RUNTEST
7901 if test -n "$RUNTEST"; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7903 $as_echo "$RUNTEST" >&6; }
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7906 $as_echo "no
" >&6; }
7910 test -n "$RUNTEST" && break
7912 test -n "$RUNTEST" || RUNTEST="runtest
"
7914 case " $configdirs " in
7916 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7923 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7924 ncn_target_tool_prefix=
7925 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7929 if test -n "$AR"; then
7931 elif test -n "$ac_cv_prog_AR"; then
7935 if test -n "$ac_cv_prog_AR"; then
7936 for ncn_progname in ar; do
7937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7938 set dummy ${ncn_progname}; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7940 $as_echo_n "checking
for $ac_word...
" >&6; }
7941 if test "${ac_cv_prog_AR+set}" = set; then :
7942 $as_echo_n "(cached
) " >&6
7944 if test -n "$AR"; then
7945 ac_cv_prog_AR="$AR" # Let the user override the test.
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7954 ac_cv_prog_AR="${ncn_progname}"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7965 if test -n "$AR"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7967 $as_echo "$AR" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7970 $as_echo "no
" >&6; }
7977 for ncn_progname in ar; do
7978 if test -n "$ncn_tool_prefix"; then
7979 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7980 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7982 $as_echo_n "checking
for $ac_word...
" >&6; }
7983 if test "${ac_cv_prog_AR+set}" = set; then :
7984 $as_echo_n "(cached
) " >&6
7986 if test -n "$AR"; then
7987 ac_cv_prog_AR="$AR" # Let the user override the test.
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7996 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 if test -n "$AR"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8009 $as_echo "$AR" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8012 $as_echo "no
" >&6; }
8017 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8018 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8019 set dummy ${ncn_progname}; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8021 $as_echo_n "checking
for $ac_word...
" >&6; }
8022 if test "${ac_cv_prog_AR+set}" = set; then :
8023 $as_echo_n "(cached
) " >&6
8025 if test -n "$AR"; then
8026 ac_cv_prog_AR="$AR" # Let the user override the test.
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8035 ac_cv_prog_AR="${ncn_progname}"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8046 if test -n "$AR"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8048 $as_echo "$AR" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8051 $as_echo "no
" >&6; }
8056 test -n "$ac_cv_prog_AR" && break
8059 if test -z "$ac_cv_prog_AR" ; then
8061 if test $build = $host ; then
8064 AR="${ncn_tool_prefix}$2"
8070 if test -n "$AS"; then
8072 elif test -n "$ac_cv_prog_AS"; then
8076 if test -n "$ac_cv_prog_AS"; then
8077 for ncn_progname in as; do
8078 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8079 set dummy ${ncn_progname}; ac_word=$2
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8081 $as_echo_n "checking
for $ac_word...
" >&6; }
8082 if test "${ac_cv_prog_AS+set}" = set; then :
8083 $as_echo_n "(cached
) " >&6
8085 if test -n "$AS"; then
8086 ac_cv_prog_AS="$AS" # Let the user override the test.
8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092 test -z "$as_dir" && as_dir=.
8093 for ac_exec_ext in '' $ac_executable_extensions; do
8094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8095 ac_cv_prog_AS="${ncn_progname}"
8096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8106 if test -n "$AS"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8108 $as_echo "$AS" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8111 $as_echo "no
" >&6; }
8118 for ncn_progname in as; do
8119 if test -n "$ncn_tool_prefix"; then
8120 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8121 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8123 $as_echo_n "checking
for $ac_word...
" >&6; }
8124 if test "${ac_cv_prog_AS+set}" = set; then :
8125 $as_echo_n "(cached
) " >&6
8127 if test -n "$AS"; then
8128 ac_cv_prog_AS="$AS" # Let the user override the test.
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8137 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8148 if test -n "$AS"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8150 $as_echo "$AS" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8153 $as_echo "no
" >&6; }
8158 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8159 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8160 set dummy ${ncn_progname}; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8162 $as_echo_n "checking
for $ac_word...
" >&6; }
8163 if test "${ac_cv_prog_AS+set}" = set; then :
8164 $as_echo_n "(cached
) " >&6
8166 if test -n "$AS"; then
8167 ac_cv_prog_AS="$AS" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_prog_AS="${ncn_progname}"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8187 if test -n "$AS"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8189 $as_echo "$AS" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8192 $as_echo "no
" >&6; }
8197 test -n "$ac_cv_prog_AS" && break
8200 if test -z "$ac_cv_prog_AS" ; then
8202 if test $build = $host ; then
8205 AS="${ncn_tool_prefix}$2"
8211 if test -n "$DLLTOOL"; then
8212 ac_cv_prog_DLLTOOL=$DLLTOOL
8213 elif test -n "$ac_cv_prog_DLLTOOL"; then
8214 DLLTOOL=$ac_cv_prog_DLLTOOL
8217 if test -n "$ac_cv_prog_DLLTOOL"; then
8218 for ncn_progname in dlltool; do
8219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8220 set dummy ${ncn_progname}; ac_word=$2
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8222 $as_echo_n "checking
for $ac_word...
" >&6; }
8223 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8224 $as_echo_n "(cached
) " >&6
8226 if test -n "$DLLTOOL"; then
8227 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233 test -z "$as_dir" && as_dir=.
8234 for ac_exec_ext in '' $ac_executable_extensions; do
8235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8236 ac_cv_prog_DLLTOOL="${ncn_progname}"
8237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8246 DLLTOOL=$ac_cv_prog_DLLTOOL
8247 if test -n "$DLLTOOL"; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8249 $as_echo "$DLLTOOL" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8252 $as_echo "no
" >&6; }
8259 for ncn_progname in dlltool; do
8260 if test -n "$ncn_tool_prefix"; then
8261 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8262 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8264 $as_echo_n "checking
for $ac_word...
" >&6; }
8265 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8266 $as_echo_n "(cached
) " >&6
8268 if test -n "$DLLTOOL"; then
8269 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir=.
8276 for ac_exec_ext in '' $ac_executable_extensions; do
8277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8278 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8288 DLLTOOL=$ac_cv_prog_DLLTOOL
8289 if test -n "$DLLTOOL"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8291 $as_echo "$DLLTOOL" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8294 $as_echo "no
" >&6; }
8299 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8300 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8301 set dummy ${ncn_progname}; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8303 $as_echo_n "checking
for $ac_word...
" >&6; }
8304 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8305 $as_echo_n "(cached
) " >&6
8307 if test -n "$DLLTOOL"; then
8308 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8317 ac_cv_prog_DLLTOOL="${ncn_progname}"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8327 DLLTOOL=$ac_cv_prog_DLLTOOL
8328 if test -n "$DLLTOOL"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8330 $as_echo "$DLLTOOL" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8333 $as_echo "no
" >&6; }
8338 test -n "$ac_cv_prog_DLLTOOL" && break
8341 if test -z "$ac_cv_prog_DLLTOOL" ; then
8343 if test $build = $host ; then
8346 DLLTOOL="${ncn_tool_prefix}$2"
8352 if test -n "$LD"; then
8354 elif test -n "$ac_cv_prog_LD"; then
8358 if test -n "$ac_cv_prog_LD"; then
8359 for ncn_progname in ld; do
8360 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8361 set dummy ${ncn_progname}; ac_word=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8363 $as_echo_n "checking
for $ac_word...
" >&6; }
8364 if test "${ac_cv_prog_LD+set}" = set; then :
8365 $as_echo_n "(cached
) " >&6
8367 if test -n "$LD"; then
8368 ac_cv_prog_LD="$LD" # Let the user override the test.
8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8374 test -z "$as_dir" && as_dir=.
8375 for ac_exec_ext in '' $ac_executable_extensions; do
8376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8377 ac_cv_prog_LD="${ncn_progname}"
8378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8388 if test -n "$LD"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8390 $as_echo "$LD" >&6; }
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8393 $as_echo "no
" >&6; }
8400 for ncn_progname in ld; do
8401 if test -n "$ncn_tool_prefix"; then
8402 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8403 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8405 $as_echo_n "checking
for $ac_word...
" >&6; }
8406 if test "${ac_cv_prog_LD+set}" = set; then :
8407 $as_echo_n "(cached
) " >&6
8409 if test -n "$LD"; then
8410 ac_cv_prog_LD="$LD" # Let the user override the test.
8412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir=.
8417 for ac_exec_ext in '' $ac_executable_extensions; do
8418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8419 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8430 if test -n "$LD"; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8432 $as_echo "$LD" >&6; }
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8435 $as_echo "no
" >&6; }
8440 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8441 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8442 set dummy ${ncn_progname}; ac_word=$2
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8444 $as_echo_n "checking
for $ac_word...
" >&6; }
8445 if test "${ac_cv_prog_LD+set}" = set; then :
8446 $as_echo_n "(cached
) " >&6
8448 if test -n "$LD"; then
8449 ac_cv_prog_LD="$LD" # Let the user override the test.
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8458 ac_cv_prog_LD="${ncn_progname}"
8459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8469 if test -n "$LD"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8471 $as_echo "$LD" >&6; }
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8474 $as_echo "no
" >&6; }
8479 test -n "$ac_cv_prog_LD" && break
8482 if test -z "$ac_cv_prog_LD" ; then
8484 if test $build = $host ; then
8487 LD="${ncn_tool_prefix}$2"
8493 if test -n "$LIPO"; then
8494 ac_cv_prog_LIPO=$LIPO
8495 elif test -n "$ac_cv_prog_LIPO"; then
8496 LIPO=$ac_cv_prog_LIPO
8499 if test -n "$ac_cv_prog_LIPO"; then
8500 for ncn_progname in lipo; do
8501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8502 set dummy ${ncn_progname}; ac_word=$2
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8504 $as_echo_n "checking
for $ac_word...
" >&6; }
8505 if test "${ac_cv_prog_LIPO+set}" = set; then :
8506 $as_echo_n "(cached
) " >&6
8508 if test -n "$LIPO"; then
8509 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8515 test -z "$as_dir" && as_dir=.
8516 for ac_exec_ext in '' $ac_executable_extensions; do
8517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8518 ac_cv_prog_LIPO="${ncn_progname}"
8519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8528 LIPO=$ac_cv_prog_LIPO
8529 if test -n "$LIPO"; then
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8531 $as_echo "$LIPO" >&6; }
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8534 $as_echo "no
" >&6; }
8541 for ncn_progname in lipo; do
8542 if test -n "$ncn_tool_prefix"; then
8543 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8544 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8546 $as_echo_n "checking
for $ac_word...
" >&6; }
8547 if test "${ac_cv_prog_LIPO+set}" = set; then :
8548 $as_echo_n "(cached
) " >&6
8550 if test -n "$LIPO"; then
8551 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8557 test -z "$as_dir" && as_dir=.
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8560 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8570 LIPO=$ac_cv_prog_LIPO
8571 if test -n "$LIPO"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8573 $as_echo "$LIPO" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8576 $as_echo "no
" >&6; }
8581 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8582 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8583 set dummy ${ncn_progname}; ac_word=$2
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8585 $as_echo_n "checking
for $ac_word...
" >&6; }
8586 if test "${ac_cv_prog_LIPO+set}" = set; then :
8587 $as_echo_n "(cached
) " >&6
8589 if test -n "$LIPO"; then
8590 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 test -z "$as_dir" && as_dir=.
8597 for ac_exec_ext in '' $ac_executable_extensions; do
8598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8599 ac_cv_prog_LIPO="${ncn_progname}"
8600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8609 LIPO=$ac_cv_prog_LIPO
8610 if test -n "$LIPO"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8612 $as_echo "$LIPO" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8615 $as_echo "no
" >&6; }
8620 test -n "$ac_cv_prog_LIPO" && break
8623 if test -z "$ac_cv_prog_LIPO" ; then
8625 if test $build = $host ; then
8628 LIPO="${ncn_tool_prefix}$2"
8634 if test -n "$NM"; then
8636 elif test -n "$ac_cv_prog_NM"; then
8640 if test -n "$ac_cv_prog_NM"; then
8641 for ncn_progname in nm; do
8642 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8643 set dummy ${ncn_progname}; ac_word=$2
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8645 $as_echo_n "checking
for $ac_word...
" >&6; }
8646 if test "${ac_cv_prog_NM+set}" = set; then :
8647 $as_echo_n "(cached
) " >&6
8649 if test -n "$NM"; then
8650 ac_cv_prog_NM="$NM" # Let the user override the test.
8652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8656 test -z "$as_dir" && as_dir=.
8657 for ac_exec_ext in '' $ac_executable_extensions; do
8658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8659 ac_cv_prog_NM="${ncn_progname}"
8660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8670 if test -n "$NM"; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8672 $as_echo "$NM" >&6; }
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8675 $as_echo "no
" >&6; }
8682 for ncn_progname in nm; do
8683 if test -n "$ncn_tool_prefix"; then
8684 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8685 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8687 $as_echo_n "checking
for $ac_word...
" >&6; }
8688 if test "${ac_cv_prog_NM+set}" = set; then :
8689 $as_echo_n "(cached
) " >&6
8691 if test -n "$NM"; then
8692 ac_cv_prog_NM="$NM" # Let the user override the test.
8694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir=.
8699 for ac_exec_ext in '' $ac_executable_extensions; do
8700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8701 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8712 if test -n "$NM"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8714 $as_echo "$NM" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8717 $as_echo "no
" >&6; }
8722 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8723 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8724 set dummy ${ncn_progname}; ac_word=$2
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8726 $as_echo_n "checking
for $ac_word...
" >&6; }
8727 if test "${ac_cv_prog_NM+set}" = set; then :
8728 $as_echo_n "(cached
) " >&6
8730 if test -n "$NM"; then
8731 ac_cv_prog_NM="$NM" # Let the user override the test.
8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 test -z "$as_dir" && as_dir=.
8738 for ac_exec_ext in '' $ac_executable_extensions; do
8739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8740 ac_cv_prog_NM="${ncn_progname}"
8741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8751 if test -n "$NM"; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8753 $as_echo "$NM" >&6; }
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8756 $as_echo "no
" >&6; }
8761 test -n "$ac_cv_prog_NM" && break
8764 if test -z "$ac_cv_prog_NM" ; then
8766 if test $build = $host ; then
8769 NM="${ncn_tool_prefix}$2"
8775 if test -n "$RANLIB"; then
8776 ac_cv_prog_RANLIB=$RANLIB
8777 elif test -n "$ac_cv_prog_RANLIB"; then
8778 RANLIB=$ac_cv_prog_RANLIB
8781 if test -n "$ac_cv_prog_RANLIB"; then
8782 for ncn_progname in ranlib; do
8783 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8784 set dummy ${ncn_progname}; ac_word=$2
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8786 $as_echo_n "checking
for $ac_word...
" >&6; }
8787 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8788 $as_echo_n "(cached
) " >&6
8790 if test -n "$RANLIB"; then
8791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8797 test -z "$as_dir" && as_dir=.
8798 for ac_exec_ext in '' $ac_executable_extensions; do
8799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8800 ac_cv_prog_RANLIB="${ncn_progname}"
8801 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8810 RANLIB=$ac_cv_prog_RANLIB
8811 if test -n "$RANLIB"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8813 $as_echo "$RANLIB" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8816 $as_echo "no
" >&6; }
8823 for ncn_progname in ranlib; do
8824 if test -n "$ncn_tool_prefix"; then
8825 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8826 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8828 $as_echo_n "checking
for $ac_word...
" >&6; }
8829 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8830 $as_echo_n "(cached
) " >&6
8832 if test -n "$RANLIB"; then
8833 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8839 test -z "$as_dir" && as_dir=.
8840 for ac_exec_ext in '' $ac_executable_extensions; do
8841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8842 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8852 RANLIB=$ac_cv_prog_RANLIB
8853 if test -n "$RANLIB"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8855 $as_echo "$RANLIB" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8858 $as_echo "no
" >&6; }
8863 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8864 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8865 set dummy ${ncn_progname}; ac_word=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8867 $as_echo_n "checking
for $ac_word...
" >&6; }
8868 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8869 $as_echo_n "(cached
) " >&6
8871 if test -n "$RANLIB"; then
8872 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878 test -z "$as_dir" && as_dir=.
8879 for ac_exec_ext in '' $ac_executable_extensions; do
8880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8881 ac_cv_prog_RANLIB="${ncn_progname}"
8882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8891 RANLIB=$ac_cv_prog_RANLIB
8892 if test -n "$RANLIB"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8894 $as_echo "$RANLIB" >&6; }
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8897 $as_echo "no
" >&6; }
8902 test -n "$ac_cv_prog_RANLIB" && break
8905 if test -z "$ac_cv_prog_RANLIB" ; then
8911 if test -n "$STRIP"; then
8912 ac_cv_prog_STRIP=$STRIP
8913 elif test -n "$ac_cv_prog_STRIP"; then
8914 STRIP=$ac_cv_prog_STRIP
8917 if test -n "$ac_cv_prog_STRIP"; then
8918 for ncn_progname in strip; do
8919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8920 set dummy ${ncn_progname}; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8922 $as_echo_n "checking
for $ac_word...
" >&6; }
8923 if test "${ac_cv_prog_STRIP+set}" = set; then :
8924 $as_echo_n "(cached
) " >&6
8926 if test -n "$STRIP"; then
8927 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8936 ac_cv_prog_STRIP="${ncn_progname}"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8946 STRIP=$ac_cv_prog_STRIP
8947 if test -n "$STRIP"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8949 $as_echo "$STRIP" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8952 $as_echo "no
" >&6; }
8959 for ncn_progname in strip; do
8960 if test -n "$ncn_tool_prefix"; then
8961 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8962 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8964 $as_echo_n "checking
for $ac_word...
" >&6; }
8965 if test "${ac_cv_prog_STRIP+set}" = set; then :
8966 $as_echo_n "(cached
) " >&6
8968 if test -n "$STRIP"; then
8969 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir=.
8976 for ac_exec_ext in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8988 STRIP=$ac_cv_prog_STRIP
8989 if test -n "$STRIP"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8991 $as_echo "$STRIP" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8994 $as_echo "no
" >&6; }
8999 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9000 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9001 set dummy ${ncn_progname}; ac_word=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9003 $as_echo_n "checking
for $ac_word...
" >&6; }
9004 if test "${ac_cv_prog_STRIP+set}" = set; then :
9005 $as_echo_n "(cached
) " >&6
9007 if test -n "$STRIP"; then
9008 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9014 test -z "$as_dir" && as_dir=.
9015 for ac_exec_ext in '' $ac_executable_extensions; do
9016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9017 ac_cv_prog_STRIP="${ncn_progname}"
9018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9027 STRIP=$ac_cv_prog_STRIP
9028 if test -n "$STRIP"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9030 $as_echo "$STRIP" >&6; }
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9033 $as_echo "no
" >&6; }
9038 test -n "$ac_cv_prog_STRIP" && break
9041 if test -z "$ac_cv_prog_STRIP" ; then
9047 if test -n "$WINDRES"; then
9048 ac_cv_prog_WINDRES=$WINDRES
9049 elif test -n "$ac_cv_prog_WINDRES"; then
9050 WINDRES=$ac_cv_prog_WINDRES
9053 if test -n "$ac_cv_prog_WINDRES"; then
9054 for ncn_progname in windres; do
9055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9056 set dummy ${ncn_progname}; ac_word=$2
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9058 $as_echo_n "checking
for $ac_word...
" >&6; }
9059 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9060 $as_echo_n "(cached
) " >&6
9062 if test -n "$WINDRES"; then
9063 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 test -z "$as_dir" && as_dir=.
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9072 ac_cv_prog_WINDRES="${ncn_progname}"
9073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9082 WINDRES=$ac_cv_prog_WINDRES
9083 if test -n "$WINDRES"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9085 $as_echo "$WINDRES" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9088 $as_echo "no
" >&6; }
9095 for ncn_progname in windres; do
9096 if test -n "$ncn_tool_prefix"; then
9097 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9098 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9100 $as_echo_n "checking
for $ac_word...
" >&6; }
9101 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9102 $as_echo_n "(cached
) " >&6
9104 if test -n "$WINDRES"; then
9105 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir=.
9112 for ac_exec_ext in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9124 WINDRES=$ac_cv_prog_WINDRES
9125 if test -n "$WINDRES"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9127 $as_echo "$WINDRES" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9130 $as_echo "no
" >&6; }
9135 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9137 set dummy ${ncn_progname}; ac_word=$2
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9139 $as_echo_n "checking
for $ac_word...
" >&6; }
9140 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9141 $as_echo_n "(cached
) " >&6
9143 if test -n "$WINDRES"; then
9144 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9150 test -z "$as_dir" && as_dir=.
9151 for ac_exec_ext in '' $ac_executable_extensions; do
9152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9153 ac_cv_prog_WINDRES="${ncn_progname}"
9154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9163 WINDRES=$ac_cv_prog_WINDRES
9164 if test -n "$WINDRES"; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9166 $as_echo "$WINDRES" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9169 $as_echo "no
" >&6; }
9174 test -n "$ac_cv_prog_WINDRES" && break
9177 if test -z "$ac_cv_prog_WINDRES" ; then
9179 if test $build = $host ; then
9182 WINDRES="${ncn_tool_prefix}$2"
9188 if test -n "$WINDMC"; then
9189 ac_cv_prog_WINDMC=$WINDMC
9190 elif test -n "$ac_cv_prog_WINDMC"; then
9191 WINDMC=$ac_cv_prog_WINDMC
9194 if test -n "$ac_cv_prog_WINDMC"; then
9195 for ncn_progname in windmc; do
9196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9197 set dummy ${ncn_progname}; ac_word=$2
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9199 $as_echo_n "checking
for $ac_word...
" >&6; }
9200 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9201 $as_echo_n "(cached
) " >&6
9203 if test -n "$WINDMC"; then
9204 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9210 test -z "$as_dir" && as_dir=.
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9213 ac_cv_prog_WINDMC="${ncn_progname}"
9214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9223 WINDMC=$ac_cv_prog_WINDMC
9224 if test -n "$WINDMC"; then
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9226 $as_echo "$WINDMC" >&6; }
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9229 $as_echo "no
" >&6; }
9236 for ncn_progname in windmc; do
9237 if test -n "$ncn_tool_prefix"; then
9238 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9239 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9241 $as_echo_n "checking
for $ac_word...
" >&6; }
9242 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9243 $as_echo_n "(cached
) " >&6
9245 if test -n "$WINDMC"; then
9246 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252 test -z "$as_dir" && as_dir=.
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9255 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9265 WINDMC=$ac_cv_prog_WINDMC
9266 if test -n "$WINDMC"; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9268 $as_echo "$WINDMC" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9271 $as_echo "no
" >&6; }
9276 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9278 set dummy ${ncn_progname}; ac_word=$2
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9280 $as_echo_n "checking
for $ac_word...
" >&6; }
9281 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9282 $as_echo_n "(cached
) " >&6
9284 if test -n "$WINDMC"; then
9285 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9291 test -z "$as_dir" && as_dir=.
9292 for ac_exec_ext in '' $ac_executable_extensions; do
9293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9294 ac_cv_prog_WINDMC="${ncn_progname}"
9295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9304 WINDMC=$ac_cv_prog_WINDMC
9305 if test -n "$WINDMC"; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9307 $as_echo "$WINDMC" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9310 $as_echo "no
" >&6; }
9315 test -n "$ac_cv_prog_WINDMC" && break
9318 if test -z "$ac_cv_prog_WINDMC" ; then
9320 if test $build = $host ; then
9323 WINDMC="${ncn_tool_prefix}$2"
9329 if test -n "$OBJCOPY"; then
9330 ac_cv_prog_OBJCOPY=$OBJCOPY
9331 elif test -n "$ac_cv_prog_OBJCOPY"; then
9332 OBJCOPY=$ac_cv_prog_OBJCOPY
9335 if test -n "$ac_cv_prog_OBJCOPY"; then
9336 for ncn_progname in objcopy; do
9337 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9338 set dummy ${ncn_progname}; ac_word=$2
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9340 $as_echo_n "checking
for $ac_word...
" >&6; }
9341 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9342 $as_echo_n "(cached
) " >&6
9344 if test -n "$OBJCOPY"; then
9345 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9351 test -z "$as_dir" && as_dir=.
9352 for ac_exec_ext in '' $ac_executable_extensions; do
9353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9354 ac_cv_prog_OBJCOPY="${ncn_progname}"
9355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9364 OBJCOPY=$ac_cv_prog_OBJCOPY
9365 if test -n "$OBJCOPY"; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9367 $as_echo "$OBJCOPY" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9370 $as_echo "no
" >&6; }
9377 for ncn_progname in objcopy; do
9378 if test -n "$ncn_tool_prefix"; then
9379 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9380 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9382 $as_echo_n "checking
for $ac_word...
" >&6; }
9383 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9384 $as_echo_n "(cached
) " >&6
9386 if test -n "$OBJCOPY"; then
9387 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9396 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9406 OBJCOPY=$ac_cv_prog_OBJCOPY
9407 if test -n "$OBJCOPY"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9409 $as_echo "$OBJCOPY" >&6; }
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9412 $as_echo "no
" >&6; }
9417 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9419 set dummy ${ncn_progname}; ac_word=$2
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9421 $as_echo_n "checking
for $ac_word...
" >&6; }
9422 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9423 $as_echo_n "(cached
) " >&6
9425 if test -n "$OBJCOPY"; then
9426 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432 test -z "$as_dir" && as_dir=.
9433 for ac_exec_ext in '' $ac_executable_extensions; do
9434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9435 ac_cv_prog_OBJCOPY="${ncn_progname}"
9436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9445 OBJCOPY=$ac_cv_prog_OBJCOPY
9446 if test -n "$OBJCOPY"; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9448 $as_echo "$OBJCOPY" >&6; }
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9451 $as_echo "no
" >&6; }
9456 test -n "$ac_cv_prog_OBJCOPY" && break
9459 if test -z "$ac_cv_prog_OBJCOPY" ; then
9461 if test $build = $host ; then
9464 OBJCOPY="${ncn_tool_prefix}$2"
9470 if test -n "$OBJDUMP"; then
9471 ac_cv_prog_OBJDUMP=$OBJDUMP
9472 elif test -n "$ac_cv_prog_OBJDUMP"; then
9473 OBJDUMP=$ac_cv_prog_OBJDUMP
9476 if test -n "$ac_cv_prog_OBJDUMP"; then
9477 for ncn_progname in objdump; do
9478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9479 set dummy ${ncn_progname}; ac_word=$2
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9481 $as_echo_n "checking
for $ac_word...
" >&6; }
9482 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9483 $as_echo_n "(cached
) " >&6
9485 if test -n "$OBJDUMP"; then
9486 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9492 test -z "$as_dir" && as_dir=.
9493 for ac_exec_ext in '' $ac_executable_extensions; do
9494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9495 ac_cv_prog_OBJDUMP="${ncn_progname}"
9496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9505 OBJDUMP=$ac_cv_prog_OBJDUMP
9506 if test -n "$OBJDUMP"; then
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9508 $as_echo "$OBJDUMP" >&6; }
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9511 $as_echo "no
" >&6; }
9518 for ncn_progname in objdump; do
9519 if test -n "$ncn_tool_prefix"; then
9520 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9521 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9523 $as_echo_n "checking
for $ac_word...
" >&6; }
9524 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9525 $as_echo_n "(cached
) " >&6
9527 if test -n "$OBJDUMP"; then
9528 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 test -z "$as_dir" && as_dir=.
9535 for ac_exec_ext in '' $ac_executable_extensions; do
9536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9537 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9547 OBJDUMP=$ac_cv_prog_OBJDUMP
9548 if test -n "$OBJDUMP"; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9550 $as_echo "$OBJDUMP" >&6; }
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9553 $as_echo "no
" >&6; }
9558 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9560 set dummy ${ncn_progname}; ac_word=$2
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9562 $as_echo_n "checking
for $ac_word...
" >&6; }
9563 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9564 $as_echo_n "(cached
) " >&6
9566 if test -n "$OBJDUMP"; then
9567 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573 test -z "$as_dir" && as_dir=.
9574 for ac_exec_ext in '' $ac_executable_extensions; do
9575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9576 ac_cv_prog_OBJDUMP="${ncn_progname}"
9577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9586 OBJDUMP=$ac_cv_prog_OBJDUMP
9587 if test -n "$OBJDUMP"; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9589 $as_echo "$OBJDUMP" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9592 $as_echo "no
" >&6; }
9597 test -n "$ac_cv_prog_OBJDUMP" && break
9600 if test -z "$ac_cv_prog_OBJDUMP" ; then
9602 if test $build = $host ; then
9605 OBJDUMP="${ncn_tool_prefix}$2"
9616 # Check whether --with-build-time-tools was given.
9617 if test "${with_build_time_tools+set}" = set; then :
9618 withval=$with_build_time_tools; case x"$withval" in
9621 with_build_time_tools=
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9623 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9627 with_build_time_tools=
9633 if test -n "$CC_FOR_TARGET"; then
9634 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9635 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9636 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9639 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9640 for ncn_progname in cc gcc; do
9641 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9642 set dummy ${ncn_progname}; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9644 $as_echo_n "checking
for $ac_word...
" >&6; }
9645 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9646 $as_echo_n "(cached
) " >&6
9648 if test -n "$CC_FOR_TARGET"; then
9649 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9655 test -z "$as_dir" && as_dir=.
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9658 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9668 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9669 if test -n "$CC_FOR_TARGET"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9671 $as_echo "$CC_FOR_TARGET" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9674 $as_echo "no
" >&6; }
9681 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9682 for ncn_progname in cc gcc; do
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9684 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9685 if test -x $with_build_time_tools/${ncn_progname}; then
9686 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9688 $as_echo "yes" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9692 $as_echo "no
" >&6; }
9697 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9698 for ncn_progname in cc gcc; do
9699 if test -n "$ncn_target_tool_prefix"; then
9700 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9701 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9703 $as_echo_n "checking
for $ac_word...
" >&6; }
9704 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9705 $as_echo_n "(cached
) " >&6
9707 if test -n "$CC_FOR_TARGET"; then
9708 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9714 test -z "$as_dir" && as_dir=.
9715 for ac_exec_ext in '' $ac_executable_extensions; do
9716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9717 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9727 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9728 if test -n "$CC_FOR_TARGET"; then
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9730 $as_echo "$CC_FOR_TARGET" >&6; }
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9733 $as_echo "no
" >&6; }
9738 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9739 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9740 set dummy ${ncn_progname}; ac_word=$2
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9742 $as_echo_n "checking
for $ac_word...
" >&6; }
9743 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9744 $as_echo_n "(cached
) " >&6
9746 if test -n "$CC_FOR_TARGET"; then
9747 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753 test -z "$as_dir" && as_dir=.
9754 for ac_exec_ext in '' $ac_executable_extensions; do
9755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9756 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9766 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9767 if test -n "$CC_FOR_TARGET"; then
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9769 $as_echo "$CC_FOR_TARGET" >&6; }
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9772 $as_echo "no
" >&6; }
9777 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9781 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9783 if test $build = $target ; then
9786 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9789 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9794 if test -n "$CXX_FOR_TARGET"; then
9795 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9796 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9797 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9800 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9801 for ncn_progname in c++ g++ cxx gxx; do
9802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9803 set dummy ${ncn_progname}; ac_word=$2
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9805 $as_echo_n "checking
for $ac_word...
" >&6; }
9806 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9807 $as_echo_n "(cached
) " >&6
9809 if test -n "$CXX_FOR_TARGET"; then
9810 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9816 test -z "$as_dir" && as_dir=.
9817 for ac_exec_ext in '' $ac_executable_extensions; do
9818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9819 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9829 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9830 if test -n "$CXX_FOR_TARGET"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9832 $as_echo "$CXX_FOR_TARGET" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9835 $as_echo "no
" >&6; }
9842 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9843 for ncn_progname in c++ g++ cxx gxx; do
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9845 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9846 if test -x $with_build_time_tools/${ncn_progname}; then
9847 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9849 $as_echo "yes" >&6; }
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9853 $as_echo "no
" >&6; }
9858 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9859 for ncn_progname in c++ g++ cxx gxx; do
9860 if test -n "$ncn_target_tool_prefix"; then
9861 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9862 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9864 $as_echo_n "checking
for $ac_word...
" >&6; }
9865 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9866 $as_echo_n "(cached
) " >&6
9868 if test -n "$CXX_FOR_TARGET"; then
9869 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9875 test -z "$as_dir" && as_dir=.
9876 for ac_exec_ext in '' $ac_executable_extensions; do
9877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9878 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9888 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9889 if test -n "$CXX_FOR_TARGET"; then
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9891 $as_echo "$CXX_FOR_TARGET" >&6; }
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9894 $as_echo "no
" >&6; }
9899 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9900 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9901 set dummy ${ncn_progname}; ac_word=$2
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9903 $as_echo_n "checking
for $ac_word...
" >&6; }
9904 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9905 $as_echo_n "(cached
) " >&6
9907 if test -n "$CXX_FOR_TARGET"; then
9908 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9914 test -z "$as_dir" && as_dir=.
9915 for ac_exec_ext in '' $ac_executable_extensions; do
9916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9917 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9927 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9928 if test -n "$CXX_FOR_TARGET"; then
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9930 $as_echo "$CXX_FOR_TARGET" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9933 $as_echo "no
" >&6; }
9938 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9942 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9943 set dummy c++ g++ cxx gxx
9944 if test $build = $target ; then
9947 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9950 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9955 if test -n "$GCC_FOR_TARGET"; then
9956 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9957 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9958 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9961 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9962 for ncn_progname in gcc; do
9963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9964 set dummy ${ncn_progname}; ac_word=$2
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9966 $as_echo_n "checking
for $ac_word...
" >&6; }
9967 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9968 $as_echo_n "(cached
) " >&6
9970 if test -n "$GCC_FOR_TARGET"; then
9971 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9977 test -z "$as_dir" && as_dir=.
9978 for ac_exec_ext in '' $ac_executable_extensions; do
9979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9980 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9990 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9991 if test -n "$GCC_FOR_TARGET"; then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9993 $as_echo "$GCC_FOR_TARGET" >&6; }
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9996 $as_echo "no
" >&6; }
10003 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10004 for ncn_progname in gcc; do
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10006 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10007 if test -x $with_build_time_tools/${ncn_progname}; then
10008 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10010 $as_echo "yes" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10014 $as_echo "no
" >&6; }
10019 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10020 for ncn_progname in gcc; do
10021 if test -n "$ncn_target_tool_prefix"; then
10022 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10023 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10025 $as_echo_n "checking
for $ac_word...
" >&6; }
10026 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10027 $as_echo_n "(cached
) " >&6
10029 if test -n "$GCC_FOR_TARGET"; then
10030 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10033 for as_dir in $PATH
10036 test -z "$as_dir" && as_dir=.
10037 for ac_exec_ext in '' $ac_executable_extensions; do
10038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10039 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10049 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10050 if test -n "$GCC_FOR_TARGET"; then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10052 $as_echo "$GCC_FOR_TARGET" >&6; }
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10055 $as_echo "no
" >&6; }
10060 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10061 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10062 set dummy ${ncn_progname}; ac_word=$2
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10064 $as_echo_n "checking
for $ac_word...
" >&6; }
10065 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10066 $as_echo_n "(cached
) " >&6
10068 if test -n "$GCC_FOR_TARGET"; then
10069 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10072 for as_dir in $PATH
10075 test -z "$as_dir" && as_dir=.
10076 for ac_exec_ext in '' $ac_executable_extensions; do
10077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10078 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10088 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10089 if test -n "$GCC_FOR_TARGET"; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10091 $as_echo "$GCC_FOR_TARGET" >&6; }
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10094 $as_echo "no
" >&6; }
10099 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10103 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10104 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10106 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10111 if test -n "$GCJ_FOR_TARGET"; then
10112 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10113 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10114 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10117 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10118 for ncn_progname in gcj; do
10119 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10120 set dummy ${ncn_progname}; ac_word=$2
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10122 $as_echo_n "checking
for $ac_word...
" >&6; }
10123 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10124 $as_echo_n "(cached
) " >&6
10126 if test -n "$GCJ_FOR_TARGET"; then
10127 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10130 for as_dir in $PATH
10133 test -z "$as_dir" && as_dir=.
10134 for ac_exec_ext in '' $ac_executable_extensions; do
10135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10136 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10146 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10147 if test -n "$GCJ_FOR_TARGET"; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10149 $as_echo "$GCJ_FOR_TARGET" >&6; }
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10152 $as_echo "no
" >&6; }
10159 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10160 for ncn_progname in gcj; do
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10162 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10163 if test -x $with_build_time_tools/${ncn_progname}; then
10164 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10166 $as_echo "yes" >&6; }
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10170 $as_echo "no
" >&6; }
10175 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10176 for ncn_progname in gcj; do
10177 if test -n "$ncn_target_tool_prefix"; then
10178 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10179 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10181 $as_echo_n "checking
for $ac_word...
" >&6; }
10182 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10183 $as_echo_n "(cached
) " >&6
10185 if test -n "$GCJ_FOR_TARGET"; then
10186 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10189 for as_dir in $PATH
10192 test -z "$as_dir" && as_dir=.
10193 for ac_exec_ext in '' $ac_executable_extensions; do
10194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10195 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10205 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10206 if test -n "$GCJ_FOR_TARGET"; then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10208 $as_echo "$GCJ_FOR_TARGET" >&6; }
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10211 $as_echo "no
" >&6; }
10216 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10218 set dummy ${ncn_progname}; ac_word=$2
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10220 $as_echo_n "checking
for $ac_word...
" >&6; }
10221 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10222 $as_echo_n "(cached
) " >&6
10224 if test -n "$GCJ_FOR_TARGET"; then
10225 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10228 for as_dir in $PATH
10231 test -z "$as_dir" && as_dir=.
10232 for ac_exec_ext in '' $ac_executable_extensions; do
10233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10234 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10244 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10245 if test -n "$GCJ_FOR_TARGET"; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10247 $as_echo "$GCJ_FOR_TARGET" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10250 $as_echo "no
" >&6; }
10255 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10259 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10261 if test $build = $target ; then
10262 GCJ_FOR_TARGET="$2"
10264 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10267 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10272 if test -n "$GFORTRAN_FOR_TARGET"; then
10273 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10274 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10275 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10278 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10279 for ncn_progname in gfortran; do
10280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10281 set dummy ${ncn_progname}; ac_word=$2
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10283 $as_echo_n "checking
for $ac_word...
" >&6; }
10284 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10285 $as_echo_n "(cached
) " >&6
10287 if test -n "$GFORTRAN_FOR_TARGET"; then
10288 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10291 for as_dir in $PATH
10294 test -z "$as_dir" && as_dir=.
10295 for ac_exec_ext in '' $ac_executable_extensions; do
10296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10297 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10307 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10308 if test -n "$GFORTRAN_FOR_TARGET"; then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10310 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10313 $as_echo "no
" >&6; }
10320 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10321 for ncn_progname in gfortran; do
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10323 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10324 if test -x $with_build_time_tools/${ncn_progname}; then
10325 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10327 $as_echo "yes" >&6; }
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10331 $as_echo "no
" >&6; }
10336 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10337 for ncn_progname in gfortran; do
10338 if test -n "$ncn_target_tool_prefix"; then
10339 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10340 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10342 $as_echo_n "checking
for $ac_word...
" >&6; }
10343 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10344 $as_echo_n "(cached
) " >&6
10346 if test -n "$GFORTRAN_FOR_TARGET"; then
10347 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10350 for as_dir in $PATH
10353 test -z "$as_dir" && as_dir=.
10354 for ac_exec_ext in '' $ac_executable_extensions; do
10355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10356 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10366 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10367 if test -n "$GFORTRAN_FOR_TARGET"; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10369 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10372 $as_echo "no
" >&6; }
10377 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10378 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10379 set dummy ${ncn_progname}; ac_word=$2
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10381 $as_echo_n "checking
for $ac_word...
" >&6; }
10382 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10383 $as_echo_n "(cached
) " >&6
10385 if test -n "$GFORTRAN_FOR_TARGET"; then
10386 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10389 for as_dir in $PATH
10392 test -z "$as_dir" && as_dir=.
10393 for ac_exec_ext in '' $ac_executable_extensions; do
10394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10395 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10405 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10406 if test -n "$GFORTRAN_FOR_TARGET"; then
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10408 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10411 $as_echo "no
" >&6; }
10416 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10420 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10422 if test $build = $target ; then
10423 GFORTRAN_FOR_TARGET="$2"
10425 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10428 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10433 if test -n "$GOC_FOR_TARGET"; then
10434 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10435 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10436 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10439 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10440 for ncn_progname in gccgo; do
10441 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10442 set dummy ${ncn_progname}; ac_word=$2
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10444 $as_echo_n "checking
for $ac_word...
" >&6; }
10445 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10446 $as_echo_n "(cached
) " >&6
10448 if test -n "$GOC_FOR_TARGET"; then
10449 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10452 for as_dir in $PATH
10455 test -z "$as_dir" && as_dir=.
10456 for ac_exec_ext in '' $ac_executable_extensions; do
10457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10458 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10468 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10469 if test -n "$GOC_FOR_TARGET"; then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10471 $as_echo "$GOC_FOR_TARGET" >&6; }
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10474 $as_echo "no
" >&6; }
10481 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10482 for ncn_progname in gccgo; do
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10484 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10485 if test -x $with_build_time_tools/${ncn_progname}; then
10486 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10488 $as_echo "yes" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10492 $as_echo "no
" >&6; }
10497 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10498 for ncn_progname in gccgo; do
10499 if test -n "$ncn_target_tool_prefix"; then
10500 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10501 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10503 $as_echo_n "checking
for $ac_word...
" >&6; }
10504 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10505 $as_echo_n "(cached
) " >&6
10507 if test -n "$GOC_FOR_TARGET"; then
10508 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10511 for as_dir in $PATH
10514 test -z "$as_dir" && as_dir=.
10515 for ac_exec_ext in '' $ac_executable_extensions; do
10516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10517 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10527 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10528 if test -n "$GOC_FOR_TARGET"; then
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10530 $as_echo "$GOC_FOR_TARGET" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10533 $as_echo "no
" >&6; }
10538 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10539 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10540 set dummy ${ncn_progname}; ac_word=$2
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10542 $as_echo_n "checking
for $ac_word...
" >&6; }
10543 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10544 $as_echo_n "(cached
) " >&6
10546 if test -n "$GOC_FOR_TARGET"; then
10547 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10550 for as_dir in $PATH
10553 test -z "$as_dir" && as_dir=.
10554 for ac_exec_ext in '' $ac_executable_extensions; do
10555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10556 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10566 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10567 if test -n "$GOC_FOR_TARGET"; then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10569 $as_echo "$GOC_FOR_TARGET" >&6; }
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10572 $as_echo "no
" >&6; }
10577 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10581 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10583 if test $build = $target ; then
10584 GOC_FOR_TARGET="$2"
10586 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10589 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10594 cat > conftest.c << \EOF
10599 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10600 have_gcc_for_target=yes
10602 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10603 have_gcc_for_target=no
10610 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10611 if test -n "$with_build_time_tools"; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10613 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10614 if test -x $with_build_time_tools/ar; then
10615 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10616 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10618 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10621 $as_echo "no
" >&6; }
10623 elif test $build != $host && test $have_gcc_for_target = yes; then
10624 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10625 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10626 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10629 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10630 # Extract the first word of "ar", so it can be a program name with args.
10631 set dummy ar; ac_word=$2
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10633 $as_echo_n "checking
for $ac_word...
" >&6; }
10634 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10635 $as_echo_n "(cached
) " >&6
10637 case $AR_FOR_TARGET in
10639 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10643 for as_dir in $gcc_cv_tool_dirs
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_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10660 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10661 if test -n "$AR_FOR_TARGET"; then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10663 $as_echo "$AR_FOR_TARGET" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10666 $as_echo "no
" >&6; }
10671 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10674 if test -n "$AR_FOR_TARGET"; then
10675 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10676 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10677 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10680 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10681 for ncn_progname in ar; do
10682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10683 set dummy ${ncn_progname}; ac_word=$2
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10685 $as_echo_n "checking
for $ac_word...
" >&6; }
10686 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10687 $as_echo_n "(cached
) " >&6
10689 if test -n "$AR_FOR_TARGET"; then
10690 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10693 for as_dir in $PATH
10696 test -z "$as_dir" && as_dir=.
10697 for ac_exec_ext in '' $ac_executable_extensions; do
10698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10699 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10709 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10710 if test -n "$AR_FOR_TARGET"; then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10712 $as_echo "$AR_FOR_TARGET" >&6; }
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10715 $as_echo "no
" >&6; }
10722 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10723 for ncn_progname in ar; do
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10725 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10726 if test -x $with_build_time_tools/${ncn_progname}; then
10727 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10729 $as_echo "yes" >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10733 $as_echo "no
" >&6; }
10738 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10739 for ncn_progname in ar; do
10740 if test -n "$ncn_target_tool_prefix"; then
10741 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10742 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10744 $as_echo_n "checking
for $ac_word...
" >&6; }
10745 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10746 $as_echo_n "(cached
) " >&6
10748 if test -n "$AR_FOR_TARGET"; then
10749 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 for as_dir in $PATH
10755 test -z "$as_dir" && as_dir=.
10756 for ac_exec_ext in '' $ac_executable_extensions; do
10757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10758 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10768 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10769 if test -n "$AR_FOR_TARGET"; then
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10771 $as_echo "$AR_FOR_TARGET" >&6; }
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10774 $as_echo "no
" >&6; }
10779 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10781 set dummy ${ncn_progname}; ac_word=$2
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10783 $as_echo_n "checking
for $ac_word...
" >&6; }
10784 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10785 $as_echo_n "(cached
) " >&6
10787 if test -n "$AR_FOR_TARGET"; then
10788 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10791 for as_dir in $PATH
10794 test -z "$as_dir" && as_dir=.
10795 for ac_exec_ext in '' $ac_executable_extensions; do
10796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10797 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10807 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10808 if test -n "$AR_FOR_TARGET"; then
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10810 $as_echo "$AR_FOR_TARGET" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10813 $as_echo "no
" >&6; }
10818 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10822 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10824 if test $build = $target ; then
10827 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10830 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10834 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10840 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10841 if test -n "$with_build_time_tools"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10843 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10844 if test -x $with_build_time_tools/as; then
10845 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10846 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10848 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10851 $as_echo "no
" >&6; }
10853 elif test $build != $host && test $have_gcc_for_target = yes; then
10854 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10855 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10856 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10859 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10860 # Extract the first word of "as
", so it can be a program name with args.
10861 set dummy as; ac_word=$2
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10863 $as_echo_n "checking
for $ac_word...
" >&6; }
10864 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10865 $as_echo_n "(cached
) " >&6
10867 case $AS_FOR_TARGET in
10869 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10873 for as_dir in $gcc_cv_tool_dirs
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_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10890 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10891 if test -n "$AS_FOR_TARGET"; then
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10893 $as_echo "$AS_FOR_TARGET" >&6; }
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10896 $as_echo "no
" >&6; }
10901 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10904 if test -n "$AS_FOR_TARGET"; then
10905 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10906 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10907 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10910 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10911 for ncn_progname in as; do
10912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10913 set dummy ${ncn_progname}; ac_word=$2
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10915 $as_echo_n "checking
for $ac_word...
" >&6; }
10916 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10917 $as_echo_n "(cached
) " >&6
10919 if test -n "$AS_FOR_TARGET"; then
10920 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10923 for as_dir in $PATH
10926 test -z "$as_dir" && as_dir=.
10927 for ac_exec_ext in '' $ac_executable_extensions; do
10928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10929 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10939 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10940 if test -n "$AS_FOR_TARGET"; then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10942 $as_echo "$AS_FOR_TARGET" >&6; }
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10945 $as_echo "no
" >&6; }
10952 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10953 for ncn_progname in as; do
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10955 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10956 if test -x $with_build_time_tools/${ncn_progname}; then
10957 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10959 $as_echo "yes" >&6; }
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10963 $as_echo "no
" >&6; }
10968 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10969 for ncn_progname in as; do
10970 if test -n "$ncn_target_tool_prefix"; then
10971 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10972 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10974 $as_echo_n "checking
for $ac_word...
" >&6; }
10975 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10976 $as_echo_n "(cached
) " >&6
10978 if test -n "$AS_FOR_TARGET"; then
10979 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10982 for as_dir in $PATH
10985 test -z "$as_dir" && as_dir=.
10986 for ac_exec_ext in '' $ac_executable_extensions; do
10987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10988 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10998 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10999 if test -n "$AS_FOR_TARGET"; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11001 $as_echo "$AS_FOR_TARGET" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11004 $as_echo "no
" >&6; }
11009 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11011 set dummy ${ncn_progname}; ac_word=$2
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11013 $as_echo_n "checking
for $ac_word...
" >&6; }
11014 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11015 $as_echo_n "(cached
) " >&6
11017 if test -n "$AS_FOR_TARGET"; then
11018 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11021 for as_dir in $PATH
11024 test -z "$as_dir" && as_dir=.
11025 for ac_exec_ext in '' $ac_executable_extensions; do
11026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11027 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11037 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11038 if test -n "$AS_FOR_TARGET"; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11040 $as_echo "$AS_FOR_TARGET" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11043 $as_echo "no
" >&6; }
11048 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11052 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11054 if test $build = $target ; then
11057 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11060 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11064 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11070 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11071 if test -n "$with_build_time_tools"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11073 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11074 if test -x $with_build_time_tools/dlltool; then
11075 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11076 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11078 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11081 $as_echo "no
" >&6; }
11083 elif test $build != $host && test $have_gcc_for_target = yes; then
11084 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11085 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11086 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11089 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11090 # Extract the first word of "dlltool
", so it can be a program name with args.
11091 set dummy dlltool; ac_word=$2
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11093 $as_echo_n "checking
for $ac_word...
" >&6; }
11094 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11095 $as_echo_n "(cached
) " >&6
11097 case $DLLTOOL_FOR_TARGET in
11099 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11103 for as_dir in $gcc_cv_tool_dirs
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_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11120 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11121 if test -n "$DLLTOOL_FOR_TARGET"; then
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11123 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11126 $as_echo "no
" >&6; }
11131 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11134 if test -n "$DLLTOOL_FOR_TARGET"; then
11135 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11136 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11137 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11140 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11141 for ncn_progname in dlltool; do
11142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11143 set dummy ${ncn_progname}; ac_word=$2
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11145 $as_echo_n "checking
for $ac_word...
" >&6; }
11146 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11147 $as_echo_n "(cached
) " >&6
11149 if test -n "$DLLTOOL_FOR_TARGET"; then
11150 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11153 for as_dir in $PATH
11156 test -z "$as_dir" && as_dir=.
11157 for ac_exec_ext in '' $ac_executable_extensions; do
11158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11159 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11169 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11170 if test -n "$DLLTOOL_FOR_TARGET"; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11172 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11175 $as_echo "no
" >&6; }
11182 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11183 for ncn_progname in dlltool; do
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11185 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11186 if test -x $with_build_time_tools/${ncn_progname}; then
11187 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11189 $as_echo "yes" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11193 $as_echo "no
" >&6; }
11198 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11199 for ncn_progname in dlltool; do
11200 if test -n "$ncn_target_tool_prefix"; then
11201 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11202 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11204 $as_echo_n "checking
for $ac_word...
" >&6; }
11205 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11206 $as_echo_n "(cached
) " >&6
11208 if test -n "$DLLTOOL_FOR_TARGET"; then
11209 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11212 for as_dir in $PATH
11215 test -z "$as_dir" && as_dir=.
11216 for ac_exec_ext in '' $ac_executable_extensions; do
11217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11218 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11228 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11229 if test -n "$DLLTOOL_FOR_TARGET"; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11231 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11234 $as_echo "no
" >&6; }
11239 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11241 set dummy ${ncn_progname}; ac_word=$2
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11243 $as_echo_n "checking
for $ac_word...
" >&6; }
11244 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11245 $as_echo_n "(cached
) " >&6
11247 if test -n "$DLLTOOL_FOR_TARGET"; then
11248 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11251 for as_dir in $PATH
11254 test -z "$as_dir" && as_dir=.
11255 for ac_exec_ext in '' $ac_executable_extensions; do
11256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11257 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11267 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11268 if test -n "$DLLTOOL_FOR_TARGET"; then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11270 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11273 $as_echo "no
" >&6; }
11278 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11282 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11284 if test $build = $target ; then
11285 DLLTOOL_FOR_TARGET="$2"
11287 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11290 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11294 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11300 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11301 if test -n "$with_build_time_tools"; then
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11303 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11304 if test -x $with_build_time_tools/ld; then
11305 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11306 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11308 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11311 $as_echo "no
" >&6; }
11313 elif test $build != $host && test $have_gcc_for_target = yes; then
11314 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11315 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11316 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11319 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11320 # Extract the first word of "ld
", so it can be a program name with args.
11321 set dummy ld; ac_word=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11323 $as_echo_n "checking
for $ac_word...
" >&6; }
11324 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11325 $as_echo_n "(cached
) " >&6
11327 case $LD_FOR_TARGET in
11329 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333 for as_dir in $gcc_cv_tool_dirs
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_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11350 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11351 if test -n "$LD_FOR_TARGET"; then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11353 $as_echo "$LD_FOR_TARGET" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11356 $as_echo "no
" >&6; }
11361 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11364 if test -n "$LD_FOR_TARGET"; then
11365 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11366 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11367 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11370 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11371 for ncn_progname in ld; do
11372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11373 set dummy ${ncn_progname}; ac_word=$2
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11375 $as_echo_n "checking
for $ac_word...
" >&6; }
11376 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11377 $as_echo_n "(cached
) " >&6
11379 if test -n "$LD_FOR_TARGET"; then
11380 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11383 for as_dir in $PATH
11386 test -z "$as_dir" && as_dir=.
11387 for ac_exec_ext in '' $ac_executable_extensions; do
11388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11389 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11399 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11400 if test -n "$LD_FOR_TARGET"; then
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11402 $as_echo "$LD_FOR_TARGET" >&6; }
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11405 $as_echo "no
" >&6; }
11412 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11413 for ncn_progname in ld; do
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11415 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11416 if test -x $with_build_time_tools/${ncn_progname}; then
11417 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11419 $as_echo "yes" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11423 $as_echo "no
" >&6; }
11428 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11429 for ncn_progname in ld; do
11430 if test -n "$ncn_target_tool_prefix"; then
11431 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11432 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11434 $as_echo_n "checking
for $ac_word...
" >&6; }
11435 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11436 $as_echo_n "(cached
) " >&6
11438 if test -n "$LD_FOR_TARGET"; then
11439 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11442 for as_dir in $PATH
11445 test -z "$as_dir" && as_dir=.
11446 for ac_exec_ext in '' $ac_executable_extensions; do
11447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11448 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11458 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11459 if test -n "$LD_FOR_TARGET"; then
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11461 $as_echo "$LD_FOR_TARGET" >&6; }
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11464 $as_echo "no
" >&6; }
11469 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11471 set dummy ${ncn_progname}; ac_word=$2
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11473 $as_echo_n "checking
for $ac_word...
" >&6; }
11474 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11475 $as_echo_n "(cached
) " >&6
11477 if test -n "$LD_FOR_TARGET"; then
11478 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11481 for as_dir in $PATH
11484 test -z "$as_dir" && as_dir=.
11485 for ac_exec_ext in '' $ac_executable_extensions; do
11486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11487 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11497 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11498 if test -n "$LD_FOR_TARGET"; then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11500 $as_echo "$LD_FOR_TARGET" >&6; }
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11503 $as_echo "no
" >&6; }
11508 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11512 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11514 if test $build = $target ; then
11517 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11520 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11524 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11530 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11531 if test -n "$with_build_time_tools"; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11533 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11534 if test -x $with_build_time_tools/lipo; then
11535 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11536 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11538 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11541 $as_echo "no
" >&6; }
11543 elif test $build != $host && test $have_gcc_for_target = yes; then
11544 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11545 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11546 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11549 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11550 # Extract the first word of "lipo
", so it can be a program name with args.
11551 set dummy lipo; ac_word=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11553 $as_echo_n "checking
for $ac_word...
" >&6; }
11554 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11555 $as_echo_n "(cached
) " >&6
11557 case $LIPO_FOR_TARGET in
11559 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11563 for as_dir in $gcc_cv_tool_dirs
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_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11580 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11581 if test -n "$LIPO_FOR_TARGET"; then
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11583 $as_echo "$LIPO_FOR_TARGET" >&6; }
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11586 $as_echo "no
" >&6; }
11591 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11594 if test -n "$LIPO_FOR_TARGET"; then
11595 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11596 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11597 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11600 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11601 for ncn_progname in lipo; do
11602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11603 set dummy ${ncn_progname}; ac_word=$2
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11605 $as_echo_n "checking
for $ac_word...
" >&6; }
11606 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11607 $as_echo_n "(cached
) " >&6
11609 if test -n "$LIPO_FOR_TARGET"; then
11610 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11613 for as_dir in $PATH
11616 test -z "$as_dir" && as_dir=.
11617 for ac_exec_ext in '' $ac_executable_extensions; do
11618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11619 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11629 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11630 if test -n "$LIPO_FOR_TARGET"; then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11632 $as_echo "$LIPO_FOR_TARGET" >&6; }
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11635 $as_echo "no
" >&6; }
11642 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11643 for ncn_progname in lipo; do
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11645 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11646 if test -x $with_build_time_tools/${ncn_progname}; then
11647 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11649 $as_echo "yes" >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11653 $as_echo "no
" >&6; }
11658 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11659 for ncn_progname in lipo; do
11660 if test -n "$ncn_target_tool_prefix"; then
11661 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11662 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11664 $as_echo_n "checking
for $ac_word...
" >&6; }
11665 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11666 $as_echo_n "(cached
) " >&6
11668 if test -n "$LIPO_FOR_TARGET"; then
11669 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11672 for as_dir in $PATH
11675 test -z "$as_dir" && as_dir=.
11676 for ac_exec_ext in '' $ac_executable_extensions; do
11677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11678 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11688 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11689 if test -n "$LIPO_FOR_TARGET"; then
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11691 $as_echo "$LIPO_FOR_TARGET" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11694 $as_echo "no
" >&6; }
11699 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11700 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11701 set dummy ${ncn_progname}; ac_word=$2
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11703 $as_echo_n "checking
for $ac_word...
" >&6; }
11704 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11705 $as_echo_n "(cached
) " >&6
11707 if test -n "$LIPO_FOR_TARGET"; then
11708 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11711 for as_dir in $PATH
11714 test -z "$as_dir" && as_dir=.
11715 for ac_exec_ext in '' $ac_executable_extensions; do
11716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11717 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11727 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11728 if test -n "$LIPO_FOR_TARGET"; then
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11730 $as_echo "$LIPO_FOR_TARGET" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11733 $as_echo "no
" >&6; }
11738 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11742 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11744 if test $build = $target ; then
11745 LIPO_FOR_TARGET="$2"
11747 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11750 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11754 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11760 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11761 if test -n "$with_build_time_tools"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11763 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11764 if test -x $with_build_time_tools/nm; then
11765 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11766 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11768 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11771 $as_echo "no
" >&6; }
11773 elif test $build != $host && test $have_gcc_for_target = yes; then
11774 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11775 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11776 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11779 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11780 # Extract the first word of "nm
", so it can be a program name with args.
11781 set dummy nm; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11783 $as_echo_n "checking
for $ac_word...
" >&6; }
11784 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11785 $as_echo_n "(cached
) " >&6
11787 case $NM_FOR_TARGET in
11789 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $gcc_cv_tool_dirs
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_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11810 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11811 if test -n "$NM_FOR_TARGET"; then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11813 $as_echo "$NM_FOR_TARGET" >&6; }
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11816 $as_echo "no
" >&6; }
11821 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11824 if test -n "$NM_FOR_TARGET"; then
11825 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11826 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11827 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11830 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11831 for ncn_progname in nm; do
11832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11833 set dummy ${ncn_progname}; ac_word=$2
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11835 $as_echo_n "checking
for $ac_word...
" >&6; }
11836 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11837 $as_echo_n "(cached
) " >&6
11839 if test -n "$NM_FOR_TARGET"; then
11840 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11843 for as_dir in $PATH
11846 test -z "$as_dir" && as_dir=.
11847 for ac_exec_ext in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11859 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11860 if test -n "$NM_FOR_TARGET"; then
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11862 $as_echo "$NM_FOR_TARGET" >&6; }
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11865 $as_echo "no
" >&6; }
11872 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11873 for ncn_progname in nm; do
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11875 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11876 if test -x $with_build_time_tools/${ncn_progname}; then
11877 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11879 $as_echo "yes" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11883 $as_echo "no
" >&6; }
11888 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11889 for ncn_progname in nm; do
11890 if test -n "$ncn_target_tool_prefix"; then
11891 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11892 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11894 $as_echo_n "checking
for $ac_word...
" >&6; }
11895 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11896 $as_echo_n "(cached
) " >&6
11898 if test -n "$NM_FOR_TARGET"; then
11899 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11902 for as_dir in $PATH
11905 test -z "$as_dir" && as_dir=.
11906 for ac_exec_ext in '' $ac_executable_extensions; do
11907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11908 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11918 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11919 if test -n "$NM_FOR_TARGET"; then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11921 $as_echo "$NM_FOR_TARGET" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11924 $as_echo "no
" >&6; }
11929 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11931 set dummy ${ncn_progname}; ac_word=$2
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11933 $as_echo_n "checking
for $ac_word...
" >&6; }
11934 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11935 $as_echo_n "(cached
) " >&6
11937 if test -n "$NM_FOR_TARGET"; then
11938 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11944 test -z "$as_dir" && as_dir=.
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11947 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11957 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11958 if test -n "$NM_FOR_TARGET"; then
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11960 $as_echo "$NM_FOR_TARGET" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11963 $as_echo "no
" >&6; }
11968 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11972 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11974 if test $build = $target ; then
11977 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11980 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11984 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11990 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11991 if test -n "$with_build_time_tools"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11993 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11994 if test -x $with_build_time_tools/objdump; then
11995 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11996 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11998 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12001 $as_echo "no
" >&6; }
12003 elif test $build != $host && test $have_gcc_for_target = yes; then
12004 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12005 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12006 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12009 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12010 # Extract the first word of "objdump
", so it can be a program name with args.
12011 set dummy objdump; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12013 $as_echo_n "checking
for $ac_word...
" >&6; }
12014 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12015 $as_echo_n "(cached
) " >&6
12017 case $OBJDUMP_FOR_TARGET in
12019 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $gcc_cv_tool_dirs
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_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12040 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12041 if test -n "$OBJDUMP_FOR_TARGET"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12043 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12046 $as_echo "no
" >&6; }
12051 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12054 if test -n "$OBJDUMP_FOR_TARGET"; then
12055 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12056 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12057 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12060 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12061 for ncn_progname in objdump; do
12062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12063 set dummy ${ncn_progname}; ac_word=$2
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12065 $as_echo_n "checking
for $ac_word...
" >&6; }
12066 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12067 $as_echo_n "(cached
) " >&6
12069 if test -n "$OBJDUMP_FOR_TARGET"; then
12070 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12073 for as_dir in $PATH
12076 test -z "$as_dir" && as_dir=.
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12079 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12089 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12090 if test -n "$OBJDUMP_FOR_TARGET"; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12092 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12095 $as_echo "no
" >&6; }
12102 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12103 for ncn_progname in objdump; do
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12105 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12106 if test -x $with_build_time_tools/${ncn_progname}; then
12107 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12109 $as_echo "yes" >&6; }
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12113 $as_echo "no
" >&6; }
12118 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12119 for ncn_progname in objdump; do
12120 if test -n "$ncn_target_tool_prefix"; then
12121 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12122 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12124 $as_echo_n "checking
for $ac_word...
" >&6; }
12125 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12126 $as_echo_n "(cached
) " >&6
12128 if test -n "$OBJDUMP_FOR_TARGET"; then
12129 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12132 for as_dir in $PATH
12135 test -z "$as_dir" && as_dir=.
12136 for ac_exec_ext in '' $ac_executable_extensions; do
12137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12138 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12148 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12149 if test -n "$OBJDUMP_FOR_TARGET"; then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12151 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12154 $as_echo "no
" >&6; }
12159 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12160 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12161 set dummy ${ncn_progname}; ac_word=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12163 $as_echo_n "checking
for $ac_word...
" >&6; }
12164 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12165 $as_echo_n "(cached
) " >&6
12167 if test -n "$OBJDUMP_FOR_TARGET"; then
12168 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 for as_dir in $PATH
12174 test -z "$as_dir" && as_dir=.
12175 for ac_exec_ext in '' $ac_executable_extensions; do
12176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12177 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12187 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12188 if test -n "$OBJDUMP_FOR_TARGET"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12190 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12193 $as_echo "no
" >&6; }
12198 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12202 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12204 if test $build = $target ; then
12205 OBJDUMP_FOR_TARGET="$2"
12207 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12210 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12214 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12220 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12221 if test -n "$with_build_time_tools"; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12223 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12224 if test -x $with_build_time_tools/ranlib; then
12225 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12226 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12228 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12231 $as_echo "no
" >&6; }
12233 elif test $build != $host && test $have_gcc_for_target = yes; then
12234 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12235 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12236 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12239 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12240 # Extract the first word of "ranlib
", so it can be a program name with args.
12241 set dummy ranlib; ac_word=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12243 $as_echo_n "checking
for $ac_word...
" >&6; }
12244 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12245 $as_echo_n "(cached
) " >&6
12247 case $RANLIB_FOR_TARGET in
12249 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12253 for as_dir in $gcc_cv_tool_dirs
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_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12270 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12271 if test -n "$RANLIB_FOR_TARGET"; then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12273 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12276 $as_echo "no
" >&6; }
12281 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12284 if test -n "$RANLIB_FOR_TARGET"; then
12285 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12286 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12287 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12290 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12291 for ncn_progname in ranlib; do
12292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12293 set dummy ${ncn_progname}; ac_word=$2
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12295 $as_echo_n "checking
for $ac_word...
" >&6; }
12296 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12297 $as_echo_n "(cached
) " >&6
12299 if test -n "$RANLIB_FOR_TARGET"; then
12300 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12303 for as_dir in $PATH
12306 test -z "$as_dir" && as_dir=.
12307 for ac_exec_ext in '' $ac_executable_extensions; do
12308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12309 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12319 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12320 if test -n "$RANLIB_FOR_TARGET"; then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12322 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12325 $as_echo "no
" >&6; }
12332 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12333 for ncn_progname in ranlib; do
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12335 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12336 if test -x $with_build_time_tools/${ncn_progname}; then
12337 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12339 $as_echo "yes" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12343 $as_echo "no
" >&6; }
12348 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12349 for ncn_progname in ranlib; do
12350 if test -n "$ncn_target_tool_prefix"; then
12351 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12352 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12354 $as_echo_n "checking
for $ac_word...
" >&6; }
12355 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12356 $as_echo_n "(cached
) " >&6
12358 if test -n "$RANLIB_FOR_TARGET"; then
12359 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12362 for as_dir in $PATH
12365 test -z "$as_dir" && as_dir=.
12366 for ac_exec_ext in '' $ac_executable_extensions; do
12367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12368 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12378 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12379 if test -n "$RANLIB_FOR_TARGET"; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12381 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12384 $as_echo "no
" >&6; }
12389 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12390 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12391 set dummy ${ncn_progname}; ac_word=$2
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12393 $as_echo_n "checking
for $ac_word...
" >&6; }
12394 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12395 $as_echo_n "(cached
) " >&6
12397 if test -n "$RANLIB_FOR_TARGET"; then
12398 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12401 for as_dir in $PATH
12404 test -z "$as_dir" && as_dir=.
12405 for ac_exec_ext in '' $ac_executable_extensions; do
12406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12407 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12417 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12418 if test -n "$RANLIB_FOR_TARGET"; then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12420 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12423 $as_echo "no
" >&6; }
12428 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12432 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12434 if test $build = $target ; then
12435 RANLIB_FOR_TARGET="$2"
12437 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12440 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12444 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12450 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12451 if test -n "$with_build_time_tools"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12453 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12454 if test -x $with_build_time_tools/strip; then
12455 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12456 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12458 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12461 $as_echo "no
" >&6; }
12463 elif test $build != $host && test $have_gcc_for_target = yes; then
12464 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12465 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12466 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12469 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12470 # Extract the first word of "strip
", so it can be a program name with args.
12471 set dummy strip; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12473 $as_echo_n "checking
for $ac_word...
" >&6; }
12474 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12475 $as_echo_n "(cached
) " >&6
12477 case $STRIP_FOR_TARGET in
12479 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $gcc_cv_tool_dirs
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_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12500 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12501 if test -n "$STRIP_FOR_TARGET"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12503 $as_echo "$STRIP_FOR_TARGET" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12506 $as_echo "no
" >&6; }
12511 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12514 if test -n "$STRIP_FOR_TARGET"; then
12515 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12516 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12517 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12520 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12521 for ncn_progname in strip; do
12522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12523 set dummy ${ncn_progname}; ac_word=$2
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12525 $as_echo_n "checking
for $ac_word...
" >&6; }
12526 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12527 $as_echo_n "(cached
) " >&6
12529 if test -n "$STRIP_FOR_TARGET"; then
12530 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12533 for as_dir in $PATH
12536 test -z "$as_dir" && as_dir=.
12537 for ac_exec_ext in '' $ac_executable_extensions; do
12538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12539 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12549 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12550 if test -n "$STRIP_FOR_TARGET"; then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12552 $as_echo "$STRIP_FOR_TARGET" >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12555 $as_echo "no
" >&6; }
12562 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12563 for ncn_progname in strip; do
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12565 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12566 if test -x $with_build_time_tools/${ncn_progname}; then
12567 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12569 $as_echo "yes" >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12573 $as_echo "no
" >&6; }
12578 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12579 for ncn_progname in strip; do
12580 if test -n "$ncn_target_tool_prefix"; then
12581 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12582 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12584 $as_echo_n "checking
for $ac_word...
" >&6; }
12585 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12586 $as_echo_n "(cached
) " >&6
12588 if test -n "$STRIP_FOR_TARGET"; then
12589 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12592 for as_dir in $PATH
12595 test -z "$as_dir" && as_dir=.
12596 for ac_exec_ext in '' $ac_executable_extensions; do
12597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12598 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12608 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12609 if test -n "$STRIP_FOR_TARGET"; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12611 $as_echo "$STRIP_FOR_TARGET" >&6; }
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12614 $as_echo "no
" >&6; }
12619 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12621 set dummy ${ncn_progname}; ac_word=$2
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12623 $as_echo_n "checking
for $ac_word...
" >&6; }
12624 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12625 $as_echo_n "(cached
) " >&6
12627 if test -n "$STRIP_FOR_TARGET"; then
12628 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12631 for as_dir in $PATH
12634 test -z "$as_dir" && as_dir=.
12635 for ac_exec_ext in '' $ac_executable_extensions; do
12636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12637 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12647 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12648 if test -n "$STRIP_FOR_TARGET"; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12650 $as_echo "$STRIP_FOR_TARGET" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12653 $as_echo "no
" >&6; }
12658 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12662 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12664 if test $build = $target ; then
12665 STRIP_FOR_TARGET="$2"
12667 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12670 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12674 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12680 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12681 if test -n "$with_build_time_tools"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12683 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12684 if test -x $with_build_time_tools/windres; then
12685 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12686 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12688 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12691 $as_echo "no
" >&6; }
12693 elif test $build != $host && test $have_gcc_for_target = yes; then
12694 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12695 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12696 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12699 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12700 # Extract the first word of "windres
", so it can be a program name with args.
12701 set dummy windres; ac_word=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12703 $as_echo_n "checking
for $ac_word...
" >&6; }
12704 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12705 $as_echo_n "(cached
) " >&6
12707 case $WINDRES_FOR_TARGET in
12709 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12713 for as_dir in $gcc_cv_tool_dirs
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_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12730 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12731 if test -n "$WINDRES_FOR_TARGET"; then
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12733 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12736 $as_echo "no
" >&6; }
12741 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12744 if test -n "$WINDRES_FOR_TARGET"; then
12745 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12746 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12747 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12750 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12751 for ncn_progname in windres; do
12752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12753 set dummy ${ncn_progname}; ac_word=$2
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12755 $as_echo_n "checking
for $ac_word...
" >&6; }
12756 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12757 $as_echo_n "(cached
) " >&6
12759 if test -n "$WINDRES_FOR_TARGET"; then
12760 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763 for as_dir in $PATH
12766 test -z "$as_dir" && as_dir=.
12767 for ac_exec_ext in '' $ac_executable_extensions; do
12768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12769 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12779 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12780 if test -n "$WINDRES_FOR_TARGET"; then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12782 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12785 $as_echo "no
" >&6; }
12792 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12793 for ncn_progname in windres; do
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12795 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12796 if test -x $with_build_time_tools/${ncn_progname}; then
12797 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12799 $as_echo "yes" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12803 $as_echo "no
" >&6; }
12808 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12809 for ncn_progname in windres; do
12810 if test -n "$ncn_target_tool_prefix"; then
12811 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12812 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12814 $as_echo_n "checking
for $ac_word...
" >&6; }
12815 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12816 $as_echo_n "(cached
) " >&6
12818 if test -n "$WINDRES_FOR_TARGET"; then
12819 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12822 for as_dir in $PATH
12825 test -z "$as_dir" && as_dir=.
12826 for ac_exec_ext in '' $ac_executable_extensions; do
12827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12828 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12838 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12839 if test -n "$WINDRES_FOR_TARGET"; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12841 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12844 $as_echo "no
" >&6; }
12849 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12851 set dummy ${ncn_progname}; ac_word=$2
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12853 $as_echo_n "checking
for $ac_word...
" >&6; }
12854 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12855 $as_echo_n "(cached
) " >&6
12857 if test -n "$WINDRES_FOR_TARGET"; then
12858 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12861 for as_dir in $PATH
12864 test -z "$as_dir" && as_dir=.
12865 for ac_exec_ext in '' $ac_executable_extensions; do
12866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12867 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12877 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12878 if test -n "$WINDRES_FOR_TARGET"; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12880 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12883 $as_echo "no
" >&6; }
12888 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12892 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12894 if test $build = $target ; then
12895 WINDRES_FOR_TARGET="$2"
12897 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12900 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12904 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12910 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12911 if test -n "$with_build_time_tools"; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12913 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12914 if test -x $with_build_time_tools/windmc; then
12915 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12916 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12918 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12921 $as_echo "no
" >&6; }
12923 elif test $build != $host && test $have_gcc_for_target = yes; then
12924 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12925 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12926 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12929 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12930 # Extract the first word of "windmc
", so it can be a program name with args.
12931 set dummy windmc; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12933 $as_echo_n "checking
for $ac_word...
" >&6; }
12934 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12935 $as_echo_n "(cached
) " >&6
12937 case $WINDMC_FOR_TARGET in
12939 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $gcc_cv_tool_dirs
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_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12960 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12961 if test -n "$WINDMC_FOR_TARGET"; then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12963 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12966 $as_echo "no
" >&6; }
12971 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12974 if test -n "$WINDMC_FOR_TARGET"; then
12975 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12976 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12977 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12980 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12981 for ncn_progname in windmc; do
12982 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12983 set dummy ${ncn_progname}; ac_word=$2
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12985 $as_echo_n "checking
for $ac_word...
" >&6; }
12986 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12987 $as_echo_n "(cached
) " >&6
12989 if test -n "$WINDMC_FOR_TARGET"; then
12990 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12993 for as_dir in $PATH
12996 test -z "$as_dir" && as_dir=.
12997 for ac_exec_ext in '' $ac_executable_extensions; do
12998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12999 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13009 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13010 if test -n "$WINDMC_FOR_TARGET"; then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13012 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13015 $as_echo "no
" >&6; }
13022 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13023 for ncn_progname in windmc; do
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13025 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13026 if test -x $with_build_time_tools/${ncn_progname}; then
13027 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13029 $as_echo "yes" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13033 $as_echo "no
" >&6; }
13038 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13039 for ncn_progname in windmc; do
13040 if test -n "$ncn_target_tool_prefix"; then
13041 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13042 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13044 $as_echo_n "checking
for $ac_word...
" >&6; }
13045 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13046 $as_echo_n "(cached
) " >&6
13048 if test -n "$WINDMC_FOR_TARGET"; then
13049 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13052 for as_dir in $PATH
13055 test -z "$as_dir" && as_dir=.
13056 for ac_exec_ext in '' $ac_executable_extensions; do
13057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13058 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13068 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13069 if test -n "$WINDMC_FOR_TARGET"; then
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13071 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13074 $as_echo "no
" >&6; }
13079 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13080 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13081 set dummy ${ncn_progname}; ac_word=$2
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13083 $as_echo_n "checking
for $ac_word...
" >&6; }
13084 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13085 $as_echo_n "(cached
) " >&6
13087 if test -n "$WINDMC_FOR_TARGET"; then
13088 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13091 for as_dir in $PATH
13094 test -z "$as_dir" && as_dir=.
13095 for ac_exec_ext in '' $ac_executable_extensions; do
13096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13097 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13107 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13108 if test -n "$WINDMC_FOR_TARGET"; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13110 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13113 $as_echo "no
" >&6; }
13118 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13122 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13124 if test $build = $target ; then
13125 WINDMC_FOR_TARGET="$2"
13127 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13130 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13134 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13138 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13141 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13142 if test "x
${build}" != "x
${host}" ; then
13143 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13144 # We already found the complete path
13145 ac_dir=`dirname $AR_FOR_TARGET`
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13147 $as_echo "pre-installed
in $ac_dir" >&6; }
13149 # Canadian cross, just use what we found
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13151 $as_echo "pre-installed
" >&6; }
13155 case " ${configdirs} " in
13160 if test $ok = yes; then
13161 # An in-tree tool is available and we can use it
13162 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13164 $as_echo "just compiled
" >&6; }
13165 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13166 # We already found the complete path
13167 ac_dir=`dirname $AR_FOR_TARGET`
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13169 $as_echo "pre-installed
in $ac_dir" >&6; }
13170 elif test "x
$target" = "x
$host"; then
13171 # We can use an host tool
13172 AR_FOR_TARGET='$(AR)'
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13174 $as_echo "host tool
" >&6; }
13176 # We need a cross tool
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13178 $as_echo "pre-installed
" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13183 $as_echo_n "checking where to
find the target as...
" >&6; }
13184 if test "x
${build}" != "x
${host}" ; then
13185 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13186 # We already found the complete path
13187 ac_dir=`dirname $AS_FOR_TARGET`
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13189 $as_echo "pre-installed
in $ac_dir" >&6; }
13191 # Canadian cross, just use what we found
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13193 $as_echo "pre-installed
" >&6; }
13197 case " ${configdirs} " in
13202 if test $ok = yes; then
13203 # An in-tree tool is available and we can use it
13204 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13206 $as_echo "just compiled
" >&6; }
13207 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13208 # We already found the complete path
13209 ac_dir=`dirname $AS_FOR_TARGET`
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13211 $as_echo "pre-installed
in $ac_dir" >&6; }
13212 elif test "x
$target" = "x
$host"; then
13213 # We can use an host tool
13214 AS_FOR_TARGET='$(AS)'
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13216 $as_echo "host tool
" >&6; }
13218 # We need a cross tool
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13220 $as_echo "pre-installed
" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13225 $as_echo_n "checking where to
find the target cc...
" >&6; }
13226 if test "x
${build}" != "x
${host}" ; then
13227 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13228 # We already found the complete path
13229 ac_dir=`dirname $CC_FOR_TARGET`
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13231 $as_echo "pre-installed
in $ac_dir" >&6; }
13233 # Canadian cross, just use what we found
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13235 $as_echo "pre-installed
" >&6; }
13239 case " ${configdirs} " in
13244 if test $ok = yes; then
13245 # An in-tree tool is available and we can use it
13246 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13248 $as_echo "just compiled
" >&6; }
13249 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13250 # We already found the complete path
13251 ac_dir=`dirname $CC_FOR_TARGET`
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13253 $as_echo "pre-installed
in $ac_dir" >&6; }
13254 elif test "x
$target" = "x
$host"; then
13255 # We can use an host tool
13256 CC_FOR_TARGET='$(CC)'
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13258 $as_echo "host tool
" >&6; }
13260 # We need a cross tool
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13262 $as_echo "pre-installed
" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13267 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13268 if test "x
${build}" != "x
${host}" ; then
13269 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13270 # We already found the complete path
13271 ac_dir=`dirname $CXX_FOR_TARGET`
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13273 $as_echo "pre-installed
in $ac_dir" >&6; }
13275 # Canadian cross, just use what we found
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13277 $as_echo "pre-installed
" >&6; }
13281 case " ${configdirs} " in
13285 case ,${enable_languages}, in
13289 if test $ok = yes; then
13290 # An in-tree tool is available and we can use it
13291 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'
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13293 $as_echo "just compiled
" >&6; }
13294 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13295 # We already found the complete path
13296 ac_dir=`dirname $CXX_FOR_TARGET`
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13298 $as_echo "pre-installed
in $ac_dir" >&6; }
13299 elif test "x
$target" = "x
$host"; then
13300 # We can use an host tool
13301 CXX_FOR_TARGET='$(CXX)'
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13303 $as_echo "host tool
" >&6; }
13305 # We need a cross tool
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13307 $as_echo "pre-installed
" >&6; }
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13312 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13313 if test "x
${build}" != "x
${host}" ; then
13314 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13315 # We already found the complete path
13316 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13318 $as_echo "pre-installed
in $ac_dir" >&6; }
13320 # Canadian cross, just use what we found
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13322 $as_echo "pre-installed
" >&6; }
13326 case " ${configdirs} " in
13330 case ,${enable_languages}, in
13334 if test $ok = yes; then
13335 # An in-tree tool is available and we can use it
13336 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'
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13338 $as_echo "just compiled
" >&6; }
13339 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13340 # We already found the complete path
13341 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13343 $as_echo "pre-installed
in $ac_dir" >&6; }
13344 elif test "x
$target" = "x
$host"; then
13345 # We can use an host tool
13346 RAW_CXX_FOR_TARGET='$(CXX)'
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13348 $as_echo "host tool
" >&6; }
13350 # We need a cross tool
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13352 $as_echo "pre-installed
" >&6; }
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13357 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13358 if test "x
${build}" != "x
${host}" ; then
13359 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13360 # We already found the complete path
13361 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13363 $as_echo "pre-installed
in $ac_dir" >&6; }
13365 # Canadian cross, just use what we found
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13367 $as_echo "pre-installed
" >&6; }
13371 case " ${configdirs} " in
13376 if test $ok = yes; then
13377 # An in-tree tool is available and we can use it
13378 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13380 $as_echo "just compiled
" >&6; }
13381 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13382 # We already found the complete path
13383 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13385 $as_echo "pre-installed
in $ac_dir" >&6; }
13386 elif test "x
$target" = "x
$host"; then
13387 # We can use an host tool
13388 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13390 $as_echo "host tool
" >&6; }
13392 # We need a cross tool
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13394 $as_echo "pre-installed
" >&6; }
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13399 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13400 if test "x
${build}" != "x
${host}" ; then
13401 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13402 # We already found the complete path
13403 ac_dir=`dirname $GCC_FOR_TARGET`
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13405 $as_echo "pre-installed
in $ac_dir" >&6; }
13407 # Canadian cross, just use what we found
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13409 $as_echo "pre-installed
" >&6; }
13413 case " ${configdirs} " in
13418 if test $ok = yes; then
13419 # An in-tree tool is available and we can use it
13420 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13422 $as_echo "just compiled
" >&6; }
13423 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13424 # We already found the complete path
13425 ac_dir=`dirname $GCC_FOR_TARGET`
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13427 $as_echo "pre-installed
in $ac_dir" >&6; }
13428 elif test "x
$target" = "x
$host"; then
13429 # We can use an host tool
13430 GCC_FOR_TARGET='$()'
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13432 $as_echo "host tool
" >&6; }
13434 # We need a cross tool
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13436 $as_echo "pre-installed
" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13441 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13442 if test "x
${build}" != "x
${host}" ; then
13443 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13444 # We already found the complete path
13445 ac_dir=`dirname $GCJ_FOR_TARGET`
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13447 $as_echo "pre-installed
in $ac_dir" >&6; }
13449 # Canadian cross, just use what we found
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13451 $as_echo "pre-installed
" >&6; }
13455 case " ${configdirs} " in
13459 case ,${enable_languages}, in
13463 if test $ok = yes; then
13464 # An in-tree tool is available and we can use it
13465 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13467 $as_echo "just compiled
" >&6; }
13468 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13469 # We already found the complete path
13470 ac_dir=`dirname $GCJ_FOR_TARGET`
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13472 $as_echo "pre-installed
in $ac_dir" >&6; }
13473 elif test "x
$target" = "x
$host"; then
13474 # We can use an host tool
13475 GCJ_FOR_TARGET='$(GCJ)'
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13477 $as_echo "host tool
" >&6; }
13479 # We need a cross tool
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13481 $as_echo "pre-installed
" >&6; }
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13486 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13487 if test "x
${build}" != "x
${host}" ; then
13488 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13489 # We already found the complete path
13490 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13492 $as_echo "pre-installed
in $ac_dir" >&6; }
13494 # Canadian cross, just use what we found
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13496 $as_echo "pre-installed
" >&6; }
13500 case " ${configdirs} " in
13504 case ,${enable_languages}, in
13508 if test $ok = yes; then
13509 # An in-tree tool is available and we can use it
13510 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13512 $as_echo "just compiled
" >&6; }
13513 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13514 # We already found the complete path
13515 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13517 $as_echo "pre-installed
in $ac_dir" >&6; }
13518 elif test "x
$target" = "x
$host"; then
13519 # We can use an host tool
13520 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13522 $as_echo "host tool
" >&6; }
13524 # We need a cross tool
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13526 $as_echo "pre-installed
" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13531 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13532 if test "x
${build}" != "x
${host}" ; then
13533 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13534 # We already found the complete path
13535 ac_dir=`dirname $GOC_FOR_TARGET`
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13537 $as_echo "pre-installed
in $ac_dir" >&6; }
13539 # Canadian cross, just use what we found
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13541 $as_echo "pre-installed
" >&6; }
13545 case " ${configdirs} " in
13549 case ,${enable_languages}, in
13553 if test $ok = yes; then
13554 # An in-tree tool is available and we can use it
13555 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13557 $as_echo "just compiled
" >&6; }
13558 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13559 # We already found the complete path
13560 ac_dir=`dirname $GOC_FOR_TARGET`
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13562 $as_echo "pre-installed
in $ac_dir" >&6; }
13563 elif test "x
$target" = "x
$host"; then
13564 # We can use an host tool
13565 GOC_FOR_TARGET='$(GOC)'
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13567 $as_echo "host tool
" >&6; }
13569 # We need a cross tool
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13571 $as_echo "pre-installed
" >&6; }
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13576 $as_echo_n "checking where to
find the target ld...
" >&6; }
13577 if test "x
${build}" != "x
${host}" ; then
13578 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13579 # We already found the complete path
13580 ac_dir=`dirname $LD_FOR_TARGET`
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13582 $as_echo "pre-installed
in $ac_dir" >&6; }
13584 # Canadian cross, just use what we found
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13586 $as_echo "pre-installed
" >&6; }
13590 case " ${configdirs} " in
13595 if test $ok = yes; then
13596 # An in-tree tool is available and we can use it
13597 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13599 $as_echo "just compiled
" >&6; }
13600 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13601 # We already found the complete path
13602 ac_dir=`dirname $LD_FOR_TARGET`
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13604 $as_echo "pre-installed
in $ac_dir" >&6; }
13605 elif test "x
$target" = "x
$host"; then
13606 # We can use an host tool
13607 LD_FOR_TARGET='$(LD)'
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13609 $as_echo "host tool
" >&6; }
13611 # We need a cross tool
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13613 $as_echo "pre-installed
" >&6; }
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13618 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13619 if test "x
${build}" != "x
${host}" ; then
13620 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13621 # We already found the complete path
13622 ac_dir=`dirname $LIPO_FOR_TARGET`
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13624 $as_echo "pre-installed
in $ac_dir" >&6; }
13626 # Canadian cross, just use what we found
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13628 $as_echo "pre-installed
" >&6; }
13631 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13632 # We already found the complete path
13633 ac_dir=`dirname $LIPO_FOR_TARGET`
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13635 $as_echo "pre-installed
in $ac_dir" >&6; }
13636 elif test "x
$target" = "x
$host"; then
13637 # We can use an host tool
13638 LIPO_FOR_TARGET='$(LIPO)'
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13640 $as_echo "host tool
" >&6; }
13642 # We need a cross tool
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13644 $as_echo "pre-installed
" >&6; }
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13649 $as_echo_n "checking where to
find the target nm...
" >&6; }
13650 if test "x
${build}" != "x
${host}" ; then
13651 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13652 # We already found the complete path
13653 ac_dir=`dirname $NM_FOR_TARGET`
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13655 $as_echo "pre-installed
in $ac_dir" >&6; }
13657 # Canadian cross, just use what we found
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13659 $as_echo "pre-installed
" >&6; }
13663 case " ${configdirs} " in
13668 if test $ok = yes; then
13669 # An in-tree tool is available and we can use it
13670 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13672 $as_echo "just compiled
" >&6; }
13673 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13674 # We already found the complete path
13675 ac_dir=`dirname $NM_FOR_TARGET`
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13677 $as_echo "pre-installed
in $ac_dir" >&6; }
13678 elif test "x
$target" = "x
$host"; then
13679 # We can use an host tool
13680 NM_FOR_TARGET='$(NM)'
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13682 $as_echo "host tool
" >&6; }
13684 # We need a cross tool
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13686 $as_echo "pre-installed
" >&6; }
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13691 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13692 if test "x
${build}" != "x
${host}" ; then
13693 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13694 # We already found the complete path
13695 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13697 $as_echo "pre-installed
in $ac_dir" >&6; }
13699 # Canadian cross, just use what we found
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13701 $as_echo "pre-installed
" >&6; }
13705 case " ${configdirs} " in
13710 if test $ok = yes; then
13711 # An in-tree tool is available and we can use it
13712 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13714 $as_echo "just compiled
" >&6; }
13715 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13716 # We already found the complete path
13717 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13719 $as_echo "pre-installed
in $ac_dir" >&6; }
13720 elif test "x
$target" = "x
$host"; then
13721 # We can use an host tool
13722 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13724 $as_echo "host tool
" >&6; }
13726 # We need a cross tool
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13728 $as_echo "pre-installed
" >&6; }
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13733 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13734 if test "x
${build}" != "x
${host}" ; then
13735 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13736 # We already found the complete path
13737 ac_dir=`dirname $RANLIB_FOR_TARGET`
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13739 $as_echo "pre-installed
in $ac_dir" >&6; }
13741 # Canadian cross, just use what we found
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13743 $as_echo "pre-installed
" >&6; }
13747 case " ${configdirs} " in
13752 if test $ok = yes; then
13753 # An in-tree tool is available and we can use it
13754 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13756 $as_echo "just compiled
" >&6; }
13757 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13758 # We already found the complete path
13759 ac_dir=`dirname $RANLIB_FOR_TARGET`
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13761 $as_echo "pre-installed
in $ac_dir" >&6; }
13762 elif test "x
$target" = "x
$host"; then
13763 # We can use an host tool
13764 RANLIB_FOR_TARGET='$(RANLIB)'
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13766 $as_echo "host tool
" >&6; }
13768 # We need a cross tool
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13770 $as_echo "pre-installed
" >&6; }
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13775 $as_echo_n "checking where to
find the target strip...
" >&6; }
13776 if test "x
${build}" != "x
${host}" ; then
13777 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13778 # We already found the complete path
13779 ac_dir=`dirname $STRIP_FOR_TARGET`
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13781 $as_echo "pre-installed
in $ac_dir" >&6; }
13783 # Canadian cross, just use what we found
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13785 $as_echo "pre-installed
" >&6; }
13789 case " ${configdirs} " in
13794 if test $ok = yes; then
13795 # An in-tree tool is available and we can use it
13796 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13798 $as_echo "just compiled
" >&6; }
13799 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13800 # We already found the complete path
13801 ac_dir=`dirname $STRIP_FOR_TARGET`
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13803 $as_echo "pre-installed
in $ac_dir" >&6; }
13804 elif test "x
$target" = "x
$host"; then
13805 # We can use an host tool
13806 STRIP_FOR_TARGET='$(STRIP)'
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13808 $as_echo "host tool
" >&6; }
13810 # We need a cross tool
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13812 $as_echo "pre-installed
" >&6; }
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13817 $as_echo_n "checking where to
find the target windres...
" >&6; }
13818 if test "x
${build}" != "x
${host}" ; then
13819 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13820 # We already found the complete path
13821 ac_dir=`dirname $WINDRES_FOR_TARGET`
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13823 $as_echo "pre-installed
in $ac_dir" >&6; }
13825 # Canadian cross, just use what we found
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13827 $as_echo "pre-installed
" >&6; }
13831 case " ${configdirs} " in
13836 if test $ok = yes; then
13837 # An in-tree tool is available and we can use it
13838 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13840 $as_echo "just compiled
" >&6; }
13841 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13842 # We already found the complete path
13843 ac_dir=`dirname $WINDRES_FOR_TARGET`
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13845 $as_echo "pre-installed
in $ac_dir" >&6; }
13846 elif test "x
$target" = "x
$host"; then
13847 # We can use an host tool
13848 WINDRES_FOR_TARGET='$(WINDRES)'
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13850 $as_echo "host tool
" >&6; }
13852 # We need a cross tool
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13854 $as_echo "pre-installed
" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13859 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13860 if test "x
${build}" != "x
${host}" ; then
13861 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13862 # We already found the complete path
13863 ac_dir=`dirname $WINDMC_FOR_TARGET`
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13865 $as_echo "pre-installed
in $ac_dir" >&6; }
13867 # Canadian cross, just use what we found
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13869 $as_echo "pre-installed
" >&6; }
13873 case " ${configdirs} " in
13878 if test $ok = yes; then
13879 # An in-tree tool is available and we can use it
13880 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13882 $as_echo "just compiled
" >&6; }
13883 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13884 # We already found the complete path
13885 ac_dir=`dirname $WINDMC_FOR_TARGET`
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13887 $as_echo "pre-installed
in $ac_dir" >&6; }
13888 elif test "x
$target" = "x
$host"; then
13889 # We can use an host tool
13890 WINDMC_FOR_TARGET='$(WINDMC)'
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13892 $as_echo "host tool
" >&6; }
13894 # We need a cross tool
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13896 $as_echo "pre-installed
" >&6; }
13904 # Certain tools may need extra flags.
13905 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13906 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13907 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13909 # When building target libraries, except in a Canadian cross, we use
13910 # the same toolchain as the compiler we just built.
13911 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13912 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13913 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13914 if test $host = $build; then
13915 case " $configdirs " in
13917 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13918 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13919 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13929 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13930 # Check whether --enable-maintainer-mode was given.
13931 if test "${enable_maintainer_mode+set}" = set; then :
13932 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13934 USE_MAINTAINER_MODE=no
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13938 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13941 if test "$USE_MAINTAINER_MODE" = yes; then
13942 MAINTAINER_MODE_TRUE=
13943 MAINTAINER_MODE_FALSE='#'
13945 MAINTAINER_MODE_TRUE='#'
13946 MAINTAINER_MODE_FALSE=
13948 MAINT=$MAINTAINER_MODE_TRUE
13950 # ---------------------
13951 # GCC bootstrap support
13952 # ---------------------
13954 # Stage specific cflags for build.
13959 yes) stage1_cflags="-g -Wa,-J" ;;
13960 *) stage1_cflags="-g -J" ;;
13964 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13965 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13966 saved_CFLAGS="$CFLAGS"
13968 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13969 CFLAGS="$CFLAGS -fkeep-inline-functions"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13971 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 #if (__GNUC__ < 3) \
13976 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13977 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13978 #error http://gcc.gnu.org/PR29382
13989 if ac_fn_c_try_compile "$LINENO"; then :
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13991 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13994 $as_echo "no
" >&6; }
13996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13998 CFLAGS="$saved_CFLAGS"
14003 # Enable --enable-checking in stage1 of the compiler.
14004 # Check whether --enable-stage1-checking was given.
14005 if test "${enable_stage1_checking+set}" = set; then :
14006 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14008 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14009 stage1_checking=--enable-checking=yes,types
14011 stage1_checking=--enable-checking=$enable_checking,types
14017 # Enable -Werror in bootstrap stage2 and later.
14018 # Check whether --enable-werror was given.
14019 if test "${enable_werror+set}" = set; then :
14020 enableval=$enable_werror;
14022 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14029 case ${enable_werror} in
14030 yes) stage2_werror_flag="--enable-werror-always" ;;
14031 *) stage2_werror_flag="" ;;
14035 # If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
14036 # --enable-build-with-cxx after stage1.
14037 if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
14038 POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
14040 POSTSTAGE1_CONFIGURE_FLAGS=
14044 # Specify what files to not compare during bootstrap.
14046 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14048 hppa*64*-*-hpux*) ;;
14049 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14051 case " $configdirs " in
14052 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14056 ac_config_files="$ac_config_files Makefile
"
14058 cat >confcache <<\_ACEOF
14059 # This file is a shell script that caches the results of configure
14060 # tests run on this system so they can be shared between configure
14061 # scripts and configure runs, see configure's option --config-cache.
14062 # It is not useful on other systems. If it contains results you don't
14063 # want to keep, you may remove or edit it.
14065 # config.status only pays attention to the cache file if you give it
14066 # the --recheck option to rerun configure.
14068 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14069 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14070 # following values.
14074 # The following way of writing the cache mishandles newlines in values,
14075 # but we know of no workaround that is simple, portable, and efficient.
14076 # So, we kill variables containing newlines.
14077 # Ultrix sh set writes to stderr and can't be redirected directly,
14078 # and sets the high bit in the cache file unless we assign to the vars.
14080 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14081 eval ac_val=\$$ac_var
14085 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14086 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14089 _ | IFS | as_nl) ;; #(
14090 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14091 *) { eval $ac_var=; unset $ac_var;} ;;
14097 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14098 *${as_nl}ac_space=\ *)
14099 # `set' does not quote correctly, so add quotes: double-quote
14100 # substitution turns \\\\ into \\, and sed turns \\ into \.
14103 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14106 # `set' quotes correctly as required by POSIX, so do not add quotes.
14107 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14116 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14118 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14120 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14121 if test -w "$cache_file"; then
14122 test "x
$cache_file" != "x
/dev
/null
" &&
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14124 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14125 cat confcache >$cache_file
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14128 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14133 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14134 # Let make expand exec_prefix.
14135 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14137 # Transform confdefs.h into DEFS.
14138 # Protect against shell expansion while executing Makefile rules.
14139 # Protect against Makefile macro expansion.
14141 # If the first sed substitution is executed (which looks for macros that
14142 # take arguments), then branch to the quote section. Otherwise,
14143 # look for a macro that doesn't take arguments.
14153 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14155 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14159 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14172 DEFS=`sed -n "$ac_script" confdefs.h`
14177 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14178 # 1. Remove the extension, and $U if already installed.
14179 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14180 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14181 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14182 # will be set to the directory where LIBOBJS objects are built.
14183 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14184 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14186 LIBOBJS=$ac_libobjs
14188 LTLIBOBJS=$ac_ltlibobjs
14192 : ${CONFIG_STATUS=./config.status}
14194 ac_clean_files_save=$ac_clean_files
14195 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14197 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14199 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14201 # Generated by $as_me.
14202 # Run this file to recreate the current configuration.
14203 # Compiler output produced by configure, useful for debugging
14204 # configure, is in config.log if it exists.
14207 ac_cs_recheck=false
14210 SHELL=\${CONFIG_SHELL-$SHELL}
14213 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14214 ## -------------------- ##
14215 ## M4sh Initialization. ##
14216 ## -------------------- ##
14218 # Be more Bourne compatible
14219 DUALCASE=1; export DUALCASE # for MKS sh
14220 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14223 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14224 # is contrary to our usage. Disable this feature.
14225 alias -g '${1+"$@"}'='"$@"'
14226 setopt NO_GLOB_SUBST
14228 case `(set -o) 2>/dev/null` in #(
14240 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14241 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14242 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14243 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14244 # Prefer a ksh shell builtin over an external printf program on Solaris,
14245 # but without wasting forks for bash or zsh.
14246 if test -z "$BASH_VERSION$ZSH_VERSION" \
14247 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14248 as_echo
='print -r --'
14249 as_echo_n
='print -rn --'
14250 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14251 as_echo
='printf %s\n'
14252 as_echo_n
='printf %s'
14254 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14255 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14256 as_echo_n
='/usr/ucb/echo -n'
14258 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14259 as_echo_n_body
='eval
14263 expr "X$arg" : "X\\(.*\\)$as_nl";
14264 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14266 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14268 export as_echo_n_body
14269 as_echo_n
='sh -c $as_echo_n_body as_echo'
14271 export as_echo_body
14272 as_echo
='sh -c $as_echo_body as_echo'
14275 # The user is always right.
14276 if test "${PATH_SEPARATOR+set}" != set; then
14278 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14279 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14286 # We need space, tab and new line, in precisely that order. Quoting is
14287 # there to prevent editors from complaining about space-tab.
14288 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14289 # splitting by setting IFS to empty value.)
14292 # Find who we are. Look in the path if we contain no directory separator.
14294 *[\\/]* ) as_myself
=$0 ;;
14295 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14296 for as_dir
in $PATH
14299 test -z "$as_dir" && as_dir
=.
14300 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14306 # We did not find ourselves, most probably we were run as `sh COMMAND'
14307 # in which case we are not to be found in the path.
14308 if test "x$as_myself" = x
; then
14311 if test ! -f "$as_myself"; then
14312 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14316 # Unset variables that we do not need and which cause bugs (e.g. in
14317 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14318 # suppresses any "Segmentation fault" message there. '((' could
14319 # trigger a bug in pdksh 5.2.14.
14320 for as_var
in BASH_ENV ENV MAIL MAILPATH
14321 do eval test x\
${$as_var+set} = xset \
14322 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14335 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14338 # as_fn_error ERROR [LINENO LOG_FD]
14339 # ---------------------------------
14340 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14341 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14342 # script with status $?, using 1 if that was 0.
14345 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14347 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14348 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14350 $as_echo "$as_me: error: $1" >&2
14351 as_fn_exit
$as_status
14355 # as_fn_set_status STATUS
14356 # -----------------------
14357 # Set $? to STATUS, without forking.
14358 as_fn_set_status
()
14361 } # as_fn_set_status
14363 # as_fn_exit STATUS
14364 # -----------------
14365 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14369 as_fn_set_status
$1
14375 # Portably unset VAR.
14378 { eval $1=; unset $1;}
14380 as_unset
=as_fn_unset
14381 # as_fn_append VAR VALUE
14382 # ----------------------
14383 # Append the text in VALUE to the end of the definition contained in VAR. Take
14384 # advantage of any shell optimizations that allow amortized linear growth over
14385 # repeated appends, instead of the typical quadratic growth present in naive
14387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14388 eval 'as_fn_append ()
14399 # as_fn_arith ARG...
14400 # ------------------
14401 # Perform arithmetic evaluation on the ARGs, and store the result in the
14402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14403 # must be portable across $(()) and expr.
14404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14405 eval 'as_fn_arith ()
14412 as_val
=`expr "$@" || test $? -eq 1`
14417 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14418 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14424 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14425 as_basename
=basename
14430 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14436 as_me
=`$as_basename -- "$0" ||
14437 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14438 X"$0" : 'X\(//\)$' \| \
14439 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14441 sed '/^.*\/\([^/][^/]*\)\/*$/{
14455 # Avoid depending upon Character Ranges.
14456 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14457 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14458 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14459 as_cr_digits
='0123456789'
14460 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14462 ECHO_C
= ECHO_N
= ECHO_T
=
14463 case `echo -n x` in #(((((
14465 case `echo 'xy\c'` in
14466 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14468 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14475 rm -f conf$$ conf$$.exe conf$$.
file
14476 if test -d conf$$.dir
; then
14477 rm -f conf$$.dir
/conf$$.
file
14480 mkdir conf$$.dir
2>/dev
/null
14482 if (echo >conf$$.
file) 2>/dev
/null
; then
14483 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14485 # ... but there are two gotchas:
14486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14488 # In both cases, we have to default to `cp -p'.
14489 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14491 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14499 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14500 rmdir conf$$.dir
2>/dev
/null
14505 # Create "$as_dir" as a directory, including parents if necessary.
14510 -*) as_dir
=.
/$as_dir;;
14512 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14516 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14517 *) as_qdir
=$as_dir;;
14519 as_dirs
="'$as_qdir' $as_dirs"
14520 as_dir
=`$as_dirname -- "$as_dir" ||
14521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14522 X"$as_dir" : 'X\(//\)[^/]' \| \
14523 X"$as_dir" : 'X\(//\)$' \| \
14524 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14525 $as_echo X"$as_dir" |
14526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14530 /^X\(\/\/\)[^/].*/{
14543 test -d "$as_dir" && break
14545 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14546 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14550 if mkdir
-p .
2>/dev
/null
; then
14551 as_mkdir_p
='mkdir -p "$as_dir"'
14553 test -d .
/-p && rmdir .
/-p
14557 if test -x / >/dev
/null
2>&1; then
14558 as_test_x
='test -x'
14560 if ls -dL / >/dev
/null
2>&1; then
14567 if test -d "$1"; then
14573 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14574 ???[sx]*):;;*)false;;esac;fi
14578 as_executable_p
=$as_test_x
14580 # Sed expression to map a string onto a valid CPP name.
14581 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14583 # Sed expression to map a string onto a valid variable name.
14584 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14588 ## ----------------------------------- ##
14589 ## Main body of $CONFIG_STATUS script. ##
14590 ## ----------------------------------- ##
14592 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14595 # Save the log message, to keep $0 and so on meaningful, and to
14596 # report actual input values of CONFIG_FILES etc. instead of their
14597 # values after options handling.
14599 This file was extended by $as_me, which was
14600 generated by GNU Autoconf 2.64. Invocation command line was
14602 CONFIG_FILES = $CONFIG_FILES
14603 CONFIG_HEADERS = $CONFIG_HEADERS
14604 CONFIG_LINKS = $CONFIG_LINKS
14605 CONFIG_COMMANDS = $CONFIG_COMMANDS
14608 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14613 case $ac_config_files in *"
14614 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14620 # Files that config.status was made for.
14621 config_files="$ac_config_files"
14625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14627 \`$as_me' instantiates files and other configuration actions
14628 from templates according to the current configuration. Unless the files
14629 and actions are specified as TAGs, all are instantiated by default.
14631 Usage: $0 [OPTION]... [TAG]...
14633 -h, --help print this help, then exit
14634 -V, --version print version number and configuration settings, then exit
14635 -q, --quiet, --silent
14636 do not print progress messages
14637 -d, --debug don't remove temporary files
14638 --recheck update $as_me by reconfiguring in the same conditions
14639 --file=FILE[:TEMPLATE]
14640 instantiate the configuration file FILE
14642 Configuration files:
14645 Report bugs to the package provider."
14648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14651 configured by $0, generated by GNU Autoconf 2.64,
14652 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14654 Copyright (C) 2009 Free Software Foundation, Inc.
14655 This config.status script is free software; the Free Software Foundation
14656 gives unlimited permission to copy, distribute and modify it."
14662 test -n "\$AWK" || AWK=awk
14665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14666 # The default lists apply if the user does not specify any file.
14672 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14673 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14684 # Handling of the options.
14685 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14687 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14688 $as_echo "$ac_cs_version"; exit ;;
14689 --debug |
--debu |
--deb |
--de |
--d |
-d )
14691 --file |
--fil |
--fi |
--f )
14694 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14696 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14697 ac_need_defaults
=false
;;
14698 --he |
--h |
--help |
--hel |
-h )
14699 $as_echo "$ac_cs_usage"; exit ;;
14700 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14701 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14704 # This is an error.
14705 -*) as_fn_error
"unrecognized option: \`$1'
14706 Try \`$0 --help' for more information." ;;
14708 *) as_fn_append ac_config_targets
" $1"
14709 ac_need_defaults
=false
;;
14715 ac_configure_extra_args
=
14717 if $ac_cs_silent; then
14719 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14724 if \$ac_cs_recheck; then
14725 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14727 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14728 CONFIG_SHELL='$SHELL'
14729 export CONFIG_SHELL
14734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14739 ## Running $as_me. ##
14745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14749 extrasub_build="$extrasub_build"
14750 extrasub_host="$extrasub_host"
14751 extrasub_target="$extrasub_target"
14755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14757 # Handling of arguments.
14758 for ac_config_target
in $ac_config_targets
14760 case $ac_config_target in
14761 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14763 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14768 # If the user did not use the arguments to specify the items to instantiate,
14769 # then the envvar interface is used. Set only those that are not.
14770 # We use the long form for the default assignment because of an extremely
14771 # bizarre bug on SunOS 4.1.3.
14772 if $ac_need_defaults; then
14773 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14776 # Have a temporary directory for convenience. Make it in the build tree
14777 # simply because there is no reason against having it here, and in addition,
14778 # creating and moving files from /tmp can sometimes cause problems.
14779 # Hook for its removal unless debugging.
14780 # Note that there is a small window in which the directory will not be cleaned:
14781 # after its creation but before its name has been assigned to `$tmp'.
14785 trap 'exit_status=$?
14786 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14788 trap 'as_fn_exit 1' 1 2 13 15
14790 # Create a (secure) tmp directory for tmp files.
14793 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14794 test -n "$tmp" && test -d "$tmp"
14797 tmp
=.
/conf$$
-$RANDOM
14798 (umask 077 && mkdir
"$tmp")
14799 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14801 # Set up the scripts for CONFIG_FILES section.
14802 # No need to generate them if there are no CONFIG_FILES.
14803 # This happens for instance with `./config.status config.h'.
14804 if test -n "$CONFIG_FILES"; then
14806 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14807 ac_cs_awk_getline
=:
14808 ac_cs_awk_pipe_init
=
14809 ac_cs_awk_read_file
='
14810 while ((getline aline < (F[key])) > 0)
14813 ac_cs_awk_pipe_fini
=
14815 ac_cs_awk_getline
=false
14816 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14817 ac_cs_awk_read_file
='
14819 print "cat " F[key] " &&"
14820 '$ac_cs_awk_pipe_init
14821 # The final `:' finishes the AND list.
14822 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14824 ac_cr
=`echo X | tr X '\015'`
14825 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14826 # But we know of no other shell where ac_cr would be empty at this
14827 # point, so we can use a bashism as a fallback.
14828 if test "x$ac_cr" = x
; then
14829 eval ac_cr
=\$
\'\\r
\'
14831 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14832 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14835 ac_cs_awk_cr
=$ac_cr
14838 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14841 # Create commands to substitute file output variables.
14843 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14844 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14845 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14848 } >conf$
$files.sh
&&
14849 . .
/conf$
$files.sh ||
14850 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14851 rm -f conf$
$files.sh
14854 echo "cat >conf$$subs.awk <<_ACEOF" &&
14855 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14857 } >conf$$subs.sh ||
14858 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14859 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14861 for ac_last_try in false false false false false :; do
14862 . ./conf$$subs.sh ||
14863 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14865 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14866 if test $ac_delim_n = $ac_delim_num; then
14868 elif $ac_last_try; then
14869 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14871 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14874 rm -f conf$$subs.sh
14876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14877 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14881 s/^/S["/; s
/!.
*/"]=/
14891 s/\(.\{148\}\).*/\1/
14893 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14898 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14905 s/\(.\{148\}\).*/\1/
14907 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14911 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14916 ' <conf$$subs.awk | sed '
14921 ' >>$CONFIG_STATUS || ac_write_fail=1
14922 rm -f conf$$subs.awk
14923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14925 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14926 for (key in S) S_is_set[key] = 1
14928 \$ac_cs_awk_pipe_init
14932 nfields = split(line, field, "@
")
14934 len = length(field[1])
14935 for (i = 2; i < nfields; i++) {
14937 keylen = length(key)
14938 if (S_is_set[key]) {
14940 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14941 len += length(value) + length(field[++i])
14946 if (nfields == 3 && !substed) {
14948 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14949 \$ac_cs_awk_read_file
14955 \$ac_cs_awk_pipe_fini
14958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14959 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14960 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14963 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14964 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14967 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14968 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14969 # trailing colons and then remove the whole line if VPATH becomes empty
14970 # (actually we leave an empty line to preserve line numbers).
14971 if test "x
$srcdir" = x.; then
14972 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14973 s/:*\$(srcdir):*/:/
14974 s/:*\${srcdir}:*/:/
14976 s/^\([^=]*=[ ]*\):*/\1/
14982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14983 fi # test -n "$CONFIG_FILES"
14986 eval set X " :F
$CONFIG_FILES "
14991 :[FHLC]) ac_mode=$ac_tag; continue;;
14993 case $ac_mode$ac_tag in
14995 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14996 :[FH]-) ac_tag=-:-;;
14997 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15014 -) ac_f="$tmp/stdin";;
15015 *) # Look for the file first in the build tree, then in the source tree
15016 # (if the path is not absolute). The absolute path cannot be DOS-style,
15017 # because $ac_f cannot contain `:'.
15021 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15023 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15025 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15026 as_fn_append ac_file_inputs " '$ac_f'"
15029 # Let's still pretend it is `configure' which instantiates (i.e., don't
15030 # use $as_me), people would be surprised to read:
15031 # /* config.h. Generated by config.status. */
15032 configure_input='Generated from '`
15033 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15035 if test x"$ac_file" != x-; then
15036 configure_input="$ac_file.
$configure_input"
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15038 $as_echo "$as_me: creating
$ac_file" >&6;}
15040 # Neutralize special characters interpreted by sed in replacement strings.
15041 case $configure_input in #(
15042 *\&* | *\|* | *\\* )
15043 ac_sed_conf_input=`$as_echo "$configure_input" |
15044 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15045 *) ac_sed_conf_input=$configure_input;;
15049 *:-:* | *:-) cat >"$tmp/stdin
" \
15050 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15055 ac_dir=`$as_dirname -- "$ac_file" ||
15056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15057 X"$ac_file" : 'X\(//\)[^/]' \| \
15058 X"$ac_file" : 'X\(//\)$' \| \
15059 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15060 $as_echo X"$ac_file" |
15061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15065 /^X\(\/\/\)[^/].*/{
15078 as_dir="$ac_dir"; as_fn_mkdir_p
15082 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15084 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15085 # A "..
" for each directory in $ac_dir_suffix.
15086 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15087 case $ac_top_builddir_sub in
15088 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15089 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15092 ac_abs_top_builddir=$ac_pwd
15093 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15094 # for backward compatibility:
15095 ac_top_builddir=$ac_top_build_prefix
15098 .) # We are building in place.
15100 ac_top_srcdir=$ac_top_builddir_sub
15101 ac_abs_top_srcdir=$ac_pwd ;;
15102 [\\/]* | ?:[\\/]* ) # Absolute name.
15103 ac_srcdir=$srcdir$ac_dir_suffix;
15104 ac_top_srcdir=$srcdir
15105 ac_abs_top_srcdir=$srcdir ;;
15106 *) # Relative name.
15107 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15108 ac_top_srcdir=$ac_top_build_prefix$srcdir
15109 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15111 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15121 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15122 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15127 # If the template does not know about datarootdir, expand it.
15128 # FIXME: This hack should be removed a few years after 2.60.
15129 ac_datarootdir_hack=; ac_datarootdir_seen=
15140 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15141 *datarootdir*) ac_datarootdir_seen=yes;;
15142 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15144 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15147 ac_datarootdir_hack='
15148 s&@datadir@&$datadir&g
15149 s&@docdir@&$docdir&g
15150 s&@infodir@&$infodir&g
15151 s&@localedir@&$localedir&g
15152 s&@mandir@&$mandir&g
15153 s&\\\${datarootdir}&$datarootdir&g' ;;
15157 # Neutralize VPATH when `$srcdir' = `.'.
15158 # Shell code in configure.ac might set extrasub.
15159 # FIXME: do we really want to maintain this feature?
15160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15161 ac_sed_extra="$ac_vpsub
15164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15166 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15167 s|@configure_input@|
$ac_sed_conf_input|
;t t
15168 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15169 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15170 s
&@srcdir@
&$ac_srcdir&;t t
15171 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15172 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15173 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15174 s
&@builddir@
&$ac_builddir&;t t
15175 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15176 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15177 s
&@INSTALL@
&$ac_INSTALL&;t t
15178 $ac_datarootdir_hack
15180 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15181 if $ac_cs_awk_getline; then
15182 $AWK -f "$tmp/subs.
awk"
15184 $AWK -f "$tmp/subs.
awk" | $SHELL
15186 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15188 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15189 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15190 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15192 which seems to be undefined. Please make sure it is defined." >&5
15193 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15194 which seems to be undefined. Please make sure it is defined." >&2;}
15198 -) cat "$tmp/out" && rm -f "$tmp/out";;
15199 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15201 || as_fn_error "could not create $ac_file" "$LINENO" 5
15209 case $ac_file$ac_mode in
15210 "Makefile":F) sed "$extrasub_build" Makefile |
15211 sed "$extrasub_host" |
15212 sed "$extrasub_target" > mf$$
15213 mv -f mf$$ Makefile ;;
15221 ac_clean_files=$ac_clean_files_save
15223 test $ac_write_fail = 0 ||
15224 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15227 # configure is writing to config.log, and then calls config.status.
15228 # config.status does its own redirection, appending to config.log.
15229 # Unfortunately, on DOS this fails, as config.log is still kept open
15230 # by configure, so config.status won't be able to
write to it
; its
15231 # output is simply discarded. So we exec the FD to /dev/null,
15232 # effectively closing config.log, so it can be properly (re)opened and
15233 # appended to by config.status. When coming back to configure, we
15234 # need to make the FD available again.
15235 if test "$no_create" != yes; then
15237 ac_config_status_args
=
15238 test "$silent" = yes &&
15239 ac_config_status_args
="$ac_config_status_args --quiet"
15241 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15243 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15244 # would make configure fail if this is the last instruction.
15245 $ac_cs_success || as_fn_exit $?
15247 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15249 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}