2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
554 ac_unique_file="move-if-change"
555 enable_option_checking=no
556 ac_subst_vars='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
639 DEBUG_PREFIX_CFLAGS_FOR_TARGET
640 SYSROOT_CFLAGS_FOR_TARGET
642 extra_host_libiberty_configure_flags
651 extra_mpc_mpfr_configure_flags
652 extra_mpc_gmp_configure_flags
653 extra_mpfr_configure_flags
695 TOPLEVEL_CONFIGURE_ARGUMENTS
723 program_transform_name
734 ac_subst_files='serialization_dependencies
740 enable_option_checking
745 enable_libquadmath_support
748 enable_build_with_cxx
768 enable_ppl_version_check
773 enable_cloog_version_check
775 enable_stage1_languages
778 with_debug_prefix_map
781 enable_serial_configure
782 with_build_time_tools
783 enable_maintainer_mode
784 enable_stage1_checking
787 ac_precious_vars='build_alias
832 # Initialize some variables set by options.
834 ac_init_version=false
835 ac_unrecognized_opts=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name=s,x,x,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE}'
871 infodir='${datarootdir}/info'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\$ac_option
892 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
902 -bindir | --bindir | --bindi | --bind | --bin | --bi)
904 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907 -build | --build | --buil | --bui | --bu)
908 ac_prev=build_alias ;;
909 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910 build_alias=$ac_optarg ;;
912 -cache-file | --cache-file | --cache-fil | --cache-fi \
913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914 ac_prev=cache_file ;;
915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917 cache_file=$ac_optarg ;;
920 cache_file=config.cache ;;
922 -datadir | --datadir | --datadi | --datad)
924 -datadir=* | --datadir=* | --datadi=* | --datad=*)
925 datadir=$ac_optarg ;;
927 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928 | --dataroo | --dataro | --datar)
929 ac_prev=datarootdir ;;
930 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932 datarootdir=$ac_optarg ;;
934 -disable-* | --disable-*)
935 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 as_fn_error "invalid feature name: $ac_useropt"
939 ac_useropt_orig=$ac_useropt
940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep=', ';;
948 eval enable_$ac_useropt=no ;;
950 -docdir | --docdir | --docdi | --doc | --do)
952 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
957 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960 -enable-* | --enable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
974 eval enable_$ac_useropt=\$ac_optarg ;;
976 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978 | --exec | --exe | --ex)
979 ac_prev=exec_prefix ;;
980 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982 | --exec=* | --exe=* | --ex=*)
983 exec_prefix=$ac_optarg ;;
985 -gas | --gas | --ga | --g)
986 # Obsolete; use --with-gas.
989 -help | --help | --hel | --he | -h)
991 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992 ac_init_help=recursive ;;
993 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994 ac_init_help=short ;;
996 -host | --host | --hos | --ho)
997 ac_prev=host_alias ;;
998 -host=* | --host=* | --hos=* | --ho=*)
999 host_alias=$ac_optarg ;;
1001 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1003 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1005 htmldir=$ac_optarg ;;
1007 -includedir | --includedir | --includedi | --included | --include \
1008 | --includ | --inclu | --incl | --inc)
1009 ac_prev=includedir ;;
1010 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011 | --includ=* | --inclu=* | --incl=* | --inc=*)
1012 includedir=$ac_optarg ;;
1014 -infodir | --infodir | --infodi | --infod | --info | --inf)
1016 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017 infodir=$ac_optarg ;;
1019 -libdir | --libdir | --libdi | --libd)
1021 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022 libdir=$ac_optarg ;;
1024 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025 | --libexe | --libex | --libe)
1026 ac_prev=libexecdir ;;
1027 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028 | --libexe=* | --libex=* | --libe=*)
1029 libexecdir=$ac_optarg ;;
1031 -localedir | --localedir | --localedi | --localed | --locale)
1032 ac_prev=localedir ;;
1033 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034 localedir=$ac_optarg ;;
1036 -localstatedir | --localstatedir | --localstatedi | --localstated \
1037 | --localstate | --localstat | --localsta | --localst | --locals)
1038 ac_prev=localstatedir ;;
1039 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041 localstatedir=$ac_optarg ;;
1043 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1045 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046 mandir=$ac_optarg ;;
1048 -nfp | --nfp | --nf)
1049 # Obsolete; use --without-fp.
1052 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053 | --no-cr | --no-c | -n)
1056 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062 | --oldin | --oldi | --old | --ol | --o)
1063 ac_prev=oldincludedir ;;
1064 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067 oldincludedir=$ac_optarg ;;
1069 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1071 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072 prefix=$ac_optarg ;;
1074 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075 | --program-pre | --program-pr | --program-p)
1076 ac_prev=program_prefix ;;
1077 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079 program_prefix=$ac_optarg ;;
1081 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082 | --program-suf | --program-su | --program-s)
1083 ac_prev=program_suffix ;;
1084 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086 program_suffix=$ac_optarg ;;
1088 -program-transform-name | --program-transform-name \
1089 | --program-transform-nam | --program-transform-na \
1090 | --program-transform-n | --program-transform- \
1091 | --program-transform | --program-transfor \
1092 | --program-transfo | --program-transf \
1093 | --program-trans | --program-tran \
1094 | --progr-tra | --program-tr | --program-t)
1095 ac_prev=program_transform_name ;;
1096 -program-transform-name=* | --program-transform-name=* \
1097 | --program-transform-nam=* | --program-transform-na=* \
1098 | --program-transform-n=* | --program-transform-=* \
1099 | --program-transform=* | --program-transfor=* \
1100 | --program-transfo=* | --program-transf=* \
1101 | --program-trans=* | --program-tran=* \
1102 | --progr-tra=* | --program-tr=* | --program-t=*)
1103 program_transform_name=$ac_optarg ;;
1105 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1107 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108 pdfdir=$ac_optarg ;;
1110 -psdir | --psdir | --psdi | --psd | --ps)
1112 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116 | -silent | --silent | --silen | --sile | --sil)
1119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123 sbindir=$ac_optarg ;;
1125 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127 | --sharedst | --shareds | --shared | --share | --shar \
1129 ac_prev=sharedstatedir ;;
1130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134 sharedstatedir=$ac_optarg ;;
1136 -site | --site | --sit)
1138 -site=* | --site=* | --sit=*)
1141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144 srcdir=$ac_optarg ;;
1146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147 | --syscon | --sysco | --sysc | --sys | --sy)
1148 ac_prev=sysconfdir ;;
1149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151 sysconfdir=$ac_optarg ;;
1153 -target | --target | --targe | --targ | --tar | --ta | --t)
1154 ac_prev=target_alias ;;
1155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156 target_alias=$ac_optarg ;;
1158 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161 -version | --version | --versio | --versi | --vers | -V)
1162 ac_init_version=: ;;
1165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error "invalid package name: $ac_useropt"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1178 eval with_$ac_useropt=\$ac_optarg ;;
1180 -without-* | --without-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error "invalid package name: $ac_useropt"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1194 eval with_$ac_useropt=no ;;
1197 # Obsolete; use --with-x.
1200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201 | --x-incl | --x-inc | --x-in | --x-i)
1202 ac_prev=x_includes ;;
1203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205 x_includes=$ac_optarg ;;
1207 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209 ac_prev=x_libraries ;;
1210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212 x_libraries=$ac_optarg ;;
1214 -*) as_fn_error "unrecognized option: \`$ac_option'
1215 Try \`$0 --help' for more information."
1219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1225 eval $ac_envvar=\$ac_optarg
1226 export $ac_envvar ;;
1229 # FIXME: should be removed in autoconf 3.0.
1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1239 if test -n "$ac_prev"; then
1240 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error "missing argument to $ac_option"
1244 if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1247 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 # Check all directory arguments for consistency.
1253 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir
1258 eval ac_val=\$$ac_var
1259 # Remove trailing slashes.
1262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\$ac_val;;
1265 # Be sure to have absolute directory names.
1267 [\\/$]* | ?:[\\/]* ) continue;;
1268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1273 # There might be people who depend on the old broken behavior: `$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1278 target=$target_alias
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x; then
1282 if test "x$build_alias" = x; then
1283 cross_compiling=maybe
1284 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1285 If a cross compiler is detected then cross compile mode will be used." >&2
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1294 test "$silent" = yes && exec 6>/dev/null
1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di=`ls -di .` &&
1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error "working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error "pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 as_fn_error "path to source, $srcdir, contains spaces"
1362 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1364 for ac_var in $ac_precious_vars; do
1365 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_${ac_var}_value=\$${ac_var}
1367 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1378 \`configure' configures this package to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
1436 --program-prefix=PREFIX prepend PREFIX to installed program names
1437 --program-suffix=SUFFIX append SUFFIX to installed program names
1438 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1441 --build=BUILD configure for building on BUILD [guessed]
1442 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 --target=TARGET configure for building compilers for TARGET [HOST]
1447 if test -n "$ac_init_help"; then
1452 --disable-option-checking ignore unrecognized --enable/--with options
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1456 --enable-ld[=ARG] build ld [ARG={default,yes,no}]
1457 --disable-libquadmath do not build libquadmath directory
1458 --disable-libquadmath-support
1459 disable libquadmath support for Fortran
1460 --enable-libada build libada directory
1461 --enable-libssp build libssp directory
1462 --enable-build-with-cxx build with C++ compiler instead of C compiler
1463 --disable-ppl-version-check
1464 disable check for PPL version
1465 --enable-cloog-backend[=BACKEND]
1466 set the CLooG BACKEND used to either isl, ppl or
1467 ppl-legacy (default)
1468 --disable-cloog-version-check
1469 disable check for CLooG version
1470 --enable-lto enable link time optimization support
1471 --enable-stage1-languages[=all]
1472 choose additional languages to build during stage1.
1473 Mostly useful for compiler development
1474 --enable-objc-gc enable use of Boehm's garbage collector with the GNU
1476 --enable-bootstrap enable bootstrapping [yes if native build]
1477 --enable-serial-[{host,target,build}-]configure
1478 force sequential configuration of sub-packages for
1479 the host, target or build machine, or all
1481 --enable-maintainer-mode
1482 enable make rules and dependencies not useful (and
1483 sometimes confusing) to the casual installer
1484 --enable-stage1-checking[=all]
1485 choose additional checking for stage1 of the
1487 --enable-werror enable -Werror in bootstrap stage2 and later
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-build-libsubdir=DIR Directory where to find libraries for build system
1493 --with-mpc=PATH specify prefix directory for installed MPC package.
1494 Equivalent to --with-mpc-include=PATH/include plus
1495 --with-mpc-lib=PATH/lib
1496 --with-mpc-include=PATH specify directory for installed MPC include files
1497 --with-mpc-lib=PATH specify directory for the installed MPC library
1498 --with-mpfr-dir=PATH this option has been REMOVED
1499 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1500 Equivalent to --with-mpfr-include=PATH/include plus
1501 --with-mpfr-lib=PATH/lib
1502 --with-mpfr-include=PATH
1503 specify directory for installed MPFR include files
1504 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1505 --with-gmp-dir=PATH this option has been REMOVED
1506 --with-gmp=PATH specify prefix directory for the installed GMP
1507 package. Equivalent to
1508 --with-gmp-include=PATH/include plus
1509 --with-gmp-lib=PATH/lib
1510 --with-gmp-include=PATH specify directory for installed GMP include files
1511 --with-gmp-lib=PATH specify directory for the installed GMP library
1512 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1514 --with-stage1-ldflags=FLAGS
1515 linker flags for stage1
1516 --with-stage1-libs=LIBS libraries for stage1
1517 --with-boot-libs=LIBS libraries for stage2 and later
1518 --with-boot-ldflags=FLAGS
1519 linker flags for stage2 and later
1520 --with-ppl=PATH specify prefix directory for the installed PPL
1521 package. Equivalent to
1522 --with-ppl-include=PATH/include plus
1523 --with-ppl-lib=PATH/lib
1524 --with-ppl-include=PATH specify directory for installed PPL include files
1525 --with-ppl-lib=PATH specify directory for the installed PPL library
1526 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1527 package. Equivalent to
1528 --with-cloog-include=PATH/include plus
1529 --with-cloog-lib=PATH/lib
1530 --with-cloog-include=PATH
1531 Specify directory for installed CLooG include files
1532 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1534 --with-build-sysroot=SYSROOT
1535 use sysroot as the system root during the build
1536 --with-debug-prefix-map='A=B C=D ...'
1537 map A to B, C to D ... in debug information
1538 --with-build-config='NAME NAME2...'
1539 use config/NAME.mk build configuration
1540 --with-build-time-tools=PATH
1541 use given path to find target tools during the build
1543 Some influential environment variables:
1544 CC C compiler command
1545 CFLAGS C compiler flags
1546 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1547 nonstandard directory <lib dir>
1548 LIBS libraries to pass to the linker, e.g. -l<library>
1549 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1550 you have headers in a nonstandard directory <include dir>
1551 CXX C++ compiler command
1552 CXXFLAGS C++ compiler flags
1554 additional configure arguments for build directories
1556 additional configure arguments for host directories
1558 additional configure arguments for target directories
1561 DLLTOOL DLLTOOL for the host
1563 LIPO LIPO for the host
1565 RANLIB RANLIB for the host
1566 STRIP STRIP for the host
1567 WINDRES WINDRES for the host
1568 WINDMC WINDMC for the host
1569 OBJCOPY OBJCOPY for the host
1570 OBJDUMP OBJDUMP for the host
1580 GFORTRAN for the target
1588 DLLTOOL for the target
1596 OBJDUMP for the target
1598 RANLIB for the target
1600 STRIP for the target
1602 WINDRES for the target
1604 WINDMC for the target
1606 Use these variables to override the choices made by `configure' or to help
1607 it to find libraries and programs with nonstandard names/locations.
1609 Report bugs to the package provider.
1614 if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1617 test -d "$ac_dir" ||
1618 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626 # A ".." for each directory in $ac_dir_suffix.
1627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628 case $ac_top_builddir_sub in
1629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1633 ac_abs_top_builddir=$ac_pwd
1634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir=$ac_top_build_prefix
1639 .) # We are building in place.
1641 ac_top_srcdir=$ac_top_builddir_sub
1642 ac_abs_top_srcdir=$ac_pwd ;;
1643 [\\/]* | ?:[\\/]* ) # Absolute name.
1644 ac_srcdir=$srcdir$ac_dir_suffix;
1645 ac_top_srcdir=$srcdir
1646 ac_abs_top_srcdir=$srcdir ;;
1648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649 ac_top_srcdir=$ac_top_build_prefix$srcdir
1650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1654 cd "$ac_dir" || { ac_status=$?; continue; }
1655 # Check for guested configure.
1656 if test -f "$ac_srcdir/configure.gnu"; then
1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659 elif test -f "$ac_srcdir/configure"; then
1661 $SHELL "$ac_srcdir/configure" --help=recursive
1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 cd "$ac_pwd" || { ac_status=$?; break; }
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1673 generated by GNU Autoconf 2.64
1675 Copyright (C) 2009 Free Software Foundation, Inc.
1676 This configure script is free software; the Free Software Foundation
1677 gives unlimited permission to copy, distribute and modify it.
1682 ## ------------------------ ##
1683 ## Autoconf initialization. ##
1684 ## ------------------------ ##
1686 # ac_fn_c_try_compile LINENO
1687 # --------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_c_try_compile ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 rm -f conftest.$ac_objext
1693 if { { ac_try="$ac_compile"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_compile") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest.$ac_objext; then :
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 } # ac_fn_c_try_compile
1724 # ac_fn_cxx_try_compile LINENO
1725 # ----------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_cxx_try_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext
1731 if { { ac_try="$ac_compile"
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_cxx_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.$ac_objext; then :
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_cxx_try_compile
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 $as_test_x conftest$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 } # ac_fn_c_try_link
1807 cat >config.log <<_ACEOF
1808 This file contains any messages produced by compilers while
1809 running configure, to aid debugging if configure makes a mistake.
1811 It was created by $as_me, which was
1812 generated by GNU Autoconf 2.64. Invocation command line was
1824 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1825 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1826 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1827 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1828 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1830 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1831 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1833 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1834 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1835 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1836 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1837 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1838 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1839 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 $as_echo "PATH: $as_dir"
1864 # Keep a trace of the command line.
1865 # Strip out --no-create and --no-recursion so they do not pile up.
1866 # Strip out --silent because we don't want to record it for future runs.
1867 # Also quote any args containing shell meta-characters.
1868 # Make two passes to allow for proper duplicate-argument suppression.
1872 ac_must_keep_next=false
1878 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1880 | -silent | --silent | --silen | --sile | --sil)
1883 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1886 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1888 as_fn_append ac_configure_args1 " '$ac_arg'"
1889 if test $ac_must_keep_next = true; then
1890 ac_must_keep_next=false # Got value, back to normal.
1893 *=* | --config-cache | -C | -disable-* | --disable-* \
1894 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1895 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1896 | -with-* | --with-* | -without-* | --without-* | --x)
1897 case "$ac_configure_args0 " in
1898 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1901 -* ) ac_must_keep_next=true ;;
1904 as_fn_append ac_configure_args " '$ac_arg'"
1909 { ac_configure_args0=; unset ac_configure_args0;}
1910 { ac_configure_args1=; unset ac_configure_args1;}
1912 # When interrupted or exit'd, cleanup temporary files, and complete
1913 # config.log. We remove comments because anyway the quotes in there
1914 # would cause problems or look ugly.
1915 # WARNING: Use '\'' to represent an apostrophe within the trap.
1916 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1917 trap 'exit_status=$?
1918 # Save into config.log some information that might help in debugging.
1923 ## ---------------- ##
1924 ## Cache variables. ##
1925 ## ---------------- ##
1928 # The following way of writing the cache mishandles newlines in values,
1930 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1931 eval ac_val=\$$ac_var
1935 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1939 _ | IFS | as_nl) ;; #(
1940 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1941 *) { eval $ac_var=; unset $ac_var;} ;;
1946 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1947 *${as_nl}ac_space=\ *)
1949 "s/'\''/'\''\\\\'\'''\''/g;
1950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1961 ## ----------------- ##
1962 ## Output variables. ##
1963 ## ----------------- ##
1966 for ac_var in $ac_subst_vars
1968 eval ac_val=\$$ac_var
1970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972 $as_echo "$ac_var='\''$ac_val'\''"
1976 if test -n "$ac_subst_files"; then
1978 ## ------------------- ##
1979 ## File substitutions. ##
1980 ## ------------------- ##
1983 for ac_var in $ac_subst_files
1985 eval ac_val=\$$ac_var
1987 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1989 $as_echo "$ac_var='\''$ac_val'\''"
1994 if test -s confdefs.h; then
2004 test "$ac_signal" != 0 &&
2005 $as_echo "$as_me: caught signal $ac_signal"
2006 $as_echo "$as_me: exit $exit_status"
2008 rm -f core *.core core.conftest.* &&
2009 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2012 for ac_signal in 1 2 13 15; do
2013 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2017 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2018 rm -f -r conftest* confdefs.h
2020 $as_echo "/* confdefs.h */" > confdefs.h
2022 # Predefined preprocessor variables.
2024 cat >>confdefs.h <<_ACEOF
2025 #define PACKAGE_NAME "$PACKAGE_NAME"
2028 cat >>confdefs.h <<_ACEOF
2029 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_STRING "$PACKAGE_STRING"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_URL "$PACKAGE_URL"
2049 # Let the site file select an alternate cache file if it wants to.
2050 # Prefer an explicitly selected file to automatically selected ones.
2053 if test -n "$CONFIG_SITE"; then
2054 ac_site_file1=$CONFIG_SITE
2055 elif test "x$prefix" != xNONE; then
2056 ac_site_file1=$prefix/share/config.site
2057 ac_site_file2=$prefix/etc/config.site
2059 ac_site_file1=$ac_default_prefix/share/config.site
2060 ac_site_file2=$ac_default_prefix/etc/config.site
2062 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2064 test "x$ac_site_file" = xNONE && continue
2065 if test -r "$ac_site_file"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2067 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2068 sed 's/^/| /' "$ac_site_file" >&5
2073 if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special
2075 # files actually), so we avoid doing that.
2076 if test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 # Check that the precious variables saved in the cache have kept the same
2092 ac_cache_corrupted=false
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2101 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2105 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x $ac_old_val`
2112 ac_new_val_w=`echo x $ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2116 ac_cache_corrupted=:
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2147 ## -------------------- ##
2148 ## Main body of script. ##
2149 ## -------------------- ##
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2166 # if PWD already has a value, it is probably wrong.
2167 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2169 # Export original configure arguments for use by sub-configures.
2170 # Quote arguments with shell meta charatcers.
2171 TOPLEVEL_CONFIGURE_ARGUMENTS=
2172 set -- "$progname" "$@"
2176 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2177 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2178 # if the argument is of the form -foo=baz, quote the baz part only
2179 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2182 # Add the quoted argument to the list.
2183 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2185 if test "$silent" = yes; then
2186 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2188 # Remove the initial space we just introduced and, as these will be
2189 # expanded by make, quote '$'.
2190 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2193 # Find the build, host, and target systems.
2195 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2196 for ac_t in install-sh install.sh shtool; do
2197 if test -f "$ac_dir/$ac_t"; then
2199 ac_install_sh="$ac_aux_dir/$ac_t -c"
2204 if test -z "$ac_aux_dir"; then
2205 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2208 # These three variables are undocumented and unsupported,
2209 # and are intended to be withdrawn in a future Autoconf release.
2210 # They can cause serious problems if a builder's source tree is in a directory
2211 # whose full name contains unusual characters.
2212 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2213 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2214 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2217 # Make sure we can run config.sub.
2218 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2219 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2222 $as_echo_n "checking build system type... " >&6; }
2223 if test "${ac_cv_build+set}" = set; then :
2224 $as_echo_n "(cached) " >&6
2226 ac_build_alias=$build_alias
2227 test "x$ac_build_alias" = x &&
2228 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2229 test "x$ac_build_alias" = x &&
2230 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2231 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2232 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2236 $as_echo "$ac_cv_build" >&6; }
2237 case $ac_cv_build in
2239 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2242 ac_save_IFS=$IFS; IFS='-'
2248 # Remember, the first character of IFS is used to create $*,
2249 # except with old shells:
2252 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2255 case ${build_alias} in
2256 "") build_noncanonical=${build} ;;
2257 *) build_noncanonical=${build_alias} ;;
2262 case ${host_alias} in
2263 "") host_noncanonical=${build_noncanonical} ;;
2264 *) host_noncanonical=${host_alias} ;;
2269 case ${target_alias} in
2270 "") target_noncanonical=${host_noncanonical} ;;
2271 *) target_noncanonical=${target_alias} ;;
2277 test "$host_noncanonical" = "$target_noncanonical" &&
2278 test "$program_prefix$program_suffix$program_transform_name" = \
2280 program_transform_name=s,y,y,
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2283 $as_echo_n "checking host system type... " >&6; }
2284 if test "${ac_cv_host+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2287 if test "x$host_alias" = x; then
2288 ac_cv_host=$ac_cv_build
2290 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2291 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2296 $as_echo "$ac_cv_host" >&6; }
2299 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2302 ac_save_IFS=$IFS; IFS='-'
2308 # Remember, the first character of IFS is used to create $*,
2309 # except with old shells:
2312 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2316 $as_echo_n "checking target system type... " >&6; }
2317 if test "${ac_cv_target+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2320 if test "x$target_alias" = x; then
2321 ac_cv_target=$ac_cv_host
2323 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2324 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2329 $as_echo "$ac_cv_target" >&6; }
2330 case $ac_cv_target in
2332 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2334 target=$ac_cv_target
2335 ac_save_IFS=$IFS; IFS='-'
2341 # Remember, the first character of IFS is used to create $*,
2342 # except with old shells:
2345 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2348 # The aliases save the names the user supplied, while $host etc.
2349 # will get canonicalized.
2350 test -n "$target_alias" &&
2351 test "$program_prefix$program_suffix$program_transform_name" = \
2353 program_prefix=${target_alias}-
2355 test "$program_prefix" != NONE &&
2356 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2357 # Use a double $ so make ignores it.
2358 test "$program_suffix" != NONE &&
2359 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2360 # Double any \ or $.
2361 # By default was `s,x,x', remove it if useless.
2362 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2363 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2367 # Get 'install' or 'install-sh' and its variants.
2368 # Find a good install program. We prefer a C program (faster),
2369 # so one script is as good as another. But avoid the broken or
2370 # incompatible versions:
2371 # SysV /etc/install, /usr/sbin/install
2372 # SunOS /usr/etc/install
2373 # IRIX /sbin/install
2375 # AmigaOS /C/install, which installs bootblocks on floppy discs
2376 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2379 # OS/2's system install, which has a completely different semantic
2380 # ./install, which can be erroneously created by make from ./install.sh.
2381 # Reject install programs that cannot install multiple files.
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2383 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2384 if test -z "$INSTALL"; then
2385 if test "${ac_cv_path_install+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 # Account for people who put trailing slashes in PATH elements.
2394 case $as_dir/ in #((
2395 ./ | .// | /[cC]/* | \
2396 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2397 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2400 # OSF1 and SCO ODT 3.0 have their own names for install.
2401 # Don't use installbsd from OSF since it installs stuff as root
2403 for ac_prog in ginstall scoinst install; do
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2406 if test $ac_prog = install &&
2407 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2408 # AIX install. It has an incompatible calling convention.
2410 elif test $ac_prog = install &&
2411 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2412 # program-specific install script used by HP pwplus--don't use.
2415 rm -rf conftest.one conftest.two conftest.dir
2416 echo one > conftest.one
2417 echo two > conftest.two
2419 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2420 test -s conftest.one && test -s conftest.two &&
2421 test -s conftest.dir/conftest.one &&
2422 test -s conftest.dir/conftest.two
2424 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2437 rm -rf conftest.one conftest.two conftest.dir
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL=$ac_cv_path_install
2443 # As a last resort, use the slow shell script. Don't cache a
2444 # value for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the value is a relative name.
2447 INSTALL=$ac_install_sh
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2451 $as_echo "$INSTALL" >&6; }
2453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454 # It thinks the first close brace ends the variable substitution.
2455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2462 $as_echo_n "checking whether ln works... " >&6; }
2463 if test "${acx_cv_prog_LN+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2466 rm -f conftestdata_t
2467 echo >conftestdata_f
2468 if ln conftestdata_f conftestdata_t 2>/dev/null
2474 rm -f conftestdata_f conftestdata_t
2477 if test $acx_cv_prog_LN = no; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2480 $as_echo "no, using $LN" >&6; }
2482 LN="$acx_cv_prog_LN"
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484 $as_echo "yes" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2488 $as_echo_n "checking whether ln -s works... " >&6; }
2490 if test "$LN_S" = "ln -s"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2492 $as_echo "yes" >&6; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2495 $as_echo "no, using $LN_S" >&6; }
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2499 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2500 if test "${ac_cv_path_SED+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2503 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2504 for ac_i in 1 2 3 4 5 6 7; do
2505 ac_script="$ac_script$as_nl$ac_script"
2507 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2508 { ac_script=; unset ac_script;}
2509 if test -z "$SED"; then
2510 ac_path_SED_found=false
2511 # Loop through the user's path and test for each of PROGNAME-LIST
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_prog in sed gsed; do
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2520 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2521 # Check for GNU ac_path_SED and select it if it is found.
2522 # Check for GNU $ac_path_SED
2523 case `"$ac_path_SED" --version 2>&1` in
2525 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2528 $as_echo_n 0123456789 >"conftest.in"
2531 cat "conftest.in" "conftest.in" >"conftest.tmp"
2532 mv "conftest.tmp" "conftest.in"
2533 cp "conftest.in" "conftest.nl"
2534 $as_echo '' >> "conftest.nl"
2535 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2537 as_fn_arith $ac_count + 1 && ac_count=$as_val
2538 if test $ac_count -gt ${ac_path_SED_max-0}; then
2539 # Best one so far, save it but keep looking for a better one
2540 ac_cv_path_SED="$ac_path_SED"
2541 ac_path_SED_max=$ac_count
2543 # 10*(2^10) chars as input seems more than enough
2544 test $ac_count -gt 10 && break
2546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2549 $ac_path_SED_found && break 3
2554 if test -z "$ac_cv_path_SED"; then
2555 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2563 $as_echo "$ac_cv_path_SED" >&6; }
2564 SED="$ac_cv_path_SED"
2567 for ac_prog in gawk mawk nawk awk
2569 # Extract the first word of "$ac_prog", so it can be a program name with args.
2570 set dummy $ac_prog; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if test "${ac_cv_prog_AWK+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$AWK"; then
2577 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586 ac_cv_prog_AWK="$ac_prog"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 if test -n "$AWK"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2599 $as_echo "$AWK" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2606 test -n "$AWK" && break
2610 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2612 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2614 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2615 INSTALL="${srcpwd}/install-sh -c"
2618 # Set srcdir to "." if that's what it is.
2619 # This is important for multilib support.
2621 if test "${pwd}" = "${srcpwd}" ; then
2629 ### To add a new directory to the tree, first choose whether it is a target
2630 ### or a host dependent tool. Then put it into the appropriate list
2631 ### (library or tools, host or target), doing a dependency sort.
2633 # Subdirs will be configured in the order listed in build_configdirs,
2634 # configdirs, or target_configdirs; see the serialization section below.
2636 # Dependency sorting is only needed when *configuration* must be done in
2637 # a particular order. In all cases a dependency should be specified in
2638 # the Makefile, whether or not it's implicitly specified here.
2640 # Double entries in build_configdirs, configdirs, or target_configdirs may
2641 # cause circular dependencies and break everything horribly.
2643 # these library is used by various programs built for the build
2646 build_libs="build-libiberty"
2648 # these tools are built for the build environment
2649 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2651 # these libraries are used by various programs built for the host environment
2653 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2655 # these tools are built for the host environment
2656 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2657 # know that we are building the simulator.
2658 # binutils, gas and ld appear in that order because it makes sense to run
2659 # "make check" in that particular order.
2660 # If --enable-gold is used, "gold" may replace "ld".
2661 host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2663 # libgcj represents the runtime libraries only used by gcj.
2664 libgcj="target-libffi \
2668 # these libraries are built for the target environment, and are built after
2669 # the host libraries and the host tools (which may be a cross compiler)
2671 target_libraries="target-libgcc \
2676 target-libstdc++-v3 \
2679 target-libquadmath \
2680 target-libgfortran \
2687 # these tools are built using the target libraries, and are intended to
2688 # run only in the target environment
2690 # note: any program that *uses* libraries that are in the "target_libraries"
2691 # list belongs in this list.
2693 target_tools="target-rda"
2695 ################################################################################
2697 ## All tools belong in one of the four categories, and are assigned above
2698 ## We assign ${configdirs} this way to remove all embedded newlines. This
2699 ## is important because configure will choke if they ever get through.
2700 ## ${configdirs} is directories we build using the host tools.
2701 ## ${target_configdirs} is directories we build using the target tools.
2702 configdirs=`echo ${host_libs} ${host_tools}`
2703 target_configdirs=`echo ${target_libraries} ${target_tools}`
2704 build_configdirs=`echo ${build_libs} ${build_tools}`
2708 ################################################################################
2710 srcname="gnu development package"
2712 # This gets set non-empty for some net releases of packages.
2715 # Define is_cross_compiler to save on calls to 'test'.
2717 if test x"${host}" = x"${target}" ; then
2718 is_cross_compiler=no
2720 is_cross_compiler=yes
2723 # Find the build and target subdir names.
2725 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2726 # have matching libraries, they should use host libraries: Makefile.tpl
2727 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2728 # However, they still use the build modules, because the corresponding
2729 # host modules (e.g. bison) are only built for the host when bootstrap
2731 # - build_subdir is where we find build modules, and never changes.
2732 # - build_libsubdir is where we find build libraries, and can be overridden.
2734 # Prefix 'build-' so this never conflicts with target_subdir.
2735 build_subdir="build-${build_noncanonical}"
2737 # Check whether --with-build-libsubdir was given.
2738 if test "${with_build_libsubdir+set}" = set; then :
2739 withval=$with_build_libsubdir; build_libsubdir="$withval"
2741 build_libsubdir="$build_subdir"
2744 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2745 if ( test $srcdir = . && test -d gcc ) \
2746 || test -d $srcdir/../host-${host_noncanonical}; then
2747 host_subdir="host-${host_noncanonical}"
2752 target_subdir=${target_noncanonical}
2754 # Be sure to cover against remnants of an in-tree build.
2755 if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2756 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2757 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2760 # Skipdirs are removed silently.
2762 # Noconfigdirs are removed loudly.
2766 # Make sure we don't let GNU ld be added if we didn't want it.
2767 if test x$with_gnu_ld = xno ; then
2769 noconfigdirs="$noconfigdirs ld gold"
2773 # Make sure we don't let GNU as be added if we didn't want it.
2774 if test x$with_gnu_as = xno ; then
2776 noconfigdirs="$noconfigdirs gas"
2780 # Make sure we don't let ZLIB be added if we didn't want it.
2781 if test x$with_system_zlib = xyes ; then
2782 use_included_zlib=no
2783 noconfigdirs="$noconfigdirs zlib"
2786 # some tools are so dependent upon X11 that if we're not building with X,
2787 # it's not even worth trying to configure, much less build, that tool.
2790 yes | "") ;; # the default value for this tree is that X11 is available
2792 skipdirs="${skipdirs} tk itcl libgui"
2793 # We won't be able to build gdbtk without X.
2796 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2799 # Some are only suitable for cross toolchains.
2800 # Remove these if host=target.
2801 cross_only="target-libgloss target-newlib target-opcodes"
2803 case $is_cross_compiler in
2804 no) skipdirs="${skipdirs} ${cross_only}" ;;
2807 # If both --with-headers and --with-libs are specified, default to
2809 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2810 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2811 if test x"${with_newlib}" = x ; then
2816 # Recognize --with-newlib/--without-newlib.
2817 case ${with_newlib} in
2818 no) skipdirs="${skipdirs} target-newlib" ;;
2819 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2822 # Handle --enable-gold, --enable-ld.
2823 # --disable-gold [--enable-ld]
2824 # Build only ld. Default option.
2825 # --enable-gold [--enable-ld]
2826 # Build both gold and ld. Install gold as "ld.gold", install ld
2827 # as "ld.bfd" and "ld".
2828 # --enable-gold=default [--enable-ld]
2829 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2830 # install ld as "ld.bfd".
2831 # --enable-gold[=default] --disable-ld
2832 # Build only gold, which is then installed as both "ld.gold" and "ld".
2833 # --enable-gold --enable-ld=default
2834 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2836 # In other words, ld is default
2837 # --enable-gold=default --enable-ld=default
2841 # Check whether --enable-gold was given.
2842 if test "${enable_gold+set}" = set; then :
2843 enableval=$enable_gold; ENABLE_GOLD=$enableval
2848 case "${ENABLE_GOLD}" in
2850 # Check for ELF target.
2853 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2854 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2855 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
2856 | *-*-solaris2* | *-*-nto*)
2858 *-*-linux*aout* | *-*-linux*oldld*)
2866 if test "$is_elf" = "yes"; then
2867 # Check for target supported by gold.
2869 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2870 configdirs="$configdirs gold"
2871 if test x${ENABLE_GOLD} = xdefault; then
2882 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
2886 # Check whether --enable-ld was given.
2887 if test "${enable_ld+set}" = set; then :
2888 enableval=$enable_ld; ENABLE_LD=$enableval
2894 case "${ENABLE_LD}" in
2896 if test x${default_ld} != x; then
2897 as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
2903 if test x${ENABLE_GOLD} != xyes; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2905 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2907 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2910 as_fn_error "invalid --enable-ld argument" "$LINENO" 5
2914 # Configure extra directories which are host specific
2918 configdirs="$configdirs libtermcap" ;;
2921 # A target can indicate whether a language isn't supported for some reason.
2922 # Only spaces may be used in this macro; not newlines or tabs.
2923 unsupported_languages=
2925 # Remove more programs from consideration, based on the host or
2926 # target this usually means that a port of the program doesn't
2930 i[3456789]86-*-msdosdjgpp*)
2931 noconfigdirs="$noconfigdirs tcl tk itcl"
2936 # Check whether --enable-libquadmath was given.
2937 if test "${enable_libquadmath+set}" = set; then :
2938 enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
2940 ENABLE_LIBQUADMATH=yes
2943 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2944 noconfigdirs="$noconfigdirs target-libquadmath"
2948 # Check whether --enable-libquadmath-support was given.
2949 if test "${enable_libquadmath_support+set}" = set; then :
2950 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
2952 ENABLE_LIBQUADMATH_SUPPORT=yes
2955 enable_libquadmath_support=
2956 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2957 enable_libquadmath_support=no
2961 # Check whether --enable-libada was given.
2962 if test "${enable_libada+set}" = set; then :
2963 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2968 if test "${ENABLE_LIBADA}" != "yes" ; then
2969 noconfigdirs="$noconfigdirs gnattools"
2972 # Check whether --enable-libssp was given.
2973 if test "${enable_libssp+set}" = set; then :
2974 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2980 # Save it here so that, even in case of --enable-libgcj, if the Java
2981 # front-end isn't enabled, we still get libgcj disabled.
2982 libgcj_saved=$libgcj
2983 case $enable_libgcj in
2985 # If we reset it here, it won't get added to noconfigdirs in the
2986 # target-specific build rules, so it will be forcibly enabled
2987 # (unless the Java language itself isn't enabled).
2991 # Make sure we get it printed in the list of not supported target libs.
2992 # Don't disable libffi, though, other languages use it.
2993 noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
2994 # Clear libgcj_saved so that even if java is enabled libffi won't be
3001 # Disable libmudflap on some systems.
3002 if test x$enable_libmudflap = x ; then
3004 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
3005 # Enable libmudflap by default in GNU and friends.
3008 # Enable libmudflap by default in FreeBSD.
3011 # Disable it by default everywhere else.
3012 noconfigdirs="$noconfigdirs target-libmudflap"
3017 # Disable libgomp on non POSIX hosted systems.
3018 if test x$enable_libgomp = x ; then
3019 # Enable libgomp by default on hosted POSIX systems.
3021 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3023 *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
3025 *-*-solaris2* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
3027 *-*-darwin* | *-*-aix*)
3030 noconfigdirs="$noconfigdirs target-libgomp"
3035 # Disable libssp for some systems.
3038 # No hosted I/O support.
3039 noconfigdirs="$noconfigdirs target-libssp"
3041 powerpc-*-aix* | rs6000-*-aix*)
3042 noconfigdirs="$noconfigdirs target-libssp"
3046 # Disable target libiberty for some systems.
3049 # Remove unsupported stuff on all kaOS configurations.
3050 skipdirs="target-libiberty"
3053 # Skip some stuff on all NetBSD configurations.
3054 noconfigdirs="$noconfigdirs target-libiberty"
3057 noconfigdirs="$noconfigdirs target-libiberty"
3060 skipdirs="${skipdirs} target-libiberty"
3063 noconfigdirs="$noconfigdirs target-libiberty"
3066 noconfigdirs="$noconfigdirs target-libiberty"
3068 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3069 noconfigdirs="$noconfigdirs target-libiberty"
3072 noconfigdirs="$noconfigdirs target-libiberty"
3075 noconfigdirs="$noconfigdirs target-libiberty"
3077 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3078 noconfigdirs="$noconfigdirs target-libiberty"
3081 noconfigdirs="$noconfigdirs target-libiberty"
3084 skipdirs="$skipdirs target-libiberty"
3087 noconfigdirs="$noconfigdirs target-libiberty"
3091 # Disable libstdc++-v3 for some systems.
3094 # VxWorks uses the Dinkumware C++ library.
3095 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3098 # the C++ libraries don't build on top of CE's C libraries
3099 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3102 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3106 # Disable Fortran for some systems.
3109 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3110 unsupported_languages="$unsupported_languages fortran"
3114 # Disable Java if libffi is not supported.
3136 mips-sgi-irix6.* | mips*-*-rtems*)
3144 powerpc-*-aix* | rs6000-*-aix*)
3148 powerpc64-*-freebsd*)
3152 s390-*-* | s390x-*-*)
3154 sh-*-* | sh[34]*-*-*)
3156 sh64-*-* | sh5*-*-*)
3163 unsupported_languages="$unsupported_languages java"
3167 # Disable Java, libgcj or related libraries for some systems.
3171 i[3456789]86-*-darwin*)
3173 x86_64-*-darwin[912]*)
3176 noconfigdirs="$noconfigdirs ${libgcj}"
3179 noconfigdirs="$noconfigdirs ${libgcj}"
3182 noconfigdirs="$noconfigdirs ${libgcj}"
3185 noconfigdirs="$noconfigdirs ${libgcj}"
3188 noconfigdirs="$noconfigdirs ${libgcj}"
3191 noconfigdirs="$noconfigdirs ${libgcj}"
3194 noconfigdirs="$noconfigdirs ${libgcj}"
3197 noconfigdirs="$noconfigdirs ${libgcj}"
3200 noconfigdirs="$noconfigdirs ${libgcj}"
3203 noconfigdirs="$noconfigdirs target-boehm-gc"
3205 cris-*-* | crisv32-*-*)
3206 unsupported_languages="$unsupported_languages java"
3210 *) # See PR46792 regarding target-libffi.
3211 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3215 # In this case, it's because the hppa64-linux target is for
3216 # the kernel only at this point and has no libc, and thus no
3217 # headers, crt*.o, etc., all of which are needed by these.
3218 unsupported_languages="$unsupported_languages java"
3221 noconfigdirs="$noconfigdirs ${libgcj}"
3226 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3227 # build on HP-UX 10.20.
3228 noconfigdirs="$noconfigdirs ${libgcj}"
3231 noconfigdirs="$noconfigdirs ${libgcj}"
3233 i[3456789]86-w64-mingw*)
3234 noconfigdirs="$noconfigdirs ${libgcj}"
3236 i[3456789]86-*-mingw*)
3237 noconfigdirs="$noconfigdirs ${libgcj}"
3240 noconfigdirs="$noconfigdirs ${libgcj}"
3243 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc"
3246 # copied from rs6000-*-* entry
3247 noconfigdirs="$noconfigdirs ${libgcj}"
3250 noconfigdirs="$noconfigdirs ${libgcj}"
3253 # Linking libjava exceeds command-line length limits on at least
3254 # IRIX 6.2, but not on IRIX 6.5.
3255 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3256 # <oldham@codesourcery.com>
3257 noconfigdirs="$noconfigdirs ${libgcj}"
3260 noconfigdirs="$noconfigdirs ${libgcj}"
3264 # Default libgloss CPU subdirectory.
3265 libgloss_dir="$target_cpu"
3268 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3274 cris-*-* | crisv32-*-*)
3283 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3284 libgloss_dir=m68hc11
3286 m68*-*-* | fido-*-*)
3302 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3305 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3306 noconfigdirs="$noconfigdirs sim target-rda"
3308 i[3456789]86-*-darwin*)
3309 noconfigdirs="$noconfigdirs ld gprof"
3310 noconfigdirs="$noconfigdirs sim target-rda"
3312 x86_64-*-darwin[912]*)
3313 noconfigdirs="$noconfigdirs ld gas gprof"
3314 noconfigdirs="$noconfigdirs sim target-rda"
3317 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3318 noconfigdirs="$noconfigdirs sim target-rda"
3321 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3324 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3325 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
3326 && test -f /usr/local/include/gmp.h; then
3331 # Remove unsupported stuff on all kaOS configurations.
3332 noconfigdirs="$noconfigdirs target-libgloss"
3335 # Skip some stuff on all NetBSD configurations.
3336 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3339 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3342 noconfigdirs="$noconfigdirs target-libgloss"
3344 # The tpf target doesn't support gdb yet.
3346 noconfigdirs="$noconfigdirs target-newlib target-libgloss gdb tcl tk libgui itcl"
3349 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda"
3352 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3355 # ld works, but does not support shared libraries.
3356 # newlib is not 64 bit ready.
3357 # gas doesn't generate exception information.
3358 noconfigdirs="$noconfigdirs gas ld target-newlib target-libgloss"
3361 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3364 # newlib is not 64 bit ready
3365 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3368 # newlib is not 64 bit ready
3369 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3372 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3375 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3377 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3378 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3379 noconfigdirs="$noconfigdirs target-newlib"
3382 noconfigdirs="$noconfigdirs target-libgloss"
3386 arm-*-elf* | arm*-*-eabi* )
3388 arm*-*-linux-gnueabi)
3389 case ${with_newlib} in
3390 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3396 noconfigdirs="$noconfigdirs target-libgloss"
3399 noconfigdirs="$noconfigdirs ld target-libgloss"
3405 c4x-*-* | tic4x-*-*)
3406 noconfigdirs="$noconfigdirs target-libgloss"
3409 noconfigdirs="$noconfigdirs target-libgloss gdb"
3412 noconfigdirs="$noconfigdirs gdb"
3414 cris-*-* | crisv32-*-*)
3417 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
3421 noconfigdirs="$noconfigdirs target-libgloss"
3424 noconfigdirs="$noconfigdirs gdb"
3427 noconfigdirs="$noconfigdirs gdb"
3432 noconfigdirs="$noconfigdirs gprof"
3435 noconfigdirs="$noconfigdirs target-libgloss"
3438 noconfigdirs="$noconfigdirs target-libgloss"
3440 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3448 hppa*-*-openbsd* | \
3452 noconfigdirs="$noconfigdirs ld"
3457 noconfigdirs="$noconfigdirs ld"
3460 noconfigdirs="$noconfigdirs gdb"
3463 # No gdb support yet.
3464 noconfigdirs="$noconfigdirs readline libgui itcl gdb"
3467 # No ld support yet.
3468 noconfigdirs="$noconfigdirs libgui itcl ld"
3471 # No gdb or ld support yet.
3472 noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
3474 i[3456789]86-*-coff | i[3456789]86-*-elf)
3476 i[3456789]86-*-linux*)
3477 # This section makes it possible to build newlib natively on linux.
3478 # If we are using a cross compiler then don't configure newlib.
3479 if test x${is_cross_compiler} != xno ; then
3480 noconfigdirs="$noconfigdirs target-newlib"
3482 noconfigdirs="$noconfigdirs target-libgloss"
3483 # If we are not using a cross compiler, do configure newlib.
3484 # Note however, that newlib will only be configured in this situation
3485 # if the --with-newlib option has been given, because otherwise
3486 # 'target-newlib' will appear in skipdirs.
3488 i[3456789]86-w64-mingw*)
3489 noconfigdirs="$noconfigdirs target-libgloss target-newlib"
3491 i[3456789]86-*-mingw*)
3492 target_configdirs="$target_configdirs target-winsup"
3493 noconfigdirs="$noconfigdirs target-libgloss target-newlib"
3496 noconfigdirs="$noconfigdirs target-libgloss target-newlib"
3499 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3500 noconfigdirs="$noconfigdirs target-libgloss"
3501 # always build newlib if winsup directory is present.
3502 if test -d "$srcdir/winsup/cygwin"; then
3503 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3504 elif test -d "$srcdir/newlib"; then
3505 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3508 i[3456789]86-*-interix* )
3511 noconfigdirs="$noconfigdirs target-libgloss"
3513 i[3456789]86-*-sco3.2v5*)
3514 # The linker does not yet know about weak symbols in COFF,
3515 # and is not configured to handle mixed ELF and COFF.
3516 noconfigdirs="$noconfigdirs ld target-libgloss"
3518 i[3456789]86-*-sco*)
3519 noconfigdirs="$noconfigdirs gprof target-libgloss"
3521 i[3456789]86-*-solaris2*)
3522 noconfigdirs="$noconfigdirs target-libgloss"
3524 i[3456789]86-*-sysv4*)
3525 noconfigdirs="$noconfigdirs target-libgloss"
3527 i[3456789]86-*-beos*)
3528 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3530 i[3456789]86-*-rdos*)
3531 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3535 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3539 m68*-*-* | fido-*-*)
3542 noconfigdirs="$noconfigdirs gdb"
3545 noconfigdirs="$noconfigdirs sim"
3548 # copied from rs6000-*-* entry
3549 noconfigdirs="$noconfigdirs gprof target-libgloss target-newlib"
3551 powerpc*-*-winnt* | powerpc*-*-pe*)
3552 target_configdirs="$target_configdirs target-winsup"
3553 noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
3554 # always build newlib.
3555 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3557 # This is temporary until we can link against shared libraries
3558 powerpcle-*-solaris*)
3559 noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
3562 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3566 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
3569 noconfigdirs="$noconfigdirs target-newlib gprof"
3572 noconfigdirs="$noconfigdirs gprof target-libgloss target-newlib"
3575 noconfigdirs="$noconfigdirs gprof"
3578 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
3581 noconfigdirs="$noconfigdirs gprof"
3584 if test x$with_newlib = xyes; then
3585 noconfigdirs="$noconfigdirs gprof"
3589 noconfigdirs="$noconfigdirs gprof target-libgloss"
3592 noconfigdirs="$noconfigdirs gprof target-libgloss"
3595 noconfigdirs="$noconfigdirs gprof target-libgloss"
3598 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3601 noconfigdirs="$noconfigdirs gprof"
3608 noconfigdirs="$noconfigdirs target-libgloss" ;;
3611 sparclet-*-aout* | sparc86x-*-*)
3620 if test x${is_cross_compiler} != xno ; then
3621 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3626 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
3629 noconfigdirs="$noconfigdirs gdb sim"
3632 noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3635 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3637 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3638 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3641 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3647 # If we aren't building newlib, then don't build libgloss, since libgloss
3648 # depends upon some newlib header files.
3649 case "${noconfigdirs}" in
3650 *target-libgloss*) ;;
3651 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3654 # Work in distributions that contain no compiler tools, like Autoconf.
3655 host_makefile_frag=/dev/null
3656 if test -d ${srcdir}/config ; then
3658 i[3456789]86-*-msdosdjgpp*)
3659 host_makefile_frag="config/mh-djgpp"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3664 $as_echo_n "checking to see if cat works as expected... " >&6; }
3665 echo a >cygwin-cat-check
3666 if test `cat cygwin-cat-check` = a ; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3669 $as_echo "yes" >&6; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3674 as_fn_error "The cat command does not ignore carriage return characters.
3675 Please either mount the build directory in binary mode or run the following
3676 commands before running any configure script:
3682 host_makefile_frag="config/mh-cygwin"
3685 host_makefile_frag="config/mh-mingw"
3688 host_makefile_frag="config/mh-interix"
3691 host_makefile_frag="config/mh-pa-hpux10"
3694 host_makefile_frag="config/mh-pa"
3697 host_makefile_frag="config/mh-pa"
3700 host_makefile_frag="config/mh-darwin"
3703 host_makefile_frag="config/mh-ppc-aix"
3706 host_makefile_frag="config/mh-ppc-aix"
3711 if test "${build}" != "${host}" ; then
3712 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3713 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3714 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3715 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3716 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3717 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3718 GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
3719 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3720 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3721 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3722 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3723 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3724 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3726 AR_FOR_BUILD="\$(AR)"
3727 AS_FOR_BUILD="\$(AS)"
3728 CC_FOR_BUILD="\$(CC)"
3729 CXX_FOR_BUILD="\$(CXX)"
3730 GCJ_FOR_BUILD="\$(GCJ)"
3731 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3732 GOC_FOR_BUILD="\$(GOC)"
3733 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3734 LD_FOR_BUILD="\$(LD)"
3735 NM_FOR_BUILD="\$(NM)"
3736 RANLIB_FOR_BUILD="\$(RANLIB)"
3737 WINDRES_FOR_BUILD="\$(WINDRES)"
3738 WINDMC_FOR_BUILD="\$(WINDMC)"
3742 ac_cpp='$CPP $CPPFLAGS'
3743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746 if test -n "$ac_tool_prefix"; then
3747 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3748 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if test "${ac_cv_prog_CC+set}" = set; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3764 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3785 if test -z "$ac_cv_prog_CC"; then
3787 # Extract the first word of "gcc", so it can be a program name with args.
3788 set dummy gcc; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$ac_ct_CC"; then
3795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 ac_cv_prog_ac_ct_CC="gcc"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3815 if test -n "$ac_ct_CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3817 $as_echo "$ac_ct_CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3823 if test "x$ac_ct_CC" = x; then
3826 case $cross_compiling:$ac_tool_warned in
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3830 ac_tool_warned=yes ;;
3838 if test -z "$CC"; then
3839 if test -n "$ac_tool_prefix"; then
3840 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3841 set dummy ${ac_tool_prefix}cc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if test "${ac_cv_prog_CC+set}" = set; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_prog_CC="${ac_tool_prefix}cc"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 if test -n "$CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3870 $as_echo "$CC" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3879 if test -z "$CC"; then
3880 # Extract the first word of "cc", so it can be a program name with args.
3881 set dummy cc; ac_word=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if test "${ac_cv_prog_CC+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$CC"; then
3888 ac_cv_prog_CC="$CC" # Let the user override the test.
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3899 ac_prog_rejected=yes
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 if test $ac_prog_rejected = yes; then
3911 # We found a bogon in the path, so make sure we never use it.
3912 set dummy $ac_cv_prog_CC
3914 if test $# != 0; then
3915 # We chose a different compiler from the bogus one.
3916 # However, it has the same basename, so the bogon will be chosen
3917 # first if we set CC to just the basename; use the full file name.
3919 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3925 if test -n "$CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3927 $as_echo "$CC" >&6; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3935 if test -z "$CC"; then
3936 if test -n "$ac_tool_prefix"; then
3937 for ac_prog in cl.exe
3939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if test "${ac_cv_prog_CC+set}" = set; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -n "$CC"; then
3947 ac_cv_prog_CC="$CC" # Let the user override the test.
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 if test -n "$CC"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3969 $as_echo "$CC" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3976 test -n "$CC" && break
3979 if test -z "$CC"; then
3981 for ac_prog in cl.exe
3983 # Extract the first word of "$ac_prog", so it can be a program name with args.
3984 set dummy $ac_prog; ac_word=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$ac_ct_CC"; then
3991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_ac_ct_CC="$ac_prog"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4011 if test -n "$ac_ct_CC"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4013 $as_echo "$ac_ct_CC" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4020 test -n "$ac_ct_CC" && break
4023 if test "x$ac_ct_CC" = x; then
4026 case $cross_compiling:$ac_tool_warned in
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned=yes ;;
4039 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4041 as_fn_error "no acceptable C compiler found in \$PATH
4042 See \`config.log' for more details." "$LINENO" 5; }
4044 # Provide some information about the compiler.
4045 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4048 for ac_option in --version -v -V -qversion; do
4049 { { ac_try="$ac_compiler $ac_option >&5"
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4058 if test -s conftest.err; then
4060 ... rest of stderr output deleted ...
4061 10q' conftest.err >conftest.er1
4062 cat conftest.er1 >&5
4063 rm -f conftest.er1 conftest.err
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 ac_clean_files_save=$ac_clean_files
4081 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4082 # Try to create an executable without -o first, disregard a.out.
4083 # It will help us diagnose broken compilers, and finding out an intuition
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4086 $as_echo_n "checking for C compiler default output file name... " >&6; }
4087 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4089 # The possible output files:
4090 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4093 for ac_file in $ac_files
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4097 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4102 if { { ac_try="$ac_link_default"
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_link_default") 2>&5
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4114 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4115 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4116 # so that the user can short-circuit this test for compilers unknown to
4118 for ac_file in $ac_files ''
4120 test -f "$ac_file" || continue
4122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4125 # We found the default executable, but exeext='' is most
4129 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4131 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4133 # We set ac_cv_exeext here because the later test for it is not
4134 # safe: cross compilers may not add the suffix if given an `-o'
4135 # argument, so we may need to know it at that point already.
4136 # Even if this section looks crufty: it has the advantage of
4143 test "$ac_cv_exeext" = no && ac_cv_exeext=
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4149 $as_echo "$ac_file" >&6; }
4150 if test -z "$ac_file"; then :
4151 $as_echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.$ac_ext >&5
4154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4156 { as_fn_set_status 77
4157 as_fn_error "C compiler cannot create executables
4158 See \`config.log' for more details." "$LINENO" 5; }; }
4160 ac_exeext=$ac_cv_exeext
4162 # Check that the compiler produces executables we can run. If not, either
4163 # the compiler is broken, or we cross compile.
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4165 $as_echo_n "checking whether the C compiler works... " >&6; }
4166 # If not cross compiling, check that we can run a simple program.
4167 if test "$cross_compiling" != yes; then
4168 if { ac_try='./$ac_file'
4169 { { case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_try") 2>&5
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; }; then
4181 if test "$cross_compiling" = maybe; then
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error "cannot run C compiled programs.
4187 If you meant to cross compile, use \`--host'.
4188 See \`config.log' for more details." "$LINENO" 5; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4193 $as_echo "yes" >&6; }
4195 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4196 ac_clean_files=$ac_clean_files_save
4197 # Check that the compiler produces executables we can run. If not, either
4198 # the compiler is broken, or we cross compile.
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4200 $as_echo_n "checking whether we are cross compiling... " >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4202 $as_echo "$cross_compiling" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4205 $as_echo_n "checking for suffix of executables... " >&6; }
4206 if { { ac_try="$ac_link"
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_link") 2>&5
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }; then :
4217 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4218 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4219 # work properly (i.e., refer to `conftest.exe'), while it won't with
4221 for ac_file in conftest.exe conftest conftest.*; do
4222 test -f "$ac_file" || continue
4224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4225 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4233 as_fn_error "cannot compute suffix of executables: cannot compile and link
4234 See \`config.log' for more details." "$LINENO" 5; }
4236 rm -f conftest$ac_cv_exeext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4238 $as_echo "$ac_cv_exeext" >&6; }
4240 rm -f conftest.$ac_ext
4241 EXEEXT=$ac_cv_exeext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4244 $as_echo_n "checking for suffix of object files... " >&6; }
4245 if test "${ac_cv_objext+set}" = set; then :
4246 $as_echo_n "(cached) " >&6
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4259 rm -f conftest.o conftest.obj
4260 if { { ac_try="$ac_compile"
4262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4266 $as_echo "$ac_try_echo"; } >&5
4267 (eval "$ac_compile") 2>&5
4269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4270 test $ac_status = 0; }; then :
4271 for ac_file in conftest.o conftest.obj conftest.*; do
4272 test -f "$ac_file" || continue;
4274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4275 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4280 $as_echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4285 as_fn_error "cannot compute suffix of object files: cannot compile
4286 See \`config.log' for more details." "$LINENO" 5; }
4288 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4291 $as_echo "$ac_cv_objext" >&6; }
4292 OBJEXT=$ac_cv_objext
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4295 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4296 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4297 $as_echo_n "(cached) " >&6
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4313 if ac_fn_c_try_compile "$LINENO"; then :
4318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4323 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4324 if test $ac_compiler_gnu = yes; then
4329 ac_test_CFLAGS=${CFLAGS+set}
4330 ac_save_CFLAGS=$CFLAGS
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4332 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4333 if test "${ac_cv_prog_cc_g+set}" = set; then :
4334 $as_echo_n "(cached) " >&6
4336 ac_save_c_werror_flag=$ac_c_werror_flag
4337 ac_c_werror_flag=yes
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 if ac_fn_c_try_compile "$LINENO"; then :
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 if ac_fn_c_try_compile "$LINENO"; then :
4369 ac_c_werror_flag=$ac_save_c_werror_flag
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4382 if ac_fn_c_try_compile "$LINENO"; then :
4385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4393 $as_echo "$ac_cv_prog_cc_g" >&6; }
4394 if test "$ac_test_CFLAGS" = set; then
4395 CFLAGS=$ac_save_CFLAGS
4396 elif test $ac_cv_prog_cc_g = yes; then
4397 if test "$GCC" = yes; then
4403 if test "$GCC" = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4410 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4411 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4412 $as_echo_n "(cached) " >&6
4414 ac_cv_prog_cc_c89=no
4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4420 #include <sys/types.h>
4421 #include <sys/stat.h>
4422 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4423 struct buf { int x; };
4424 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4425 static char *e (p, i)
4431 static char *f (char * (*g) (char **, int), char **p, ...)
4436 s = g (p, va_arg (v,int));
4441 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4442 function prototypes and stuff, but not '\xHH' hex character constants.
4443 These don't provoke an error unfortunately, instead are silently treated
4444 as 'x'. The following induces an error, until -std is added to get
4445 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4446 array size at least. It's necessary to write '\x00'==0 to get something
4447 that's true only with -std. */
4448 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4450 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4451 inside strings and character constants. */
4453 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4455 int test (int i, double x);
4456 struct s1 {int (*f) (int a);};
4457 struct s2 {int (*f) (double a);};
4458 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4464 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4469 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4470 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4472 CC="$ac_save_CC $ac_arg"
4473 if ac_fn_c_try_compile "$LINENO"; then :
4474 ac_cv_prog_cc_c89=$ac_arg
4476 rm -f core conftest.err conftest.$ac_objext
4477 test "x$ac_cv_prog_cc_c89" != "xno" && break
4479 rm -f conftest.$ac_ext
4484 case "x$ac_cv_prog_cc_c89" in
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4487 $as_echo "none needed" >&6; } ;;
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4490 $as_echo "unsupported" >&6; } ;;
4492 CC="$CC $ac_cv_prog_cc_c89"
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4494 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4496 if test "x$ac_cv_prog_cc_c89" != xno; then :
4501 ac_cpp='$CPP $CPPFLAGS'
4502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4507 ac_cpp='$CXXCPP $CPPFLAGS'
4508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4511 if test -z "$CXX"; then
4512 if test -n "$CCC"; then
4515 if test -n "$ac_tool_prefix"; then
4516 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if test "${ac_cv_prog_CXX+set}" = set; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$CXX"; then
4526 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 if test -n "$CXX"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4548 $as_echo "$CXX" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4555 test -n "$CXX" && break
4558 if test -z "$CXX"; then
4560 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4562 # Extract the first word of "$ac_prog", so it can be a program name with args.
4563 set dummy $ac_prog; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$ac_ct_CXX"; then
4570 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4579 ac_cv_prog_ac_ct_CXX="$ac_prog"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4590 if test -n "$ac_ct_CXX"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4592 $as_echo "$ac_ct_CXX" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4599 test -n "$ac_ct_CXX" && break
4602 if test "x$ac_ct_CXX" = x; then
4605 case $cross_compiling:$ac_tool_warned in
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4609 ac_tool_warned=yes ;;
4617 # Provide some information about the compiler.
4618 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4621 for ac_option in --version -v -V -qversion; do
4622 { { ac_try="$ac_compiler $ac_option >&5"
4624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625 *) ac_try_echo=$ac_try;;
4627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4628 $as_echo "$ac_try_echo"; } >&5
4629 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4631 if test -s conftest.err; then
4633 ... rest of stderr output deleted ...
4634 10q' conftest.err >conftest.er1
4635 cat conftest.er1 >&5
4636 rm -f conftest.er1 conftest.err
4638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4639 test $ac_status = 0; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4643 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4644 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4645 $as_echo_n "(cached) " >&6
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4661 if ac_fn_cxx_try_compile "$LINENO"; then :
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4671 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4672 if test $ac_compiler_gnu = yes; then
4677 ac_test_CXXFLAGS=${CXXFLAGS+set}
4678 ac_save_CXXFLAGS=$CXXFLAGS
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4680 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4681 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4682 $as_echo_n "(cached) " >&6
4684 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4685 ac_cxx_werror_flag=yes
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4699 if ac_fn_cxx_try_compile "$LINENO"; then :
4700 ac_cv_prog_cxx_g=yes
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4714 if ac_fn_cxx_try_compile "$LINENO"; then :
4717 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4730 if ac_fn_cxx_try_compile "$LINENO"; then :
4731 ac_cv_prog_cxx_g=yes
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4738 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4741 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4742 if test "$ac_test_CXXFLAGS" = set; then
4743 CXXFLAGS=$ac_save_CXXFLAGS
4744 elif test $ac_cv_prog_cxx_g = yes; then
4745 if test "$GXX" = yes; then
4751 if test "$GXX" = yes; then
4758 ac_cpp='$CPP $CPPFLAGS'
4759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 # We must set the default linker to the linker used by gcc for the correct
4765 # operation of libtool. If LD is not defined and we are using gcc, try to
4766 # set the LD default to the ld used by gcc.
4767 if test -z "$LD"; then
4768 if test "$GCC" = yes; then
4771 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4773 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4775 case $gcc_prog_ld in
4776 # Accept absolute paths.
4777 [\\/]* | [A-Za-z]:[\\/]*)
4778 LD="$gcc_prog_ld" ;;
4786 if test -n "$ac_tool_prefix"; then
4787 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4788 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4792 $as_echo_n "(cached) " >&6
4794 if test -n "$GNATBIND"; then
4795 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir=.
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 GNATBIND=$ac_cv_prog_GNATBIND
4815 if test -n "$GNATBIND"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4817 $as_echo "$GNATBIND" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4825 if test -z "$ac_cv_prog_GNATBIND"; then
4826 ac_ct_GNATBIND=$GNATBIND
4827 # Extract the first word of "gnatbind", so it can be a program name with args.
4828 set dummy gnatbind; ac_word=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4832 $as_echo_n "(cached) " >&6
4834 if test -n "$ac_ct_GNATBIND"; then
4835 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4844 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4855 if test -n "$ac_ct_GNATBIND"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4857 $as_echo "$ac_ct_GNATBIND" >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4863 if test "x$ac_ct_GNATBIND" = x; then
4866 case $cross_compiling:$ac_tool_warned in
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4870 ac_tool_warned=yes ;;
4872 GNATBIND=$ac_ct_GNATBIND
4875 GNATBIND="$ac_cv_prog_GNATBIND"
4878 if test -n "$ac_tool_prefix"; then
4879 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4880 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$GNATMAKE"; then
4887 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 GNATMAKE=$ac_cv_prog_GNATMAKE
4907 if test -n "$GNATMAKE"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4909 $as_echo "$GNATMAKE" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4917 if test -z "$ac_cv_prog_GNATMAKE"; then
4918 ac_ct_GNATMAKE=$GNATMAKE
4919 # Extract the first word of "gnatmake", so it can be a program name with args.
4920 set dummy gnatmake; ac_word=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$ac_ct_GNATMAKE"; then
4927 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4936 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4947 if test -n "$ac_ct_GNATMAKE"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4949 $as_echo "$ac_ct_GNATMAKE" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4955 if test "x$ac_ct_GNATMAKE" = x; then
4958 case $cross_compiling:$ac_tool_warned in
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4962 ac_tool_warned=yes ;;
4964 GNATMAKE=$ac_ct_GNATMAKE
4967 GNATMAKE="$ac_cv_prog_GNATMAKE"
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4971 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4972 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 cat >conftest.adb <<EOF
4976 procedure conftest is begin null; end conftest;
4978 acx_cv_cc_gcc_supports_ada=no
4979 # There is a bug in old released versions of GCC which causes the
4980 # driver to exit successfully when the appropriate language module
4981 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4982 # Therefore we must check for the error message as well as an
4983 # unsuccessful exit.
4984 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4985 # given a .adb file, but produce no object file. So we must check
4986 # if an object file was really produced to guard against this.
4987 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4988 if test x"$errors" = x && test -f conftest.$ac_objext; then
4989 acx_cv_cc_gcc_supports_ada=yes
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4994 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4996 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5003 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5004 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5005 $as_echo_n "(cached) " >&6
5009 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5010 if cmp t1 t2 2 2 > /dev/null 2>&1; then
5011 if cmp t1 t2 1 1 > /dev/null 2>&1; then
5014 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
5017 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
5018 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
5021 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5028 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5029 do_compare="$gcc_cv_prog_cmp_skip"
5033 # See if we are building gcc with C++.
5034 # Check whether --enable-build-with-cxx was given.
5035 if test "${enable_build_with_cxx+set}" = set; then :
5036 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
5038 ENABLE_BUILD_WITH_CXX=no
5042 # Used for setting $lt_cv_objdir
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5044 $as_echo_n "checking for objdir... " >&6; }
5045 if test "${lt_cv_objdir+set}" = set; then :
5046 $as_echo_n "(cached) " >&6
5048 rm -f .libs 2>/dev/null
5049 mkdir .libs 2>/dev/null
5050 if test -d .libs; then
5053 # MS-DOS does not allow filenames that begin with a dot.
5056 rmdir .libs 2>/dev/null
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5059 $as_echo "$lt_cv_objdir" >&6; }
5060 objdir=$lt_cv_objdir
5066 cat >>confdefs.h <<_ACEOF
5067 #define LT_OBJDIR "$lt_cv_objdir/"
5072 # Check for GMP, MPFR and MPC
5073 gmplibs="-lmpc -lmpfr -lgmp"
5077 # Specify a location for mpc
5078 # check for this first so it ends up on the link line before mpfr.
5080 # Check whether --with-mpc was given.
5081 if test "${with_mpc+set}" = set; then :
5086 # Check whether --with-mpc-include was given.
5087 if test "${with_mpc_include+set}" = set; then :
5088 withval=$with_mpc_include;
5092 # Check whether --with-mpc-lib was given.
5093 if test "${with_mpc_lib+set}" = set; then :
5094 withval=$with_mpc_lib;
5098 if test "x$with_mpc" != x; then
5099 gmplibs="-L$with_mpc/lib $gmplibs"
5100 gmpinc="-I$with_mpc/include $gmpinc"
5102 if test "x$with_mpc_include" != x; then
5103 gmpinc="-I$with_mpc_include $gmpinc"
5105 if test "x$with_mpc_lib" != x; then
5106 gmplibs="-L$with_mpc_lib $gmplibs"
5108 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
5109 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5110 gmpinc='-I$$s/mpc/src '"$gmpinc"
5111 # Do not test the mpc version. Assume that it is sufficient, since
5112 # it is in the source tree, and the library has not been built yet
5113 # but it would be included on the link line in the version check below
5114 # hence making the test fail.
5118 # Specify a location for mpfr
5119 # check for this first so it ends up on the link line before gmp.
5121 # Check whether --with-mpfr-dir was given.
5122 if test "${with_mpfr_dir+set}" = set; then :
5123 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5124 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5129 # Check whether --with-mpfr was given.
5130 if test "${with_mpfr+set}" = set; then :
5135 # Check whether --with-mpfr-include was given.
5136 if test "${with_mpfr_include+set}" = set; then :
5137 withval=$with_mpfr_include;
5141 # Check whether --with-mpfr-lib was given.
5142 if test "${with_mpfr_lib+set}" = set; then :
5143 withval=$with_mpfr_lib;
5147 if test "x$with_mpfr" != x; then
5148 gmplibs="-L$with_mpfr/lib $gmplibs"
5149 gmpinc="-I$with_mpfr/include $gmpinc"
5151 if test "x$with_mpfr_include" != x; then
5152 gmpinc="-I$with_mpfr_include $gmpinc"
5154 if test "x$with_mpfr_lib" != x; then
5155 gmplibs="-L$with_mpfr_lib $gmplibs"
5157 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5158 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5159 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5160 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5161 # Do not test the mpfr version. Assume that it is sufficient, since
5162 # it is in the source tree, and the library has not been built yet
5163 # but it would be included on the link line in the version check below
5164 # hence making the test fail.
5168 # Specify a location for gmp
5170 # Check whether --with-gmp-dir was given.
5171 if test "${with_gmp_dir+set}" = set; then :
5172 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5173 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5178 # Check whether --with-gmp was given.
5179 if test "${with_gmp+set}" = set; then :
5184 # Check whether --with-gmp-include was given.
5185 if test "${with_gmp_include+set}" = set; then :
5186 withval=$with_gmp_include;
5190 # Check whether --with-gmp-lib was given.
5191 if test "${with_gmp_lib+set}" = set; then :
5192 withval=$with_gmp_lib;
5197 if test "x$with_gmp" != x; then
5198 gmplibs="-L$with_gmp/lib $gmplibs"
5199 gmpinc="-I$with_gmp/include $gmpinc"
5201 if test "x$with_gmp_include" != x; then
5202 gmpinc="-I$with_gmp_include $gmpinc"
5204 if test "x$with_gmp_lib" != x; then
5205 gmplibs="-L$with_gmp_lib $gmplibs"
5207 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5208 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5209 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5210 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5211 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5212 # Do not test the gmp version. Assume that it is sufficient, since
5213 # it is in the source tree, and the library has not been built yet
5214 # but it would be included on the link line in the version check below
5215 # hence making the test fail.
5219 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5221 saved_CFLAGS="$CFLAGS"
5222 CFLAGS="$CFLAGS $gmpinc"
5223 # Check for the recommended and required versions of GMP.
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5225 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5234 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5235 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5236 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5244 if ac_fn_c_try_compile "$LINENO"; then :
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5252 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5253 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5254 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5262 if ac_fn_c_try_compile "$LINENO"; then :
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5264 $as_echo "yes" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5267 $as_echo "buggy but acceptable" >&6; }
5269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }; have_gmp=no
5274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276 # If we have GMP, check the MPFR version.
5277 if test x"$have_gmp" = xyes; then
5278 # Check for the recommended and required versions of MPFR.
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5280 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5289 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5297 if ac_fn_c_try_compile "$LINENO"; then :
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5306 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5314 if ac_fn_c_try_compile "$LINENO"; then :
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5319 $as_echo "buggy but acceptable" >&6; }
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }; have_gmp=no
5326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 # Check for the MPC header version.
5330 if test x"$have_gmp" = xyes ; then
5331 # Check for the recommended and required versions of MPC.
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5333 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5341 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5349 if ac_fn_c_try_compile "$LINENO"; then :
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5357 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5365 if ac_fn_c_try_compile "$LINENO"; then :
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5367 $as_echo "yes" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5370 $as_echo "buggy but acceptable" >&6; }
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }; have_gmp=no
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 # Now check the MPFR library.
5381 if test x"$have_gmp" = xyes; then
5383 LIBS="$LIBS $gmplibs"
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5385 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5399 mpfr_atan2 (n, n, x, GMP_RNDN);
5400 mpfr_erfc (n, x, GMP_RNDN);
5401 mpfr_subnormalize (x, t, GMP_RNDN);
5405 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5406 mpc_cosh (c, c, MPC_RNDNN);
5407 mpc_pow (c, c, c, MPC_RNDNN);
5408 mpc_acosh (c, c, MPC_RNDNN);
5415 if ac_fn_c_try_link "$LINENO"; then :
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }; have_gmp=no
5422 rm -f core conftest.err conftest.$ac_objext \
5423 conftest$ac_exeext conftest.$ac_ext
5427 CFLAGS="$saved_CFLAGS"
5429 # The library versions listed in the error message below should match
5430 # the HARD-minimums enforced above.
5431 if test x$have_gmp != xyes; then
5432 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5433 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5434 their locations. Source code for these libraries can be found at
5435 their respective hosting sites as well as at
5436 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5437 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5438 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5439 make sure that you have installed both the libraries and the header
5440 files. They may be located in separate packages." "$LINENO" 5
5444 # Flags needed for both GMP, MPFR and/or MPC.
5451 # Allow host libstdc++ to be specified for static linking with PPL.
5453 # Check whether --with-host-libstdcxx was given.
5454 if test "${with_host_libstdcxx+set}" = set; then :
5455 withval=$with_host_libstdcxx;
5459 case $with_host_libstdcxx in
5461 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5465 # Linker flags to use for stage1 or when not boostrapping.
5467 # Check whether --with-stage1-ldflags was given.
5468 if test "${with_stage1_ldflags+set}" = set; then :
5469 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5472 stage1_ldflags=$withval
5480 # Libraries to use for stage1 or when not bootstrapping.
5482 # Check whether --with-stage1-libs was given.
5483 if test "${with_stage1_libs+set}" = set; then :
5484 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5487 stage1_libs=$withval
5490 stage1_libs=$with_host_libstdcxx
5495 # Libraries to use for stage2 and later builds. This defaults to the
5496 # argument passed to --with-host-libstdcxx.
5498 # Check whether --with-boot-libs was given.
5499 if test "${with_boot_libs+set}" = set; then :
5500 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5503 poststage1_libs=$withval
5506 poststage1_libs=$with_host_libstdcxx
5511 # Linker flags to use for stage2 and later builds.
5513 # Check whether --with-boot-ldflags was given.
5514 if test "${with_boot_ldflags+set}" = set; then :
5515 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5518 poststage1_ldflags=$withval
5522 # In stages 2 and 3, default to linking libstdc++ and libgcc
5523 # statically. But if the user explicitly specified the libraries to
5524 # use, trust that they are doing what they want.
5525 if test "$poststage1_libs" = ""; then
5526 poststage1_ldflags="-static-libstdc++ -static-libgcc"
5538 # Check whether --with-ppl was given.
5539 if test "${with_ppl+set}" = set; then :
5544 # Check whether --with-ppl-include was given.
5545 if test "${with_ppl_include+set}" = set; then :
5546 withval=$with_ppl_include;
5550 # Check whether --with-ppl-lib was given.
5551 if test "${with_ppl_lib+set}" = set; then :
5552 withval=$with_ppl_lib;
5556 # Check whether --enable-ppl-version-check was given.
5557 if test "${enable_ppl_version_check+set}" = set; then :
5558 enableval=$enable_ppl_version_check;
5566 ppllibs="-L$with_ppl/lib"
5567 pplinc="-I$with_ppl/include $pplinc"
5568 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5571 as_fn_error "cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5576 if test x"$with_ppl_include" != x; then
5577 pplinc="-I$with_ppl_include $pplinc"
5581 if test "x$with_ppl_lib" != x; then
5582 ppllibs="-L$with_ppl_lib"
5586 if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
5587 if test x"$enable_watchdog" = xyes; then
5590 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5591 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5592 enable_ppl_version_check=no
5596 if test "x$with_ppl" != xno; then
5597 if test "x$pwllib" = x; then
5599 LIBS="$LIBS $ppllibs -lstdc++ -lm"
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5601 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5602 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5603 $as_echo_n "(cached) " >&6
5605 ac_check_lib_save_LIBS=$LIBS
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5610 /* Override any GCC internal prototype to avoid an error.
5611 Use char because int might match the return type of a GCC
5612 builtin and then its argument prototype would still apply. */
5616 char PWL_handle_timeout ();
5620 return PWL_handle_timeout ();
5625 if ac_fn_c_try_link "$LINENO"; then :
5626 ac_cv_lib_pwl_PWL_handle_timeout=yes
5628 ac_cv_lib_pwl_PWL_handle_timeout=no
5630 rm -f core conftest.err conftest.$ac_objext \
5631 conftest$ac_exeext conftest.$ac_ext
5632 LIBS=$ac_check_lib_save_LIBS
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5635 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5636 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x""yes; then :
5643 ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5645 if test "$enable_ppl_version_check" != no; then
5646 saved_CFLAGS="$CFLAGS"
5647 CFLAGS="$CFLAGS $pplinc $gmpinc"
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5649 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5657 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5665 if ac_fn_c_try_compile "$LINENO"; then :
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5667 $as_echo "yes" >&6; }
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }; ppllibs= ; pplinc= ; with_ppl=no
5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673 CFLAGS="$saved_CFLAGS"
5677 # Flags needed for PPL
5686 # Check whether --with-cloog was given.
5687 if test "${with_cloog+set}" = set; then :
5688 withval=$with_cloog;
5692 # Check whether --with-cloog-include was given.
5693 if test "${with_cloog_include+set}" = set; then :
5694 withval=$with_cloog_include;
5698 # Check whether --with-cloog-lib was given.
5699 if test "${with_cloog_lib+set}" = set; then :
5700 withval=$with_cloog_lib;
5704 # Check whether --enable-cloog-backend was given.
5705 if test "${enable_cloog_backend+set}" = set; then :
5706 enableval=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5708 elif test "x${enableval}" = "xppl"; then
5711 cloog_backend=ppl-legacy
5714 cloog_backend=ppl-legacy
5717 # Check whether --enable-cloog-version-check was given.
5718 if test "${enable_cloog_version_check+set}" = set; then :
5719 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5721 ENABLE_CLOOG_CHECK=yes
5725 # Initialize clooglibs and clooginc.
5734 clooglibs="-L$with_cloog/lib"
5735 clooginc="-I$with_cloog/include"
5738 if test "x${with_cloog_include}" != x ; then
5739 clooginc="-I$with_cloog_include"
5741 if test "x${with_cloog_lib}" != x; then
5742 clooglibs="-L$with_cloog_lib"
5749 if test "x$with_ppl" = "xno"; then
5753 if test "x${with_cloog}" = xno; then
5754 graphite_requested=no
5755 elif test "x${with_cloog}" != x \
5756 || test "x${with_cloog_include}" != x \
5757 || test "x${with_cloog_lib}" != x ; then
5758 graphite_requested=yes
5760 graphite_requested=no
5764 if test "${graphite_requested}" = yes; then
5765 as_fn_error "Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5769 if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
5770 && test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
5771 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5772 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5774 if test "x$with_cloog" != "xno"; then
5778 _cloog_saved_CFLAGS=$CFLAGS
5779 _cloog_saved_CPPFLAGS=$CPPFLAGS
5780 _cloog_saved_LDFLAGS=$LDFLAGS
5781 _cloog_saved_LIBS=$LIBS
5783 _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG"
5785 CFLAGS="${CFLAGS} ${clooginc} ${gmpinc}"
5786 CPPFLAGS="${CPPFLAGS} ${_cloogorginc}"
5787 LDFLAGS="${LDFLAGS} ${clooglibs}"
5789 case $cloog_backend in
5791 CFLAGS="${CFLAGS} ${pplinc}"
5792 LDFLAGS="${LDFLAGS} ${ppllibs}"
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5794 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5795 if test "${gcc_cv_cloog_type+set}" = set; then :
5796 $as_echo_n "(cached) " >&6
5798 LIBS="-lcloog ${_cloog_saved_LIBS}"
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5801 #include "cloog/cloog.h"
5805 #ifndef CLOOG_PPL_BACKEND
5812 if ac_fn_c_try_link "$LINENO"; then :
5813 gcc_cv_cloog_type="PPL Legacy"
5815 gcc_cv_cloog_type=no
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5821 $as_echo "$gcc_cv_cloog_type" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5825 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5826 if test "${gcc_cv_cloog_type+set}" = set; then :
5827 $as_echo_n "(cached) " >&6
5829 LIBS="-lcloog-isl ${_cloog_saved_LIBS}"
5830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5831 /* end confdefs.h. */
5832 #include "cloog/cloog.h"
5841 if ac_fn_c_try_link "$LINENO"; then :
5842 gcc_cv_cloog_type="ISL"
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 CFLAGS="${CFLAGS} ${pplinc}"
5854 LDFLAGS="${LDFLAGS} ${ppllibs}"
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5856 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5857 if test "${gcc_cv_cloog_type+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 LIBS="-lcloog-ppl ${_cloog_saved_LIBS}"
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5863 #include "cloog/cloog.h"
5864 #include "cloog/ppl/cloog.h"
5873 if ac_fn_c_try_link "$LINENO"; then :
5874 gcc_cv_cloog_type="PPL"
5876 gcc_cv_cloog_type=no
5878 rm -f core conftest.err conftest.$ac_objext \
5879 conftest$ac_exeext conftest.$ac_ext
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5882 $as_echo "$gcc_cv_cloog_type" >&6; }
5885 gcc_cv_cloog_type=""
5888 case $gcc_cv_cloog_type in
5890 clooginc="${clooginc}"
5891 clooglibs="${clooglibs} -lcloog"
5895 clooginc="${clooginc} ${_cloogorginc}"
5896 clooglibs="${clooglibs} -lcloog-isl -lisl"
5900 clooginc="${clooginc} ${_cloogorginc}"
5901 clooglibs="${clooglibs} -lcloog-ppl"
5911 LIBS=$_cloog_saved_LIBS
5912 CFLAGS=$_cloog_saved_CFLAGS
5913 CPPFLAGS=$_cloog_saved_CPPFLAGS
5914 LDFLAGS=$_cloog_saved_LDFLAGS
5920 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5921 _cloog_saved_CFLAGS=$CFLAGS
5922 _cloog_saved_LDFLAGS=$LDFLAGS
5924 CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5925 LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5927 if test "${cloog_org}" = yes ; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5929 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5930 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 #include "cloog/cloog.h"
5939 #if CLOOG_VERSION_MAJOR != 0 \
5940 || CLOOG_VERSION_MINOR != 16 \
5941 || CLOOG_VERSION_REVISION < 1
5948 if ac_fn_c_try_compile "$LINENO"; then :
5949 gcc_cv_cloog_ct_0_14_0=yes
5951 gcc_cv_cloog_ct_0_14_0=no
5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5956 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5957 elif test "${cloog_org}" = no ; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5959 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5960 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5961 $as_echo_n "(cached) " >&6
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5965 #include "cloog/cloog.h"
5969 #if CLOOG_VERSION_MAJOR != 0 \
5970 || CLOOG_VERSION_MINOR != 15 \
5971 || CLOOG_VERSION_REVISION < 5
5978 if ac_fn_c_try_compile "$LINENO"; then :
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 #include "cloog/cloog.h"
5985 #if CLOOG_VERSION_MAJOR != 0 \
5986 || CLOOG_VERSION_MINOR != 15 \
5987 || CLOOG_VERSION_REVISION < 9
5994 if ac_fn_c_try_compile "$LINENO"; then :
5995 gcc_cv_cloog_ct_0_15_5=yes
5997 gcc_cv_cloog_ct_0_15_5="buggy but acceptable"
5999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001 gcc_cv_cloog_ct_0_15_5=no
6003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6006 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6009 CFLAGS=$_cloog_saved_CFLAGS
6010 LDFLAGS=$_cloog_saved_LDFLAGS
6019 if test "x${with_cloog}" = xno; then
6020 graphite_requested=no
6021 elif test "x${with_cloog}" != x \
6022 || test "x${with_cloog_include}" != x \
6023 || test "x${with_cloog_lib}" != x ; then
6024 graphite_requested=yes
6026 graphite_requested=no
6031 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6032 || test "${gcc_cv_cloog_rt_0_14_0}" = no \
6033 || test "${gcc_cv_cloog_ct_0_15_5}" = no; then
6038 if test "${graphite_requested}" = yes \
6039 && test "x${clooglibs}" = x \
6040 && test "x${clooginc}" = x ; then
6042 as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6048 # Check for LTO support.
6049 # Check whether --enable-lto was given.
6050 if test "${enable_lto+set}" = set; then :
6051 enableval=$enable_lto; enable_lto=$enableval
6053 enable_lto=yes; default_enable_lto=yes
6062 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
6063 *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
6064 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
6072 if test $target_elf = yes; then :
6073 # ELF platforms build the lto-plugin always.
6074 build_lto_plugin=yes
6077 if test x"$default_enable_lto" = x"yes" ; then
6079 *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
6080 # On other non-ELF platforms, LTO has yet to be validated.
6084 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6085 # It would also be nice to check the binutils support, but we don't
6086 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6087 # warn during gcc/ subconfigure; unless you're bootstrapping with
6088 # -flto it won't be needed until after installation anyway.
6090 *-cygwin* | *-mingw* | *-apple-darwin*) ;;
6091 *) if test x"$enable_lto" = x"yes"; then
6092 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
6097 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6098 # Build it unless LTO was explicitly disabled.
6100 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
6108 # By default, C is the only stage 1 language.
6109 stage1_languages=,c,
6111 # Target libraries that we bootstrap.
6112 bootstrap_target_libs=,target-libgcc,
6114 # Figure out what language subdirectories are present.
6115 # Look if the user specified --enable-languages="..."; if not, use
6116 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6118 # NB: embedded tabs in this IF block -- do not untabify
6119 if test -d ${srcdir}/gcc; then
6120 if test x"${enable_languages+set}" != xset; then
6121 if test x"${LANGUAGES+set}" = xset; then
6122 enable_languages="${LANGUAGES}"
6123 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
6125 enable_languages=all
6128 if test x"${enable_languages}" = x ||
6129 test x"${enable_languages}" = xyes;
6131 echo configure.in: --enable-languages needs at least one language argument 1>&2
6135 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6137 # 'f95' is the old name for the 'fortran' language. We issue a warning
6138 # and make the substitution.
6139 case ,${enable_languages}, in
6141 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
6142 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6146 # First scan to see if an enabled language requires some other language.
6147 # We assume that a given config-lang.in will list all the language
6148 # front ends it requires, even if some are required indirectly.
6149 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6150 case ${lang_frag} in
6152 # The odd quoting in the next line works around
6153 # an apparent bug in bash 1.12 on linux.
6154 ${srcdir}/gcc/[*]/config-lang.in) ;;
6156 # From the config-lang.in, get $language, $lang_requires, and
6157 # $lang_requires_boot_languages.
6160 lang_requires_boot_languages=
6162 for other in ${lang_requires} ${lang_requires_boot_languages}; do
6163 case ,${enable_languages}, in
6167 echo " \`$other' language required by \`$language'; enabling" 1>&2
6168 enable_languages="${enable_languages},${other}"
6172 for other in ${lang_requires_boot_languages} ; do
6173 if test "$other" != "c"; then
6174 case ,${enable_stage1_languages}, in
6178 case ,${enable_languages}, in
6180 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6181 enable_stage1_languages="$enable_stage1_languages,${other}"
6192 new_enable_languages=,c,
6194 # If LTO is enabled, add the LTO front end.
6195 extra_host_libiberty_configure_flags=
6196 if test "$enable_lto" = "yes" ; then
6197 case ,${enable_languages}, in
6199 *) enable_languages="${enable_languages},lto" ;;
6201 if test "${build_lto_plugin}" = "yes" ; then
6202 configdirs="$configdirs lto-plugin"
6203 extra_host_libiberty_configure_flags=--enable-shared
6208 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6209 potential_languages=,c,
6211 enabled_target_libs=
6212 disabled_target_libs=
6214 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6215 case ${lang_frag} in
6217 # The odd quoting in the next line works around
6218 # an apparent bug in bash 1.12 on linux.
6219 ${srcdir}/gcc/[*]/config-lang.in) ;;
6221 # From the config-lang.in, get $language, $target_libs,
6222 # $lang_dirs, $boot_language, and $build_by_default
6228 build_by_default=yes
6230 if test x${language} = x; then
6231 echo "${lang_frag} doesn't set \$language." 1>&2
6235 if test "$language" = "c++" \
6236 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6240 case ,${enable_languages}, in
6242 # Language was explicitly selected; include it.
6246 # 'all' was selected, select it if it is a default language
6247 add_this_lang=${build_by_default}
6254 # Disable languages that need other directories if these aren't available.
6255 for i in $subdir_requires; do
6256 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6257 case ,${enable_languages}, in
6259 # Specifically requested language; tell them.
6260 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6264 add_this_lang=unsupported
6269 # Disable Ada if no preexisting GNAT is available.
6270 case ,${enable_languages},:${language}:${have_gnat} in
6271 *,${language},*:ada:no)
6272 # Specifically requested language; tell them.
6273 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6277 add_this_lang=unsupported
6281 # Disable a language that is unsupported by the target.
6282 case " $unsupported_languages " in
6284 add_this_lang=unsupported
6288 case $add_this_lang in
6290 # Remove language-dependent dirs.
6291 disabled_target_libs="$disabled_target_libs $target_libs"
6292 noconfigdirs="$noconfigdirs $lang_dirs"
6295 # Remove language-dependent dirs; still show language as supported.
6296 disabled_target_libs="$disabled_target_libs $target_libs"
6297 noconfigdirs="$noconfigdirs $lang_dirs"
6298 potential_languages="${potential_languages}${language},"
6301 new_enable_languages="${new_enable_languages}${language},"
6302 potential_languages="${potential_languages}${language},"
6303 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6304 enabled_target_libs="$enabled_target_libs $target_libs"
6305 case "${boot_language}:,$enable_stage1_languages," in
6306 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6307 # Add to (comma-separated) list of stage 1 languages.
6308 case ",$stage1_languages," in
6309 *,$language,* | ,yes, | ,all,) ;;
6310 *) stage1_languages="${stage1_languages}${language}," ;;
6312 # We need to bootstrap any supporting libraries.
6313 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6322 # Add target libraries which are only needed for disabled languages
6324 if test -n "$disabled_target_libs"; then
6325 for dir in $disabled_target_libs; do
6326 case " $enabled_target_libs " in
6328 *) noconfigdirs="$noconfigdirs $dir" ;;
6333 # Check whether --enable-stage1-languages was given.
6334 if test "${enable_stage1_languages+set}" = set; then :
6335 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6337 # Set it to something that will have no effect in the loop below
6338 enable_stage1_languages=c ;;
6340 enable_stage1_languages=`echo $new_enable_languages | \
6341 sed -e "s/^,//" -e "s/,$//" ` ;;
6343 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6344 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6347 # Add "good" languages from enable_stage1_languages to stage1_languages,
6348 # while "bad" languages go in missing_languages. Leave no duplicates.
6349 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6350 case $potential_languages in
6352 case $stage1_languages in
6354 *) stage1_languages="$stage1_languages$i," ;;
6357 case $missing_languages in
6359 *) missing_languages="$missing_languages$i," ;;
6366 # Remove leading/trailing commas that were added for simplicity
6367 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6368 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6369 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6370 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6372 if test "x$missing_languages" != x; then
6374 The following requested languages could not be built: ${missing_languages}
6375 Supported languages are: ${potential_languages}" "$LINENO" 5
6377 if test "x$new_enable_languages" != "x$enable_languages"; then
6378 echo The following languages will be built: ${new_enable_languages}
6379 enable_languages="$new_enable_languages"
6383 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6386 # Handle --disable-<component> generically.
6387 for dir in $configdirs $build_configdirs $target_configdirs ; do
6388 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6389 varname=`echo $dirname | sed -e s/+/_/g`
6390 if eval test x\${enable_${varname}} "=" xno ; then
6391 noconfigdirs="$noconfigdirs $dir"
6395 # Check for Boehm's garbage collector
6396 # Check whether --enable-objc-gc was given.
6397 if test "${enable_objc_gc+set}" = set; then :
6398 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6399 *,objc,*:*:yes:*target-boehm-gc*)
6400 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6406 # Make sure we only build Boehm's garbage collector if required.
6407 case ,${enable_languages},:${enable_objc_gc} in
6409 # Keep target-boehm-gc if requested for Objective-C.
6412 # Otherwise remove target-boehm-gc depending on target-libjava.
6413 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6414 noconfigdirs="$noconfigdirs target-boehm-gc"
6419 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6420 # $build_configdirs and $target_configdirs.
6421 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6424 for dir in . $skipdirs $noconfigdirs ; do
6425 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6426 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6427 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6428 if test -r $srcdir/$dirname/configure ; then
6429 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6432 notsupp="$notsupp $dir"
6436 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6437 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6438 if test -r $srcdir/$dirname/configure ; then
6439 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6442 notsupp="$notsupp $dir"
6446 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6447 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6448 if test -r $srcdir/$dirname/configure ; then
6449 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6452 notsupp="$notsupp $dir"
6458 # Sometimes the tools are distributed with libiberty but with no other
6459 # libraries. In that case, we don't want to build target-libiberty.
6460 # Don't let libgcc imply libiberty either.
6461 if test -n "${target_configdirs}" ; then
6464 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6465 if test "$i" = "libgcc"; then
6466 libgcc=target-libgcc
6467 elif test "$i" != "libiberty" ; then
6468 if test -r $srcdir/$i/configure ; then
6474 if test -z "${others}" ; then
6475 target_configdirs=$libgcc
6479 # Quietly strip out all directories which aren't configurable in this tree.
6480 # This relies on all configurable subdirectories being autoconfiscated, which
6482 build_configdirs_all="$build_configdirs"
6484 for i in ${build_configdirs_all} ; do
6485 j=`echo $i | sed -e s/build-//g`
6486 if test -f ${srcdir}/$j/configure ; then
6487 build_configdirs="${build_configdirs} $i"
6491 configdirs_all="$configdirs"
6493 for i in ${configdirs_all} ; do
6494 if test -f ${srcdir}/$i/configure ; then
6495 configdirs="${configdirs} $i"
6499 target_configdirs_all="$target_configdirs"
6501 for i in ${target_configdirs_all} ; do
6502 j=`echo $i | sed -e s/target-//g`
6503 if test -f ${srcdir}/$j/configure ; then
6504 target_configdirs="${target_configdirs} $i"
6508 # Produce a warning message for the subdirs we can't configure.
6509 # This isn't especially interesting in the Cygnus tree, but in the individual
6510 # FSF releases, it's important to let people know when their machine isn't
6511 # supported by the one or two programs in a package.
6513 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6514 # If $appdirs is non-empty, at least one of those directories must still
6515 # be configured, or we error out. (E.g., if the gas release supports a
6516 # specified target in some subdirs but not the gas subdir, we shouldn't
6517 # pretend that all is well.)
6518 if test -n "$appdirs" ; then
6519 for dir in $appdirs ; do
6520 if test -r $dir/Makefile.in ; then
6521 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6525 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6531 if test -n "$appdirs" ; then
6532 echo "*** This configuration is not supported by this package." 1>&2
6536 # Okay, some application will build, or we don't care to check. Still
6537 # notify of subdirs not getting built.
6538 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6539 echo " ${notsupp}" 1>&2
6540 echo " (Any other directories should still work fine.)" 1>&2
6548 # To find our prefix, in gcc_cv_tool_prefix.
6550 # The user is always right.
6551 if test "${PATH_SEPARATOR+set}" != set; then
6552 echo "#! /bin/sh" >conf$$.sh
6553 echo "exit 0" >>conf$$.sh
6555 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6565 if test "x$exec_prefix" = xNONE; then
6566 if test "x$prefix" = xNONE; then
6567 gcc_cv_tool_prefix=$ac_default_prefix
6569 gcc_cv_tool_prefix=$prefix
6572 gcc_cv_tool_prefix=$exec_prefix
6575 # If there is no compiler in the tree, use the PATH only. In any
6576 # case, if there is no compiler in the tree nobody should use
6577 # AS_FOR_TARGET and LD_FOR_TARGET.
6578 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6579 gcc_version=`cat $srcdir/gcc/BASE-VER`
6580 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6581 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6582 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6583 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6584 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6585 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6590 if test x$build = x$target && test -n "$md_exec_prefix"; then
6591 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6599 # Check whether --with-build-sysroot was given.
6600 if test "${with_build_sysroot+set}" = set; then :
6601 withval=$with_build_sysroot; if test x"$withval" != x ; then
6602 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6605 SYSROOT_CFLAGS_FOR_TARGET=
6611 # Check whether --with-debug-prefix-map was given.
6612 if test "${with_debug_prefix_map+set}" = set; then :
6613 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6614 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6615 for debug_map in $withval; do
6616 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6620 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6625 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6626 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6627 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6628 # We want to ensure that TARGET libraries (which we know are built with
6629 # gcc) are built with "-O2 -g", so include those options when setting
6630 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6631 if test "x$CFLAGS_FOR_TARGET" = x; then
6632 CFLAGS_FOR_TARGET=$CFLAGS
6635 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6638 *" -g "* | *" -g3 "*) ;;
6639 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6644 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6645 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6646 case " $CXXFLAGS " in
6648 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6650 case " $CXXFLAGS " in
6651 *" -g "* | *" -g3 "*) ;;
6652 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6657 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6658 # the named directory are copied to $(tooldir)/sys-include.
6659 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6660 if test x${is_cross_compiler} = xno ; then
6661 echo 1>&2 '***' --with-headers is only supported when cross compiling
6664 if test x"${with_headers}" != xyes ; then
6665 x=${gcc_cv_tool_prefix}
6666 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6670 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6671 # the name directories are copied to $(tooldir)/lib. Multiple directories
6673 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6674 if test x${is_cross_compiler} = xno ; then
6675 echo 1>&2 '***' --with-libs is only supported when cross compiling
6678 if test x"${with_libs}" != xyes ; then
6679 # Copy the libraries in reverse order, so that files in the first named
6680 # library override files in subsequent libraries.
6681 x=${gcc_cv_tool_prefix}
6682 for l in ${with_libs}; do
6683 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6688 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6690 # This is done by determining whether or not the appropriate directory
6691 # is available, and by checking whether or not specific configurations
6692 # have requested that this magic not happen.
6694 # The command line options always override the explicit settings in
6695 # configure.in, and the settings in configure.in override this magic.
6697 # If the default for a toolchain is to use GNU as and ld, and you don't
6698 # want to do that, then you should use the --without-gnu-as and
6699 # --without-gnu-ld options for the configure script. Similarly, if
6700 # the default is to use the included zlib and you don't want to do that,
6701 # you should use the --with-system-zlib option for the configure script.
6703 if test x${use_gnu_as} = x &&
6704 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6706 extra_host_args="$extra_host_args --with-gnu-as"
6709 if test x${use_gnu_ld} = x &&
6710 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6712 extra_host_args="$extra_host_args --with-gnu-ld"
6715 if test x${use_included_zlib} = x &&
6716 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6719 with_system_zlib=yes
6720 extra_host_args="$extra_host_args --with-system-zlib"
6723 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6724 # can detect this case.
6726 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6728 extra_host_args="$extra_host_args --with-newlib"
6731 # Handle ${copy_dirs}
6732 set fnord ${copy_dirs}
6734 while test $# != 0 ; do
6735 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6738 echo Copying $1 to $2
6740 # Use the install script to create the directory and all required
6741 # parent directories.
6742 if test -d $2 ; then
6746 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6749 # Copy the directory, assuming we have tar.
6750 # FIXME: Should we use B in the second tar? Not all systems support it.
6751 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6753 # It is the responsibility of the user to correctly adjust all
6754 # symlinks. If somebody can figure out how to handle them correctly
6755 # here, feel free to add the code.
6762 # Determine a target-dependent exec_prefix that the installed
6763 # gcc will search in. Keep this list sorted by triplet, with
6764 # the *-*-osname triplets last.
6767 i[34567]86-pc-msdosdjgpp*)
6768 md_exec_prefix=/dev/env/DJDIR/bin
6773 md_exec_prefix=/usr/ccs/bin
6777 extra_arflags_for_target=
6778 extra_nmflags_for_target=
6779 extra_ranlibflags_for_target=
6780 target_makefile_frag=/dev/null
6783 target_makefile_frag="config/mt-spu"
6786 target_makefile_frag="config/mt-sde"
6788 mipsisa*-*-elfoabi*)
6789 target_makefile_frag="config/mt-mips-elfoabi"
6791 mips*-*-*linux* | mips*-*-gnu*)
6792 target_makefile_frag="config/mt-mips-gnu"
6794 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6795 target_makefile_frag="config/mt-gnu"
6797 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6798 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6799 # commands to handle both 32-bit and 64-bit objects. These flags are
6800 # harmless if we're using GNU nm or ar.
6801 extra_arflags_for_target=" -X32_64"
6802 extra_nmflags_for_target=" -B -X32_64"
6805 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6806 extra_ranlibflags_for_target=" -c"
6810 alphaieee_frag=/dev/null
6813 # This just makes sure to use the -mieee option to build target libs.
6814 # This should probably be set individually by each library.
6815 alphaieee_frag="config/mt-alphaieee"
6819 # If --enable-target-optspace always use -Os instead of -O2 to build
6820 # the target libraries, similarly if it is not specified, use -Os
6821 # on selected platforms.
6822 ospace_frag=/dev/null
6823 case "${enable_target_optspace}:${target}" in
6825 ospace_frag="config/mt-ospace"
6828 ospace_frag="config/mt-d30v"
6830 :m32r-* | :d10v-* | :fr30-*)
6831 ospace_frag="config/mt-ospace"
6836 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6840 # Default to using --with-stabs for certain targets.
6841 if test x${with_stabs} = x ; then
6845 mips*-*-* | alpha*-*-osf*)
6847 extra_host_args="${extra_host_args} --with-stabs"
6852 # Some systems (e.g., one of the i386-aix systems the gas testers are
6853 # using) don't handle "\$" correctly, so don't use it here.
6854 tooldir='${exec_prefix}'/${target_noncanonical}
6855 build_tooldir=${tooldir}
6857 # Create a .gdbinit file which runs the one in srcdir
6858 # and tells GDB to look there for source files.
6860 if test -r ${srcdir}/.gdbinit ; then
6863 *) cat > ./.gdbinit <<EOF
6867 source ${srcdir}/.gdbinit
6873 # Make sure that the compiler is able to generate an executable. If it
6874 # can't, we are probably in trouble. We don't care whether we can run the
6875 # executable--we might be using a cross compiler--we only care whether it
6876 # can be created. At this point the main configure script has set CC.
6878 echo "int main () { return 0; }" > conftest.c
6879 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6880 if test $? = 0 ; then
6881 if test -s conftest || test -s conftest.exe ; then
6887 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6888 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6895 # Decide which environment variable is used to find dynamic libraries.
6897 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6898 *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6899 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6900 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6903 # On systems where the dynamic library environment variable is PATH,
6904 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6905 # built executables to PATH.
6906 if test "$RPATH_ENVVAR" = PATH; then
6907 GCC_SHLIB_SUBDIR=/shlib
6912 # Record target_configdirs and the configure arguments for target and
6913 # build configuration in Makefile.
6914 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6915 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6917 # If we are building libgomp, bootstrap it.
6918 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
6919 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
6922 # Determine whether gdb needs tk/tcl or not.
6923 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6924 # and in that case we want gdb to be built without tk. Ugh!
6925 # In fact I believe gdb is the *only* package directly dependent on tk,
6926 # so we should be able to put the 'maybe's in unconditionally and
6927 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6928 # 100% sure that that's safe though.
6930 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6931 case "$enable_gdbtk" in
6935 GDB_TK="${gdb_tk}" ;;
6937 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6938 # distro. Eventually someone will fix this and move Insight, nee
6939 # gdbtk to a separate directory.
6940 if test -d ${srcdir}/gdb/gdbtk ; then
6947 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6948 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6950 # Strip out unwanted targets.
6952 # While at that, we remove Makefiles if we were started for recursive
6953 # configuration, so that the top-level Makefile reconfigures them,
6954 # like we used to do when configure itself was recursive.
6956 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6957 # but now we're fixing up the Makefile ourselves with the additional
6958 # commands passed to AC_CONFIG_FILES. Use separate variables
6959 # extrasub-{build,host,target} not because there is any reason to split
6960 # the substitutions up that way, but only to remain below the limit of
6961 # 99 commands in a script, for HP-UX sed.
6962 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6964 # Check whether --enable-bootstrap was given.
6965 if test "${enable_bootstrap+set}" = set; then :
6966 enableval=$enable_bootstrap;
6968 enable_bootstrap=default
6972 # Issue errors and warnings for invalid/strange bootstrap combinations.
6973 case "$configdirs" in
6974 *gcc*) have_compiler=yes ;;
6975 *) have_compiler=no ;;
6978 case "$have_compiler:$host:$target:$enable_bootstrap" in
6981 # Default behavior. Enable bootstrap if we have a compiler
6982 # and we are in a native configuration.
6983 yes:$build:$build:default)
6984 enable_bootstrap=yes ;;
6987 enable_bootstrap=no ;;
6989 # We have a compiler and we are in a native configuration, bootstrap is ok
6990 yes:$build:$build:yes)
6993 # Other configurations, but we have a compiler. Assume the user knows
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6997 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7000 # No compiler: if they passed --enable-bootstrap explicitly, fail
7002 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
7004 # Fail if wrong command line
7006 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
7010 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7013 as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7017 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7018 yes:yes:*\ gold\ *:*,c++,*) ;;
7019 yes:yes:*\ gold\ *:*)
7020 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7024 # Adjust the toplevel makefile according to whether bootstrap was selected.
7025 case $enable_bootstrap in
7027 bootstrap_suffix=bootstrap
7028 BUILD_CONFIG=bootstrap-debug
7031 bootstrap_suffix=no-bootstrap
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7037 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7040 # Check whether --with-build-config was given.
7041 if test "${with_build_config+set}" = set; then :
7042 withval=$with_build_config; case $with_build_config in
7043 yes) with_build_config= ;;
7044 no) with_build_config= BUILD_CONFIG= ;;
7049 if test "x${with_build_config}" != x; then
7050 BUILD_CONFIG=$with_build_config
7052 case $BUILD_CONFIG in
7054 if echo "int f (void) { return 0; }" > conftest.c &&
7055 ${CC} -c conftest.c &&
7056 mv conftest.o conftest.o.g0 &&
7057 ${CC} -c -g conftest.c &&
7058 mv conftest.o conftest.o.g &&
7059 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
7064 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7069 $as_echo "$BUILD_CONFIG" >&6; }
7073 for module in ${build_configdirs} ; do
7074 if test -z "${no_recursion}" \
7075 && test -f ${build_subdir}/${module}/Makefile; then
7076 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7077 rm -f ${build_subdir}/${module}/Makefile
7079 extrasub_build="$extrasub_build
7080 /^@if build-$module\$/d
7081 /^@endif build-$module\$/d
7082 /^@if build-$module-$bootstrap_suffix\$/d
7083 /^@endif build-$module-$bootstrap_suffix\$/d"
7086 for module in ${configdirs} ; do
7087 if test -z "${no_recursion}"; then
7088 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7089 if test -f ${file}; then
7090 echo 1>&2 "*** removing ${file} to force reconfigure"
7095 extrasub_host="$extrasub_host
7097 /^@endif $module\$/d
7098 /^@if $module-$bootstrap_suffix\$/d
7099 /^@endif $module-$bootstrap_suffix\$/d"
7102 for module in ${target_configdirs} ; do
7103 if test -z "${no_recursion}" \
7104 && test -f ${target_subdir}/${module}/Makefile; then
7105 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7106 rm -f ${target_subdir}/${module}/Makefile
7109 # We only bootstrap target libraries listed in bootstrap_target_libs.
7110 case $bootstrap_target_libs in
7111 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7112 *) target_bootstrap_suffix=no-bootstrap ;;
7115 extrasub_target="$extrasub_target
7116 /^@if target-$module\$/d
7117 /^@endif target-$module\$/d
7118 /^@if target-$module-$target_bootstrap_suffix\$/d
7119 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7122 # Do the final fixup along with target modules.
7123 extrasub_target="$extrasub_target
7124 /^@if /,/^@endif /d"
7126 # Create the serialization dependencies. This uses a temporary file.
7128 # Check whether --enable-serial-configure was given.
7129 if test "${enable_serial_configure+set}" = set; then :
7130 enableval=$enable_serial_configure;
7134 case ${enable_serial_configure} in
7136 enable_serial_build_configure=yes
7137 enable_serial_host_configure=yes
7138 enable_serial_target_configure=yes
7142 # These force 'configure's to be done one at a time, to avoid problems
7143 # with contention over a shared config.cache.
7145 echo '# serdep.tmp' > serdep.tmp
7147 test "x${enable_serial_build_configure}" = xyes &&
7148 for item in ${build_configdirs} ; do
7151 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7156 test "x${enable_serial_host_configure}" = xyes &&
7157 for item in ${configdirs} ; do
7160 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7165 test "x${enable_serial_target_configure}" = xyes &&
7166 for item in ${target_configdirs} ; do
7169 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7173 serialization_dependencies=serdep.tmp
7176 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7177 # target, nonopt, and variable assignments. These are the ones we
7178 # might not want to pass down to subconfigures. The exception being
7179 # --cache-file=/dev/null, which is used to turn off the use of cache
7180 # files altogether, and which should be passed on to subconfigures.
7181 # Also strip program-prefix, program-suffix, and program-transform-name,
7182 # so that we can pass down a consistent program-transform-name.
7187 eval "set -- $ac_configure_args"
7190 if test X"$skip_next" = X"yes"; then
7194 if test X"$keep_next" = X"yes"; then
7197 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7199 baseargs="$baseargs '$ac_arg'"
7200 tbaseargs="$tbaseargs '$ac_arg'"
7205 # Handle separated arguments. Based on the logic generated by
7208 *=* | --config-cache | -C | -disable-* | --disable-* \
7209 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7210 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7211 | -with-* | --with-* | -without-* | --without-* | --x)
7225 --with-* | --without-*)
7226 libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7230 lib=`echo "$libopt" | sed 's,[-_]include$,,'`
7233 lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
7242 mpc | mpfr | gmp | ppl | cloog)
7243 # If we're processing --with-$lib, --with-$lib-include or
7244 # --with-$lib-lib, for one of the libs above, and target is
7245 # different from host, don't pass the current argument to any
7246 # target library's configure.
7247 if test x$is_cross_compiler = xyes; then
7256 --cache-file=/dev/null | \
7257 -cache-file=/dev/null )
7258 # Handled here to avoid the test to skip args below.
7259 baseargs="$baseargs '$ac_arg'"
7260 tbaseargs="$tbaseargs '$ac_arg'"
7261 # Assert: $separate_arg should always be no.
7262 keep_next=$separate_arg
7278 -program-prefix* | \
7279 -program-suffix* | \
7280 -program-transform-name* )
7281 skip_next=$separate_arg
7285 # An option. Add it.
7288 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7290 baseargs="$baseargs '$ac_arg'"
7291 if test X"$skip_targ" = Xno; then
7292 tbaseargs="$tbaseargs '$ac_arg'"
7294 keep_next=$separate_arg
7297 # Either a variable assignment, or a nonopt (triplet). Don't
7298 # pass it down; let the Makefile handle this.
7303 # Remove the initial space we just introduced and, as these will be
7304 # expanded by make, quote '$'.
7305 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7307 # Add in --program-transform-name, after --program-prefix and
7308 # --program-suffix have been applied to it. Autoconf has already
7309 # doubled dollar signs and backslashes in program_transform_name; we want
7310 # the backslashes un-doubled, and then the entire thing wrapped in single
7311 # quotes, because this will be expanded first by make and then by the shell.
7312 # Also, because we want to override the logic in subdir configure scripts to
7313 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7314 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7315 ${program_transform_name}
7317 gcc_transform_name=`cat conftestsed.out`
7318 rm -f conftestsed.out
7319 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7320 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7321 if test "$silent" = yes; then
7322 baseargs="$baseargs --silent"
7323 tbaseargs="$tbaseargs --silent"
7325 baseargs="$baseargs --disable-option-checking"
7326 tbaseargs="$tbaseargs --disable-option-checking"
7328 # Record and document user additions to sub configure arguments.
7333 # For the build-side libraries, we just need to pretend we're native,
7334 # and not use the same cache file. Multilibs are neither needed nor
7336 build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
7338 # For host modules, accept cache file option, or specification as blank.
7339 case "${cache_file}" in
7341 cache_file_option="" ;;
7342 /* | [A-Za-z]:[\\/]* ) # absolute path
7343 cache_file_option="--cache-file=${cache_file}" ;;
7345 cache_file_option="--cache-file=../${cache_file}" ;;
7348 # Host dirs don't like to share a cache file either, horribly enough.
7349 # This seems to be due to autoconf 2.5x stupidity.
7350 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7352 target_configargs="$target_configargs ${tbaseargs}"
7354 # Passing a --with-cross-host argument lets the target libraries know
7355 # whether they are being built with a cross-compiler or being built
7356 # native. However, it would be better to use other mechanisms to make the
7357 # sorts of decisions they want to make on this basis. Please consider
7358 # this option to be deprecated. FIXME.
7359 if test x${is_cross_compiler} = xyes ; then
7360 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7363 # Default to --enable-multilib.
7364 if test x${enable_multilib} = x ; then
7365 target_configargs="--enable-multilib ${target_configargs}"
7368 # Pass --with-newlib if appropriate. Note that target_configdirs has
7369 # changed from the earlier setting of with_newlib.
7370 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7371 target_configargs="--with-newlib ${target_configargs}"
7374 # Different target subdirs use different values of certain variables
7375 # (notably CXX). Worse, multilibs use *lots* of different values.
7376 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7377 # it doesn't automatically accept command-line overrides of them.
7378 # This means it's not safe for target subdirs to share a cache file,
7379 # which is disgusting, but there you have it. Hopefully this can be
7380 # fixed in future. It's still worthwhile to use a cache file for each
7381 # directory. I think.
7383 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7384 # We need to pass --target, as newer autoconf's requires consistency
7385 # for target_alias and gcc doesn't manage it consistently.
7386 target_configargs="--cache-file=./config.cache ${target_configargs}"
7389 case " $target_configdirs " in
7391 case " $target_configargs " in
7392 *" --with-newlib "*)
7395 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'
7399 # If we're not building GCC, don't discard standard headers.
7400 if test -d ${srcdir}/gcc; then
7401 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7403 if test "${build}" != "${host}"; then
7404 # On Canadian crosses, CC_FOR_TARGET will have already been set
7405 # by `configure', so we won't have an opportunity to add -Bgcc/
7406 # to it. This is right: we don't want to search that directory
7407 # for binaries, but we want the header files in there, so add
7409 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7411 # Someone might think of using the pre-installed headers on
7412 # Canadian crosses, in case the installed compiler is not fully
7413 # compatible with the compiler being built. In this case, it
7414 # would be better to flag an error than risking having
7415 # incompatible object files being constructed. We can't
7416 # guarantee that an error will be flagged, but let's hope the
7417 # compiler will do it, when presented with incompatible header
7422 case "${target}-${is_cross_compiler}" in
7423 i[3456789]86-*-linux*-no)
7424 # Here host == target, so we don't need to build gcc,
7425 # so we don't want to discard standard headers.
7426 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7429 # If we're building newlib, use its generic headers last, but search
7430 # for any libc-related directories first (so make it the last -B
7432 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7434 # If we're building libgloss, find the startup file, simulator library
7435 # and linker script.
7436 case " $target_configdirs " in
7438 # Look for startup file, simulator library and maybe linker script.
7439 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7440 # Look for libnosys.a in case the target needs it.
7441 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7442 # Most targets have the linker script in the source directory.
7443 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7454 x86_64-*mingw* | *-w64-mingw*)
7455 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7456 # however, use a symlink named 'mingw' in ${prefix} .
7457 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7460 # MinGW can't be handled as Cygwin above since it does not use newlib.
7461 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'
7465 # Allow the user to override the flags for
7466 # our build compiler if desired.
7467 if test x"${build}" = x"${host}" ; then
7468 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7469 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7470 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7473 # On Canadian crosses, we'll be searching the right directories for
7474 # the previously-installed cross compiler, so don't bother to add
7475 # flags for directories within the install tree of the compiler
7476 # being built; programs in there won't even run.
7477 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7478 # Search for pre-installed headers if nothing else fits.
7479 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7482 if test "x${use_gnu_ld}" = x &&
7483 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7484 # Arrange for us to find uninstalled linker scripts.
7485 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7488 # Search for other target-specific linker scripts and such.
7491 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7495 # Makefile fragments.
7496 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7498 eval fragval=\$$frag
7499 if test $fragval != /dev/null; then
7500 eval $frag=${srcdir}/$fragval
7508 # Miscellanea: directories, flags, etc.
7517 # Build module lists & subconfigure args.
7521 # Host module lists & subconfigure args.
7526 # Target module lists & subconfigure args.
7548 # Generate default definitions for YACC, M4, LEX and other programs that run
7549 # on the build machine. These are used if the Makefile can't locate these
7550 # programs in objdir.
7551 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7553 for ac_prog in 'bison -y' byacc yacc
7555 # Extract the first word of "$ac_prog", so it can be a program name with args.
7556 set dummy $ac_prog; ac_word=$2
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558 $as_echo_n "checking for $ac_word... " >&6; }
7559 if test "${ac_cv_prog_YACC+set}" = set; then :
7560 $as_echo_n "(cached) " >&6
7562 if test -n "$YACC"; then
7563 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7572 ac_cv_prog_YACC="$ac_prog"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 YACC=$ac_cv_prog_YACC
7583 if test -n "$YACC"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7585 $as_echo "$YACC" >&6; }
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588 $as_echo "no" >&6; }
7592 test -n "$YACC" && break
7594 test -n "$YACC" || YACC="$MISSING bison -y"
7596 case " $build_configdirs " in
7597 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7600 for ac_prog in bison
7602 # Extract the first word of "$ac_prog", so it can be a program name with args.
7603 set dummy $ac_prog; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if test "${ac_cv_prog_BISON+set}" = set; then :
7607 $as_echo_n "(cached) " >&6
7609 if test -n "$BISON"; then
7610 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 ac_cv_prog_BISON="$ac_prog"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629 BISON=$ac_cv_prog_BISON
7630 if test -n "$BISON"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7632 $as_echo "$BISON" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7639 test -n "$BISON" && break
7641 test -n "$BISON" || BISON="$MISSING bison"
7643 case " $build_configdirs " in
7644 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7647 for ac_prog in gm4 gnum4 m4
7649 # Extract the first word of "$ac_prog", so it can be a program name with args.
7650 set dummy $ac_prog; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if test "${ac_cv_prog_M4+set}" = set; then :
7654 $as_echo_n "(cached) " >&6
7656 if test -n "$M4"; then
7657 ac_cv_prog_M4="$M4" # Let the user override the test.
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_M4="$ac_prog"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677 if test -n "$M4"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7679 $as_echo "$M4" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7686 test -n "$M4" && break
7688 test -n "$M4" || M4="$MISSING m4"
7690 case " $build_configdirs " in
7691 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7694 for ac_prog in flex lex
7696 # Extract the first word of "$ac_prog", so it can be a program name with args.
7697 set dummy $ac_prog; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7699 $as_echo_n "checking for $ac_word... " >&6; }
7700 if test "${ac_cv_prog_LEX+set}" = set; then :
7701 $as_echo_n "(cached) " >&6
7703 if test -n "$LEX"; then
7704 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_prog_LEX="$ac_prog"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 if test -n "$LEX"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7726 $as_echo "$LEX" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7733 test -n "$LEX" && break
7735 test -n "$LEX" || LEX="$MISSING flex"
7737 case " $build_configdirs " in
7738 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7739 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7744 # Extract the first word of "$ac_prog", so it can be a program name with args.
7745 set dummy $ac_prog; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_FLEX+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7751 if test -n "$FLEX"; then
7752 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_FLEX="$ac_prog"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771 FLEX=$ac_cv_prog_FLEX
7772 if test -n "$FLEX"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7774 $as_echo "$FLEX" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7781 test -n "$FLEX" && break
7783 test -n "$FLEX" || FLEX="$MISSING flex"
7785 case " $build_configdirs " in
7786 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7789 for ac_prog in makeinfo
7791 # Extract the first word of "$ac_prog", so it can be a program name with args.
7792 set dummy $ac_prog; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794 $as_echo_n "checking for $ac_word... " >&6; }
7795 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7796 $as_echo_n "(cached) " >&6
7798 if test -n "$MAKEINFO"; then
7799 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7808 ac_cv_prog_MAKEINFO="$ac_prog"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 MAKEINFO=$ac_cv_prog_MAKEINFO
7819 if test -n "$MAKEINFO"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7821 $as_echo "$MAKEINFO" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 $as_echo "no" >&6; }
7828 test -n "$MAKEINFO" && break
7830 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7832 case " $build_configdirs " in
7833 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7836 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7837 # higher, else we use the "missing" dummy.
7838 if ${MAKEINFO} --version \
7839 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7842 MAKEINFO="$MISSING makeinfo"
7848 # FIXME: expect and dejagnu may become build tools?
7850 for ac_prog in expect
7852 # Extract the first word of "$ac_prog", so it can be a program name with args.
7853 set dummy $ac_prog; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7859 if test -n "$EXPECT"; then
7860 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_EXPECT="$ac_prog"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 EXPECT=$ac_cv_prog_EXPECT
7880 if test -n "$EXPECT"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7882 $as_echo "$EXPECT" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7889 test -n "$EXPECT" && break
7891 test -n "$EXPECT" || EXPECT="expect"
7893 case " $configdirs " in
7895 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7899 for ac_prog in runtest
7901 # Extract the first word of "$ac_prog", so it can be a program name with args.
7902 set dummy $ac_prog; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7906 $as_echo_n "(cached) " >&6
7908 if test -n "$RUNTEST"; then
7909 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7918 ac_cv_prog_RUNTEST="$ac_prog"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 RUNTEST=$ac_cv_prog_RUNTEST
7929 if test -n "$RUNTEST"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7931 $as_echo "$RUNTEST" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7938 test -n "$RUNTEST" && break
7940 test -n "$RUNTEST" || RUNTEST="runtest"
7942 case " $configdirs " in
7944 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7951 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7952 ncn_target_tool_prefix=
7953 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7957 if test -n "$AR"; then
7959 elif test -n "$ac_cv_prog_AR"; then
7963 if test -n "$ac_cv_prog_AR"; then
7964 for ncn_progname in ar; do
7965 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7966 set dummy ${ncn_progname}; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if test "${ac_cv_prog_AR+set}" = set; then :
7970 $as_echo_n "(cached) " >&6
7972 if test -n "$AR"; then
7973 ac_cv_prog_AR="$AR" # Let the user override the test.
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7982 ac_cv_prog_AR="${ncn_progname}"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 if test -n "$AR"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7995 $as_echo "$AR" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8005 for ncn_progname in ar; do
8006 if test -n "$ncn_tool_prefix"; then
8007 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8008 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8010 $as_echo_n "checking for $ac_word... " >&6; }
8011 if test "${ac_cv_prog_AR+set}" = set; then :
8012 $as_echo_n "(cached) " >&6
8014 if test -n "$AR"; then
8015 ac_cv_prog_AR="$AR" # Let the user override the test.
8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 test -z "$as_dir" && as_dir=.
8022 for ac_exec_ext in '' $ac_executable_extensions; do
8023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8024 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 if test -n "$AR"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8037 $as_echo "$AR" >&6; }
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8040 $as_echo "no" >&6; }
8045 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8047 set dummy ${ncn_progname}; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if test "${ac_cv_prog_AR+set}" = set; then :
8051 $as_echo_n "(cached) " >&6
8053 if test -n "$AR"; then
8054 ac_cv_prog_AR="$AR" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_AR="${ncn_progname}"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074 if test -n "$AR"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8076 $as_echo "$AR" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8084 test -n "$ac_cv_prog_AR" && break
8087 if test -z "$ac_cv_prog_AR" ; then
8089 if test $build = $host ; then
8092 AR="${ncn_tool_prefix}$2"
8098 if test -n "$AS"; then
8100 elif test -n "$ac_cv_prog_AS"; then
8104 if test -n "$ac_cv_prog_AS"; then
8105 for ncn_progname in as; do
8106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8107 set dummy ${ncn_progname}; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if test "${ac_cv_prog_AS+set}" = set; then :
8111 $as_echo_n "(cached) " >&6
8113 if test -n "$AS"; then
8114 ac_cv_prog_AS="$AS" # Let the user override the test.
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_prog_AS="${ncn_progname}"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 if test -n "$AS"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8136 $as_echo "$AS" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8146 for ncn_progname in as; do
8147 if test -n "$ncn_tool_prefix"; then
8148 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8149 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if test "${ac_cv_prog_AS+set}" = set; then :
8153 $as_echo_n "(cached) " >&6
8155 if test -n "$AS"; then
8156 ac_cv_prog_AS="$AS" # Let the user override the test.
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8165 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 if test -n "$AS"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8178 $as_echo "$AS" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8186 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8188 set dummy ${ncn_progname}; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190 $as_echo_n "checking for $ac_word... " >&6; }
8191 if test "${ac_cv_prog_AS+set}" = set; then :
8192 $as_echo_n "(cached) " >&6
8194 if test -n "$AS"; then
8195 ac_cv_prog_AS="$AS" # Let the user override the test.
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204 ac_cv_prog_AS="${ncn_progname}"
8205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 if test -n "$AS"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8217 $as_echo "$AS" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8225 test -n "$ac_cv_prog_AS" && break
8228 if test -z "$ac_cv_prog_AS" ; then
8230 if test $build = $host ; then
8233 AS="${ncn_tool_prefix}$2"
8239 if test -n "$DLLTOOL"; then
8240 ac_cv_prog_DLLTOOL=$DLLTOOL
8241 elif test -n "$ac_cv_prog_DLLTOOL"; then
8242 DLLTOOL=$ac_cv_prog_DLLTOOL
8245 if test -n "$ac_cv_prog_DLLTOOL"; then
8246 for ncn_progname in dlltool; do
8247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8248 set dummy ${ncn_progname}; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8252 $as_echo_n "(cached) " >&6
8254 if test -n "$DLLTOOL"; then
8255 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_DLLTOOL="${ncn_progname}"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 DLLTOOL=$ac_cv_prog_DLLTOOL
8275 if test -n "$DLLTOOL"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8277 $as_echo "$DLLTOOL" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8287 for ncn_progname in dlltool; do
8288 if test -n "$ncn_tool_prefix"; then
8289 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8290 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8292 $as_echo_n "checking for $ac_word... " >&6; }
8293 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8294 $as_echo_n "(cached) " >&6
8296 if test -n "$DLLTOOL"; then
8297 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8306 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8316 DLLTOOL=$ac_cv_prog_DLLTOOL
8317 if test -n "$DLLTOOL"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8319 $as_echo "$DLLTOOL" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8327 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8329 set dummy ${ncn_progname}; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8331 $as_echo_n "checking for $ac_word... " >&6; }
8332 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8333 $as_echo_n "(cached) " >&6
8335 if test -n "$DLLTOOL"; then
8336 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_prog_DLLTOOL="${ncn_progname}"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8355 DLLTOOL=$ac_cv_prog_DLLTOOL
8356 if test -n "$DLLTOOL"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8358 $as_echo "$DLLTOOL" >&6; }
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8366 test -n "$ac_cv_prog_DLLTOOL" && break
8369 if test -z "$ac_cv_prog_DLLTOOL" ; then
8371 if test $build = $host ; then
8374 DLLTOOL="${ncn_tool_prefix}$2"
8380 if test -n "$LD"; then
8382 elif test -n "$ac_cv_prog_LD"; then
8386 if test -n "$ac_cv_prog_LD"; then
8387 for ncn_progname in ld; do
8388 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8389 set dummy ${ncn_progname}; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 $as_echo_n "checking for $ac_word... " >&6; }
8392 if test "${ac_cv_prog_LD+set}" = set; then :
8393 $as_echo_n "(cached) " >&6
8395 if test -n "$LD"; then
8396 ac_cv_prog_LD="$LD" # Let the user override the test.
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8405 ac_cv_prog_LD="${ncn_progname}"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416 if test -n "$LD"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8418 $as_echo "$LD" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421 $as_echo "no" >&6; }
8428 for ncn_progname in ld; do
8429 if test -n "$ncn_tool_prefix"; then
8430 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8431 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8433 $as_echo_n "checking for $ac_word... " >&6; }
8434 if test "${ac_cv_prog_LD+set}" = set; then :
8435 $as_echo_n "(cached) " >&6
8437 if test -n "$LD"; then
8438 ac_cv_prog_LD="$LD" # Let the user override the test.
8440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444 test -z "$as_dir" && as_dir=.
8445 for ac_exec_ext in '' $ac_executable_extensions; do
8446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8447 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8458 if test -n "$LD"; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8460 $as_echo "$LD" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8463 $as_echo "no" >&6; }
8468 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8470 set dummy ${ncn_progname}; ac_word=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8472 $as_echo_n "checking for $ac_word... " >&6; }
8473 if test "${ac_cv_prog_LD+set}" = set; then :
8474 $as_echo_n "(cached) " >&6
8476 if test -n "$LD"; then
8477 ac_cv_prog_LD="$LD" # Let the user override the test.
8479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 test -z "$as_dir" && as_dir=.
8484 for ac_exec_ext in '' $ac_executable_extensions; do
8485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8486 ac_cv_prog_LD="${ncn_progname}"
8487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8497 if test -n "$LD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8499 $as_echo "$LD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8507 test -n "$ac_cv_prog_LD" && break
8510 if test -z "$ac_cv_prog_LD" ; then
8512 if test $build = $host ; then
8515 LD="${ncn_tool_prefix}$2"
8521 if test -n "$LIPO"; then
8522 ac_cv_prog_LIPO=$LIPO
8523 elif test -n "$ac_cv_prog_LIPO"; then
8524 LIPO=$ac_cv_prog_LIPO
8527 if test -n "$ac_cv_prog_LIPO"; then
8528 for ncn_progname in lipo; do
8529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8530 set dummy ${ncn_progname}; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if test "${ac_cv_prog_LIPO+set}" = set; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$LIPO"; then
8537 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_LIPO="${ncn_progname}"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 LIPO=$ac_cv_prog_LIPO
8557 if test -n "$LIPO"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8559 $as_echo "$LIPO" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8569 for ncn_progname in lipo; do
8570 if test -n "$ncn_tool_prefix"; then
8571 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8572 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8574 $as_echo_n "checking for $ac_word... " >&6; }
8575 if test "${ac_cv_prog_LIPO+set}" = set; then :
8576 $as_echo_n "(cached) " >&6
8578 if test -n "$LIPO"; then
8579 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8585 test -z "$as_dir" && as_dir=.
8586 for ac_exec_ext in '' $ac_executable_extensions; do
8587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8588 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8598 LIPO=$ac_cv_prog_LIPO
8599 if test -n "$LIPO"; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8601 $as_echo "$LIPO" >&6; }
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8604 $as_echo "no" >&6; }
8609 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8611 set dummy ${ncn_progname}; ac_word=$2
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8613 $as_echo_n "checking for $ac_word... " >&6; }
8614 if test "${ac_cv_prog_LIPO+set}" = set; then :
8615 $as_echo_n "(cached) " >&6
8617 if test -n "$LIPO"; then
8618 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624 test -z "$as_dir" && as_dir=.
8625 for ac_exec_ext in '' $ac_executable_extensions; do
8626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8627 ac_cv_prog_LIPO="${ncn_progname}"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8637 LIPO=$ac_cv_prog_LIPO
8638 if test -n "$LIPO"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8640 $as_echo "$LIPO" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8648 test -n "$ac_cv_prog_LIPO" && break
8651 if test -z "$ac_cv_prog_LIPO" ; then
8653 if test $build = $host ; then
8656 LIPO="${ncn_tool_prefix}$2"
8662 if test -n "$NM"; then
8664 elif test -n "$ac_cv_prog_NM"; then
8668 if test -n "$ac_cv_prog_NM"; then
8669 for ncn_progname in nm; do
8670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8671 set dummy ${ncn_progname}; ac_word=$2
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8673 $as_echo_n "checking for $ac_word... " >&6; }
8674 if test "${ac_cv_prog_NM+set}" = set; then :
8675 $as_echo_n "(cached) " >&6
8677 if test -n "$NM"; then
8678 ac_cv_prog_NM="$NM" # Let the user override the test.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_prog_NM="${ncn_progname}"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8698 if test -n "$NM"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8700 $as_echo "$NM" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703 $as_echo "no" >&6; }
8710 for ncn_progname in nm; do
8711 if test -n "$ncn_tool_prefix"; then
8712 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8713 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8715 $as_echo_n "checking for $ac_word... " >&6; }
8716 if test "${ac_cv_prog_NM+set}" = set; then :
8717 $as_echo_n "(cached) " >&6
8719 if test -n "$NM"; then
8720 ac_cv_prog_NM="$NM" # Let the user override the test.
8722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir=.
8727 for ac_exec_ext in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 if test -n "$NM"; then
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8742 $as_echo "$NM" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8745 $as_echo "no" >&6; }
8750 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8752 set dummy ${ncn_progname}; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8754 $as_echo_n "checking for $ac_word... " >&6; }
8755 if test "${ac_cv_prog_NM+set}" = set; then :
8756 $as_echo_n "(cached) " >&6
8758 if test -n "$NM"; then
8759 ac_cv_prog_NM="$NM" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_NM="${ncn_progname}"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 if test -n "$NM"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8781 $as_echo "$NM" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8784 $as_echo "no" >&6; }
8789 test -n "$ac_cv_prog_NM" && break
8792 if test -z "$ac_cv_prog_NM" ; then
8794 if test $build = $host ; then
8797 NM="${ncn_tool_prefix}$2"
8803 if test -n "$RANLIB"; then
8804 ac_cv_prog_RANLIB=$RANLIB
8805 elif test -n "$ac_cv_prog_RANLIB"; then
8806 RANLIB=$ac_cv_prog_RANLIB
8809 if test -n "$ac_cv_prog_RANLIB"; then
8810 for ncn_progname in ranlib; do
8811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8812 set dummy ${ncn_progname}; ac_word=$2
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8814 $as_echo_n "checking for $ac_word... " >&6; }
8815 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8816 $as_echo_n "(cached) " >&6
8818 if test -n "$RANLIB"; then
8819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8825 test -z "$as_dir" && as_dir=.
8826 for ac_exec_ext in '' $ac_executable_extensions; do
8827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8828 ac_cv_prog_RANLIB="${ncn_progname}"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8838 RANLIB=$ac_cv_prog_RANLIB
8839 if test -n "$RANLIB"; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8841 $as_echo "$RANLIB" >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8844 $as_echo "no" >&6; }
8851 for ncn_progname in ranlib; do
8852 if test -n "$ncn_tool_prefix"; then
8853 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8854 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8856 $as_echo_n "checking for $ac_word... " >&6; }
8857 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8858 $as_echo_n "(cached) " >&6
8860 if test -n "$RANLIB"; then
8861 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir=.
8868 for ac_exec_ext in '' $ac_executable_extensions; do
8869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8870 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 RANLIB=$ac_cv_prog_RANLIB
8881 if test -n "$RANLIB"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8883 $as_echo "$RANLIB" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8891 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8893 set dummy ${ncn_progname}; ac_word=$2
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8895 $as_echo_n "checking for $ac_word... " >&6; }
8896 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8897 $as_echo_n "(cached) " >&6
8899 if test -n "$RANLIB"; then
8900 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir=.
8907 for ac_exec_ext in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_prog_RANLIB="${ncn_progname}"
8910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 RANLIB=$ac_cv_prog_RANLIB
8920 if test -n "$RANLIB"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8922 $as_echo "$RANLIB" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925 $as_echo "no" >&6; }
8930 test -n "$ac_cv_prog_RANLIB" && break
8933 if test -z "$ac_cv_prog_RANLIB" ; then
8939 if test -n "$STRIP"; then
8940 ac_cv_prog_STRIP=$STRIP
8941 elif test -n "$ac_cv_prog_STRIP"; then
8942 STRIP=$ac_cv_prog_STRIP
8945 if test -n "$ac_cv_prog_STRIP"; then
8946 for ncn_progname in strip; do
8947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8948 set dummy ${ncn_progname}; ac_word=$2
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8950 $as_echo_n "checking for $ac_word... " >&6; }
8951 if test "${ac_cv_prog_STRIP+set}" = set; then :
8952 $as_echo_n "(cached) " >&6
8954 if test -n "$STRIP"; then
8955 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8961 test -z "$as_dir" && as_dir=.
8962 for ac_exec_ext in '' $ac_executable_extensions; do
8963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8964 ac_cv_prog_STRIP="${ncn_progname}"
8965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974 STRIP=$ac_cv_prog_STRIP
8975 if test -n "$STRIP"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8977 $as_echo "$STRIP" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8980 $as_echo "no" >&6; }
8987 for ncn_progname in strip; do
8988 if test -n "$ncn_tool_prefix"; then
8989 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8990 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8992 $as_echo_n "checking for $ac_word... " >&6; }
8993 if test "${ac_cv_prog_STRIP+set}" = set; then :
8994 $as_echo_n "(cached) " >&6
8996 if test -n "$STRIP"; then
8997 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9016 STRIP=$ac_cv_prog_STRIP
9017 if test -n "$STRIP"; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9019 $as_echo "$STRIP" >&6; }
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9022 $as_echo "no" >&6; }
9027 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9029 set dummy ${ncn_progname}; ac_word=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9031 $as_echo_n "checking for $ac_word... " >&6; }
9032 if test "${ac_cv_prog_STRIP+set}" = set; then :
9033 $as_echo_n "(cached) " >&6
9035 if test -n "$STRIP"; then
9036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_STRIP="${ncn_progname}"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 STRIP=$ac_cv_prog_STRIP
9056 if test -n "$STRIP"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9058 $as_echo "$STRIP" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9066 test -n "$ac_cv_prog_STRIP" && break
9069 if test -z "$ac_cv_prog_STRIP" ; then
9075 if test -n "$WINDRES"; then
9076 ac_cv_prog_WINDRES=$WINDRES
9077 elif test -n "$ac_cv_prog_WINDRES"; then
9078 WINDRES=$ac_cv_prog_WINDRES
9081 if test -n "$ac_cv_prog_WINDRES"; then
9082 for ncn_progname in windres; do
9083 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9084 set dummy ${ncn_progname}; ac_word=$2
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9086 $as_echo_n "checking for $ac_word... " >&6; }
9087 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9088 $as_echo_n "(cached) " >&6
9090 if test -n "$WINDRES"; then
9091 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9097 test -z "$as_dir" && as_dir=.
9098 for ac_exec_ext in '' $ac_executable_extensions; do
9099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9100 ac_cv_prog_WINDRES="${ncn_progname}"
9101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9110 WINDRES=$ac_cv_prog_WINDRES
9111 if test -n "$WINDRES"; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9113 $as_echo "$WINDRES" >&6; }
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9123 for ncn_progname in windres; do
9124 if test -n "$ncn_tool_prefix"; then
9125 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9126 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9128 $as_echo_n "checking for $ac_word... " >&6; }
9129 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9130 $as_echo_n "(cached) " >&6
9132 if test -n "$WINDRES"; then
9133 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9139 test -z "$as_dir" && as_dir=.
9140 for ac_exec_ext in '' $ac_executable_extensions; do
9141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9142 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9152 WINDRES=$ac_cv_prog_WINDRES
9153 if test -n "$WINDRES"; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9155 $as_echo "$WINDRES" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9158 $as_echo "no" >&6; }
9163 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9165 set dummy ${ncn_progname}; ac_word=$2
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9167 $as_echo_n "checking for $ac_word... " >&6; }
9168 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9169 $as_echo_n "(cached) " >&6
9171 if test -n "$WINDRES"; then
9172 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 test -z "$as_dir" && as_dir=.
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9181 ac_cv_prog_WINDRES="${ncn_progname}"
9182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9191 WINDRES=$ac_cv_prog_WINDRES
9192 if test -n "$WINDRES"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9194 $as_echo "$WINDRES" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 $as_echo "no" >&6; }
9202 test -n "$ac_cv_prog_WINDRES" && break
9205 if test -z "$ac_cv_prog_WINDRES" ; then
9207 if test $build = $host ; then
9210 WINDRES="${ncn_tool_prefix}$2"
9216 if test -n "$WINDMC"; then
9217 ac_cv_prog_WINDMC=$WINDMC
9218 elif test -n "$ac_cv_prog_WINDMC"; then
9219 WINDMC=$ac_cv_prog_WINDMC
9222 if test -n "$ac_cv_prog_WINDMC"; then
9223 for ncn_progname in windmc; do
9224 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9225 set dummy ${ncn_progname}; ac_word=$2
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9227 $as_echo_n "checking for $ac_word... " >&6; }
9228 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9229 $as_echo_n "(cached) " >&6
9231 if test -n "$WINDMC"; then
9232 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir=.
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_prog_WINDMC="${ncn_progname}"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9251 WINDMC=$ac_cv_prog_WINDMC
9252 if test -n "$WINDMC"; then
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9254 $as_echo "$WINDMC" >&6; }
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 $as_echo "no" >&6; }
9264 for ncn_progname in windmc; do
9265 if test -n "$ncn_tool_prefix"; then
9266 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9267 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9269 $as_echo_n "checking for $ac_word... " >&6; }
9270 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9271 $as_echo_n "(cached) " >&6
9273 if test -n "$WINDMC"; then
9274 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9280 test -z "$as_dir" && as_dir=.
9281 for ac_exec_ext in '' $ac_executable_extensions; do
9282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9283 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9293 WINDMC=$ac_cv_prog_WINDMC
9294 if test -n "$WINDMC"; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9296 $as_echo "$WINDMC" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 $as_echo "no" >&6; }
9304 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9306 set dummy ${ncn_progname}; ac_word=$2
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9308 $as_echo_n "checking for $ac_word... " >&6; }
9309 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9310 $as_echo_n "(cached) " >&6
9312 if test -n "$WINDMC"; then
9313 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_WINDMC="${ncn_progname}"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 WINDMC=$ac_cv_prog_WINDMC
9333 if test -n "$WINDMC"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9335 $as_echo "$WINDMC" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9343 test -n "$ac_cv_prog_WINDMC" && break
9346 if test -z "$ac_cv_prog_WINDMC" ; then
9348 if test $build = $host ; then
9351 WINDMC="${ncn_tool_prefix}$2"
9357 if test -n "$OBJCOPY"; then
9358 ac_cv_prog_OBJCOPY=$OBJCOPY
9359 elif test -n "$ac_cv_prog_OBJCOPY"; then
9360 OBJCOPY=$ac_cv_prog_OBJCOPY
9363 if test -n "$ac_cv_prog_OBJCOPY"; then
9364 for ncn_progname in objcopy; do
9365 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9366 set dummy ${ncn_progname}; ac_word=$2
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9368 $as_echo_n "checking for $ac_word... " >&6; }
9369 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9370 $as_echo_n "(cached) " >&6
9372 if test -n "$OBJCOPY"; then
9373 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379 test -z "$as_dir" && as_dir=.
9380 for ac_exec_ext in '' $ac_executable_extensions; do
9381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9382 ac_cv_prog_OBJCOPY="${ncn_progname}"
9383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9392 OBJCOPY=$ac_cv_prog_OBJCOPY
9393 if test -n "$OBJCOPY"; then
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9395 $as_echo "$OBJCOPY" >&6; }
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9398 $as_echo "no" >&6; }
9405 for ncn_progname in objcopy; do
9406 if test -n "$ncn_tool_prefix"; then
9407 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9408 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9410 $as_echo_n "checking for $ac_word... " >&6; }
9411 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9412 $as_echo_n "(cached) " >&6
9414 if test -n "$OBJCOPY"; then
9415 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 test -z "$as_dir" && as_dir=.
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9424 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9434 OBJCOPY=$ac_cv_prog_OBJCOPY
9435 if test -n "$OBJCOPY"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9437 $as_echo "$OBJCOPY" >&6; }
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9440 $as_echo "no" >&6; }
9445 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9446 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9447 set dummy ${ncn_progname}; ac_word=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9449 $as_echo_n "checking for $ac_word... " >&6; }
9450 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9451 $as_echo_n "(cached) " >&6
9453 if test -n "$OBJCOPY"; then
9454 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir=.
9461 for ac_exec_ext in '' $ac_executable_extensions; do
9462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9463 ac_cv_prog_OBJCOPY="${ncn_progname}"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9473 OBJCOPY=$ac_cv_prog_OBJCOPY
9474 if test -n "$OBJCOPY"; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9476 $as_echo "$OBJCOPY" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9479 $as_echo "no" >&6; }
9484 test -n "$ac_cv_prog_OBJCOPY" && break
9487 if test -z "$ac_cv_prog_OBJCOPY" ; then
9489 if test $build = $host ; then
9492 OBJCOPY="${ncn_tool_prefix}$2"
9498 if test -n "$OBJDUMP"; then
9499 ac_cv_prog_OBJDUMP=$OBJDUMP
9500 elif test -n "$ac_cv_prog_OBJDUMP"; then
9501 OBJDUMP=$ac_cv_prog_OBJDUMP
9504 if test -n "$ac_cv_prog_OBJDUMP"; then
9505 for ncn_progname in objdump; do
9506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9507 set dummy ${ncn_progname}; ac_word=$2
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9509 $as_echo_n "checking for $ac_word... " >&6; }
9510 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9511 $as_echo_n "(cached) " >&6
9513 if test -n "$OBJDUMP"; then
9514 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9523 ac_cv_prog_OBJDUMP="${ncn_progname}"
9524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9533 OBJDUMP=$ac_cv_prog_OBJDUMP
9534 if test -n "$OBJDUMP"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9536 $as_echo "$OBJDUMP" >&6; }
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9539 $as_echo "no" >&6; }
9546 for ncn_progname in objdump; do
9547 if test -n "$ncn_tool_prefix"; then
9548 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9549 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9551 $as_echo_n "checking for $ac_word... " >&6; }
9552 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9553 $as_echo_n "(cached) " >&6
9555 if test -n "$OBJDUMP"; then
9556 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9562 test -z "$as_dir" && as_dir=.
9563 for ac_exec_ext in '' $ac_executable_extensions; do
9564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9565 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9575 OBJDUMP=$ac_cv_prog_OBJDUMP
9576 if test -n "$OBJDUMP"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9578 $as_echo "$OBJDUMP" >&6; }
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9581 $as_echo "no" >&6; }
9586 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9588 set dummy ${ncn_progname}; ac_word=$2
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9590 $as_echo_n "checking for $ac_word... " >&6; }
9591 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9592 $as_echo_n "(cached) " >&6
9594 if test -n "$OBJDUMP"; then
9595 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 test -z "$as_dir" && as_dir=.
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9604 ac_cv_prog_OBJDUMP="${ncn_progname}"
9605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9614 OBJDUMP=$ac_cv_prog_OBJDUMP
9615 if test -n "$OBJDUMP"; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9617 $as_echo "$OBJDUMP" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9620 $as_echo "no" >&6; }
9625 test -n "$ac_cv_prog_OBJDUMP" && break
9628 if test -z "$ac_cv_prog_OBJDUMP" ; then
9630 if test $build = $host ; then
9633 OBJDUMP="${ncn_tool_prefix}$2"
9644 # Check whether --with-build-time-tools was given.
9645 if test "${with_build_time_tools+set}" = set; then :
9646 withval=$with_build_time_tools; case x"$withval" in
9649 with_build_time_tools=
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9651 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9655 with_build_time_tools=
9661 if test -n "$CC_FOR_TARGET"; then
9662 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9663 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9664 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9667 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9668 for ncn_progname in cc gcc; do
9669 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9670 set dummy ${ncn_progname}; ac_word=$2
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672 $as_echo_n "checking for $ac_word... " >&6; }
9673 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9674 $as_echo_n "(cached) " >&6
9676 if test -n "$CC_FOR_TARGET"; then
9677 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9683 test -z "$as_dir" && as_dir=.
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9686 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9696 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9697 if test -n "$CC_FOR_TARGET"; then
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9699 $as_echo "$CC_FOR_TARGET" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 $as_echo "no" >&6; }
9709 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9710 for ncn_progname in cc gcc; do
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9712 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9713 if test -x $with_build_time_tools/${ncn_progname}; then
9714 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9716 $as_echo "yes" >&6; }
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9720 $as_echo "no" >&6; }
9725 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9726 for ncn_progname in cc gcc; do
9727 if test -n "$ncn_target_tool_prefix"; then
9728 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9729 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9731 $as_echo_n "checking for $ac_word... " >&6; }
9732 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9733 $as_echo_n "(cached) " >&6
9735 if test -n "$CC_FOR_TARGET"; then
9736 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9742 test -z "$as_dir" && as_dir=.
9743 for ac_exec_ext in '' $ac_executable_extensions; do
9744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9745 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9756 if test -n "$CC_FOR_TARGET"; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9758 $as_echo "$CC_FOR_TARGET" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9761 $as_echo "no" >&6; }
9766 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9768 set dummy ${ncn_progname}; ac_word=$2
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9770 $as_echo_n "checking for $ac_word... " >&6; }
9771 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9772 $as_echo_n "(cached) " >&6
9774 if test -n "$CC_FOR_TARGET"; then
9775 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9781 test -z "$as_dir" && as_dir=.
9782 for ac_exec_ext in '' $ac_executable_extensions; do
9783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9784 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9794 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9795 if test -n "$CC_FOR_TARGET"; then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9797 $as_echo "$CC_FOR_TARGET" >&6; }
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9800 $as_echo "no" >&6; }
9805 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9809 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9811 if test $build = $target ; then
9814 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9817 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9822 if test -n "$CXX_FOR_TARGET"; then
9823 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9824 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9825 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9828 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9829 for ncn_progname in c++ g++ cxx gxx; do
9830 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9831 set dummy ${ncn_progname}; ac_word=$2
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9833 $as_echo_n "checking for $ac_word... " >&6; }
9834 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9835 $as_echo_n "(cached) " >&6
9837 if test -n "$CXX_FOR_TARGET"; then
9838 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9844 test -z "$as_dir" && as_dir=.
9845 for ac_exec_ext in '' $ac_executable_extensions; do
9846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9847 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9857 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9858 if test -n "$CXX_FOR_TARGET"; then
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9860 $as_echo "$CXX_FOR_TARGET" >&6; }
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9863 $as_echo "no" >&6; }
9870 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9871 for ncn_progname in c++ g++ cxx gxx; do
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9873 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9874 if test -x $with_build_time_tools/${ncn_progname}; then
9875 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9877 $as_echo "yes" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9881 $as_echo "no" >&6; }
9886 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9887 for ncn_progname in c++ g++ cxx gxx; do
9888 if test -n "$ncn_target_tool_prefix"; then
9889 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9890 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9894 $as_echo_n "(cached) " >&6
9896 if test -n "$CXX_FOR_TARGET"; then
9897 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9916 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9917 if test -n "$CXX_FOR_TARGET"; then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9919 $as_echo "$CXX_FOR_TARGET" >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9922 $as_echo "no" >&6; }
9927 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9928 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9929 set dummy ${ncn_progname}; ac_word=$2
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9931 $as_echo_n "checking for $ac_word... " >&6; }
9932 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9933 $as_echo_n "(cached) " >&6
9935 if test -n "$CXX_FOR_TARGET"; then
9936 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9942 test -z "$as_dir" && as_dir=.
9943 for ac_exec_ext in '' $ac_executable_extensions; do
9944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9945 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9955 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9956 if test -n "$CXX_FOR_TARGET"; then
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9958 $as_echo "$CXX_FOR_TARGET" >&6; }
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9961 $as_echo "no" >&6; }
9966 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9970 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9971 set dummy c++ g++ cxx gxx
9972 if test $build = $target ; then
9975 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9978 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9983 if test -n "$GCC_FOR_TARGET"; then
9984 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9985 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9986 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9989 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9990 for ncn_progname in gcc; do
9991 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9992 set dummy ${ncn_progname}; ac_word=$2
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9994 $as_echo_n "checking for $ac_word... " >&6; }
9995 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9996 $as_echo_n "(cached) " >&6
9998 if test -n "$GCC_FOR_TARGET"; then
9999 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 for as_dir in $PATH
10005 test -z "$as_dir" && as_dir=.
10006 for ac_exec_ext in '' $ac_executable_extensions; do
10007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10008 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10018 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10019 if test -n "$GCC_FOR_TARGET"; then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10021 $as_echo "$GCC_FOR_TARGET" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10024 $as_echo "no" >&6; }
10031 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10032 for ncn_progname in gcc; do
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10034 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10035 if test -x $with_build_time_tools/${ncn_progname}; then
10036 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10038 $as_echo "yes" >&6; }
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10042 $as_echo "no" >&6; }
10047 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10048 for ncn_progname in gcc; do
10049 if test -n "$ncn_target_tool_prefix"; then
10050 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10051 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10053 $as_echo_n "checking for $ac_word... " >&6; }
10054 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10055 $as_echo_n "(cached) " >&6
10057 if test -n "$GCC_FOR_TARGET"; then
10058 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10061 for as_dir in $PATH
10064 test -z "$as_dir" && as_dir=.
10065 for ac_exec_ext in '' $ac_executable_extensions; do
10066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10067 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10077 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10078 if test -n "$GCC_FOR_TARGET"; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10080 $as_echo "$GCC_FOR_TARGET" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10083 $as_echo "no" >&6; }
10088 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10090 set dummy ${ncn_progname}; ac_word=$2
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10092 $as_echo_n "checking for $ac_word... " >&6; }
10093 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10094 $as_echo_n "(cached) " >&6
10096 if test -n "$GCC_FOR_TARGET"; then
10097 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10100 for as_dir in $PATH
10103 test -z "$as_dir" && as_dir=.
10104 for ac_exec_ext in '' $ac_executable_extensions; do
10105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10106 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10117 if test -n "$GCC_FOR_TARGET"; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10119 $as_echo "$GCC_FOR_TARGET" >&6; }
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122 $as_echo "no" >&6; }
10127 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10131 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10132 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10134 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10139 if test -n "$GCJ_FOR_TARGET"; then
10140 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10141 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10142 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10145 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10146 for ncn_progname in gcj; do
10147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10148 set dummy ${ncn_progname}; ac_word=$2
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10150 $as_echo_n "checking for $ac_word... " >&6; }
10151 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10152 $as_echo_n "(cached) " >&6
10154 if test -n "$GCJ_FOR_TARGET"; then
10155 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158 for as_dir in $PATH
10161 test -z "$as_dir" && as_dir=.
10162 for ac_exec_ext in '' $ac_executable_extensions; do
10163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10164 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10175 if test -n "$GCJ_FOR_TARGET"; then
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10177 $as_echo "$GCJ_FOR_TARGET" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10180 $as_echo "no" >&6; }
10187 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10188 for ncn_progname in gcj; do
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10190 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10191 if test -x $with_build_time_tools/${ncn_progname}; then
10192 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10194 $as_echo "yes" >&6; }
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10198 $as_echo "no" >&6; }
10203 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10204 for ncn_progname in gcj; do
10205 if test -n "$ncn_target_tool_prefix"; then
10206 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10207 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10209 $as_echo_n "checking for $ac_word... " >&6; }
10210 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10211 $as_echo_n "(cached) " >&6
10213 if test -n "$GCJ_FOR_TARGET"; then
10214 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10217 for as_dir in $PATH
10220 test -z "$as_dir" && as_dir=.
10221 for ac_exec_ext in '' $ac_executable_extensions; do
10222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10223 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10233 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10234 if test -n "$GCJ_FOR_TARGET"; then
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10236 $as_echo "$GCJ_FOR_TARGET" >&6; }
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10239 $as_echo "no" >&6; }
10244 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10246 set dummy ${ncn_progname}; ac_word=$2
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10248 $as_echo_n "checking for $ac_word... " >&6; }
10249 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10250 $as_echo_n "(cached) " >&6
10252 if test -n "$GCJ_FOR_TARGET"; then
10253 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10256 for as_dir in $PATH
10259 test -z "$as_dir" && as_dir=.
10260 for ac_exec_ext in '' $ac_executable_extensions; do
10261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10262 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10272 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10273 if test -n "$GCJ_FOR_TARGET"; then
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10275 $as_echo "$GCJ_FOR_TARGET" >&6; }
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10278 $as_echo "no" >&6; }
10283 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10287 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10289 if test $build = $target ; then
10290 GCJ_FOR_TARGET="$2"
10292 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10295 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10300 if test -n "$GFORTRAN_FOR_TARGET"; then
10301 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10302 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10303 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10306 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10307 for ncn_progname in gfortran; do
10308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10309 set dummy ${ncn_progname}; ac_word=$2
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311 $as_echo_n "checking for $ac_word... " >&6; }
10312 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10313 $as_echo_n "(cached) " >&6
10315 if test -n "$GFORTRAN_FOR_TARGET"; then
10316 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10319 for as_dir in $PATH
10322 test -z "$as_dir" && as_dir=.
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10325 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10336 if test -n "$GFORTRAN_FOR_TARGET"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10338 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10348 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10349 for ncn_progname in gfortran; do
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10351 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10352 if test -x $with_build_time_tools/${ncn_progname}; then
10353 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10355 $as_echo "yes" >&6; }
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10359 $as_echo "no" >&6; }
10364 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10365 for ncn_progname in gfortran; do
10366 if test -n "$ncn_target_tool_prefix"; then
10367 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10368 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10370 $as_echo_n "checking for $ac_word... " >&6; }
10371 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10372 $as_echo_n "(cached) " >&6
10374 if test -n "$GFORTRAN_FOR_TARGET"; then
10375 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10378 for as_dir in $PATH
10381 test -z "$as_dir" && as_dir=.
10382 for ac_exec_ext in '' $ac_executable_extensions; do
10383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10384 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10394 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10395 if test -n "$GFORTRAN_FOR_TARGET"; then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10397 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10400 $as_echo "no" >&6; }
10405 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10406 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10407 set dummy ${ncn_progname}; ac_word=$2
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10409 $as_echo_n "checking for $ac_word... " >&6; }
10410 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10411 $as_echo_n "(cached) " >&6
10413 if test -n "$GFORTRAN_FOR_TARGET"; then
10414 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10417 for as_dir in $PATH
10420 test -z "$as_dir" && as_dir=.
10421 for ac_exec_ext in '' $ac_executable_extensions; do
10422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10423 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10433 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10434 if test -n "$GFORTRAN_FOR_TARGET"; then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10436 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 $as_echo "no" >&6; }
10444 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10448 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10450 if test $build = $target ; then
10451 GFORTRAN_FOR_TARGET="$2"
10453 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10456 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10461 if test -n "$GOC_FOR_TARGET"; then
10462 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10463 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10464 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10467 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10468 for ncn_progname in gccgo; do
10469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10470 set dummy ${ncn_progname}; ac_word=$2
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10472 $as_echo_n "checking for $ac_word... " >&6; }
10473 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10474 $as_echo_n "(cached) " >&6
10476 if test -n "$GOC_FOR_TARGET"; then
10477 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10480 for as_dir in $PATH
10483 test -z "$as_dir" && as_dir=.
10484 for ac_exec_ext in '' $ac_executable_extensions; do
10485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10486 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10496 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10497 if test -n "$GOC_FOR_TARGET"; then
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10499 $as_echo "$GOC_FOR_TARGET" >&6; }
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10502 $as_echo "no" >&6; }
10509 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10510 for ncn_progname in gccgo; do
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10512 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10513 if test -x $with_build_time_tools/${ncn_progname}; then
10514 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10516 $as_echo "yes" >&6; }
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10520 $as_echo "no" >&6; }
10525 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10526 for ncn_progname in gccgo; do
10527 if test -n "$ncn_target_tool_prefix"; then
10528 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10529 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10531 $as_echo_n "checking for $ac_word... " >&6; }
10532 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10533 $as_echo_n "(cached) " >&6
10535 if test -n "$GOC_FOR_TARGET"; then
10536 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10539 for as_dir in $PATH
10542 test -z "$as_dir" && as_dir=.
10543 for ac_exec_ext in '' $ac_executable_extensions; do
10544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10545 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10555 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10556 if test -n "$GOC_FOR_TARGET"; then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10558 $as_echo "$GOC_FOR_TARGET" >&6; }
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10561 $as_echo "no" >&6; }
10566 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10567 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10568 set dummy ${ncn_progname}; ac_word=$2
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10570 $as_echo_n "checking for $ac_word... " >&6; }
10571 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10572 $as_echo_n "(cached) " >&6
10574 if test -n "$GOC_FOR_TARGET"; then
10575 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10578 for as_dir in $PATH
10581 test -z "$as_dir" && as_dir=.
10582 for ac_exec_ext in '' $ac_executable_extensions; do
10583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10584 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10594 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10595 if test -n "$GOC_FOR_TARGET"; then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10597 $as_echo "$GOC_FOR_TARGET" >&6; }
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10600 $as_echo "no" >&6; }
10605 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10609 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10611 if test $build = $target ; then
10612 GOC_FOR_TARGET="$2"
10614 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10617 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10622 cat > conftest.c << \EOF
10627 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10628 have_gcc_for_target=yes
10630 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10631 have_gcc_for_target=no
10638 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10639 if test -n "$with_build_time_tools"; then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
10641 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
10642 if test -x $with_build_time_tools/ar; then
10643 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10644 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
10646 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 $as_echo "no" >&6; }
10651 elif test $build != $host && test $have_gcc_for_target = yes; then
10652 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10653 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10654 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10657 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10658 # Extract the first word of "ar", so it can be a program name with args.
10659 set dummy ar; ac_word=$2
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10661 $as_echo_n "checking for $ac_word... " >&6; }
10662 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10663 $as_echo_n "(cached) " >&6
10665 case $AR_FOR_TARGET in
10667 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $gcc_cv_tool_dirs
10674 test -z "$as_dir" && as_dir=.
10675 for ac_exec_ext in '' $ac_executable_extensions; do
10676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10677 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10688 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10689 if test -n "$AR_FOR_TARGET"; then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10691 $as_echo "$AR_FOR_TARGET" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10694 $as_echo "no" >&6; }
10699 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10702 if test -n "$AR_FOR_TARGET"; then
10703 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10704 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10705 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10708 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10709 for ncn_progname in ar; do
10710 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10711 set dummy ${ncn_progname}; ac_word=$2
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10713 $as_echo_n "checking for $ac_word... " >&6; }
10714 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10715 $as_echo_n "(cached) " >&6
10717 if test -n "$AR_FOR_TARGET"; then
10718 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10721 for as_dir in $PATH
10724 test -z "$as_dir" && as_dir=.
10725 for ac_exec_ext in '' $ac_executable_extensions; do
10726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10727 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10737 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10738 if test -n "$AR_FOR_TARGET"; then
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10740 $as_echo "$AR_FOR_TARGET" >&6; }
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 $as_echo "no" >&6; }
10750 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10751 for ncn_progname in ar; do
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10753 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10754 if test -x $with_build_time_tools/${ncn_progname}; then
10755 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10757 $as_echo "yes" >&6; }
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }
10766 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10767 for ncn_progname in ar; do
10768 if test -n "$ncn_target_tool_prefix"; then
10769 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10770 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10772 $as_echo_n "checking for $ac_word... " >&6; }
10773 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10774 $as_echo_n "(cached) " >&6
10776 if test -n "$AR_FOR_TARGET"; then
10777 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10780 for as_dir in $PATH
10783 test -z "$as_dir" && as_dir=.
10784 for ac_exec_ext in '' $ac_executable_extensions; do
10785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10786 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10796 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10797 if test -n "$AR_FOR_TARGET"; then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10799 $as_echo "$AR_FOR_TARGET" >&6; }
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10802 $as_echo "no" >&6; }
10807 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10809 set dummy ${ncn_progname}; ac_word=$2
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10811 $as_echo_n "checking for $ac_word... " >&6; }
10812 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10813 $as_echo_n "(cached) " >&6
10815 if test -n "$AR_FOR_TARGET"; then
10816 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10819 for as_dir in $PATH
10822 test -z "$as_dir" && as_dir=.
10823 for ac_exec_ext in '' $ac_executable_extensions; do
10824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10825 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10836 if test -n "$AR_FOR_TARGET"; then
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10838 $as_echo "$AR_FOR_TARGET" >&6; }
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10841 $as_echo "no" >&6; }
10846 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10850 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10852 if test $build = $target ; then
10855 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10858 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10862 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10868 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10869 if test -n "$with_build_time_tools"; then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10871 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10872 if test -x $with_build_time_tools/as; then
10873 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10874 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10876 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10879 $as_echo "no" >&6; }
10881 elif test $build != $host && test $have_gcc_for_target = yes; then
10882 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10883 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10884 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10887 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10888 # Extract the first word of "as", so it can be a program name with args.
10889 set dummy as; ac_word=$2
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10891 $as_echo_n "checking for $ac_word... " >&6; }
10892 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10893 $as_echo_n "(cached) " >&6
10895 case $AS_FOR_TARGET in
10897 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10901 for as_dir in $gcc_cv_tool_dirs
10904 test -z "$as_dir" && as_dir=.
10905 for ac_exec_ext in '' $ac_executable_extensions; do
10906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10907 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10918 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10919 if test -n "$AS_FOR_TARGET"; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10921 $as_echo "$AS_FOR_TARGET" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10924 $as_echo "no" >&6; }
10929 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10932 if test -n "$AS_FOR_TARGET"; then
10933 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10934 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10935 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10938 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10939 for ncn_progname in as; do
10940 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10941 set dummy ${ncn_progname}; ac_word=$2
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10943 $as_echo_n "checking for $ac_word... " >&6; }
10944 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10945 $as_echo_n "(cached) " >&6
10947 if test -n "$AS_FOR_TARGET"; then
10948 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10951 for as_dir in $PATH
10954 test -z "$as_dir" && as_dir=.
10955 for ac_exec_ext in '' $ac_executable_extensions; do
10956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10957 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10967 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10968 if test -n "$AS_FOR_TARGET"; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10970 $as_echo "$AS_FOR_TARGET" >&6; }
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10973 $as_echo "no" >&6; }
10980 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10981 for ncn_progname in as; do
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10983 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10984 if test -x $with_build_time_tools/${ncn_progname}; then
10985 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10987 $as_echo "yes" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10996 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10997 for ncn_progname in as; do
10998 if test -n "$ncn_target_tool_prefix"; then
10999 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11000 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11002 $as_echo_n "checking for $ac_word... " >&6; }
11003 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11004 $as_echo_n "(cached) " >&6
11006 if test -n "$AS_FOR_TARGET"; then
11007 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11010 for as_dir in $PATH
11013 test -z "$as_dir" && as_dir=.
11014 for ac_exec_ext in '' $ac_executable_extensions; do
11015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11016 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11026 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11027 if test -n "$AS_FOR_TARGET"; then
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11029 $as_echo "$AS_FOR_TARGET" >&6; }
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11032 $as_echo "no" >&6; }
11037 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11039 set dummy ${ncn_progname}; ac_word=$2
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11041 $as_echo_n "checking for $ac_word... " >&6; }
11042 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11043 $as_echo_n "(cached) " >&6
11045 if test -n "$AS_FOR_TARGET"; then
11046 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11049 for as_dir in $PATH
11052 test -z "$as_dir" && as_dir=.
11053 for ac_exec_ext in '' $ac_executable_extensions; do
11054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11055 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11066 if test -n "$AS_FOR_TARGET"; then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11068 $as_echo "$AS_FOR_TARGET" >&6; }
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071 $as_echo "no" >&6; }
11076 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11080 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11082 if test $build = $target ; then
11085 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11088 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11092 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11098 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11099 if test -n "$with_build_time_tools"; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11101 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11102 if test -x $with_build_time_tools/dlltool; then
11103 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11104 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11106 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11109 $as_echo "no" >&6; }
11111 elif test $build != $host && test $have_gcc_for_target = yes; then
11112 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11113 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11114 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11117 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11118 # Extract the first word of "dlltool", so it can be a program name with args.
11119 set dummy dlltool; ac_word=$2
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11121 $as_echo_n "checking for $ac_word... " >&6; }
11122 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11123 $as_echo_n "(cached) " >&6
11125 case $DLLTOOL_FOR_TARGET in
11127 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11131 for as_dir in $gcc_cv_tool_dirs
11134 test -z "$as_dir" && as_dir=.
11135 for ac_exec_ext in '' $ac_executable_extensions; do
11136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11137 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11148 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11149 if test -n "$DLLTOOL_FOR_TARGET"; then
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11151 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11154 $as_echo "no" >&6; }
11159 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11162 if test -n "$DLLTOOL_FOR_TARGET"; then
11163 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11164 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11165 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11168 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11169 for ncn_progname in dlltool; do
11170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11171 set dummy ${ncn_progname}; ac_word=$2
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11173 $as_echo_n "checking for $ac_word... " >&6; }
11174 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11175 $as_echo_n "(cached) " >&6
11177 if test -n "$DLLTOOL_FOR_TARGET"; then
11178 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11181 for as_dir in $PATH
11184 test -z "$as_dir" && as_dir=.
11185 for ac_exec_ext in '' $ac_executable_extensions; do
11186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11187 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11197 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11198 if test -n "$DLLTOOL_FOR_TARGET"; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11200 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11203 $as_echo "no" >&6; }
11210 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11211 for ncn_progname in dlltool; do
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11213 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11214 if test -x $with_build_time_tools/${ncn_progname}; then
11215 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11217 $as_echo "yes" >&6; }
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11221 $as_echo "no" >&6; }
11226 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11227 for ncn_progname in dlltool; do
11228 if test -n "$ncn_target_tool_prefix"; then
11229 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11230 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11232 $as_echo_n "checking for $ac_word... " >&6; }
11233 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11234 $as_echo_n "(cached) " >&6
11236 if test -n "$DLLTOOL_FOR_TARGET"; then
11237 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11240 for as_dir in $PATH
11243 test -z "$as_dir" && as_dir=.
11244 for ac_exec_ext in '' $ac_executable_extensions; do
11245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11246 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11256 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11257 if test -n "$DLLTOOL_FOR_TARGET"; then
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11259 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11262 $as_echo "no" >&6; }
11267 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11269 set dummy ${ncn_progname}; ac_word=$2
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11271 $as_echo_n "checking for $ac_word... " >&6; }
11272 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11273 $as_echo_n "(cached) " >&6
11275 if test -n "$DLLTOOL_FOR_TARGET"; then
11276 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11279 for as_dir in $PATH
11282 test -z "$as_dir" && as_dir=.
11283 for ac_exec_ext in '' $ac_executable_extensions; do
11284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11285 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11295 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11296 if test -n "$DLLTOOL_FOR_TARGET"; then
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11298 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11301 $as_echo "no" >&6; }
11306 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11310 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11312 if test $build = $target ; then
11313 DLLTOOL_FOR_TARGET="$2"
11315 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11318 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11322 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11328 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11329 if test -n "$with_build_time_tools"; then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11331 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11332 if test -x $with_build_time_tools/ld; then
11333 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11334 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11336 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11339 $as_echo "no" >&6; }
11341 elif test $build != $host && test $have_gcc_for_target = yes; then
11342 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11343 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11344 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11347 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11348 # Extract the first word of "ld", so it can be a program name with args.
11349 set dummy ld; ac_word=$2
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11351 $as_echo_n "checking for $ac_word... " >&6; }
11352 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11353 $as_echo_n "(cached) " >&6
11355 case $LD_FOR_TARGET in
11357 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $gcc_cv_tool_dirs
11364 test -z "$as_dir" && as_dir=.
11365 for ac_exec_ext in '' $ac_executable_extensions; do
11366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11378 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11379 if test -n "$LD_FOR_TARGET"; then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11381 $as_echo "$LD_FOR_TARGET" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11384 $as_echo "no" >&6; }
11389 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11392 if test -n "$LD_FOR_TARGET"; then
11393 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11394 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11395 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11398 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11399 for ncn_progname in ld; do
11400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11401 set dummy ${ncn_progname}; ac_word=$2
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11403 $as_echo_n "checking for $ac_word... " >&6; }
11404 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11407 if test -n "$LD_FOR_TARGET"; then
11408 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11411 for as_dir in $PATH
11414 test -z "$as_dir" && as_dir=.
11415 for ac_exec_ext in '' $ac_executable_extensions; do
11416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11417 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11428 if test -n "$LD_FOR_TARGET"; then
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11430 $as_echo "$LD_FOR_TARGET" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11440 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11441 for ncn_progname in ld; do
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11443 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11444 if test -x $with_build_time_tools/${ncn_progname}; then
11445 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11447 $as_echo "yes" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11451 $as_echo "no" >&6; }
11456 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11457 for ncn_progname in ld; do
11458 if test -n "$ncn_target_tool_prefix"; then
11459 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11460 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11462 $as_echo_n "checking for $ac_word... " >&6; }
11463 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11464 $as_echo_n "(cached) " >&6
11466 if test -n "$LD_FOR_TARGET"; then
11467 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11470 for as_dir in $PATH
11473 test -z "$as_dir" && as_dir=.
11474 for ac_exec_ext in '' $ac_executable_extensions; do
11475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11476 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11486 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11487 if test -n "$LD_FOR_TARGET"; then
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11489 $as_echo "$LD_FOR_TARGET" >&6; }
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11492 $as_echo "no" >&6; }
11497 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11499 set dummy ${ncn_progname}; ac_word=$2
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11501 $as_echo_n "checking for $ac_word... " >&6; }
11502 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11503 $as_echo_n "(cached) " >&6
11505 if test -n "$LD_FOR_TARGET"; then
11506 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11509 for as_dir in $PATH
11512 test -z "$as_dir" && as_dir=.
11513 for ac_exec_ext in '' $ac_executable_extensions; do
11514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11515 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11525 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11526 if test -n "$LD_FOR_TARGET"; then
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11528 $as_echo "$LD_FOR_TARGET" >&6; }
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531 $as_echo "no" >&6; }
11536 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11540 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11542 if test $build = $target ; then
11545 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11548 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11552 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11558 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11559 if test -n "$with_build_time_tools"; then
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
11561 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
11562 if test -x $with_build_time_tools/lipo; then
11563 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11564 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
11566 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11569 $as_echo "no" >&6; }
11571 elif test $build != $host && test $have_gcc_for_target = yes; then
11572 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11573 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11574 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11577 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11578 # Extract the first word of "lipo", so it can be a program name with args.
11579 set dummy lipo; ac_word=$2
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11581 $as_echo_n "checking for $ac_word... " >&6; }
11582 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11583 $as_echo_n "(cached) " >&6
11585 case $LIPO_FOR_TARGET in
11587 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11591 for as_dir in $gcc_cv_tool_dirs
11594 test -z "$as_dir" && as_dir=.
11595 for ac_exec_ext in '' $ac_executable_extensions; do
11596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11597 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11608 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11609 if test -n "$LIPO_FOR_TARGET"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11611 $as_echo "$LIPO_FOR_TARGET" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11619 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11622 if test -n "$LIPO_FOR_TARGET"; then
11623 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11624 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11625 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11628 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11629 for ncn_progname in lipo; do
11630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11631 set dummy ${ncn_progname}; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11635 $as_echo_n "(cached) " >&6
11637 if test -n "$LIPO_FOR_TARGET"; then
11638 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11641 for as_dir in $PATH
11644 test -z "$as_dir" && as_dir=.
11645 for ac_exec_ext in '' $ac_executable_extensions; do
11646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11647 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11658 if test -n "$LIPO_FOR_TARGET"; then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11660 $as_echo "$LIPO_FOR_TARGET" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11663 $as_echo "no" >&6; }
11670 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11671 for ncn_progname in lipo; do
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11673 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11674 if test -x $with_build_time_tools/${ncn_progname}; then
11675 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11677 $as_echo "yes" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11681 $as_echo "no" >&6; }
11686 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11687 for ncn_progname in lipo; do
11688 if test -n "$ncn_target_tool_prefix"; then
11689 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11690 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11692 $as_echo_n "checking for $ac_word... " >&6; }
11693 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11694 $as_echo_n "(cached) " >&6
11696 if test -n "$LIPO_FOR_TARGET"; then
11697 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11700 for as_dir in $PATH
11703 test -z "$as_dir" && as_dir=.
11704 for ac_exec_ext in '' $ac_executable_extensions; do
11705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11706 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11716 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11717 if test -n "$LIPO_FOR_TARGET"; then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11719 $as_echo "$LIPO_FOR_TARGET" >&6; }
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11722 $as_echo "no" >&6; }
11727 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11729 set dummy ${ncn_progname}; ac_word=$2
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11731 $as_echo_n "checking for $ac_word... " >&6; }
11732 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11733 $as_echo_n "(cached) " >&6
11735 if test -n "$LIPO_FOR_TARGET"; then
11736 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11739 for as_dir in $PATH
11742 test -z "$as_dir" && as_dir=.
11743 for ac_exec_ext in '' $ac_executable_extensions; do
11744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11745 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11755 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11756 if test -n "$LIPO_FOR_TARGET"; then
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11758 $as_echo "$LIPO_FOR_TARGET" >&6; }
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761 $as_echo "no" >&6; }
11766 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11770 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11772 if test $build = $target ; then
11773 LIPO_FOR_TARGET="$2"
11775 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11778 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11782 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11788 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11789 if test -n "$with_build_time_tools"; then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
11791 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
11792 if test -x $with_build_time_tools/nm; then
11793 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11794 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
11796 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11801 elif test $build != $host && test $have_gcc_for_target = yes; then
11802 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11803 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11804 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11807 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11808 # Extract the first word of "nm", so it can be a program name with args.
11809 set dummy nm; ac_word=$2
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11811 $as_echo_n "checking for $ac_word... " >&6; }
11812 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11813 $as_echo_n "(cached) " >&6
11815 case $NM_FOR_TARGET in
11817 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $gcc_cv_tool_dirs
11824 test -z "$as_dir" && as_dir=.
11825 for ac_exec_ext in '' $ac_executable_extensions; do
11826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11827 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11838 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11839 if test -n "$NM_FOR_TARGET"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11841 $as_echo "$NM_FOR_TARGET" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11849 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11852 if test -n "$NM_FOR_TARGET"; then
11853 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11854 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11855 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11858 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11859 for ncn_progname in nm; do
11860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11861 set dummy ${ncn_progname}; ac_word=$2
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11863 $as_echo_n "checking for $ac_word... " >&6; }
11864 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11865 $as_echo_n "(cached) " >&6
11867 if test -n "$NM_FOR_TARGET"; then
11868 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11871 for as_dir in $PATH
11874 test -z "$as_dir" && as_dir=.
11875 for ac_exec_ext in '' $ac_executable_extensions; do
11876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11877 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11887 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11888 if test -n "$NM_FOR_TARGET"; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11890 $as_echo "$NM_FOR_TARGET" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11893 $as_echo "no" >&6; }
11900 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11901 for ncn_progname in nm; do
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11903 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11904 if test -x $with_build_time_tools/${ncn_progname}; then
11905 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11907 $as_echo "yes" >&6; }
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11911 $as_echo "no" >&6; }
11916 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11917 for ncn_progname in nm; do
11918 if test -n "$ncn_target_tool_prefix"; then
11919 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11920 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11922 $as_echo_n "checking for $ac_word... " >&6; }
11923 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11924 $as_echo_n "(cached) " >&6
11926 if test -n "$NM_FOR_TARGET"; then
11927 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11930 for as_dir in $PATH
11933 test -z "$as_dir" && as_dir=.
11934 for ac_exec_ext in '' $ac_executable_extensions; do
11935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11936 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11946 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11947 if test -n "$NM_FOR_TARGET"; then
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11949 $as_echo "$NM_FOR_TARGET" >&6; }
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11952 $as_echo "no" >&6; }
11957 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11959 set dummy ${ncn_progname}; ac_word=$2
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11961 $as_echo_n "checking for $ac_word... " >&6; }
11962 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11963 $as_echo_n "(cached) " >&6
11965 if test -n "$NM_FOR_TARGET"; then
11966 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11969 for as_dir in $PATH
11972 test -z "$as_dir" && as_dir=.
11973 for ac_exec_ext in '' $ac_executable_extensions; do
11974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11975 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11986 if test -n "$NM_FOR_TARGET"; then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11988 $as_echo "$NM_FOR_TARGET" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11996 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12000 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12002 if test $build = $target ; then
12005 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12008 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12012 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12018 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12019 if test -n "$with_build_time_tools"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
12021 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
12022 if test -x $with_build_time_tools/objdump; then
12023 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12024 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12026 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12031 elif test $build != $host && test $have_gcc_for_target = yes; then
12032 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12033 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12034 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12037 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12038 # Extract the first word of "objdump", so it can be a program name with args.
12039 set dummy objdump; ac_word=$2
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12041 $as_echo_n "checking for $ac_word... " >&6; }
12042 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12043 $as_echo_n "(cached) " >&6
12045 case $OBJDUMP_FOR_TARGET in
12047 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12051 for as_dir in $gcc_cv_tool_dirs
12054 test -z "$as_dir" && as_dir=.
12055 for ac_exec_ext in '' $ac_executable_extensions; do
12056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12057 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12068 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12069 if test -n "$OBJDUMP_FOR_TARGET"; then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12071 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12074 $as_echo "no" >&6; }
12079 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12082 if test -n "$OBJDUMP_FOR_TARGET"; then
12083 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12084 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12085 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12088 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12089 for ncn_progname in objdump; do
12090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12091 set dummy ${ncn_progname}; ac_word=$2
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12093 $as_echo_n "checking for $ac_word... " >&6; }
12094 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12095 $as_echo_n "(cached) " >&6
12097 if test -n "$OBJDUMP_FOR_TARGET"; then
12098 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $PATH
12104 test -z "$as_dir" && as_dir=.
12105 for ac_exec_ext in '' $ac_executable_extensions; do
12106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12107 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12117 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12118 if test -n "$OBJDUMP_FOR_TARGET"; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12120 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12130 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12131 for ncn_progname in objdump; do
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12133 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12134 if test -x $with_build_time_tools/${ncn_progname}; then
12135 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12137 $as_echo "yes" >&6; }
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 $as_echo "no" >&6; }
12146 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12147 for ncn_progname in objdump; do
12148 if test -n "$ncn_target_tool_prefix"; then
12149 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12150 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12152 $as_echo_n "checking for $ac_word... " >&6; }
12153 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12154 $as_echo_n "(cached) " >&6
12156 if test -n "$OBJDUMP_FOR_TARGET"; then
12157 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12160 for as_dir in $PATH
12163 test -z "$as_dir" && as_dir=.
12164 for ac_exec_ext in '' $ac_executable_extensions; do
12165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12166 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12177 if test -n "$OBJDUMP_FOR_TARGET"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12179 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12187 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12188 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12189 set dummy ${ncn_progname}; ac_word=$2
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12191 $as_echo_n "checking for $ac_word... " >&6; }
12192 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12193 $as_echo_n "(cached) " >&6
12195 if test -n "$OBJDUMP_FOR_TARGET"; then
12196 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12199 for as_dir in $PATH
12202 test -z "$as_dir" && as_dir=.
12203 for ac_exec_ext in '' $ac_executable_extensions; do
12204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12205 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12215 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12216 if test -n "$OBJDUMP_FOR_TARGET"; then
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12218 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221 $as_echo "no" >&6; }
12226 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12230 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12232 if test $build = $target ; then
12233 OBJDUMP_FOR_TARGET="$2"
12235 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12238 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12242 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12248 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12249 if test -n "$with_build_time_tools"; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12251 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12252 if test -x $with_build_time_tools/ranlib; then
12253 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12254 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12256 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12259 $as_echo "no" >&6; }
12261 elif test $build != $host && test $have_gcc_for_target = yes; then
12262 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12263 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12264 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12267 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12268 # Extract the first word of "ranlib", so it can be a program name with args.
12269 set dummy ranlib; ac_word=$2
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12271 $as_echo_n "checking for $ac_word... " >&6; }
12272 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12275 case $RANLIB_FOR_TARGET in
12277 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12281 for as_dir in $gcc_cv_tool_dirs
12284 test -z "$as_dir" && as_dir=.
12285 for ac_exec_ext in '' $ac_executable_extensions; do
12286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12287 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12298 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12299 if test -n "$RANLIB_FOR_TARGET"; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12301 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12304 $as_echo "no" >&6; }
12309 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12312 if test -n "$RANLIB_FOR_TARGET"; then
12313 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12314 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12315 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12318 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12319 for ncn_progname in ranlib; do
12320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12321 set dummy ${ncn_progname}; ac_word=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12323 $as_echo_n "checking for $ac_word... " >&6; }
12324 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12325 $as_echo_n "(cached) " >&6
12327 if test -n "$RANLIB_FOR_TARGET"; then
12328 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12347 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12348 if test -n "$RANLIB_FOR_TARGET"; then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12350 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353 $as_echo "no" >&6; }
12360 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12361 for ncn_progname in ranlib; do
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12363 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12364 if test -x $with_build_time_tools/${ncn_progname}; then
12365 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12367 $as_echo "yes" >&6; }
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371 $as_echo "no" >&6; }
12376 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12377 for ncn_progname in ranlib; do
12378 if test -n "$ncn_target_tool_prefix"; then
12379 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12380 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12382 $as_echo_n "checking for $ac_word... " >&6; }
12383 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12384 $as_echo_n "(cached) " >&6
12386 if test -n "$RANLIB_FOR_TARGET"; then
12387 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12390 for as_dir in $PATH
12393 test -z "$as_dir" && as_dir=.
12394 for ac_exec_ext in '' $ac_executable_extensions; do
12395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12396 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12407 if test -n "$RANLIB_FOR_TARGET"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12409 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12417 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12419 set dummy ${ncn_progname}; ac_word=$2
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12421 $as_echo_n "checking for $ac_word... " >&6; }
12422 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12423 $as_echo_n "(cached) " >&6
12425 if test -n "$RANLIB_FOR_TARGET"; then
12426 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12429 for as_dir in $PATH
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12435 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12445 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12446 if test -n "$RANLIB_FOR_TARGET"; then
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12448 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12451 $as_echo "no" >&6; }
12456 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12460 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12462 if test $build = $target ; then
12463 RANLIB_FOR_TARGET="$2"
12465 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12468 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12472 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12478 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12479 if test -n "$with_build_time_tools"; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
12481 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
12482 if test -x $with_build_time_tools/strip; then
12483 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12484 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
12486 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12491 elif test $build != $host && test $have_gcc_for_target = yes; then
12492 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12493 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12494 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12497 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12498 # Extract the first word of "strip", so it can be a program name with args.
12499 set dummy strip; ac_word=$2
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12501 $as_echo_n "checking for $ac_word... " >&6; }
12502 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12503 $as_echo_n "(cached) " >&6
12505 case $STRIP_FOR_TARGET in
12507 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12511 for as_dir in $gcc_cv_tool_dirs
12514 test -z "$as_dir" && as_dir=.
12515 for ac_exec_ext in '' $ac_executable_extensions; do
12516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12517 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12528 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12529 if test -n "$STRIP_FOR_TARGET"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12531 $as_echo "$STRIP_FOR_TARGET" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 $as_echo "no" >&6; }
12539 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12542 if test -n "$STRIP_FOR_TARGET"; then
12543 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12544 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12545 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12548 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12549 for ncn_progname in strip; do
12550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12551 set dummy ${ncn_progname}; ac_word=$2
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12553 $as_echo_n "checking for $ac_word... " >&6; }
12554 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12555 $as_echo_n "(cached) " >&6
12557 if test -n "$STRIP_FOR_TARGET"; then
12558 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12561 for as_dir in $PATH
12564 test -z "$as_dir" && as_dir=.
12565 for ac_exec_ext in '' $ac_executable_extensions; do
12566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12567 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12577 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12578 if test -n "$STRIP_FOR_TARGET"; then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12580 $as_echo "$STRIP_FOR_TARGET" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12590 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12591 for ncn_progname in strip; do
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12593 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12594 if test -x $with_build_time_tools/${ncn_progname}; then
12595 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12597 $as_echo "yes" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12601 $as_echo "no" >&6; }
12606 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12607 for ncn_progname in strip; do
12608 if test -n "$ncn_target_tool_prefix"; then
12609 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12610 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12612 $as_echo_n "checking for $ac_word... " >&6; }
12613 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12614 $as_echo_n "(cached) " >&6
12616 if test -n "$STRIP_FOR_TARGET"; then
12617 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12620 for as_dir in $PATH
12623 test -z "$as_dir" && as_dir=.
12624 for ac_exec_ext in '' $ac_executable_extensions; do
12625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12626 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12636 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12637 if test -n "$STRIP_FOR_TARGET"; then
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12639 $as_echo "$STRIP_FOR_TARGET" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12642 $as_echo "no" >&6; }
12647 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12648 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12649 set dummy ${ncn_progname}; ac_word=$2
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12651 $as_echo_n "checking for $ac_word... " >&6; }
12652 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12653 $as_echo_n "(cached) " >&6
12655 if test -n "$STRIP_FOR_TARGET"; then
12656 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12659 for as_dir in $PATH
12662 test -z "$as_dir" && as_dir=.
12663 for ac_exec_ext in '' $ac_executable_extensions; do
12664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12665 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12675 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12676 if test -n "$STRIP_FOR_TARGET"; then
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12678 $as_echo "$STRIP_FOR_TARGET" >&6; }
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12681 $as_echo "no" >&6; }
12686 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12690 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12692 if test $build = $target ; then
12693 STRIP_FOR_TARGET="$2"
12695 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12698 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12702 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12708 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12709 if test -n "$with_build_time_tools"; then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
12711 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
12712 if test -x $with_build_time_tools/windres; then
12713 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12714 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12716 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12721 elif test $build != $host && test $have_gcc_for_target = yes; then
12722 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12723 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12724 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12727 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12728 # Extract the first word of "windres", so it can be a program name with args.
12729 set dummy windres; ac_word=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12733 $as_echo_n "(cached) " >&6
12735 case $WINDRES_FOR_TARGET in
12737 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12741 for as_dir in $gcc_cv_tool_dirs
12744 test -z "$as_dir" && as_dir=.
12745 for ac_exec_ext in '' $ac_executable_extensions; do
12746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12747 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12758 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12759 if test -n "$WINDRES_FOR_TARGET"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12761 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12769 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12772 if test -n "$WINDRES_FOR_TARGET"; then
12773 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12774 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12775 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12778 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12779 for ncn_progname in windres; do
12780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12781 set dummy ${ncn_progname}; ac_word=$2
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12783 $as_echo_n "checking for $ac_word... " >&6; }
12784 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12785 $as_echo_n "(cached) " >&6
12787 if test -n "$WINDRES_FOR_TARGET"; then
12788 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12791 for as_dir in $PATH
12794 test -z "$as_dir" && as_dir=.
12795 for ac_exec_ext in '' $ac_executable_extensions; do
12796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12797 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12807 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12808 if test -n "$WINDRES_FOR_TARGET"; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12810 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12813 $as_echo "no" >&6; }
12820 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12821 for ncn_progname in windres; do
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12823 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12824 if test -x $with_build_time_tools/${ncn_progname}; then
12825 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12827 $as_echo "yes" >&6; }
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12831 $as_echo "no" >&6; }
12836 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12837 for ncn_progname in windres; do
12838 if test -n "$ncn_target_tool_prefix"; then
12839 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12840 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12842 $as_echo_n "checking for $ac_word... " >&6; }
12843 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12844 $as_echo_n "(cached) " >&6
12846 if test -n "$WINDRES_FOR_TARGET"; then
12847 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12850 for as_dir in $PATH
12853 test -z "$as_dir" && as_dir=.
12854 for ac_exec_ext in '' $ac_executable_extensions; do
12855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12856 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12866 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12867 if test -n "$WINDRES_FOR_TARGET"; then
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12869 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12872 $as_echo "no" >&6; }
12877 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12879 set dummy ${ncn_progname}; ac_word=$2
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12881 $as_echo_n "checking for $ac_word... " >&6; }
12882 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12883 $as_echo_n "(cached) " >&6
12885 if test -n "$WINDRES_FOR_TARGET"; then
12886 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889 for as_dir in $PATH
12892 test -z "$as_dir" && as_dir=.
12893 for ac_exec_ext in '' $ac_executable_extensions; do
12894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12895 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12905 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12906 if test -n "$WINDRES_FOR_TARGET"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12908 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12916 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12920 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12922 if test $build = $target ; then
12923 WINDRES_FOR_TARGET="$2"
12925 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12928 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12932 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12938 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12939 if test -n "$with_build_time_tools"; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12941 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12942 if test -x $with_build_time_tools/windmc; then
12943 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12944 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12946 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12949 $as_echo "no" >&6; }
12951 elif test $build != $host && test $have_gcc_for_target = yes; then
12952 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12953 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12954 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12957 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12958 # Extract the first word of "windmc", so it can be a program name with args.
12959 set dummy windmc; ac_word=$2
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12961 $as_echo_n "checking for $ac_word... " >&6; }
12962 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12963 $as_echo_n "(cached) " >&6
12965 case $WINDMC_FOR_TARGET in
12967 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12971 for as_dir in $gcc_cv_tool_dirs
12974 test -z "$as_dir" && as_dir=.
12975 for ac_exec_ext in '' $ac_executable_extensions; do
12976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12977 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12988 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12989 if test -n "$WINDMC_FOR_TARGET"; then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12991 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12994 $as_echo "no" >&6; }
12999 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13002 if test -n "$WINDMC_FOR_TARGET"; then
13003 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13004 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13005 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13008 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13009 for ncn_progname in windmc; do
13010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13011 set dummy ${ncn_progname}; ac_word=$2
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13013 $as_echo_n "checking for $ac_word... " >&6; }
13014 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13015 $as_echo_n "(cached) " >&6
13017 if test -n "$WINDMC_FOR_TARGET"; then
13018 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $PATH
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13027 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13037 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13038 if test -n "$WINDMC_FOR_TARGET"; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13040 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13043 $as_echo "no" >&6; }
13050 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13051 for ncn_progname in windmc; do
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13053 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13054 if test -x $with_build_time_tools/${ncn_progname}; then
13055 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13057 $as_echo "yes" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13061 $as_echo "no" >&6; }
13066 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13067 for ncn_progname in windmc; do
13068 if test -n "$ncn_target_tool_prefix"; then
13069 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13070 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13072 $as_echo_n "checking for $ac_word... " >&6; }
13073 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13074 $as_echo_n "(cached) " >&6
13076 if test -n "$WINDMC_FOR_TARGET"; then
13077 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13080 for as_dir in $PATH
13083 test -z "$as_dir" && as_dir=.
13084 for ac_exec_ext in '' $ac_executable_extensions; do
13085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13086 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13096 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13097 if test -n "$WINDMC_FOR_TARGET"; then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13099 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13102 $as_echo "no" >&6; }
13107 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13109 set dummy ${ncn_progname}; ac_word=$2
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13111 $as_echo_n "checking for $ac_word... " >&6; }
13112 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13113 $as_echo_n "(cached) " >&6
13115 if test -n "$WINDMC_FOR_TARGET"; then
13116 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13119 for as_dir in $PATH
13122 test -z "$as_dir" && as_dir=.
13123 for ac_exec_ext in '' $ac_executable_extensions; do
13124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13125 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13135 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13136 if test -n "$WINDMC_FOR_TARGET"; then
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13138 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13141 $as_echo "no" >&6; }
13146 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13150 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13152 if test $build = $target ; then
13153 WINDMC_FOR_TARGET="$2"
13155 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13158 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13162 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13166 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13169 $as_echo_n "checking where to find the target ar... " >&6; }
13170 if test "x${build}" != "x${host}" ; then
13171 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13172 # We already found the complete path
13173 ac_dir=`dirname $AR_FOR_TARGET`
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13175 $as_echo "pre-installed in $ac_dir" >&6; }
13177 # Canadian cross, just use what we found
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13179 $as_echo "pre-installed" >&6; }
13183 case " ${configdirs} " in
13188 if test $ok = yes; then
13189 # An in-tree tool is available and we can use it
13190 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13192 $as_echo "just compiled" >&6; }
13193 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13194 # We already found the complete path
13195 ac_dir=`dirname $AR_FOR_TARGET`
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13197 $as_echo "pre-installed in $ac_dir" >&6; }
13198 elif test "x$target" = "x$host"; then
13199 # We can use an host tool
13200 AR_FOR_TARGET='$(AR)'
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13202 $as_echo "host tool" >&6; }
13204 # We need a cross tool
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13206 $as_echo "pre-installed" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13211 $as_echo_n "checking where to find the target as... " >&6; }
13212 if test "x${build}" != "x${host}" ; then
13213 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13214 # We already found the complete path
13215 ac_dir=`dirname $AS_FOR_TARGET`
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13217 $as_echo "pre-installed in $ac_dir" >&6; }
13219 # Canadian cross, just use what we found
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13221 $as_echo "pre-installed" >&6; }
13225 case " ${configdirs} " in
13230 if test $ok = yes; then
13231 # An in-tree tool is available and we can use it
13232 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13234 $as_echo "just compiled" >&6; }
13235 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13236 # We already found the complete path
13237 ac_dir=`dirname $AS_FOR_TARGET`
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13239 $as_echo "pre-installed in $ac_dir" >&6; }
13240 elif test "x$target" = "x$host"; then
13241 # We can use an host tool
13242 AS_FOR_TARGET='$(AS)'
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13244 $as_echo "host tool" >&6; }
13246 # We need a cross tool
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13248 $as_echo "pre-installed" >&6; }
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
13253 $as_echo_n "checking where to find the target cc... " >&6; }
13254 if test "x${build}" != "x${host}" ; then
13255 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13256 # We already found the complete path
13257 ac_dir=`dirname $CC_FOR_TARGET`
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13259 $as_echo "pre-installed in $ac_dir" >&6; }
13261 # Canadian cross, just use what we found
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13263 $as_echo "pre-installed" >&6; }
13267 case " ${configdirs} " in
13272 if test $ok = yes; then
13273 # An in-tree tool is available and we can use it
13274 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13276 $as_echo "just compiled" >&6; }
13277 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13278 # We already found the complete path
13279 ac_dir=`dirname $CC_FOR_TARGET`
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13281 $as_echo "pre-installed in $ac_dir" >&6; }
13282 elif test "x$target" = "x$host"; then
13283 # We can use an host tool
13284 CC_FOR_TARGET='$(CC)'
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13286 $as_echo "host tool" >&6; }
13288 # We need a cross tool
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13290 $as_echo "pre-installed" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
13295 $as_echo_n "checking where to find the target c++... " >&6; }
13296 if test "x${build}" != "x${host}" ; then
13297 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13298 # We already found the complete path
13299 ac_dir=`dirname $CXX_FOR_TARGET`
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13301 $as_echo "pre-installed in $ac_dir" >&6; }
13303 # Canadian cross, just use what we found
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13305 $as_echo "pre-installed" >&6; }
13309 case " ${configdirs} " in
13313 case ,${enable_languages}, in
13317 if test $ok = yes; then
13318 # An in-tree tool is available and we can use it
13319 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'
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13321 $as_echo "just compiled" >&6; }
13322 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13323 # We already found the complete path
13324 ac_dir=`dirname $CXX_FOR_TARGET`
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13326 $as_echo "pre-installed in $ac_dir" >&6; }
13327 elif test "x$target" = "x$host"; then
13328 # We can use an host tool
13329 CXX_FOR_TARGET='$(CXX)'
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13331 $as_echo "host tool" >&6; }
13333 # We need a cross tool
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13335 $as_echo "pre-installed" >&6; }
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
13340 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
13341 if test "x${build}" != "x${host}" ; then
13342 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13343 # We already found the complete path
13344 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13346 $as_echo "pre-installed in $ac_dir" >&6; }
13348 # Canadian cross, just use what we found
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13350 $as_echo "pre-installed" >&6; }
13354 case " ${configdirs} " in
13358 case ,${enable_languages}, in
13362 if test $ok = yes; then
13363 # An in-tree tool is available and we can use it
13364 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'
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13366 $as_echo "just compiled" >&6; }
13367 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13368 # We already found the complete path
13369 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13371 $as_echo "pre-installed in $ac_dir" >&6; }
13372 elif test "x$target" = "x$host"; then
13373 # We can use an host tool
13374 RAW_CXX_FOR_TARGET='$(CXX)'
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13376 $as_echo "host tool" >&6; }
13378 # We need a cross tool
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13380 $as_echo "pre-installed" >&6; }
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
13385 $as_echo_n "checking where to find the target dlltool... " >&6; }
13386 if test "x${build}" != "x${host}" ; then
13387 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13388 # We already found the complete path
13389 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13391 $as_echo "pre-installed in $ac_dir" >&6; }
13393 # Canadian cross, just use what we found
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13395 $as_echo "pre-installed" >&6; }
13399 case " ${configdirs} " in
13404 if test $ok = yes; then
13405 # An in-tree tool is available and we can use it
13406 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13408 $as_echo "just compiled" >&6; }
13409 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13410 # We already found the complete path
13411 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13413 $as_echo "pre-installed in $ac_dir" >&6; }
13414 elif test "x$target" = "x$host"; then
13415 # We can use an host tool
13416 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13418 $as_echo "host tool" >&6; }
13420 # We need a cross tool
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13422 $as_echo "pre-installed" >&6; }
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
13427 $as_echo_n "checking where to find the target gcc... " >&6; }
13428 if test "x${build}" != "x${host}" ; then
13429 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13430 # We already found the complete path
13431 ac_dir=`dirname $GCC_FOR_TARGET`
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13433 $as_echo "pre-installed in $ac_dir" >&6; }
13435 # Canadian cross, just use what we found
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13437 $as_echo "pre-installed" >&6; }
13441 case " ${configdirs} " in
13446 if test $ok = yes; then
13447 # An in-tree tool is available and we can use it
13448 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13450 $as_echo "just compiled" >&6; }
13451 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13452 # We already found the complete path
13453 ac_dir=`dirname $GCC_FOR_TARGET`
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13455 $as_echo "pre-installed in $ac_dir" >&6; }
13456 elif test "x$target" = "x$host"; then
13457 # We can use an host tool
13458 GCC_FOR_TARGET='$()'
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13460 $as_echo "host tool" >&6; }
13462 # We need a cross tool
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13464 $as_echo "pre-installed" >&6; }
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
13469 $as_echo_n "checking where to find the target gcj... " >&6; }
13470 if test "x${build}" != "x${host}" ; then
13471 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13472 # We already found the complete path
13473 ac_dir=`dirname $GCJ_FOR_TARGET`
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13475 $as_echo "pre-installed in $ac_dir" >&6; }
13477 # Canadian cross, just use what we found
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13479 $as_echo "pre-installed" >&6; }
13483 case " ${configdirs} " in
13487 case ,${enable_languages}, in
13491 if test $ok = yes; then
13492 # An in-tree tool is available and we can use it
13493 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13495 $as_echo "just compiled" >&6; }
13496 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13497 # We already found the complete path
13498 ac_dir=`dirname $GCJ_FOR_TARGET`
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13500 $as_echo "pre-installed in $ac_dir" >&6; }
13501 elif test "x$target" = "x$host"; then
13502 # We can use an host tool
13503 GCJ_FOR_TARGET='$(GCJ)'
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13505 $as_echo "host tool" >&6; }
13507 # We need a cross tool
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13509 $as_echo "pre-installed" >&6; }
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
13514 $as_echo_n "checking where to find the target gfortran... " >&6; }
13515 if test "x${build}" != "x${host}" ; then
13516 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13517 # We already found the complete path
13518 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13520 $as_echo "pre-installed in $ac_dir" >&6; }
13522 # Canadian cross, just use what we found
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13524 $as_echo "pre-installed" >&6; }
13528 case " ${configdirs} " in
13532 case ,${enable_languages}, in
13536 if test $ok = yes; then
13537 # An in-tree tool is available and we can use it
13538 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13540 $as_echo "just compiled" >&6; }
13541 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13542 # We already found the complete path
13543 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13545 $as_echo "pre-installed in $ac_dir" >&6; }
13546 elif test "x$target" = "x$host"; then
13547 # We can use an host tool
13548 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13550 $as_echo "host tool" >&6; }
13552 # We need a cross tool
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13554 $as_echo "pre-installed" >&6; }
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
13559 $as_echo_n "checking where to find the target gccgo... " >&6; }
13560 if test "x${build}" != "x${host}" ; then
13561 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13562 # We already found the complete path
13563 ac_dir=`dirname $GOC_FOR_TARGET`
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13565 $as_echo "pre-installed in $ac_dir" >&6; }
13567 # Canadian cross, just use what we found
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13569 $as_echo "pre-installed" >&6; }
13573 case " ${configdirs} " in
13577 case ,${enable_languages}, in
13581 if test $ok = yes; then
13582 # An in-tree tool is available and we can use it
13583 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13585 $as_echo "just compiled" >&6; }
13586 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13587 # We already found the complete path
13588 ac_dir=`dirname $GOC_FOR_TARGET`
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13590 $as_echo "pre-installed in $ac_dir" >&6; }
13591 elif test "x$target" = "x$host"; then
13592 # We can use an host tool
13593 GOC_FOR_TARGET='$(GOC)'
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13595 $as_echo "host tool" >&6; }
13597 # We need a cross tool
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13599 $as_echo "pre-installed" >&6; }
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
13604 $as_echo_n "checking where to find the target ld... " >&6; }
13605 if test "x${build}" != "x${host}" ; then
13606 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13607 # We already found the complete path
13608 ac_dir=`dirname $LD_FOR_TARGET`
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13610 $as_echo "pre-installed in $ac_dir" >&6; }
13612 # Canadian cross, just use what we found
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13614 $as_echo "pre-installed" >&6; }
13618 case " ${configdirs} " in
13623 if test $ok = yes; then
13624 # An in-tree tool is available and we can use it
13625 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13627 $as_echo "just compiled" >&6; }
13628 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13629 # We already found the complete path
13630 ac_dir=`dirname $LD_FOR_TARGET`
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13632 $as_echo "pre-installed in $ac_dir" >&6; }
13633 elif test "x$target" = "x$host"; then
13634 # We can use an host tool
13635 LD_FOR_TARGET='$(LD)'
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13637 $as_echo "host tool" >&6; }
13639 # We need a cross tool
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13641 $as_echo "pre-installed" >&6; }
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
13646 $as_echo_n "checking where to find the target lipo... " >&6; }
13647 if test "x${build}" != "x${host}" ; then
13648 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13649 # We already found the complete path
13650 ac_dir=`dirname $LIPO_FOR_TARGET`
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13652 $as_echo "pre-installed in $ac_dir" >&6; }
13654 # Canadian cross, just use what we found
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13656 $as_echo "pre-installed" >&6; }
13659 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13660 # We already found the complete path
13661 ac_dir=`dirname $LIPO_FOR_TARGET`
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13663 $as_echo "pre-installed in $ac_dir" >&6; }
13664 elif test "x$target" = "x$host"; then
13665 # We can use an host tool
13666 LIPO_FOR_TARGET='$(LIPO)'
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13668 $as_echo "host tool" >&6; }
13670 # We need a cross tool
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13672 $as_echo "pre-installed" >&6; }
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
13677 $as_echo_n "checking where to find the target nm... " >&6; }
13678 if test "x${build}" != "x${host}" ; then
13679 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13680 # We already found the complete path
13681 ac_dir=`dirname $NM_FOR_TARGET`
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13683 $as_echo "pre-installed in $ac_dir" >&6; }
13685 # Canadian cross, just use what we found
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13687 $as_echo "pre-installed" >&6; }
13691 case " ${configdirs} " in
13696 if test $ok = yes; then
13697 # An in-tree tool is available and we can use it
13698 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13700 $as_echo "just compiled" >&6; }
13701 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13702 # We already found the complete path
13703 ac_dir=`dirname $NM_FOR_TARGET`
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13705 $as_echo "pre-installed in $ac_dir" >&6; }
13706 elif test "x$target" = "x$host"; then
13707 # We can use an host tool
13708 NM_FOR_TARGET='$(NM)'
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13710 $as_echo "host tool" >&6; }
13712 # We need a cross tool
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13714 $as_echo "pre-installed" >&6; }
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
13719 $as_echo_n "checking where to find the target objdump... " >&6; }
13720 if test "x${build}" != "x${host}" ; then
13721 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13722 # We already found the complete path
13723 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13725 $as_echo "pre-installed in $ac_dir" >&6; }
13727 # Canadian cross, just use what we found
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13729 $as_echo "pre-installed" >&6; }
13733 case " ${configdirs} " in
13738 if test $ok = yes; then
13739 # An in-tree tool is available and we can use it
13740 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13742 $as_echo "just compiled" >&6; }
13743 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13744 # We already found the complete path
13745 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13747 $as_echo "pre-installed in $ac_dir" >&6; }
13748 elif test "x$target" = "x$host"; then
13749 # We can use an host tool
13750 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13752 $as_echo "host tool" >&6; }
13754 # We need a cross tool
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13756 $as_echo "pre-installed" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
13761 $as_echo_n "checking where to find the target ranlib... " >&6; }
13762 if test "x${build}" != "x${host}" ; then
13763 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13764 # We already found the complete path
13765 ac_dir=`dirname $RANLIB_FOR_TARGET`
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13767 $as_echo "pre-installed in $ac_dir" >&6; }
13769 # Canadian cross, just use what we found
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13771 $as_echo "pre-installed" >&6; }
13775 case " ${configdirs} " in
13780 if test $ok = yes; then
13781 # An in-tree tool is available and we can use it
13782 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13784 $as_echo "just compiled" >&6; }
13785 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13786 # We already found the complete path
13787 ac_dir=`dirname $RANLIB_FOR_TARGET`
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13789 $as_echo "pre-installed in $ac_dir" >&6; }
13790 elif test "x$target" = "x$host"; then
13791 # We can use an host tool
13792 RANLIB_FOR_TARGET='$(RANLIB)'
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13794 $as_echo "host tool" >&6; }
13796 # We need a cross tool
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13798 $as_echo "pre-installed" >&6; }
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
13803 $as_echo_n "checking where to find the target strip... " >&6; }
13804 if test "x${build}" != "x${host}" ; then
13805 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13806 # We already found the complete path
13807 ac_dir=`dirname $STRIP_FOR_TARGET`
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13809 $as_echo "pre-installed in $ac_dir" >&6; }
13811 # Canadian cross, just use what we found
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13813 $as_echo "pre-installed" >&6; }
13817 case " ${configdirs} " in
13822 if test $ok = yes; then
13823 # An in-tree tool is available and we can use it
13824 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13826 $as_echo "just compiled" >&6; }
13827 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13828 # We already found the complete path
13829 ac_dir=`dirname $STRIP_FOR_TARGET`
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13831 $as_echo "pre-installed in $ac_dir" >&6; }
13832 elif test "x$target" = "x$host"; then
13833 # We can use an host tool
13834 STRIP_FOR_TARGET='$(STRIP)'
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13836 $as_echo "host tool" >&6; }
13838 # We need a cross tool
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13840 $as_echo "pre-installed" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
13845 $as_echo_n "checking where to find the target windres... " >&6; }
13846 if test "x${build}" != "x${host}" ; then
13847 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13848 # We already found the complete path
13849 ac_dir=`dirname $WINDRES_FOR_TARGET`
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13851 $as_echo "pre-installed in $ac_dir" >&6; }
13853 # Canadian cross, just use what we found
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13855 $as_echo "pre-installed" >&6; }
13859 case " ${configdirs} " in
13864 if test $ok = yes; then
13865 # An in-tree tool is available and we can use it
13866 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13868 $as_echo "just compiled" >&6; }
13869 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13870 # We already found the complete path
13871 ac_dir=`dirname $WINDRES_FOR_TARGET`
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13873 $as_echo "pre-installed in $ac_dir" >&6; }
13874 elif test "x$target" = "x$host"; then
13875 # We can use an host tool
13876 WINDRES_FOR_TARGET='$(WINDRES)'
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13878 $as_echo "host tool" >&6; }
13880 # We need a cross tool
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13882 $as_echo "pre-installed" >&6; }
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13887 $as_echo_n "checking where to find the target windmc... " >&6; }
13888 if test "x${build}" != "x${host}" ; then
13889 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13890 # We already found the complete path
13891 ac_dir=`dirname $WINDMC_FOR_TARGET`
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13893 $as_echo "pre-installed in $ac_dir" >&6; }
13895 # Canadian cross, just use what we found
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13897 $as_echo "pre-installed" >&6; }
13901 case " ${configdirs} " in
13906 if test $ok = yes; then
13907 # An in-tree tool is available and we can use it
13908 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13910 $as_echo "just compiled" >&6; }
13911 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13912 # We already found the complete path
13913 ac_dir=`dirname $WINDMC_FOR_TARGET`
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13915 $as_echo "pre-installed in $ac_dir" >&6; }
13916 elif test "x$target" = "x$host"; then
13917 # We can use an host tool
13918 WINDMC_FOR_TARGET='$(WINDMC)'
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13920 $as_echo "host tool" >&6; }
13922 # We need a cross tool
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13924 $as_echo "pre-installed" >&6; }
13932 # Certain tools may need extra flags.
13933 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13934 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13935 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13937 # When building target libraries, except in a Canadian cross, we use
13938 # the same toolchain as the compiler we just built.
13939 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13940 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13941 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13942 if test $host = $build; then
13943 case " $configdirs " in
13945 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13946 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13947 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13957 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13958 # Check whether --enable-maintainer-mode was given.
13959 if test "${enable_maintainer_mode+set}" = set; then :
13960 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13962 USE_MAINTAINER_MODE=no
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13966 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13969 if test "$USE_MAINTAINER_MODE" = yes; then
13970 MAINTAINER_MODE_TRUE=
13971 MAINTAINER_MODE_FALSE='#'
13973 MAINTAINER_MODE_TRUE='#'
13974 MAINTAINER_MODE_FALSE=
13976 MAINT=$MAINTAINER_MODE_TRUE
13978 # ---------------------
13979 # GCC bootstrap support
13980 # ---------------------
13982 # Stage specific cflags for build.
13987 yes) stage1_cflags="-g -Wa,-J" ;;
13988 *) stage1_cflags="-g -J" ;;
13992 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13993 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13994 saved_CFLAGS="$CFLAGS"
13996 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13997 CFLAGS="$CFLAGS -fkeep-inline-functions"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
13999 $as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 #if (__GNUC__ < 3) \
14004 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14005 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14006 #error http://gcc.gnu.org/PR29382
14017 if ac_fn_c_try_compile "$LINENO"; then :
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14019 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14022 $as_echo "no" >&6; }
14024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14026 CFLAGS="$saved_CFLAGS"
14031 # Enable --enable-checking in stage1 of the compiler.
14032 # Check whether --enable-stage1-checking was given.
14033 if test "${enable_stage1_checking+set}" = set; then :
14034 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14036 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
14037 stage1_checking=--enable-checking=yes,types
14039 stage1_checking=--enable-checking=$enable_checking,types
14045 # Enable -Werror in bootstrap stage2 and later.
14046 # Check whether --enable-werror was given.
14047 if test "${enable_werror+set}" = set; then :
14048 enableval=$enable_werror;
14050 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14057 case ${enable_werror} in
14058 yes) stage2_werror_flag="--enable-werror-always" ;;
14059 *) stage2_werror_flag="" ;;
14063 # Specify what files to not compare during bootstrap.
14065 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
14067 hppa*64*-*-hpux*) ;;
14068 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
14070 case " $configdirs " in
14071 *" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
14075 ac_config_files="$ac_config_files Makefile"
14077 cat >confcache <<\_ACEOF
14078 # This file is a shell script that caches the results of configure
14079 # tests run on this system so they can be shared between configure
14080 # scripts and configure runs, see configure's option --config-cache.
14081 # It is not useful on other systems. If it contains results you don't
14082 # want to keep, you may remove or edit it.
14084 # config.status only pays attention to the cache file if you give it
14085 # the --recheck option to rerun configure.
14087 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14088 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14089 # following values.
14093 # The following way of writing the cache mishandles newlines in values,
14094 # but we know of no workaround that is simple, portable, and efficient.
14095 # So, we kill variables containing newlines.
14096 # Ultrix sh set writes to stderr and can't be redirected directly,
14097 # and sets the high bit in the cache file unless we assign to the vars.
14099 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14100 eval ac_val=\$$ac_var
14104 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14108 _ | IFS | as_nl) ;; #(
14109 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14110 *) { eval $ac_var=; unset $ac_var;} ;;
14116 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14117 *${as_nl}ac_space=\ *)
14118 # `set' does not quote correctly, so add quotes: double-quote
14119 # substitution turns \\\\ into \\, and sed turns \\ into \.
14122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14125 # `set' quotes correctly as required by POSIX, so do not add quotes.
14126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14139 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14140 if test -w "$cache_file"; then
14141 test "x$cache_file" != "x/dev/null" &&
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14143 $as_echo "$as_me: updating cache $cache_file" >&6;}
14144 cat confcache >$cache_file
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14147 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14152 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14153 # Let make expand exec_prefix.
14154 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14156 # Transform confdefs.h into DEFS.
14157 # Protect against shell expansion while executing Makefile rules.
14158 # Protect against Makefile macro expansion.
14160 # If the first sed substitution is executed (which looks for macros that
14161 # take arguments), then branch to the quote section. Otherwise,
14162 # look for a macro that doesn't take arguments.
14172 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14174 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14178 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14191 DEFS=`sed -n "$ac_script" confdefs.h`
14196 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14197 # 1. Remove the extension, and $U if already installed.
14198 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14199 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14200 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14201 # will be set to the directory where LIBOBJS objects are built.
14202 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14203 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14205 LIBOBJS=$ac_libobjs
14207 LTLIBOBJS=$ac_ltlibobjs
14211 : ${CONFIG_STATUS=./config.status}
14213 ac_clean_files_save=$ac_clean_files
14214 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14216 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14218 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14220 # Generated by $as_me.
14221 # Run this file to recreate the current configuration.
14222 # Compiler output produced by configure, useful for debugging
14223 # configure, is in config.log if it exists.
14226 ac_cs_recheck=false
14229 SHELL=\${CONFIG_SHELL-$SHELL}
14232 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14233 ## -------------------- ##
14234 ## M4sh Initialization. ##
14235 ## -------------------- ##
14237 # Be more Bourne compatible
14238 DUALCASE=1; export DUALCASE # for MKS sh
14239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14242 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14243 # is contrary to our usage. Disable this feature.
14244 alias -g '${1+"$@"}'='"$@"'
14245 setopt NO_GLOB_SUBST
14247 case `(set -o) 2>/dev/null` in #(
14259 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14260 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14261 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14262 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14263 # Prefer a ksh shell builtin over an external printf program on Solaris,
14264 # but without wasting forks for bash or zsh.
14265 if test -z "$BASH_VERSION$ZSH_VERSION" \
14266 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14267 as_echo='print -r --'
14268 as_echo_n='print -rn --'
14269 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14270 as_echo='printf %s\n'
14271 as_echo_n='printf %s'
14273 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14274 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14275 as_echo_n='/usr/ucb/echo -n'
14277 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14278 as_echo_n_body='eval
14282 expr "X$arg" : "X\\(.*\\)$as_nl";
14283 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14285 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14287 export as_echo_n_body
14288 as_echo_n='sh -c $as_echo_n_body as_echo'
14290 export as_echo_body
14291 as_echo='sh -c $as_echo_body as_echo'
14294 # The user is always right.
14295 if test "${PATH_SEPARATOR+set}" != set; then
14297 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14298 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14305 # We need space, tab and new line, in precisely that order. Quoting is
14306 # there to prevent editors from complaining about space-tab.
14307 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14308 # splitting by setting IFS to empty value.)
14311 # Find who we are. Look in the path if we contain no directory separator.
14313 *[\\/]* ) as_myself=$0 ;;
14314 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14315 for as_dir in $PATH
14318 test -z "$as_dir" && as_dir=.
14319 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14325 # We did not find ourselves, most probably we were run as `sh COMMAND'
14326 # in which case we are not to be found in the path.
14327 if test "x$as_myself" = x; then
14330 if test ! -f "$as_myself"; then
14331 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14335 # Unset variables that we do not need and which cause bugs (e.g. in
14336 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14337 # suppresses any "Segmentation fault" message there. '((' could
14338 # trigger a bug in pdksh 5.2.14.
14339 for as_var in BASH_ENV ENV MAIL MAILPATH
14340 do eval test x\${$as_var+set} = xset \
14341 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14354 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14357 # as_fn_error ERROR [LINENO LOG_FD]
14358 # ---------------------------------
14359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14361 # script with status $?, using 1 if that was 0.
14364 as_status=$?; test $as_status -eq 0 && as_status=1
14366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14369 $as_echo "$as_me: error: $1" >&2
14370 as_fn_exit $as_status
14374 # as_fn_set_status STATUS
14375 # -----------------------
14376 # Set $? to STATUS, without forking.
14377 as_fn_set_status ()
14380 } # as_fn_set_status
14382 # as_fn_exit STATUS
14383 # -----------------
14384 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14388 as_fn_set_status $1
14394 # Portably unset VAR.
14397 { eval $1=; unset $1;}
14399 as_unset=as_fn_unset
14400 # as_fn_append VAR VALUE
14401 # ----------------------
14402 # Append the text in VALUE to the end of the definition contained in VAR. Take
14403 # advantage of any shell optimizations that allow amortized linear growth over
14404 # repeated appends, instead of the typical quadratic growth present in naive
14406 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14407 eval 'as_fn_append ()
14418 # as_fn_arith ARG...
14419 # ------------------
14420 # Perform arithmetic evaluation on the ARGs, and store the result in the
14421 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14422 # must be portable across $(()) and expr.
14423 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14424 eval 'as_fn_arith ()
14431 as_val=`expr "$@" || test $? -eq 1`
14436 if expr a : '\(a\)' >/dev/null 2>&1 &&
14437 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14443 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14444 as_basename=basename
14449 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14455 as_me=`$as_basename -- "$0" ||
14456 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14457 X"$0" : 'X\(//\)$' \| \
14458 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14460 sed '/^.*\/\([^/][^/]*\)\/*$/{
14474 # Avoid depending upon Character Ranges.
14475 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14476 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14477 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14478 as_cr_digits='0123456789'
14479 as_cr_alnum=$as_cr_Letters$as_cr_digits
14481 ECHO_C= ECHO_N= ECHO_T=
14482 case `echo -n x` in #(((((
14484 case `echo 'xy\c'` in
14485 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14487 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14494 rm -f conf$$ conf$$.exe conf$$.file
14495 if test -d conf$$.dir; then
14496 rm -f conf$$.dir/conf$$.file
14499 mkdir conf$$.dir 2>/dev/null
14501 if (echo >conf$$.file) 2>/dev/null; then
14502 if ln -s conf$$.file conf$$ 2>/dev/null; then
14504 # ... but there are two gotchas:
14505 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14506 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14507 # In both cases, we have to default to `cp -p'.
14508 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14510 elif ln conf$$.file conf$$ 2>/dev/null; then
14518 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14519 rmdir conf$$.dir 2>/dev/null
14524 # Create "$as_dir" as a directory, including parents if necessary.
14529 -*) as_dir=./$as_dir;;
14531 test -d "$as_dir" || eval $as_mkdir_p || {
14535 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14536 *) as_qdir=$as_dir;;
14538 as_dirs="'$as_qdir' $as_dirs"
14539 as_dir=`$as_dirname -- "$as_dir" ||
14540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14541 X"$as_dir" : 'X\(//\)[^/]' \| \
14542 X"$as_dir" : 'X\(//\)$' \| \
14543 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14544 $as_echo X"$as_dir" |
14545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14549 /^X\(\/\/\)[^/].*/{
14562 test -d "$as_dir" && break
14564 test -z "$as_dirs" || eval "mkdir $as_dirs"
14565 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14569 if mkdir -p . 2>/dev/null; then
14570 as_mkdir_p='mkdir -p "$as_dir"'
14572 test -d ./-p && rmdir ./-p
14576 if test -x / >/dev/null 2>&1; then
14577 as_test_x='test -x'
14579 if ls -dL / >/dev/null 2>&1; then
14586 if test -d "$1"; then
14592 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14593 ???[sx]*):;;*)false;;esac;fi
14597 as_executable_p=$as_test_x
14599 # Sed expression to map a string onto a valid CPP name.
14600 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14602 # Sed expression to map a string onto a valid variable name.
14603 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14607 ## ----------------------------------- ##
14608 ## Main body of $CONFIG_STATUS script. ##
14609 ## ----------------------------------- ##
14611 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14614 # Save the log message, to keep $0 and so on meaningful, and to
14615 # report actual input values of CONFIG_FILES etc. instead of their
14616 # values after options handling.
14618 This file was extended by $as_me, which was
14619 generated by GNU Autoconf 2.64. Invocation command line was
14621 CONFIG_FILES = $CONFIG_FILES
14622 CONFIG_HEADERS = $CONFIG_HEADERS
14623 CONFIG_LINKS = $CONFIG_LINKS
14624 CONFIG_COMMANDS = $CONFIG_COMMANDS
14627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14632 case $ac_config_files in *"
14633 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14639 # Files that config.status was made for.
14640 config_files="$ac_config_files"
14644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14646 \`$as_me' instantiates files and other configuration actions
14647 from templates according to the current configuration. Unless the files
14648 and actions are specified as TAGs, all are instantiated by default.
14650 Usage: $0 [OPTION]... [TAG]...
14652 -h, --help print this help, then exit
14653 -V, --version print version number and configuration settings, then exit
14654 -q, --quiet, --silent
14655 do not print progress messages
14656 -d, --debug don't remove temporary files
14657 --recheck update $as_me by reconfiguring in the same conditions
14658 --file=FILE[:TEMPLATE]
14659 instantiate the configuration file FILE
14661 Configuration files:
14664 Report bugs to the package provider."
14667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14670 configured by $0, generated by GNU Autoconf 2.64,
14671 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14673 Copyright (C) 2009 Free Software Foundation, Inc.
14674 This config.status script is free software; the Free Software Foundation
14675 gives unlimited permission to copy, distribute and modify it."
14681 test -n "\$AWK" || AWK=awk
14684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14685 # The default lists apply if the user does not specify any file.
14691 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14692 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14703 # Handling of the options.
14704 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14706 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14707 $as_echo "$ac_cs_version"; exit ;;
14708 --debug | --debu | --deb | --de | --d | -d )
14710 --file | --fil | --fi | --f )
14713 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14715 as_fn_append CONFIG_FILES " '$ac_optarg'"
14716 ac_need_defaults=false;;
14717 --he | --h | --help | --hel | -h )
14718 $as_echo "$ac_cs_usage"; exit ;;
14719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14720 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14723 # This is an error.
14724 -*) as_fn_error "unrecognized option: \`$1'
14725 Try \`$0 --help' for more information." ;;
14727 *) as_fn_append ac_config_targets " $1"
14728 ac_need_defaults=false ;;
14734 ac_configure_extra_args=
14736 if $ac_cs_silent; then
14738 ac_configure_extra_args="$ac_configure_extra_args --silent"
14742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14743 if \$ac_cs_recheck; then
14744 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14746 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14747 CONFIG_SHELL='$SHELL'
14748 export CONFIG_SHELL
14753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14757 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14758 ## Running $as_me. ##
14764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14768 extrasub_build="$extrasub_build"
14769 extrasub_host="$extrasub_host"
14770 extrasub_target="$extrasub_target"
14774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14776 # Handling of arguments.
14777 for ac_config_target in $ac_config_targets
14779 case $ac_config_target in
14780 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14782 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14787 # If the user did not use the arguments to specify the items to instantiate,
14788 # then the envvar interface is used. Set only those that are not.
14789 # We use the long form for the default assignment because of an extremely
14790 # bizarre bug on SunOS 4.1.3.
14791 if $ac_need_defaults; then
14792 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14795 # Have a temporary directory for convenience. Make it in the build tree
14796 # simply because there is no reason against having it here, and in addition,
14797 # creating and moving files from /tmp can sometimes cause problems.
14798 # Hook for its removal unless debugging.
14799 # Note that there is a small window in which the directory will not be cleaned:
14800 # after its creation but before its name has been assigned to `$tmp'.
14804 trap 'exit_status=$?
14805 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14807 trap 'as_fn_exit 1' 1 2 13 15
14809 # Create a (secure) tmp directory for tmp files.
14812 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14813 test -n "$tmp" && test -d "$tmp"
14816 tmp=./conf$$-$RANDOM
14817 (umask 077 && mkdir "$tmp")
14818 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14820 # Set up the scripts for CONFIG_FILES section.
14821 # No need to generate them if there are no CONFIG_FILES.
14822 # This happens for instance with `./config.status config.h'.
14823 if test -n "$CONFIG_FILES"; then
14825 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14826 ac_cs_awk_getline=:
14827 ac_cs_awk_pipe_init=
14828 ac_cs_awk_read_file='
14829 while ((getline aline < (F[key])) > 0)
14832 ac_cs_awk_pipe_fini=
14834 ac_cs_awk_getline=false
14835 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14836 ac_cs_awk_read_file='
14838 print "cat " F[key] " &&"
14839 '$ac_cs_awk_pipe_init
14840 # The final `:' finishes the AND list.
14841 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14843 ac_cr=`echo X | tr X '\015'`
14844 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14845 # But we know of no other shell where ac_cr would be empty at this
14846 # point, so we can use a bashism as a fallback.
14847 if test "x$ac_cr" = x; then
14848 eval ac_cr=\$\'\\r\'
14850 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14851 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14854 ac_cs_awk_cr=$ac_cr
14857 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14860 # Create commands to substitute file output variables.
14862 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14863 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14864 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14867 } >conf$$files.sh &&
14868 . ./conf$$files.sh ||
14869 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14870 rm -f conf$$files.sh
14873 echo "cat >conf$$subs.awk <<_ACEOF" &&
14874 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14876 } >conf$$subs.sh ||
14877 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14878 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14880 for ac_last_try in false false false false false :; do
14881 . ./conf$$subs.sh ||
14882 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14884 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14885 if test $ac_delim_n = $ac_delim_num; then
14887 elif $ac_last_try; then
14888 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14890 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14893 rm -f conf$$subs.sh
14895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14896 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14900 s/^/S["/; s/!.*/"]=/
14910 s/\(.\{148\}\).*/\1/
14912 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14917 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14924 s/\(.\{148\}\).*/\1/
14926 s/["\\]/\\&/g; s/^/"/; s/$/"/
14930 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14935 ' <conf$$subs.awk | sed '
14940 ' >>$CONFIG_STATUS || ac_write_fail=1
14941 rm -f conf$$subs.awk
14942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14944 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14945 for (key in S) S_is_set[key] = 1
14947 \$ac_cs_awk_pipe_init
14951 nfields = split(line, field, "@")
14953 len = length(field[1])
14954 for (i = 2; i < nfields; i++) {
14956 keylen = length(key)
14957 if (S_is_set[key]) {
14959 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14960 len += length(value) + length(field[++i])
14965 if (nfields == 3 && !substed) {
14967 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14968 \$ac_cs_awk_read_file
14974 \$ac_cs_awk_pipe_fini
14977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14979 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14982 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14983 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14986 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14987 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14988 # trailing colons and then remove the whole line if VPATH becomes empty
14989 # (actually we leave an empty line to preserve line numbers).
14990 if test "x$srcdir" = x.; then
14991 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14992 s/:*\$(srcdir):*/:/
14993 s/:*\${srcdir}:*/:/
14995 s/^\([^=]*=[ ]*\):*/\1/
15001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15002 fi # test -n "$CONFIG_FILES"
15005 eval set X " :F $CONFIG_FILES "
15010 :[FHLC]) ac_mode=$ac_tag; continue;;
15012 case $ac_mode$ac_tag in
15014 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15015 :[FH]-) ac_tag=-:-;;
15016 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15033 -) ac_f="$tmp/stdin";;
15034 *) # Look for the file first in the build tree, then in the source tree
15035 # (if the path is not absolute). The absolute path cannot be DOS-style,
15036 # because $ac_f cannot contain `:'.
15040 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15042 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15044 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15045 as_fn_append ac_file_inputs " '$ac_f'"
15048 # Let's still pretend it is `configure' which instantiates (i.e., don't
15049 # use $as_me), people would be surprised to read:
15050 # /* config.h. Generated by config.status. */
15051 configure_input='Generated from '`
15052 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15054 if test x"$ac_file" != x-; then
15055 configure_input="$ac_file. $configure_input"
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15057 $as_echo "$as_me: creating $ac_file" >&6;}
15059 # Neutralize special characters interpreted by sed in replacement strings.
15060 case $configure_input in #(
15061 *\&* | *\|* | *\\* )
15062 ac_sed_conf_input=`$as_echo "$configure_input" |
15063 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15064 *) ac_sed_conf_input=$configure_input;;
15068 *:-:* | *:-) cat >"$tmp/stdin" \
15069 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15074 ac_dir=`$as_dirname -- "$ac_file" ||
15075 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15076 X"$ac_file" : 'X\(//\)[^/]' \| \
15077 X"$ac_file" : 'X\(//\)$' \| \
15078 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15079 $as_echo X"$ac_file" |
15080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15084 /^X\(\/\/\)[^/].*/{
15097 as_dir="$ac_dir"; as_fn_mkdir_p
15101 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15103 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15104 # A ".." for each directory in $ac_dir_suffix.
15105 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15106 case $ac_top_builddir_sub in
15107 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15108 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15111 ac_abs_top_builddir=$ac_pwd
15112 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15113 # for backward compatibility:
15114 ac_top_builddir=$ac_top_build_prefix
15117 .) # We are building in place.
15119 ac_top_srcdir=$ac_top_builddir_sub
15120 ac_abs_top_srcdir=$ac_pwd ;;
15121 [\\/]* | ?:[\\/]* ) # Absolute name.
15122 ac_srcdir=$srcdir$ac_dir_suffix;
15123 ac_top_srcdir=$srcdir
15124 ac_abs_top_srcdir=$srcdir ;;
15125 *) # Relative name.
15126 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15127 ac_top_srcdir=$ac_top_build_prefix$srcdir
15128 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15130 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15140 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15141 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15146 # If the template does not know about datarootdir, expand it.
15147 # FIXME: This hack should be removed a few years after 2.60.
15148 ac_datarootdir_hack=; ac_datarootdir_seen=
15159 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15160 *datarootdir*) ac_datarootdir_seen=yes;;
15161 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15163 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15166 ac_datarootdir_hack='
15167 s&@datadir@&$datadir&g
15168 s&@docdir@&$docdir&g
15169 s&@infodir@&$infodir&g
15170 s&@localedir@&$localedir&g
15171 s&@mandir@&$mandir&g
15172 s&\\\${datarootdir}&$datarootdir&g' ;;
15176 # Neutralize VPATH when `$srcdir' = `.'.
15177 # Shell code in configure.ac might set extrasub.
15178 # FIXME: do we really want to maintain this feature?
15179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15180 ac_sed_extra="$ac_vpsub
15183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15185 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15186 s|@configure_input@|$ac_sed_conf_input|;t t
15187 s&@top_builddir@&$ac_top_builddir_sub&;t t
15188 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15189 s&@srcdir@&$ac_srcdir&;t t
15190 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15191 s&@top_srcdir@&$ac_top_srcdir&;t t
15192 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15193 s&@builddir@&$ac_builddir&;t t
15194 s&@abs_builddir@&$ac_abs_builddir&;t t
15195 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15196 s&@INSTALL@&$ac_INSTALL&;t t
15197 $ac_datarootdir_hack
15199 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15200 if $ac_cs_awk_getline; then
15201 $AWK -f "$tmp/subs.awk"
15203 $AWK -f "$tmp/subs.awk" | $SHELL
15205 || as_fn_error "could not create $ac_file" "$LINENO" 5
15207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15208 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15211 which seems to be undefined. Please make sure it is defined." >&5
15212 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15213 which seems to be undefined. Please make sure it is defined." >&2;}
15217 -) cat "$tmp/out" && rm -f "$tmp/out";;
15218 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15220 || as_fn_error "could not create $ac_file" "$LINENO" 5
15228 case $ac_file$ac_mode in
15229 "Makefile":F) sed "$extrasub_build" Makefile |
15230 sed "$extrasub_host" |
15231 sed "$extrasub_target" > mf$$
15232 mv -f mf$$ Makefile ;;
15240 ac_clean_files=$ac_clean_files_save
15242 test $ac_write_fail = 0 ||
15243 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15246 # configure is writing to config.log, and then calls config.status.
15247 # config.status does its own redirection, appending to config.log.
15248 # Unfortunately, on DOS this fails, as config.log is still kept open
15249 # by configure, so config.status won't be able to write to it; its
15250 # output is simply discarded. So we exec the FD to /dev/null,
15251 # effectively closing config.log, so it can be properly (re)opened and
15252 # appended to by config.status. When coming back to configure, we
15253 # need to make the FD available again.
15254 if test "$no_create" != yes; then
15256 ac_config_status_args=
15257 test "$silent" = yes &&
15258 ac_config_status_args="$ac_config_status_args --quiet"
15260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15263 # would make configure fail if this is the last instruction.
15264 $ac_cs_success || as_fn_exit $?
15266 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15268 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}