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."
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
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_zlib_configure_flags
647 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 EXTRA_CONFIGARGS_LIBJAVA
677 extra_liboffloadmic_configure_flags
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files='serialization_dependencies
749 enable_option_checking
752 enable_as_accelerator_for
753 enable_offload_targets
757 enable_libquadmath_support
762 enable_static_libjava
783 enable_isl_version_check
785 enable_linker_plugin_configure_flags
786 enable_linker_plugin_flags
787 enable_stage1_languages
790 with_debug_prefix_map
793 enable_serial_configure
794 with_build_time_tools
795 enable_maintainer_mode
796 enable_stage1_checking
800 ac_precious_vars='build_alias
848 # Initialize some variables set by options.
850 ac_init_version=false
851 ac_unrecognized_opts=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
862 program_transform_name=s,x,x,
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE}'
887 infodir='${datarootdir}/info'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\$ac_option
908 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 # Accept the important Cygnus configure options, so we can diagnose typos.
914 case $ac_dashdash$ac_option in
918 -bindir | --bindir | --bindi | --bind | --bin | --bi)
920 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
923 -build | --build | --buil | --bui | --bu)
924 ac_prev=build_alias ;;
925 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
926 build_alias=$ac_optarg ;;
928 -cache-file | --cache-file | --cache-fil | --cache-fi \
929 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
930 ac_prev=cache_file ;;
931 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
932 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
933 cache_file=$ac_optarg ;;
936 cache_file=config.cache ;;
938 -datadir | --datadir | --datadi | --datad)
940 -datadir=* | --datadir=* | --datadi=* | --datad=*)
941 datadir=$ac_optarg ;;
943 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
944 | --dataroo | --dataro | --datar)
945 ac_prev=datarootdir ;;
946 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
947 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
948 datarootdir=$ac_optarg ;;
950 -disable-* | --disable-*)
951 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 as_fn_error "invalid feature name: $ac_useropt"
955 ac_useropt_orig=$ac_useropt
956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
962 ac_unrecognized_sep=', ';;
964 eval enable_$ac_useropt=no ;;
966 -docdir | --docdir | --docdi | --doc | --do)
968 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
971 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
976 -enable-* | --enable-*)
977 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980 as_fn_error "invalid feature name: $ac_useropt"
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
990 eval enable_$ac_useropt=\$ac_optarg ;;
992 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
993 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
994 | --exec | --exe | --ex)
995 ac_prev=exec_prefix ;;
996 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
997 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
998 | --exec=* | --exe=* | --ex=*)
999 exec_prefix=$ac_optarg ;;
1001 -gas | --gas | --ga | --g)
1002 # Obsolete; use --with-gas.
1005 -help | --help | --hel | --he | -h)
1006 ac_init_help=long ;;
1007 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1008 ac_init_help=recursive ;;
1009 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1010 ac_init_help=short ;;
1012 -host | --host | --hos | --ho)
1013 ac_prev=host_alias ;;
1014 -host=* | --host=* | --hos=* | --ho=*)
1015 host_alias=$ac_optarg ;;
1017 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021 htmldir=$ac_optarg ;;
1023 -includedir | --includedir | --includedi | --included | --include \
1024 | --includ | --inclu | --incl | --inc)
1025 ac_prev=includedir ;;
1026 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1027 | --includ=* | --inclu=* | --incl=* | --inc=*)
1028 includedir=$ac_optarg ;;
1030 -infodir | --infodir | --infodi | --infod | --info | --inf)
1032 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1033 infodir=$ac_optarg ;;
1035 -libdir | --libdir | --libdi | --libd)
1037 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1038 libdir=$ac_optarg ;;
1040 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1041 | --libexe | --libex | --libe)
1042 ac_prev=libexecdir ;;
1043 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1044 | --libexe=* | --libex=* | --libe=*)
1045 libexecdir=$ac_optarg ;;
1047 -localedir | --localedir | --localedi | --localed | --locale)
1048 ac_prev=localedir ;;
1049 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1050 localedir=$ac_optarg ;;
1052 -localstatedir | --localstatedir | --localstatedi | --localstated \
1053 | --localstate | --localstat | --localsta | --localst | --locals)
1054 ac_prev=localstatedir ;;
1055 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1056 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1057 localstatedir=$ac_optarg ;;
1059 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1062 mandir=$ac_optarg ;;
1064 -nfp | --nfp | --nf)
1065 # Obsolete; use --without-fp.
1068 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1069 | --no-cr | --no-c | -n)
1072 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1073 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1076 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1077 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1078 | --oldin | --oldi | --old | --ol | --o)
1079 ac_prev=oldincludedir ;;
1080 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1081 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1082 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1083 oldincludedir=$ac_optarg ;;
1085 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1088 prefix=$ac_optarg ;;
1090 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1091 | --program-pre | --program-pr | --program-p)
1092 ac_prev=program_prefix ;;
1093 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1094 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1095 program_prefix=$ac_optarg ;;
1097 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1098 | --program-suf | --program-su | --program-s)
1099 ac_prev=program_suffix ;;
1100 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1101 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1102 program_suffix=$ac_optarg ;;
1104 -program-transform-name | --program-transform-name \
1105 | --program-transform-nam | --program-transform-na \
1106 | --program-transform-n | --program-transform- \
1107 | --program-transform | --program-transfor \
1108 | --program-transfo | --program-transf \
1109 | --program-trans | --program-tran \
1110 | --progr-tra | --program-tr | --program-t)
1111 ac_prev=program_transform_name ;;
1112 -program-transform-name=* | --program-transform-name=* \
1113 | --program-transform-nam=* | --program-transform-na=* \
1114 | --program-transform-n=* | --program-transform-=* \
1115 | --program-transform=* | --program-transfor=* \
1116 | --program-transfo=* | --program-transf=* \
1117 | --program-trans=* | --program-tran=* \
1118 | --progr-tra=* | --program-tr=* | --program-t=*)
1119 program_transform_name=$ac_optarg ;;
1121 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1124 pdfdir=$ac_optarg ;;
1126 -psdir | --psdir | --psdi | --psd | --ps)
1128 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1132 | -silent | --silent | --silen | --sile | --sil)
1135 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139 sbindir=$ac_optarg ;;
1141 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1142 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1143 | --sharedst | --shareds | --shared | --share | --shar \
1145 ac_prev=sharedstatedir ;;
1146 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1147 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1148 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150 sharedstatedir=$ac_optarg ;;
1152 -site | --site | --sit)
1154 -site=* | --site=* | --sit=*)
1157 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1160 srcdir=$ac_optarg ;;
1162 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1163 | --syscon | --sysco | --sysc | --sys | --sy)
1164 ac_prev=sysconfdir ;;
1165 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1166 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1167 sysconfdir=$ac_optarg ;;
1169 -target | --target | --targe | --targ | --tar | --ta | --t)
1170 ac_prev=target_alias ;;
1171 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1172 target_alias=$ac_optarg ;;
1174 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1177 -version | --version | --versio | --versi | --vers | -V)
1178 ac_init_version=: ;;
1181 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1194 eval with_$ac_useropt=\$ac_optarg ;;
1196 -without-* | --without-*)
1197 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200 as_fn_error "invalid package name: $ac_useropt"
1201 ac_useropt_orig=$ac_useropt
1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1208 ac_unrecognized_sep=', ';;
1210 eval with_$ac_useropt=no ;;
1213 # Obsolete; use --with-x.
1216 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1217 | --x-incl | --x-inc | --x-in | --x-i)
1218 ac_prev=x_includes ;;
1219 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1220 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1221 x_includes=$ac_optarg ;;
1223 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1224 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1225 ac_prev=x_libraries ;;
1226 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1227 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1228 x_libraries=$ac_optarg ;;
1230 -*) as_fn_error "unrecognized option: \`$ac_option'
1231 Try \`$0 --help' for more information."
1235 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1236 # Reject names that are not valid shell variable names.
1237 case $ac_envvar in #(
1238 '' | [0-9]* | *[!_$as_cr_alnum]* )
1239 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1241 eval $ac_envvar=\$ac_optarg
1242 export $ac_envvar ;;
1245 # FIXME: should be removed in autoconf 3.0.
1246 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1247 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1248 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1249 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1255 if test -n "$ac_prev"; then
1256 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1257 as_fn_error "missing argument to $ac_option"
1260 if test -n "$ac_unrecognized_opts"; then
1261 case $enable_option_checking in
1263 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1264 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1268 # Check all directory arguments for consistency.
1269 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1270 datadir sysconfdir sharedstatedir localstatedir includedir \
1271 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1272 libdir localedir mandir
1274 eval ac_val=\$$ac_var
1275 # Remove trailing slashes.
1278 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1279 eval $ac_var=\$ac_val;;
1281 # Be sure to have absolute directory names.
1283 [\\/$]* | ?:[\\/]* ) continue;;
1284 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1294 target=$target_alias
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x; then
1298 if test "x$build_alias" = x; then
1299 cross_compiling=maybe
1300 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1301 If a cross compiler is detected then cross compile mode will be used." >&2
1302 elif test "x$build_alias" != "x$host_alias"; then
1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1310 test "$silent" = yes && exec 6>/dev/null
1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di=`ls -di .` &&
1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316 as_fn_error "working directory cannot be determined"
1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318 as_fn_error "pwd does not report name of working directory"
1321 # Find the source files, if location was not specified.
1322 if test -z "$srcdir"; then
1323 ac_srcdir_defaulted=yes
1324 # Try the directory containing this script, then the parent directory.
1325 ac_confdir=`$as_dirname -- "$as_myself" ||
1326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327 X"$as_myself" : 'X\(//\)[^/]' \| \
1328 X"$as_myself" : 'X\(//\)$' \| \
1329 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330 $as_echo X"$as_myself" |
1331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1353 ac_srcdir_defaulted=no
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1356 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1357 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1359 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1361 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1363 # When building in place, set srcdir=.
1364 if test "$ac_abs_confdir" = "$ac_pwd"; then
1367 # Remove unnecessary trailing slashes from srcdir.
1368 # Double slashes in file names in object file debugging info
1369 # mess up M-x gdb in Emacs.
1371 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 as_fn_error "path to source, $srcdir, contains spaces"
1378 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1380 for ac_var in $ac_precious_vars; do
1381 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1382 eval ac_env_${ac_var}_value=\$${ac_var}
1383 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1384 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures this package to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1457 --build=BUILD configure for building on BUILD [guessed]
1458 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 --target=TARGET configure for building compilers for TARGET [HOST]
1463 if test -n "$ac_init_help"; then
1468 --disable-option-checking ignore unrecognized --enable/--with options
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --enable-as-accelerator-for=ARG
1472 build as offload target compiler. Specify offload
1474 --enable-offload-targets=LIST
1475 enable offloading to devices from comma-separated
1476 LIST of TARGET[=DIR]. Use optional path to find
1477 offload target compiler during the build
1478 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1479 --enable-ld[=ARG] build ld [ARG={default,yes,no}]
1480 --disable-libquadmath do not build libquadmath directory
1481 --disable-libquadmath-support
1482 disable libquadmath support for Fortran
1483 --enable-libada build libada directory
1484 --enable-libssp build libssp directory
1485 --disable-libstdcxx do not build libstdc++-v3 directory
1486 --enable-liboffloadmic=ARG
1487 build liboffloadmic [ARG={no,host,target}]
1488 --enable-static-libjava[=ARG]
1489 build static libjava [default=no]
1490 --enable-bootstrap enable bootstrapping [yes if native build]
1491 --disable-isl-version-check
1492 disable check for ISL version
1493 --enable-lto enable link time optimization support
1494 --enable-linker-plugin-configure-flags=FLAGS
1495 additional flags for configuring linker plugins
1497 --enable-linker-plugin-flags=FLAGS
1498 additional flags for configuring and building linker
1500 --enable-stage1-languages[=all]
1501 choose additional languages to build during stage1.
1502 Mostly useful for compiler development
1503 --enable-objc-gc enable use of Boehm's garbage collector with the GNU
1505 --enable-vtable-verify Enable vtable verification feature
1506 --enable-serial-[{host,target,build}-]configure
1507 force sequential configuration of sub-packages for
1508 the host, target or build machine, or all
1510 --enable-maintainer-mode
1511 enable make rules and dependencies not useful (and
1512 sometimes confusing) to the casual installer
1513 --enable-stage1-checking[=all]
1514 choose additional checking for stage1 of the
1516 --enable-werror enable -Werror in bootstrap stage2 and later
1517 --enable-host-shared build host code as shared libraries
1520 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1522 --with-build-libsubdir=DIR Directory where to find libraries for build system
1523 --with-system-zlib use installed libz
1524 --with-mpc=PATH specify prefix directory for installed MPC package.
1525 Equivalent to --with-mpc-include=PATH/include plus
1526 --with-mpc-lib=PATH/lib
1527 --with-mpc-include=PATH specify directory for installed MPC include files
1528 --with-mpc-lib=PATH specify directory for the installed MPC library
1529 --with-mpfr-dir=PATH this option has been REMOVED
1530 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1531 Equivalent to --with-mpfr-include=PATH/include plus
1532 --with-mpfr-lib=PATH/lib
1533 --with-mpfr-include=PATH
1534 specify directory for installed MPFR include files
1535 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1536 --with-gmp-dir=PATH this option has been REMOVED
1537 --with-gmp=PATH specify prefix directory for the installed GMP
1538 package. Equivalent to
1539 --with-gmp-include=PATH/include plus
1540 --with-gmp-lib=PATH/lib
1541 --with-gmp-include=PATH specify directory for installed GMP include files
1542 --with-gmp-lib=PATH specify directory for the installed GMP library
1543 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1545 --with-stage1-libs=LIBS libraries for stage1
1546 --with-stage1-ldflags=FLAGS
1547 linker flags for stage1
1548 --with-boot-libs=LIBS libraries for stage2 and later
1549 --with-boot-ldflags=FLAGS
1550 linker flags for stage2 and later
1551 --with-isl=PATH Specify prefix directory for the installed ISL
1552 package. Equivalent to
1553 --with-isl-include=PATH/include plus
1554 --with-isl-lib=PATH/lib
1555 --with-isl-include=PATH Specify directory for installed ISL include files
1556 --with-isl-lib=PATH Specify the directory for the installed ISL library
1557 --with-build-sysroot=SYSROOT
1558 use sysroot as the system root during the build
1559 --with-debug-prefix-map='A=B C=D ...'
1560 map A to B, C to D ... in debug information
1561 --with-build-config='NAME NAME2...'
1562 use config/NAME.mk build configuration
1563 --with-build-time-tools=PATH
1564 use given path to find target tools during the build
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1574 CXX C++ compiler command
1575 CXXFLAGS C++ compiler flags
1577 additional configure arguments for build directories
1579 additional configure arguments for host directories
1581 additional configure arguments for target directories
1584 DLLTOOL DLLTOOL for the host
1586 LIPO LIPO for the host
1588 RANLIB RANLIB for the host
1589 STRIP STRIP for the host
1590 WINDRES WINDRES for the host
1591 WINDMC WINDMC for the host
1592 OBJCOPY OBJCOPY for the host
1593 OBJDUMP OBJDUMP for the host
1594 READELF READELF for the host
1604 GFORTRAN for the target
1612 DLLTOOL for the target
1620 OBJCOPY for the target
1622 OBJDUMP for the target
1624 RANLIB for the target
1626 READELF for the target
1628 STRIP for the target
1630 WINDRES for the target
1632 WINDMC for the target
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1667 .) # We are building in place.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1701 generated by GNU Autoconf 2.64
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750 } # ac_fn_c_try_compile
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 } # ac_fn_cxx_try_compile
1790 # ac_fn_cxx_try_link LINENO
1791 # -------------------------
1792 # Try to link conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_cxx_try_link ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 rm -f conftest.$ac_objext conftest$ac_exeext
1797 if { { ac_try="$ac_link"
1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_link") 2>conftest.err
1806 if test -s conftest.err; then
1807 grep -v '^ *+' conftest.err >conftest.er1
1808 cat conftest.er1 >&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } && {
1813 test -z "$ac_cxx_werror_flag" ||
1814 test ! -s conftest.err
1815 } && test -s conftest$ac_exeext && {
1816 test "$cross_compiling" = yes ||
1817 $as_test_x conftest$ac_exeext
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1826 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1827 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1828 # interfere with the next link command; also delete a directory that is
1829 # left behind by Apple's compiler. We do this before executing the actions.
1830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 } # ac_fn_cxx_try_link
1836 # ac_fn_c_try_link LINENO
1837 # -----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext conftest$ac_exeext
1843 if { { ac_try="$ac_link"
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>conftest.err
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_c_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest$ac_exeext && {
1862 test "$cross_compiling" = yes ||
1863 $as_test_x conftest$ac_exeext
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874 # interfere with the next link command; also delete a directory that is
1875 # left behind by Apple's compiler. We do this before executing the actions.
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 } # ac_fn_c_try_link
1881 cat >config.log <<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by $as_me, which was
1886 generated by GNU Autoconf 2.64. Invocation command line was
1898 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1899 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1900 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1901 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1902 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1904 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1905 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1907 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1908 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1909 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1910 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1911 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1912 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1913 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next=false
1952 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1954 | -silent | --silent | --silen | --sile | --sil)
1957 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1 " '$ac_arg'"
1963 if test $ac_must_keep_next = true; then
1964 ac_must_keep_next=false # Got value, back to normal.
1967 *=* | --config-cache | -C | -disable-* | --disable-* \
1968 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1969 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1970 | -with-* | --with-* | -without-* | --without-* | --x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next=true ;;
1978 as_fn_append ac_configure_args " '$ac_arg'"
1983 { ac_configure_args0=; unset ac_configure_args0;}
1984 { ac_configure_args1=; unset ac_configure_args1;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1997 ## ---------------- ##
1998 ## Cache variables. ##
1999 ## ---------------- ##
2002 # The following way of writing the cache mishandles newlines in values,
2004 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2005 eval ac_val=\$$ac_var
2009 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2010 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2013 _ | IFS | as_nl) ;; #(
2014 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2015 *) { eval $ac_var=; unset $ac_var;} ;;
2020 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2021 *${as_nl}ac_space=\ *)
2023 "s/'\''/'\''\\\\'\'''\''/g;
2024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2035 ## ----------------- ##
2036 ## Output variables. ##
2037 ## ----------------- ##
2040 for ac_var in $ac_subst_vars
2042 eval ac_val=\$$ac_var
2044 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -n "$ac_subst_files"; then
2052 ## ------------------- ##
2053 ## File substitutions. ##
2054 ## ------------------- ##
2057 for ac_var in $ac_subst_files
2059 eval ac_val=\$$ac_var
2061 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063 $as_echo "$ac_var='\''$ac_val'\''"
2068 if test -s confdefs.h; then
2078 test "$ac_signal" != 0 &&
2079 $as_echo "$as_me: caught signal $ac_signal"
2080 $as_echo "$as_me: exit $exit_status"
2082 rm -f core *.core core.conftest.* &&
2083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086 for ac_signal in 1 2 13 15; do
2087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2092 rm -f -r conftest* confdefs.h
2094 $as_echo "/* confdefs.h */" > confdefs.h
2096 # Predefined preprocessor variables.
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_NAME "$PACKAGE_NAME"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_STRING "$PACKAGE_STRING"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_URL "$PACKAGE_URL"
2123 # Let the site file select an alternate cache file if it wants to.
2124 # Prefer an explicitly selected file to automatically selected ones.
2127 if test -n "$CONFIG_SITE"; then
2128 ac_site_file1=$CONFIG_SITE
2129 elif test "x$prefix" != xNONE; then
2130 ac_site_file1=$prefix/share/config.site
2131 ac_site_file2=$prefix/etc/config.site
2133 ac_site_file1=$ac_default_prefix/share/config.site
2134 ac_site_file2=$ac_default_prefix/etc/config.site
2136 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2138 test "x$ac_site_file" = xNONE && continue
2139 if test -r "$ac_site_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2141 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2142 sed 's/^/| /' "$ac_site_file" >&5
2147 if test -r "$cache_file"; then
2148 # Some versions of bash will fail to source /dev/null (special
2149 # files actually), so we avoid doing that.
2150 if test -f "$cache_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2152 $as_echo "$as_me: loading cache $cache_file" >&6;}
2154 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2155 *) . "./$cache_file";;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2160 $as_echo "$as_me: creating cache $cache_file" >&6;}
2164 # Check that the precious variables saved in the cache have kept the same
2166 ac_cache_corrupted=false
2167 for ac_var in $ac_precious_vars; do
2168 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2169 eval ac_new_set=\$ac_env_${ac_var}_set
2170 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2171 eval ac_new_val=\$ac_env_${ac_var}_value
2172 case $ac_old_set,$ac_new_set in
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2179 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2180 ac_cache_corrupted=: ;;
2183 if test "x$ac_old_val" != "x$ac_new_val"; then
2184 # differences in whitespace do not lead to failure.
2185 ac_old_val_w=`echo x $ac_old_val`
2186 ac_new_val_w=`echo x $ac_new_val`
2187 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2189 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2190 ac_cache_corrupted=:
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2193 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2194 eval $ac_var=\$ac_old_val
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2197 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2199 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2202 # Pass precious variables to config.status.
2203 if test "$ac_new_set" = set; then
2205 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 *) ac_arg=$ac_var=$ac_new_val ;;
2208 case " $ac_configure_args " in
2209 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2210 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2214 if $ac_cache_corrupted; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2218 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2219 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2221 ## -------------------- ##
2222 ## Main body of script. ##
2223 ## -------------------- ##
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2240 # if PWD already has a value, it is probably wrong.
2241 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2243 # Export original configure arguments for use by sub-configures.
2244 # Quote arguments with shell meta charatcers.
2245 TOPLEVEL_CONFIGURE_ARGUMENTS=
2246 set -- "$progname" "$@"
2250 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2251 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2252 # if the argument is of the form -foo=baz, quote the baz part only
2253 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2256 # Add the quoted argument to the list.
2257 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2259 if test "$silent" = yes; then
2260 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2262 # Remove the initial space we just introduced and, as these will be
2263 # expanded by make, quote '$'.
2264 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2267 # Find the build, host, and target systems.
2269 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2270 for ac_t in install-sh install.sh shtool; do
2271 if test -f "$ac_dir/$ac_t"; then
2273 ac_install_sh="$ac_aux_dir/$ac_t -c"
2278 if test -z "$ac_aux_dir"; then
2279 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2291 # Make sure we can run config.sub.
2292 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2293 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2296 $as_echo_n "checking build system type... " >&6; }
2297 if test "${ac_cv_build+set}" = set; then :
2298 $as_echo_n "(cached) " >&6
2300 ac_build_alias=$build_alias
2301 test "x$ac_build_alias" = x &&
2302 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2303 test "x$ac_build_alias" = x &&
2304 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2305 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2306 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2310 $as_echo "$ac_cv_build" >&6; }
2311 case $ac_cv_build in
2313 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2316 ac_save_IFS=$IFS; IFS='-'
2322 # Remember, the first character of IFS is used to create $*,
2323 # except with old shells:
2326 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2329 case ${build_alias} in
2330 "") build_noncanonical=${build} ;;
2331 *) build_noncanonical=${build_alias} ;;
2336 case ${host_alias} in
2337 "") host_noncanonical=${build_noncanonical} ;;
2338 *) host_noncanonical=${host_alias} ;;
2343 case ${target_alias} in
2344 "") target_noncanonical=${host_noncanonical} ;;
2345 *) target_noncanonical=${target_alias} ;;
2351 test "$host_noncanonical" = "$target_noncanonical" &&
2352 test "$program_prefix$program_suffix$program_transform_name" = \
2354 program_transform_name=s,y,y,
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2357 $as_echo_n "checking host system type... " >&6; }
2358 if test "${ac_cv_host+set}" = set; then :
2359 $as_echo_n "(cached) " >&6
2361 if test "x$host_alias" = x; then
2362 ac_cv_host=$ac_cv_build
2364 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2365 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2370 $as_echo "$ac_cv_host" >&6; }
2373 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2376 ac_save_IFS=$IFS; IFS='-'
2382 # Remember, the first character of IFS is used to create $*,
2383 # except with old shells:
2386 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2390 $as_echo_n "checking target system type... " >&6; }
2391 if test "${ac_cv_target+set}" = set; then :
2392 $as_echo_n "(cached) " >&6
2394 if test "x$target_alias" = x; then
2395 ac_cv_target=$ac_cv_host
2397 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2398 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2403 $as_echo "$ac_cv_target" >&6; }
2404 case $ac_cv_target in
2406 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2408 target=$ac_cv_target
2409 ac_save_IFS=$IFS; IFS='-'
2415 # Remember, the first character of IFS is used to create $*,
2416 # except with old shells:
2419 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2422 # The aliases save the names the user supplied, while $host etc.
2423 # will get canonicalized.
2424 test -n "$target_alias" &&
2425 test "$program_prefix$program_suffix$program_transform_name" = \
2427 program_prefix=${target_alias}-
2429 test "$program_prefix" != NONE &&
2430 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2431 # Use a double $ so make ignores it.
2432 test "$program_suffix" != NONE &&
2433 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2434 # Double any \ or $.
2435 # By default was `s,x,x', remove it if useless.
2436 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2437 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2441 # Get 'install' or 'install-sh' and its variants.
2442 # Find a good install program. We prefer a C program (faster),
2443 # so one script is as good as another. But avoid the broken or
2444 # incompatible versions:
2445 # SysV /etc/install, /usr/sbin/install
2446 # SunOS /usr/etc/install
2447 # IRIX /sbin/install
2449 # AmigaOS /C/install, which installs bootblocks on floppy discs
2450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2453 # OS/2's system install, which has a completely different semantic
2454 # ./install, which can be erroneously created by make from ./install.sh.
2455 # Reject install programs that cannot install multiple files.
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2458 if test -z "$INSTALL"; then
2459 if test "${ac_cv_path_install+set}" = set; then :
2460 $as_echo_n "(cached) " >&6
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 # Account for people who put trailing slashes in PATH elements.
2468 case $as_dir/ in #((
2469 ./ | .// | /[cC]/* | \
2470 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2471 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2474 # OSF1 and SCO ODT 3.0 have their own names for install.
2475 # Don't use installbsd from OSF since it installs stuff as root
2477 for ac_prog in ginstall scoinst install; do
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2480 if test $ac_prog = install &&
2481 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2482 # AIX install. It has an incompatible calling convention.
2484 elif test $ac_prog = install &&
2485 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2486 # program-specific install script used by HP pwplus--don't use.
2489 rm -rf conftest.one conftest.two conftest.dir
2490 echo one > conftest.one
2491 echo two > conftest.two
2493 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2494 test -s conftest.one && test -s conftest.two &&
2495 test -s conftest.dir/conftest.one &&
2496 test -s conftest.dir/conftest.two
2498 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2511 rm -rf conftest.one conftest.two conftest.dir
2514 if test "${ac_cv_path_install+set}" = set; then
2515 INSTALL=$ac_cv_path_install
2517 # As a last resort, use the slow shell script. Don't cache a
2518 # value for INSTALL within a source directory, because that will
2519 # break other packages using the cache if that directory is
2520 # removed, or if the value is a relative name.
2521 INSTALL=$ac_install_sh
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2525 $as_echo "$INSTALL" >&6; }
2527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2528 # It thinks the first close brace ends the variable substitution.
2529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2533 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2536 $as_echo_n "checking whether ln works... " >&6; }
2537 if test "${acx_cv_prog_LN+set}" = set; then :
2538 $as_echo_n "(cached) " >&6
2540 rm -f conftestdata_t
2541 echo >conftestdata_f
2542 if ln conftestdata_f conftestdata_t 2>/dev/null
2548 rm -f conftestdata_f conftestdata_t
2551 if test $acx_cv_prog_LN = no; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2554 $as_echo "no, using $LN" >&6; }
2556 LN="$acx_cv_prog_LN"
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2558 $as_echo "yes" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2562 $as_echo_n "checking whether ln -s works... " >&6; }
2564 if test "$LN_S" = "ln -s"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2566 $as_echo "yes" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2569 $as_echo "no, using $LN_S" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2573 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2574 if test "${ac_cv_path_SED+set}" = set; then :
2575 $as_echo_n "(cached) " >&6
2577 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2578 for ac_i in 1 2 3 4 5 6 7; do
2579 ac_script="$ac_script$as_nl$ac_script"
2581 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2582 { ac_script=; unset ac_script;}
2583 if test -z "$SED"; then
2584 ac_path_SED_found=false
2585 # Loop through the user's path and test for each of PROGNAME-LIST
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_prog in sed gsed; do
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2594 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2595 # Check for GNU ac_path_SED and select it if it is found.
2596 # Check for GNU $ac_path_SED
2597 case `"$ac_path_SED" --version 2>&1` in
2599 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2602 $as_echo_n 0123456789 >"conftest.in"
2605 cat "conftest.in" "conftest.in" >"conftest.tmp"
2606 mv "conftest.tmp" "conftest.in"
2607 cp "conftest.in" "conftest.nl"
2608 $as_echo '' >> "conftest.nl"
2609 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2610 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2611 as_fn_arith $ac_count + 1 && ac_count=$as_val
2612 if test $ac_count -gt ${ac_path_SED_max-0}; then
2613 # Best one so far, save it but keep looking for a better one
2614 ac_cv_path_SED="$ac_path_SED"
2615 ac_path_SED_max=$ac_count
2617 # 10*(2^10) chars as input seems more than enough
2618 test $ac_count -gt 10 && break
2620 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2623 $ac_path_SED_found && break 3
2628 if test -z "$ac_cv_path_SED"; then
2629 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2637 $as_echo "$ac_cv_path_SED" >&6; }
2638 SED="$ac_cv_path_SED"
2641 for ac_prog in gawk mawk nawk awk
2643 # Extract the first word of "$ac_prog", so it can be a program name with args.
2644 set dummy $ac_prog; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if test "${ac_cv_prog_AWK+set}" = set; then :
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$AWK"; then
2651 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_AWK="$ac_prog"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 if test -n "$AWK"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2673 $as_echo "$AWK" >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2680 test -n "$AWK" && break
2684 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2686 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2688 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2689 INSTALL="${srcpwd}/install-sh -c"
2692 # Set srcdir to "." if that's what it is.
2693 # This is important for multilib support.
2695 if test "${pwd}" = "${srcpwd}" ; then
2703 ### To add a new directory to the tree, first choose whether it is a target
2704 ### or a host dependent tool. Then put it into the appropriate list
2705 ### (library or tools, host or target), doing a dependency sort.
2707 # Subdirs will be configured in the order listed in build_configdirs,
2708 # configdirs, or target_configdirs; see the serialization section below.
2710 # Dependency sorting is only needed when *configuration* must be done in
2711 # a particular order. In all cases a dependency should be specified in
2712 # the Makefile, whether or not it's implicitly specified here.
2714 # Double entries in build_configdirs, configdirs, or target_configdirs may
2715 # cause circular dependencies and break everything horribly.
2717 # these library is used by various programs built for the build
2720 build_libs="build-libiberty build-libcpp"
2722 # these tools are built for the build environment
2723 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2725 # these libraries are used by various programs built for the host environment
2727 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2729 # these tools are built for the host environment
2730 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2731 # know that we are building the simulator.
2732 # binutils, gas and ld appear in that order because it makes sense to run
2733 # "make check" in that particular order.
2734 # If --enable-gold is used, "gold" may replace "ld".
2735 host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2737 # libgcj represents the runtime libraries only used by gcj.
2738 libgcj="target-libffi \
2742 # these libraries are built for the target environment, and are built after
2743 # the host libraries and the host tools (which may be a cross compiler)
2744 # Note that libiberty is not a target library.
2745 target_libraries="target-libgcc \
2746 target-libbacktrace \
2751 target-liboffloadmic \
2754 target-libstdc++-v3 \
2755 target-libsanitizer \
2759 target-libquadmath \
2760 target-libgfortran \
2767 # these tools are built using the target libraries, and are intended to
2768 # run only in the target environment
2770 # note: any program that *uses* libraries that are in the "target_libraries"
2771 # list belongs in this list.
2773 target_tools="target-rda"
2775 ################################################################################
2777 ## All tools belong in one of the four categories, and are assigned above
2778 ## We assign ${configdirs} this way to remove all embedded newlines. This
2779 ## is important because configure will choke if they ever get through.
2780 ## ${configdirs} is directories we build using the host tools.
2781 ## ${target_configdirs} is directories we build using the target tools.
2782 configdirs=`echo ${host_libs} ${host_tools}`
2783 target_configdirs=`echo ${target_libraries} ${target_tools}`
2784 build_configdirs=`echo ${build_libs} ${build_tools}`
2788 ################################################################################
2790 srcname="gnu development package"
2792 # This gets set non-empty for some net releases of packages.
2795 # Define is_cross_compiler to save on calls to 'test'.
2797 if test x"${host}" = x"${target}" ; then
2798 is_cross_compiler=no
2800 is_cross_compiler=yes
2803 # Find the build and target subdir names.
2805 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2806 # have matching libraries, they should use host libraries: Makefile.tpl
2807 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2808 # However, they still use the build modules, because the corresponding
2809 # host modules (e.g. bison) are only built for the host when bootstrap
2811 # - build_subdir is where we find build modules, and never changes.
2812 # - build_libsubdir is where we find build libraries, and can be overridden.
2814 # Prefix 'build-' so this never conflicts with target_subdir.
2815 build_subdir="build-${build_noncanonical}"
2817 # Check whether --with-build-libsubdir was given.
2818 if test "${with_build_libsubdir+set}" = set; then :
2819 withval=$with_build_libsubdir; build_libsubdir="$withval"
2821 build_libsubdir="$build_subdir"
2824 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2825 if ( test $srcdir = . && test -d gcc ) \
2826 || test -d $srcdir/../host-${host_noncanonical}; then
2827 host_subdir="host-${host_noncanonical}"
2832 target_subdir=${target_noncanonical}
2834 # Be sure to cover against remnants of an in-tree build.
2835 if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2836 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2837 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2840 # Skipdirs are removed silently.
2842 # Noconfigdirs are removed loudly.
2846 # Make sure we don't let GNU ld be added if we didn't want it.
2847 if test x$with_gnu_ld = xno ; then
2849 noconfigdirs="$noconfigdirs ld gold"
2853 # Make sure we don't let GNU as be added if we didn't want it.
2854 if test x$with_gnu_as = xno ; then
2856 noconfigdirs="$noconfigdirs gas"
2861 # Check whether --with-system-zlib was given.
2862 if test "${with_system_zlib+set}" = set; then :
2863 withval=$with_system_zlib;
2866 # Make sure we don't let ZLIB be added if we didn't want it.
2867 if test x$with_system_zlib = xyes ; then
2868 use_included_zlib=no
2869 noconfigdirs="$noconfigdirs zlib"
2872 # some tools are so dependent upon X11 that if we're not building with X,
2873 # it's not even worth trying to configure, much less build, that tool.
2876 yes | "") ;; # the default value for this tree is that X11 is available
2878 skipdirs="${skipdirs} tk itcl libgui"
2879 # We won't be able to build gdbtk without X.
2882 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2885 # Some are only suitable for cross toolchains.
2886 # Remove these if host=target.
2887 cross_only="target-libgloss target-newlib target-opcodes"
2889 case $is_cross_compiler in
2890 no) skipdirs="${skipdirs} ${cross_only}" ;;
2893 # If both --with-headers and --with-libs are specified, default to
2895 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2896 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2897 if test x"${with_newlib}" = x ; then
2902 # Recognize --with-newlib/--without-newlib.
2903 case ${with_newlib} in
2904 no) skipdirs="${skipdirs} target-newlib" ;;
2905 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2908 # Check whether --enable-as-accelerator-for was given.
2909 if test "${enable_as_accelerator_for+set}" = set; then :
2910 enableval=$enable_as_accelerator_for;
2914 # Check whether --enable-offload-targets was given.
2915 if test "${enable_offload_targets+set}" = set; then :
2916 enableval=$enable_offload_targets;
2917 if test x"$enable_offload_targets" = x; then
2918 as_fn_error "no offload targets specified" "$LINENO" 5
2922 enable_offload_targets=
2926 # Handle --enable-gold, --enable-ld.
2927 # --disable-gold [--enable-ld]
2928 # Build only ld. Default option.
2929 # --enable-gold [--enable-ld]
2930 # Build both gold and ld. Install gold as "ld.gold", install ld
2931 # as "ld.bfd" and "ld".
2932 # --enable-gold=default [--enable-ld]
2933 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2934 # install ld as "ld.bfd".
2935 # --enable-gold[=default] --disable-ld
2936 # Build only gold, which is then installed as both "ld.gold" and "ld".
2937 # --enable-gold --enable-ld=default
2938 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2940 # In other words, ld is default
2941 # --enable-gold=default --enable-ld=default
2945 # Check whether --enable-gold was given.
2946 if test "${enable_gold+set}" = set; then :
2947 enableval=$enable_gold; ENABLE_GOLD=$enableval
2952 case "${ENABLE_GOLD}" in
2954 # Check for ELF target.
2957 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2958 | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2959 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
2960 | *-*-solaris2* | *-*-nto* | *-*-nacl*)
2962 *-*-linux*aout* | *-*-linux*oldld*)
2970 if test "$is_elf" = "yes"; then
2971 # Check for target supported by gold.
2973 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
2974 | aarch64*-*-* | tilegx*-*-*)
2975 configdirs="$configdirs gold"
2976 if test x${ENABLE_GOLD} = xdefault; then
2987 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
2991 # Check whether --enable-ld was given.
2992 if test "${enable_ld+set}" = set; then :
2993 enableval=$enable_ld; ENABLE_LD=$enableval
2999 case "${ENABLE_LD}" in
3001 if test x${default_ld} != x; then
3002 as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
3008 if test x${ENABLE_GOLD} != xyes; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3010 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3012 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3015 as_fn_error "invalid --enable-ld argument" "$LINENO" 5
3019 # Configure extra directories which are host specific
3023 configdirs="$configdirs libtermcap" ;;
3026 # A target can indicate whether a language isn't supported for some reason.
3027 # Only spaces may be used in this macro; not newlines or tabs.
3028 unsupported_languages=
3030 # Remove more programs from consideration, based on the host or
3031 # target this usually means that a port of the program doesn't
3035 i[3456789]86-*-msdosdjgpp*)
3036 noconfigdirs="$noconfigdirs tcl tk itcl"
3041 # Check whether --enable-libquadmath was given.
3042 if test "${enable_libquadmath+set}" = set; then :
3043 enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
3045 ENABLE_LIBQUADMATH=yes
3048 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3049 noconfigdirs="$noconfigdirs target-libquadmath"
3053 # Check whether --enable-libquadmath-support was given.
3054 if test "${enable_libquadmath_support+set}" = set; then :
3055 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
3057 ENABLE_LIBQUADMATH_SUPPORT=yes
3060 enable_libquadmath_support=
3061 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3062 enable_libquadmath_support=no
3066 # Check whether --enable-libada was given.
3067 if test "${enable_libada+set}" = set; then :
3068 enableval=$enable_libada; ENABLE_LIBADA=$enableval
3073 if test "${ENABLE_LIBADA}" != "yes" ; then
3074 noconfigdirs="$noconfigdirs gnattools"
3077 # Check whether --enable-libssp was given.
3078 if test "${enable_libssp+set}" = set; then :
3079 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
3085 # Check whether --enable-libstdcxx was given.
3086 if test "${enable_libstdcxx+set}" = set; then :
3087 enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
3089 ENABLE_LIBSTDCXX=default
3092 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3093 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3096 # If this is accelerator compiler and its target is intelmic we enable
3097 # target liboffloadmic by default. If this is compiler with offloading
3098 # for intelmic we enable host liboffloadmic by default. Otherwise
3099 # liboffloadmic is disabled by default.
3100 # Check whether --enable-liboffloadmic was given.
3101 if test "${enable_liboffloadmic+set}" = set; then :
3102 enableval=$enable_liboffloadmic; case "$enableval" in
3104 enable_liboffloadmic=$enableval ;;
3106 as_fn_error "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3109 if test x"$enable_as_accelerator_for" != x; then
3111 *-intelmic-* | *-intelmicemul-*)
3112 enable_liboffloadmic=target
3113 extra_liboffloadmic_configure_flags="--enable-liboffloadmic=target"
3116 enable_liboffloadmic=no
3120 case "${enable_offload_targets}" in
3121 *-intelmic-* | *-intelmicemul-*)
3122 enable_liboffloadmic=host
3123 extra_liboffloadmic_configure_flags="--enable-liboffloadmic=host"
3126 enable_liboffloadmic=no
3134 # Save it here so that, even in case of --enable-libgcj, if the Java
3135 # front-end isn't enabled, we still get libgcj disabled.
3136 libgcj_saved=$libgcj
3137 case $enable_libgcj in
3139 # If we reset it here, it won't get added to noconfigdirs in the
3140 # target-specific build rules, so it will be forcibly enabled
3141 # (unless the Java language itself isn't enabled).
3145 # Make sure we get it printed in the list of not supported target libs.
3146 # Don't disable libffi, though, other languages use it.
3147 noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3148 # Clear libgcj_saved so that even if java is enabled libffi won't be
3154 # Check whether --enable-static-libjava was given.
3155 if test "${enable_static_libjava+set}" = set; then :
3156 enableval=$enable_static_libjava; ENABLE_STATIC_LIBJAVA=$enableval
3158 ENABLE_STATIC_LIBJAVA=no
3161 enable_static_libjava=
3162 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3163 enable_static_libjava=yes
3166 if test x$enable_static_libjava != xyes ; then
3167 EXTRA_CONFIGARGS_LIBJAVA=--disable-static
3171 # Disable libgomp on non POSIX hosted systems.
3172 if test x$enable_libgomp = x ; then
3173 # Enable libgomp by default on hosted POSIX systems.
3175 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3177 *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
3179 *-*-solaris2* | *-*-hpux11*)
3181 *-*-darwin* | *-*-aix*)
3184 noconfigdirs="$noconfigdirs target-libgomp"
3189 # Disable libatomic on unsupported systems.
3190 if test -d ${srcdir}/libatomic; then
3191 if test x$enable_libatomic = x; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3193 $as_echo_n "checking for libatomic support... " >&6; }
3194 if (srcdir=${srcdir}/libatomic; \
3195 . ${srcdir}/configure.tgt; \
3196 test -n "$UNSUPPORTED")
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3200 noconfigdirs="$noconfigdirs target-libatomic"
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3208 # Disable libcilkrts on unsupported systems.
3209 if test -d ${srcdir}/libcilkrts; then
3210 if test x$enable_libcilkrts = x; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3212 $as_echo_n "checking for libcilkrts support... " >&6; }
3213 if (srcdir=${srcdir}/libcilkrts; \
3214 . ${srcdir}/configure.tgt; \
3215 test -n "$UNSUPPORTED")
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3219 noconfigdirs="$noconfigdirs target-libcilkrts"
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222 $as_echo "yes" >&6; }
3227 # Disable liboffloadmic on unsupported systems.
3228 if test -d ${srcdir}/liboffloadmic; then
3229 if test x$enable_liboffloadmic != xno; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3231 $as_echo_n "checking for liboffloadmic support... " >&6; }
3232 if (srcdir=${srcdir}/liboffloadmic; \
3233 . ${srcdir}/configure.tgt; \
3234 test -n "$UNSUPPORTED")
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 noconfigdirs="$noconfigdirs target-liboffloadmic"
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3241 $as_echo "yes" >&6; }
3246 # Disable libitm on unsupported systems.
3247 if test -d ${srcdir}/libitm; then
3248 if test x$enable_libitm = x; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3250 $as_echo_n "checking for libitm support... " >&6; }
3251 if (srcdir=${srcdir}/libitm; \
3252 . ${srcdir}/configure.tgt; \
3253 test -n "$UNSUPPORTED")
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3256 $as_echo "no" >&6; }
3257 noconfigdirs="$noconfigdirs target-libitm"
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3260 $as_echo "yes" >&6; }
3265 # Disable libsanitizer on unsupported systems.
3266 if test -d ${srcdir}/libsanitizer; then
3267 if test x$enable_libsanitizer = x; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3269 $as_echo_n "checking for libsanitizer support... " >&6; }
3270 if (srcdir=${srcdir}/libsanitizer; \
3271 . ${srcdir}/configure.tgt; \
3272 test -n "$UNSUPPORTED")
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3276 noconfigdirs="$noconfigdirs target-libsanitizer"
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3279 $as_echo "yes" >&6; }
3284 # Disable libvtv on unsupported systems.
3285 if test -d ${srcdir}/libvtv; then
3286 if test x$enable_libvtv = x; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3288 $as_echo_n "checking for libvtv support... " >&6; }
3289 if (srcdir=${srcdir}/libvtv; \
3290 . ${srcdir}/configure.tgt; \
3291 test "$VTV_SUPPORTED" != "yes")
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3295 noconfigdirs="$noconfigdirs target-libvtv"
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3304 # Enable libmpx on supported systems by request.
3305 if test -d ${srcdir}/libmpx; then
3306 if test x$enable_libmpx = xyes; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3308 $as_echo_n "checking for libmpx support... " >&6; }
3309 if (srcdir=${srcdir}/libmpx; \
3310 . ${srcdir}/configure.tgt; \
3311 test "$LIBMPX_SUPPORTED" != "yes")
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3315 noconfigdirs="$noconfigdirs target-libmpx"
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3318 $as_echo "yes" >&6; }
3321 noconfigdirs="$noconfigdirs target-libmpx"
3327 # Disable libquadmath for some systems.
3330 noconfigdirs="$noconfigdirs target-libquadmath"
3332 # libquadmath is unused on AIX and libquadmath build process use of
3333 # LD_LIBRARY_PATH can break AIX bootstrap.
3334 powerpc-*-aix* | rs6000-*-aix*)
3335 noconfigdirs="$noconfigdirs target-libquadmath"
3339 # Disable libssp for some systems.
3342 # No hosted I/O support.
3343 noconfigdirs="$noconfigdirs target-libssp"
3345 powerpc-*-aix* | rs6000-*-aix*)
3346 noconfigdirs="$noconfigdirs target-libssp"
3349 # libssp uses a misaligned load to trigger a fault, but the RL78
3350 # doesn't fault for those - instead, it gives a build-time error
3351 # for explicit misaligned loads.
3352 noconfigdirs="$noconfigdirs target-libssp"
3355 # No hosted I/O support.
3356 noconfigdirs="$noconfigdirs target-libssp"
3360 # Disable libstdc++-v3 for some systems.
3361 # Allow user to override this if they pass --enable-libstdc++-v3
3362 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3365 # VxWorks uses the Dinkumware C++ library.
3366 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3369 # the C++ libraries don't build on top of CE's C libraries
3370 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3373 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3378 # Disable Fortran for some systems.
3381 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3382 unsupported_languages="$unsupported_languages fortran"
3386 # Disable Java if libffi is not supported.
3418 powerpc-*-aix* | rs6000-*-aix*)
3422 powerpc64-*-freebsd*)
3426 s390-*-* | s390x-*-*)
3428 sh-*-* | sh[34]*-*-*)
3430 sh64-*-* | sh5*-*-*)
3437 unsupported_languages="$unsupported_languages java"
3441 # Disable Java, libgcj or related libraries for some systems.
3445 i[3456789]86-*-darwin*)
3447 x86_64-*-darwin[912]*)
3450 noconfigdirs="$noconfigdirs ${libgcj}"
3453 noconfigdirs="$noconfigdirs ${libgcj}"
3456 noconfigdirs="$noconfigdirs ${libgcj}"
3459 noconfigdirs="$noconfigdirs ${libgcj}"
3462 noconfigdirs="$noconfigdirs ${libgcj}"
3465 noconfigdirs="$noconfigdirs ${libgcj}"
3468 noconfigdirs="$noconfigdirs ${libgcj}"
3471 noconfigdirs="$noconfigdirs ${libgcj}"
3474 noconfigdirs="$noconfigdirs ${libgcj}"
3477 noconfigdirs="$noconfigdirs ${libgcj}"
3480 noconfigdirs="$noconfigdirs target-boehm-gc"
3482 cris-*-* | crisv32-*-*)
3483 unsupported_languages="$unsupported_languages java"
3487 *) # See PR46792 regarding target-libffi.
3488 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3492 # In this case, it's because the hppa64-linux target is for
3493 # the kernel only at this point and has no libc, and thus no
3494 # headers, crt*.o, etc., all of which are needed by these.
3495 unsupported_languages="$unsupported_languages java"
3498 noconfigdirs="$noconfigdirs ${libgcj}"
3504 # build on HP-UX 10.20.
3505 noconfigdirs="$noconfigdirs ${libgcj}"
3508 noconfigdirs="$noconfigdirs ${libgcj}"
3510 i[3456789]86-w64-mingw*)
3511 noconfigdirs="$noconfigdirs ${libgcj}"
3513 i[3456789]86-*-mingw*)
3514 noconfigdirs="$noconfigdirs ${libgcj}"
3517 noconfigdirs="$noconfigdirs ${libgcj}"
3520 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc"
3523 # copied from rs6000-*-* entry
3524 noconfigdirs="$noconfigdirs ${libgcj}"
3527 noconfigdirs="$noconfigdirs ${libgcj}"
3530 noconfigdirs="$noconfigdirs ${libgcj}"
3533 noconfigdirs="$noconfigdirs ${libgcj}"
3537 # Disable the go frontend on systems where it is known to not work. Please keep
3538 # this in sync with contrib/config-list.mk.
3540 *-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
3541 unsupported_languages="$unsupported_languages go"
3545 # Disable libgo for some systems where it is known to not work.
3546 # For testing, you can easily override this with --enable-libgo.
3547 if test x$enable_libgo = x; then
3551 noconfigdirs="$noconfigdirs target-libgo"
3553 *-*-cygwin* | *-*-mingw*)
3554 noconfigdirs="$noconfigdirs target-libgo"
3557 noconfigdirs="$noconfigdirs target-libgo"
3562 # Default libgloss CPU subdirectory.
3563 libgloss_dir="$target_cpu"
3566 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3570 libgloss_dir=aarch64
3575 cris-*-* | crisv32-*-*)
3584 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3585 libgloss_dir=m68hc11
3587 m68*-*-* | fido-*-*)
3601 # Disable newlib and libgloss for various target OSes.
3604 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3606 i[3456789]86-*-linux*)
3607 # This section makes it possible to build newlib natively on linux.
3608 # If we are using a cross compiler then don't configure newlib.
3609 if test x${is_cross_compiler} != xno ; then
3610 noconfigdirs="$noconfigdirs target-newlib"
3612 noconfigdirs="$noconfigdirs target-libgloss"
3613 # If we are not using a cross compiler, do configure newlib.
3614 # Note however, that newlib will only be configured in this situation
3615 # if the --with-newlib option has been given, because otherwise
3616 # 'target-newlib' will appear in skipdirs.
3618 i[3456789]86-*-rdos*)
3619 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3621 sh*-*-pe|mips*-*-pe|arm-wince-pe)
3622 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3625 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3628 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3631 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3634 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3637 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3640 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3642 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3643 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3646 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3649 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3652 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3655 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3658 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3661 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3664 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3672 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3673 noconfigdirs="$noconfigdirs sim target-rda"
3675 i[3456789]86-*-darwin*)
3676 noconfigdirs="$noconfigdirs ld gprof"
3677 noconfigdirs="$noconfigdirs sim target-rda"
3679 x86_64-*-darwin[912]*)
3680 noconfigdirs="$noconfigdirs ld gas gprof"
3681 noconfigdirs="$noconfigdirs sim target-rda"
3684 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3685 noconfigdirs="$noconfigdirs sim target-rda"
3690 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
3691 && test -f /usr/local/include/gmp.h; then
3696 # Remove unsupported stuff on all kaOS configurations.
3697 noconfigdirs="$noconfigdirs target-libgloss"
3704 noconfigdirs="$noconfigdirs target-libgloss"
3705 # this is not caught below because this stanza matches earlier
3707 or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
3710 # The tpf target doesn't support gdb yet.
3712 noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
3715 noconfigdirs="$noconfigdirs target-rda"
3720 # ld works, but does not support shared libraries.
3721 # gas doesn't generate exception information.
3722 noconfigdirs="$noconfigdirs gas ld"
3725 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3728 # newlib is not 64 bit ready
3729 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3731 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3732 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3735 noconfigdirs="$noconfigdirs target-libgloss"
3738 noconfigdirs="$noconfigdirs target-libgloss"
3741 noconfigdirs="$noconfigdirs ld target-libgloss"
3746 if test x${with_avrlibc} != xno; then
3747 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3750 c4x-*-* | tic4x-*-*)
3751 noconfigdirs="$noconfigdirs target-libgloss"
3754 noconfigdirs="$noconfigdirs target-libgloss gdb"
3757 noconfigdirs="$noconfigdirs target-libgloss"
3760 noconfigdirs="$noconfigdirs gdb"
3763 noconfigdirs="$noconfigdirs gdb"
3766 noconfigdirs="$noconfigdirs target-rda gprof"
3769 noconfigdirs="$noconfigdirs"
3772 noconfigdirs="$noconfigdirs target-libgloss"
3775 noconfigdirs="$noconfigdirs target-libgloss"
3777 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3780 noconfigdirs="$noconfigdirs gdb"
3783 noconfigdirs="$noconfigdirs gdb ld"
3791 hppa*-*-openbsd* | \
3797 noconfigdirs="$noconfigdirs ld"
3800 noconfigdirs="$noconfigdirs gdb"
3803 # No gdb support yet.
3804 noconfigdirs="$noconfigdirs readline libgui itcl gdb"
3807 # No ld support yet.
3808 noconfigdirs="$noconfigdirs gdb libgui itcl ld"
3811 # No ld support yet.
3812 noconfigdirs="$noconfigdirs libgui itcl ld"
3814 i[3456789]86-w64-mingw*)
3816 i[3456789]86-*-mingw*)
3817 target_configdirs="$target_configdirs target-winsup"
3820 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3821 noconfigdirs="$noconfigdirs target-libgloss"
3822 # always build newlib if winsup directory is present.
3823 if test -d "$srcdir/winsup/cygwin"; then
3824 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3825 elif test -d "$srcdir/newlib"; then
3826 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3830 noconfigdirs="$noconfigdirs target-libgloss"
3832 i[3456789]86-*-sco3.2v5*)
3833 # The linker does not yet know about weak symbols in COFF,
3834 # and is not configured to handle mixed ELF and COFF.
3835 noconfigdirs="$noconfigdirs ld target-libgloss"
3837 i[3456789]86-*-sco*)
3838 noconfigdirs="$noconfigdirs gprof target-libgloss"
3840 i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
3841 noconfigdirs="$noconfigdirs target-libgloss"
3843 i[3456789]86-*-sysv4*)
3844 noconfigdirs="$noconfigdirs target-libgloss"
3846 i[3456789]86-*-beos*)
3847 noconfigdirs="$noconfigdirs gdb"
3849 i[3456789]86-*-rdos*)
3850 noconfigdirs="$noconfigdirs gdb"
3853 noconfigdirs="$noconfigdirs gdb"
3856 noconfigdirs="$noconfigdirs sim"
3859 # copied from rs6000-*-* entry
3860 noconfigdirs="$noconfigdirs gprof"
3862 powerpc*-*-winnt* | powerpc*-*-pe*)
3863 target_configdirs="$target_configdirs target-winsup"
3864 noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
3865 # always build newlib.
3866 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3868 # This is temporary until we can link against shared libraries
3869 powerpcle-*-solaris*)
3870 noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
3873 noconfigdirs="$noconfigdirs gdb"
3876 noconfigdirs="$noconfigdirs gprof"
3879 noconfigdirs="$noconfigdirs gprof"
3882 noconfigdirs="$noconfigdirs gprof"
3885 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
3888 noconfigdirs="$noconfigdirs gprof"
3890 mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
3891 if test x$with_newlib = xyes; then
3892 noconfigdirs="$noconfigdirs gprof"
3896 noconfigdirs="$noconfigdirs gprof target-libgloss"
3899 noconfigdirs="$noconfigdirs gprof target-libgloss"
3902 noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
3906 mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
3907 | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
3908 noconfigdirs="$noconfigdirs ld gas gprof"
3911 noconfigdirs="$noconfigdirs gprof"
3914 noconfigdirs="$noconfigdirs gdb"
3917 # nvptx is just a compiler
3918 noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3921 noconfigdirs="$noconfigdirs gdb"
3928 noconfigdirs="$noconfigdirs target-libgloss" ;;
3932 if test x${is_cross_compiler} = xno ; then
3937 noconfigdirs="$noconfigdirs sim"
3939 tilepro*-*-* | tilegx*-*-*)
3940 noconfigdirs="$noconfigdirs sim"
3943 noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3946 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3950 # If we aren't building newlib, then don't build libgloss, since libgloss
3951 # depends upon some newlib header files.
3952 case "${noconfigdirs}" in
3953 *target-libgloss*) ;;
3954 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3957 # Work in distributions that contain no compiler tools, like Autoconf.
3958 host_makefile_frag=/dev/null
3959 if test -d ${srcdir}/config ; then
3961 i[3456789]86-*-msdosdjgpp*)
3962 host_makefile_frag="config/mh-djgpp"
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3967 $as_echo_n "checking to see if cat works as expected... " >&6; }
3968 echo a >cygwin-cat-check
3969 if test `cat cygwin-cat-check` = a ; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3972 $as_echo "yes" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3977 as_fn_error "The cat command does not ignore carriage return characters.
3978 Please either mount the build directory in binary mode or run the following
3979 commands before running any configure script:
3985 host_makefile_frag="config/mh-cygwin"
3988 host_makefile_frag="config/mh-mingw"
3991 host_makefile_frag="config/mh-pa-hpux10"
3994 host_makefile_frag="config/mh-pa"
3997 host_makefile_frag="config/mh-pa"
4000 host_makefile_frag="config/mh-darwin"
4003 host_makefile_frag="config/mh-ppc-aix"
4006 host_makefile_frag="config/mh-ppc-aix"
4011 if test "${build}" != "${host}" ; then
4012 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
4013 AS_FOR_BUILD=${AS_FOR_BUILD-as}
4014 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
4015 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
4016 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
4017 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
4018 GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
4019 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
4020 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
4021 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
4022 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
4023 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
4024 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
4026 AR_FOR_BUILD="\$(AR)"
4027 AS_FOR_BUILD="\$(AS)"
4028 CC_FOR_BUILD="\$(CC)"
4029 CXX_FOR_BUILD="\$(CXX)"
4030 GCJ_FOR_BUILD="\$(GCJ)"
4031 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
4032 GOC_FOR_BUILD="\$(GOC)"
4033 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
4034 LD_FOR_BUILD="\$(LD)"
4035 NM_FOR_BUILD="\$(NM)"
4036 RANLIB_FOR_BUILD="\$(RANLIB)"
4037 WINDRES_FOR_BUILD="\$(WINDRES)"
4038 WINDMC_FOR_BUILD="\$(WINDMC)"
4042 ac_cpp='$CPP $CPPFLAGS'
4043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046 if test -n "$ac_tool_prefix"; then
4047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if test "${ac_cv_prog_CC+set}" = set; then :
4052 $as_echo_n "(cached) " >&6
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4064 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 if test -n "$CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4077 $as_echo "$CC" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4085 if test -z "$ac_cv_prog_CC"; then
4087 # Extract the first word of "gcc", so it can be a program name with args.
4088 set dummy gcc; ac_word=$2
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4090 $as_echo_n "checking for $ac_word... " >&6; }
4091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4094 if test -n "$ac_ct_CC"; then
4095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 test -z "$as_dir" && as_dir=.
4102 for ac_exec_ext in '' $ac_executable_extensions; do
4103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4104 ac_cv_prog_ac_ct_CC="gcc"
4105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4115 if test -n "$ac_ct_CC"; then
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4117 $as_echo "$ac_ct_CC" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120 $as_echo "no" >&6; }
4123 if test "x$ac_ct_CC" = x; then
4126 case $cross_compiling:$ac_tool_warned in
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4130 ac_tool_warned=yes ;;
4138 if test -z "$CC"; then
4139 if test -n "$ac_tool_prefix"; then
4140 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4141 set dummy ${ac_tool_prefix}cc; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if test "${ac_cv_prog_CC+set}" = set; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -n "$CC"; then
4148 ac_cv_prog_CC="$CC" # Let the user override the test.
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir=.
4155 for ac_exec_ext in '' $ac_executable_extensions; do
4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4157 ac_cv_prog_CC="${ac_tool_prefix}cc"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 if test -n "$CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4170 $as_echo "$CC" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4179 if test -z "$CC"; then
4180 # Extract the first word of "cc", so it can be a program name with args.
4181 set dummy cc; ac_word=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if test "${ac_cv_prog_CC+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -n "$CC"; then
4188 ac_cv_prog_CC="$CC" # Let the user override the test.
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4199 ac_prog_rejected=yes
4203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 if test $ac_prog_rejected = yes; then
4211 # We found a bogon in the path, so make sure we never use it.
4212 set dummy $ac_cv_prog_CC
4214 if test $# != 0; then
4215 # We chose a different compiler from the bogus one.
4216 # However, it has the same basename, so the bogon will be chosen
4217 # first if we set CC to just the basename; use the full file name.
4219 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4225 if test -n "$CC"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4227 $as_echo "$CC" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4235 if test -z "$CC"; then
4236 if test -n "$ac_tool_prefix"; then
4237 for ac_prog in cl.exe
4239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if test "${ac_cv_prog_CC+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4246 if test -n "$CC"; then
4247 ac_cv_prog_CC="$CC" # Let the user override the test.
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4256 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 if test -n "$CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4269 $as_echo "$CC" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4276 test -n "$CC" && break
4279 if test -z "$CC"; then
4281 for ac_prog in cl.exe
4283 # Extract the first word of "$ac_prog", so it can be a program name with args.
4284 set dummy $ac_prog; ac_word=$2
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286 $as_echo_n "checking for $ac_word... " >&6; }
4287 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4288 $as_echo_n "(cached) " >&6
4290 if test -n "$ac_ct_CC"; then
4291 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir=.
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300 ac_cv_prog_ac_ct_CC="$ac_prog"
4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4311 if test -n "$ac_ct_CC"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4313 $as_echo "$ac_ct_CC" >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4320 test -n "$ac_ct_CC" && break
4323 if test "x$ac_ct_CC" = x; then
4326 case $cross_compiling:$ac_tool_warned in
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4330 ac_tool_warned=yes ;;
4339 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error "no acceptable C compiler found in \$PATH
4342 See \`config.log' for more details." "$LINENO" 5; }
4344 # Provide some information about the compiler.
4345 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4348 for ac_option in --version -v -V -qversion; do
4349 { { ac_try="$ac_compiler $ac_option >&5"
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$ac_try_echo"; } >&5
4356 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4358 if test -s conftest.err; then
4360 ... rest of stderr output deleted ...
4361 10q' conftest.err >conftest.er1
4362 cat conftest.er1 >&5
4363 rm -f conftest.er1 conftest.err
4365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4366 test $ac_status = 0; }
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4380 ac_clean_files_save=$ac_clean_files
4381 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4382 # Try to create an executable without -o first, disregard a.out.
4383 # It will help us diagnose broken compilers, and finding out an intuition
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4386 $as_echo_n "checking for C compiler default output file name... " >&6; }
4387 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4389 # The possible output files:
4390 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4393 for ac_file in $ac_files
4396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4397 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4402 if { { ac_try="$ac_link_default"
4404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4405 *) ac_try_echo=$ac_try;;
4407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4408 $as_echo "$ac_try_echo"; } >&5
4409 (eval "$ac_link_default") 2>&5
4411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4412 test $ac_status = 0; }; then :
4413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4416 # so that the user can short-circuit this test for compilers unknown to
4418 for ac_file in $ac_files ''
4420 test -f "$ac_file" || continue
4422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4425 # We found the default executable, but exeext='' is most
4429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4431 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4433 # We set ac_cv_exeext here because the later test for it is not
4434 # safe: cross compilers may not add the suffix if given an `-o'
4435 # argument, so we may need to know it at that point already.
4436 # Even if this section looks crufty: it has the advantage of
4443 test "$ac_cv_exeext" = no && ac_cv_exeext=
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4449 $as_echo "$ac_file" >&6; }
4450 if test -z "$ac_file"; then :
4451 $as_echo "$as_me: failed program was:" >&5
4452 sed 's/^/| /' conftest.$ac_ext >&5
4454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4456 { as_fn_set_status 77
4457 as_fn_error "C compiler cannot create executables
4458 See \`config.log' for more details." "$LINENO" 5; }; }
4460 ac_exeext=$ac_cv_exeext
4462 # Check that the compiler produces executables we can run. If not, either
4463 # the compiler is broken, or we cross compile.
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4465 $as_echo_n "checking whether the C compiler works... " >&6; }
4466 # If not cross compiling, check that we can run a simple program.
4467 if test "$cross_compiling" != yes; then
4468 if { ac_try='./$ac_file'
4469 { { case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_try") 2>&5
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; }; then
4481 if test "$cross_compiling" = maybe; then
4484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486 as_fn_error "cannot run C compiled programs.
4487 If you meant to cross compile, use \`--host'.
4488 See \`config.log' for more details." "$LINENO" 5; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4493 $as_echo "yes" >&6; }
4495 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4496 ac_clean_files=$ac_clean_files_save
4497 # Check that the compiler produces executables we can run. If not, either
4498 # the compiler is broken, or we cross compile.
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4500 $as_echo_n "checking whether we are cross compiling... " >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4502 $as_echo "$cross_compiling" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4505 $as_echo_n "checking for suffix of executables... " >&6; }
4506 if { { ac_try="$ac_link"
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512 $as_echo "$ac_try_echo"; } >&5
4513 (eval "$ac_link") 2>&5
4515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516 test $ac_status = 0; }; then :
4517 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4518 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4519 # work properly (i.e., refer to `conftest.exe'), while it won't with
4521 for ac_file in conftest.exe conftest conftest.*; do
4522 test -f "$ac_file" || continue
4524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4525 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error "cannot compute suffix of executables: cannot compile and link
4534 See \`config.log' for more details." "$LINENO" 5; }
4536 rm -f conftest$ac_cv_exeext
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4538 $as_echo "$ac_cv_exeext" >&6; }
4540 rm -f conftest.$ac_ext
4541 EXEEXT=$ac_cv_exeext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4544 $as_echo_n "checking for suffix of object files... " >&6; }
4545 if test "${ac_cv_objext+set}" = set; then :
4546 $as_echo_n "(cached) " >&6
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4559 rm -f conftest.o conftest.obj
4560 if { { ac_try="$ac_compile"
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4566 $as_echo "$ac_try_echo"; } >&5
4567 (eval "$ac_compile") 2>&5
4569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570 test $ac_status = 0; }; then :
4571 for ac_file in conftest.o conftest.obj conftest.*; do
4572 test -f "$ac_file" || continue;
4574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4575 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4580 $as_echo "$as_me: failed program was:" >&5
4581 sed 's/^/| /' conftest.$ac_ext >&5
4583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4585 as_fn_error "cannot compute suffix of object files: cannot compile
4586 See \`config.log' for more details." "$LINENO" 5; }
4588 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4591 $as_echo "$ac_cv_objext" >&6; }
4592 OBJEXT=$ac_cv_objext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4595 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4596 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4597 $as_echo_n "(cached) " >&6
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4613 if ac_fn_c_try_compile "$LINENO"; then :
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4623 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4624 if test $ac_compiler_gnu = yes; then
4629 ac_test_CFLAGS=${CFLAGS+set}
4630 ac_save_CFLAGS=$CFLAGS
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4632 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4633 if test "${ac_cv_prog_cc_g+set}" = set; then :
4634 $as_echo_n "(cached) " >&6
4636 ac_save_c_werror_flag=$ac_c_werror_flag
4637 ac_c_werror_flag=yes
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4651 if ac_fn_c_try_compile "$LINENO"; then :
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4666 if ac_fn_c_try_compile "$LINENO"; then :
4669 ac_c_werror_flag=$ac_save_c_werror_flag
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4682 if ac_fn_c_try_compile "$LINENO"; then :
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 ac_c_werror_flag=$ac_save_c_werror_flag
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4693 $as_echo "$ac_cv_prog_cc_g" >&6; }
4694 if test "$ac_test_CFLAGS" = set; then
4695 CFLAGS=$ac_save_CFLAGS
4696 elif test $ac_cv_prog_cc_g = yes; then
4697 if test "$GCC" = yes; then
4703 if test "$GCC" = yes; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4710 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4711 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4712 $as_echo_n "(cached) " >&6
4714 ac_cv_prog_cc_c89=no
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4720 #include <sys/types.h>
4721 #include <sys/stat.h>
4722 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4723 struct buf { int x; };
4724 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4725 static char *e (p, i)
4731 static char *f (char * (*g) (char **, int), char **p, ...)
4736 s = g (p, va_arg (v,int));
4741 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4742 function prototypes and stuff, but not '\xHH' hex character constants.
4743 These don't provoke an error unfortunately, instead are silently treated
4744 as 'x'. The following induces an error, until -std is added to get
4745 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4746 array size at least. It's necessary to write '\x00'==0 to get something
4747 that's true only with -std. */
4748 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4750 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4751 inside strings and character constants. */
4753 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4755 int test (int i, double x);
4756 struct s1 {int (*f) (int a);};
4757 struct s2 {int (*f) (double a);};
4758 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4764 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4769 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4770 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4772 CC="$ac_save_CC $ac_arg"
4773 if ac_fn_c_try_compile "$LINENO"; then :
4774 ac_cv_prog_cc_c89=$ac_arg
4776 rm -f core conftest.err conftest.$ac_objext
4777 test "x$ac_cv_prog_cc_c89" != "xno" && break
4779 rm -f conftest.$ac_ext
4784 case "x$ac_cv_prog_cc_c89" in
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4787 $as_echo "none needed" >&6; } ;;
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4790 $as_echo "unsupported" >&6; } ;;
4792 CC="$CC $ac_cv_prog_cc_c89"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4794 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4796 if test "x$ac_cv_prog_cc_c89" != xno; then :
4801 ac_cpp='$CPP $CPPFLAGS'
4802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4807 ac_cpp='$CXXCPP $CPPFLAGS'
4808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4811 if test -z "$CXX"; then
4812 if test -n "$CCC"; then
4815 if test -n "$ac_tool_prefix"; then
4816 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if test "${ac_cv_prog_CXX+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$CXX"; then
4826 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 if test -n "$CXX"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4848 $as_echo "$CXX" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 test -n "$CXX" && break
4858 if test -z "$CXX"; then
4860 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4862 # Extract the first word of "$ac_prog", so it can be a program name with args.
4863 set dummy $ac_prog; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$ac_ct_CXX"; then
4870 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_CXX="$ac_prog"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4890 if test -n "$ac_ct_CXX"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4892 $as_echo "$ac_ct_CXX" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4899 test -n "$ac_ct_CXX" && break
4902 if test "x$ac_ct_CXX" = x; then
4905 case $cross_compiling:$ac_tool_warned in
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4909 ac_tool_warned=yes ;;
4917 # Provide some information about the compiler.
4918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4921 for ac_option in --version -v -V -qversion; do
4922 { { ac_try="$ac_compiler $ac_option >&5"
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4931 if test -s conftest.err; then
4933 ... rest of stderr output deleted ...
4934 10q' conftest.err >conftest.er1
4935 cat conftest.er1 >&5
4936 rm -f conftest.er1 conftest.err
4938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4939 test $ac_status = 0; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4943 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4944 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4945 $as_echo_n "(cached) " >&6
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4961 if ac_fn_cxx_try_compile "$LINENO"; then :
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4971 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4972 if test $ac_compiler_gnu = yes; then
4977 ac_test_CXXFLAGS=${CXXFLAGS+set}
4978 ac_save_CXXFLAGS=$CXXFLAGS
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4980 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4981 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4982 $as_echo_n "(cached) " >&6
4984 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4985 ac_cxx_werror_flag=yes
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4999 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 ac_cv_prog_cxx_g=yes
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5017 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5030 if ac_fn_cxx_try_compile "$LINENO"; then :
5031 ac_cv_prog_cxx_g=yes
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5041 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5042 if test "$ac_test_CXXFLAGS" = set; then
5043 CXXFLAGS=$ac_save_CXXFLAGS
5044 elif test $ac_cv_prog_cxx_g = yes; then
5045 if test "$GXX" = yes; then
5051 if test "$GXX" = yes; then
5058 ac_cpp='$CPP $CPPFLAGS'
5059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5064 # We must set the default linker to the linker used by gcc for the correct
5065 # operation of libtool. If LD is not defined and we are using gcc, try to
5066 # set the LD default to the ld used by gcc.
5067 if test -z "$LD"; then
5068 if test "$GCC" = yes; then
5071 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5073 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
5075 case $gcc_prog_ld in
5076 # Accept absolute paths.
5077 [\\/]* | [A-Za-z]:[\\/]*)
5078 LD="$gcc_prog_ld" ;;
5083 # Check whether -static-libstdc++ -static-libgcc is supported.
5085 if test "$GCC" = yes; then
5086 saved_LDFLAGS="$LDFLAGS"
5088 LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5090 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5092 ac_cpp='$CXXCPP $CPPFLAGS'
5093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5099 /* end confdefs.h. */
5101 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5102 #error -static-libstdc++ not implemented
5106 if ac_fn_cxx_try_link "$LINENO"; then :
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5108 $as_echo "yes" >&6; }; have_static_libs=yes
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5113 rm -f core conftest.err conftest.$ac_objext \
5114 conftest$ac_exeext conftest.$ac_ext
5116 ac_cpp='$CPP $CPPFLAGS'
5117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5122 LDFLAGS="$saved_LDFLAGS"
5128 if test -n "$ac_tool_prefix"; then
5129 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5130 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$GNATBIND"; then
5137 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 GNATBIND=$ac_cv_prog_GNATBIND
5157 if test -n "$GNATBIND"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5159 $as_echo "$GNATBIND" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5167 if test -z "$ac_cv_prog_GNATBIND"; then
5168 ac_ct_GNATBIND=$GNATBIND
5169 # Extract the first word of "gnatbind", so it can be a program name with args.
5170 set dummy gnatbind; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$ac_ct_GNATBIND"; then
5177 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
5197 if test -n "$ac_ct_GNATBIND"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5199 $as_echo "$ac_ct_GNATBIND" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5205 if test "x$ac_ct_GNATBIND" = x; then
5208 case $cross_compiling:$ac_tool_warned in
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5212 ac_tool_warned=yes ;;
5214 GNATBIND=$ac_ct_GNATBIND
5217 GNATBIND="$ac_cv_prog_GNATBIND"
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -n "$GNATMAKE"; then
5229 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 GNATMAKE=$ac_cv_prog_GNATMAKE
5249 if test -n "$GNATMAKE"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5251 $as_echo "$GNATMAKE" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5259 if test -z "$ac_cv_prog_GNATMAKE"; then
5260 ac_ct_GNATMAKE=$GNATMAKE
5261 # Extract the first word of "gnatmake", so it can be a program name with args.
5262 set dummy gnatmake; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$ac_ct_GNATMAKE"; then
5269 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
5289 if test -n "$ac_ct_GNATMAKE"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5291 $as_echo "$ac_ct_GNATMAKE" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5297 if test "x$ac_ct_GNATMAKE" = x; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5304 ac_tool_warned=yes ;;
5306 GNATMAKE=$ac_ct_GNATMAKE
5309 GNATMAKE="$ac_cv_prog_GNATMAKE"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5313 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5314 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5315 $as_echo_n "(cached) " >&6
5317 cat >conftest.adb <<EOF
5318 procedure conftest is begin null; end conftest;
5320 acx_cv_cc_gcc_supports_ada=no
5321 # There is a bug in old released versions of GCC which causes the
5322 # driver to exit successfully when the appropriate language module
5323 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5324 # Therefore we must check for the error message as well as an
5325 # unsuccessful exit.
5326 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5327 # given a .adb file, but produce no object file. So we must check
5328 # if an object file was really produced to guard against this.
5329 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5330 if test x"$errors" = x && test -f conftest.$ac_objext; then
5331 acx_cv_cc_gcc_supports_ada=yes
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5336 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5338 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5345 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5346 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5347 $as_echo_n "(cached) " >&6
5351 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5352 if cmp t1 t2 2 2 > /dev/null 2>&1; then
5353 if cmp t1 t2 1 1 > /dev/null 2>&1; then
5356 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
5359 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
5360 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
5363 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5370 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5371 do_compare="$gcc_cv_prog_cmp_skip"
5375 # Check whether --enable-bootstrap was given.
5376 if test "${enable_bootstrap+set}" = set; then :
5377 enableval=$enable_bootstrap;
5379 enable_bootstrap=default
5383 # Issue errors and warnings for invalid/strange bootstrap combinations.
5384 if test -r $srcdir/gcc/configure; then
5390 case "$have_compiler:$host:$target:$enable_bootstrap" in
5393 # Default behavior. Enable bootstrap if we have a compiler
5394 # and we are in a native configuration.
5395 yes:$build:$build:default)
5396 enable_bootstrap=yes ;;
5399 enable_bootstrap=no ;;
5401 # We have a compiler and we are in a native configuration, bootstrap is ok
5402 yes:$build:$build:yes)
5405 # Other configurations, but we have a compiler. Assume the user knows
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5409 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5412 # No compiler: if they passed --enable-bootstrap explicitly, fail
5414 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
5416 # Fail if wrong command line
5418 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
5422 # Used for setting $lt_cv_objdir
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5424 $as_echo_n "checking for objdir... " >&6; }
5425 if test "${lt_cv_objdir+set}" = set; then :
5426 $as_echo_n "(cached) " >&6
5428 rm -f .libs 2>/dev/null
5429 mkdir .libs 2>/dev/null
5430 if test -d .libs; then
5433 # MS-DOS does not allow filenames that begin with a dot.
5436 rmdir .libs 2>/dev/null
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5439 $as_echo "$lt_cv_objdir" >&6; }
5440 objdir=$lt_cv_objdir
5446 cat >>confdefs.h <<_ACEOF
5447 #define LT_OBJDIR "$lt_cv_objdir/"
5452 # Check for GMP, MPFR and MPC
5453 gmplibs="-lmpc -lmpfr -lgmp"
5457 # Specify a location for mpc
5458 # check for this first so it ends up on the link line before mpfr.
5460 # Check whether --with-mpc was given.
5461 if test "${with_mpc+set}" = set; then :
5466 # Check whether --with-mpc-include was given.
5467 if test "${with_mpc_include+set}" = set; then :
5468 withval=$with_mpc_include;
5472 # Check whether --with-mpc-lib was given.
5473 if test "${with_mpc_lib+set}" = set; then :
5474 withval=$with_mpc_lib;
5478 if test "x$with_mpc" != x; then
5479 gmplibs="-L$with_mpc/lib $gmplibs"
5480 gmpinc="-I$with_mpc/include $gmpinc"
5482 if test "x$with_mpc_include" != x; then
5483 gmpinc="-I$with_mpc_include $gmpinc"
5485 if test "x$with_mpc_lib" != x; then
5486 gmplibs="-L$with_mpc_lib $gmplibs"
5488 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
5489 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5490 gmpinc='-I$$s/mpc/src '"$gmpinc"
5491 # Do not test the mpc version. Assume that it is sufficient, since
5492 # it is in the source tree, and the library has not been built yet
5493 # but it would be included on the link line in the version check below
5494 # hence making the test fail.
5498 # Specify a location for mpfr
5499 # check for this first so it ends up on the link line before gmp.
5501 # Check whether --with-mpfr-dir was given.
5502 if test "${with_mpfr_dir+set}" = set; then :
5503 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5504 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5509 # Check whether --with-mpfr was given.
5510 if test "${with_mpfr+set}" = set; then :
5515 # Check whether --with-mpfr-include was given.
5516 if test "${with_mpfr_include+set}" = set; then :
5517 withval=$with_mpfr_include;
5521 # Check whether --with-mpfr-lib was given.
5522 if test "${with_mpfr_lib+set}" = set; then :
5523 withval=$with_mpfr_lib;
5527 if test "x$with_mpfr" != x; then
5528 gmplibs="-L$with_mpfr/lib $gmplibs"
5529 gmpinc="-I$with_mpfr/include $gmpinc"
5531 if test "x$with_mpfr_include" != x; then
5532 gmpinc="-I$with_mpfr_include $gmpinc"
5534 if test "x$with_mpfr_lib" != x; then
5535 gmplibs="-L$with_mpfr_lib $gmplibs"
5537 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5538 # MPFR v3.1.0 moved the sources into a src sub-directory.
5539 if test -d ${srcdir}/mpfr/src; then
5540 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5541 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5542 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5544 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5545 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5546 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5548 # Do not test the mpfr version. Assume that it is sufficient, since
5549 # it is in the source tree, and the library has not been built yet
5550 # but it would be included on the link line in the version check below
5551 # hence making the test fail.
5555 # Specify a location for gmp
5557 # Check whether --with-gmp-dir was given.
5558 if test "${with_gmp_dir+set}" = set; then :
5559 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5560 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5565 # Check whether --with-gmp was given.
5566 if test "${with_gmp+set}" = set; then :
5571 # Check whether --with-gmp-include was given.
5572 if test "${with_gmp_include+set}" = set; then :
5573 withval=$with_gmp_include;
5577 # Check whether --with-gmp-lib was given.
5578 if test "${with_gmp_lib+set}" = set; then :
5579 withval=$with_gmp_lib;
5584 if test "x$with_gmp" != x; then
5585 gmplibs="-L$with_gmp/lib $gmplibs"
5586 gmpinc="-I$with_gmp/include $gmpinc"
5588 if test "x$with_gmp_include" != x; then
5589 gmpinc="-I$with_gmp_include $gmpinc"
5591 if test "x$with_gmp_lib" != x; then
5592 gmplibs="-L$with_gmp_lib $gmplibs"
5594 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5595 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5596 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5597 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5598 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5599 extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5600 # Do not test the gmp version. Assume that it is sufficient, since
5601 # it is in the source tree, and the library has not been built yet
5602 # but it would be included on the link line in the version check below
5603 # hence making the test fail.
5607 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5609 saved_CFLAGS="$CFLAGS"
5610 CFLAGS="$CFLAGS $gmpinc"
5611 # Check for the recommended and required versions of GMP.
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5613 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5622 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5623 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5624 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5640 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5641 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5642 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5650 if ac_fn_c_try_compile "$LINENO"; then :
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5652 $as_echo "yes" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5655 $as_echo "buggy but acceptable" >&6; }
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }; have_gmp=no
5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5664 # If we have GMP, check the MPFR version.
5665 if test x"$have_gmp" = xyes; then
5666 # Check for the recommended and required versions of MPFR.
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5668 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5677 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5685 if ac_fn_c_try_compile "$LINENO"; then :
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5694 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5702 if ac_fn_c_try_compile "$LINENO"; then :
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5704 $as_echo "yes" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5707 $as_echo "buggy but acceptable" >&6; }
5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }; have_gmp=no
5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5717 # Check for the MPC header version.
5718 if test x"$have_gmp" = xyes ; then
5719 # Check for the recommended and required versions of MPC.
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5721 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5729 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5737 if ac_fn_c_try_compile "$LINENO"; then :
5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5745 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5753 if ac_fn_c_try_compile "$LINENO"; then :
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5755 $as_echo "yes" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5758 $as_echo "buggy but acceptable" >&6; }
5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }; have_gmp=no
5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768 # Now check the MPFR library.
5769 if test x"$have_gmp" = xyes; then
5771 LIBS="$LIBS $gmplibs"
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5773 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775 /* end confdefs.h. */
5787 mpfr_atan2 (n, n, x, GMP_RNDN);
5788 mpfr_erfc (n, x, GMP_RNDN);
5789 mpfr_subnormalize (x, t, GMP_RNDN);
5793 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5794 mpc_cosh (c, c, MPC_RNDNN);
5795 mpc_pow (c, c, c, MPC_RNDNN);
5796 mpc_acosh (c, c, MPC_RNDNN);
5803 if ac_fn_c_try_link "$LINENO"; then :
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5805 $as_echo "yes" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }; have_gmp=no
5810 rm -f core conftest.err conftest.$ac_objext \
5811 conftest$ac_exeext conftest.$ac_ext
5815 CFLAGS="$saved_CFLAGS"
5817 # The library versions listed in the error message below should match
5818 # the HARD-minimums enforced above.
5819 if test x$have_gmp != xyes; then
5820 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5821 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5822 their locations. Source code for these libraries can be found at
5823 their respective hosting sites as well as at
5824 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5825 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5826 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5827 make sure that you have installed both the libraries and the header
5828 files. They may be located in separate packages." "$LINENO" 5
5832 # Flags needed for both GMP, MPFR and/or MPC.
5840 # Allow host libstdc++ to be specified for static linking with PPL.
5842 # Check whether --with-host-libstdcxx was given.
5843 if test "${with_host_libstdcxx+set}" = set; then :
5844 withval=$with_host_libstdcxx;
5848 case $with_host_libstdcxx in
5850 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5854 # Libraries to use for stage1 or when not bootstrapping.
5856 # Check whether --with-stage1-libs was given.
5857 if test "${with_stage1_libs+set}" = set; then :
5858 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5861 stage1_libs=$withval
5864 stage1_libs=$with_host_libstdcxx
5869 # Linker flags to use for stage1 or when not bootstrapping.
5871 # Check whether --with-stage1-ldflags was given.
5872 if test "${with_stage1_ldflags+set}" = set; then :
5873 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5876 stage1_ldflags=$withval
5880 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5881 # if supported. But if the user explicitly specified the libraries to use,
5882 # trust that they are doing what they want.
5883 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5884 stage1_ldflags="-static-libstdc++ -static-libgcc"
5890 # Libraries to use for stage2 and later builds. This defaults to the
5891 # argument passed to --with-host-libstdcxx.
5893 # Check whether --with-boot-libs was given.
5894 if test "${with_boot_libs+set}" = set; then :
5895 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5898 poststage1_libs=$withval
5901 poststage1_libs=$with_host_libstdcxx
5906 # Linker flags to use for stage2 and later builds.
5908 # Check whether --with-boot-ldflags was given.
5909 if test "${with_boot_ldflags+set}" = set; then :
5910 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5913 poststage1_ldflags=$withval
5917 # In stages 2 and 3, default to linking libstdc++ and libgcc
5918 # statically. But if the user explicitly specified the libraries to
5919 # use, trust that they are doing what they want.
5920 if test "$poststage1_libs" = ""; then
5921 poststage1_ldflags="-static-libstdc++ -static-libgcc"
5927 # GCC GRAPHITE dependency ISL.
5928 # Basic setup is inlined here, actual checks are in config/isl.m4
5931 # Check whether --with-isl was given.
5932 if test "${with_isl+set}" = set; then :
5937 # Treat --without-isl as a request to disable
5938 # GRAPHITE support and skip all following checks.
5939 if test "x$with_isl" != "xno"; then
5943 # Check whether --with-isl-include was given.
5944 if test "${with_isl_include+set}" = set; then :
5945 withval=$with_isl_include;
5949 # Check whether --with-isl-lib was given.
5950 if test "${with_isl_lib+set}" = set; then :
5951 withval=$with_isl_lib;
5955 # Check whether --enable-isl-version-check was given.
5956 if test "${enable_isl_version_check+set}" = set; then :
5957 enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
5959 ENABLE_ISL_CHECK=yes
5963 # Initialize isllibs and islinc.
5972 isllibs="-L$with_isl/lib"
5973 islinc="-I$with_isl/include"
5976 if test "x${with_isl_include}" != x ; then
5977 islinc="-I$with_isl_include"
5979 if test "x${with_isl_lib}" != x; then
5980 isllibs="-L$with_isl_lib"
5982 if test "x${islinc}" = x && test "x${isllibs}" = x \
5983 && test -d ${srcdir}/isl; then
5984 isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5985 islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5988 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5991 isllibs="${isllibs} -lisl"
5995 if test "${ENABLE_ISL_CHECK}" = yes ; then
5996 _isl_saved_CFLAGS=$CFLAGS
5997 _isl_saved_LDFLAGS=$LDFLAGS
5998 _isl_saved_LIBS=$LIBS
6000 CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6001 LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
6002 LIBS="${_isl_saved_LIBS} -lisl"
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
6005 $as_echo_n "checking for compatible ISL... " >&6; }
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6008 #include <isl/val.h>
6017 if ac_fn_c_try_link "$LINENO"; then :
6022 rm -f core conftest.err conftest.$ac_objext \
6023 conftest$ac_exeext conftest.$ac_ext
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6025 $as_echo "$gcc_cv_isl" >&6; }
6027 CFLAGS=$_isl_saved_CFLAGS
6028 LDFLAGS=$_isl_saved_LDFLAGS
6029 LIBS=$_isl_saved_LIBS
6037 if test "x${with_isl}" = xno; then
6038 graphite_requested=no
6039 elif test "x${with_isl}" != x \
6040 || test "x${with_isl_include}" != x \
6041 || test "x${with_isl_lib}" != x ; then
6042 graphite_requested=yes
6044 graphite_requested=no
6049 if test "${gcc_cv_isl}" = no ; then
6054 if test "${graphite_requested}" = yes \
6055 && test "x${isllibs}" = x \
6056 && test "x${islinc}" = x ; then
6058 as_fn_error "Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6064 # If the ISL check failed, disable builds of in-tree variant of ISL
6065 if test "x$with_isl" = xno ||
6066 test "x$gcc_cv_isl" = xno; then
6067 noconfigdirs="$noconfigdirs isl"
6074 # Check for LTO support.
6075 # Check whether --enable-lto was given.
6076 if test "${enable_lto+set}" = set; then :
6077 enableval=$enable_lto; enable_lto=$enableval
6079 enable_lto=yes; default_enable_lto=yes
6088 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
6089 *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
6090 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
6099 if test $target_elf = yes; then :
6100 # ELF platforms build the lto-plugin always.
6101 build_lto_plugin=yes
6104 if test x"$default_enable_lto" = x"yes" ; then
6106 *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
6107 # On other non-ELF platforms, LTO has yet to be validated.
6111 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6112 # It would also be nice to check the binutils support, but we don't
6113 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6114 # warn during gcc/ subconfigure; unless you're bootstrapping with
6115 # -flto it won't be needed until after installation anyway.
6117 *-cygwin* | *-mingw* | *-apple-darwin*) ;;
6118 *) if test x"$enable_lto" = x"yes"; then
6119 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
6124 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6125 # Build it unless LTO was explicitly disabled.
6127 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
6134 # Check whether --enable-linker-plugin-configure-flags was given.
6135 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6136 enableval=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags=$enableval
6138 extra_linker_plugin_configure_flags=
6142 # Check whether --enable-linker-plugin-flags was given.
6143 if test "${enable_linker_plugin_flags+set}" = set; then :
6144 enableval=$enable_linker_plugin_flags; extra_linker_plugin_flags=$enableval
6146 extra_linker_plugin_flags=
6152 # By default, C and C++ are the only stage 1 languages.
6153 stage1_languages=,c,
6155 # Target libraries that we bootstrap.
6156 bootstrap_target_libs=,target-libgcc,
6158 # Figure out what language subdirectories are present.
6159 # Look if the user specified --enable-languages="..."; if not, use
6160 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6162 # NB: embedded tabs in this IF block -- do not untabify
6163 if test -d ${srcdir}/gcc; then
6164 if test x"${enable_languages+set}" != xset; then
6165 if test x"${LANGUAGES+set}" = xset; then
6166 enable_languages="${LANGUAGES}"
6167 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
6169 enable_languages=all
6172 if test x"${enable_languages}" = x ||
6173 test x"${enable_languages}" = xyes;
6175 echo configure.in: --enable-languages needs at least one language argument 1>&2
6179 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6181 # 'f95' is the old name for the 'fortran' language. We issue a warning
6182 # and make the substitution.
6183 case ,${enable_languages}, in
6185 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
6186 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6190 # If bootstrapping, C++ must be enabled.
6191 case ",$enable_languages,:$enable_bootstrap" in
6194 if test -f ${srcdir}/gcc/cp/config-lang.in; then
6195 enable_languages="${enable_languages},c++"
6197 as_fn_error "bootstrapping requires c++ sources" "$LINENO" 5
6202 # First scan to see if an enabled language requires some other language.
6203 # We assume that a given config-lang.in will list all the language
6204 # front ends it requires, even if some are required indirectly.
6205 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6206 case ${lang_frag} in
6208 # The odd quoting in the next line works around
6209 # an apparent bug in bash 1.12 on linux.
6210 ${srcdir}/gcc/[*]/config-lang.in) ;;
6212 # From the config-lang.in, get $language, $lang_requires, and
6213 # $lang_requires_boot_languages.
6216 lang_requires_boot_languages=
6218 for other in ${lang_requires} ${lang_requires_boot_languages}; do
6219 case ,${enable_languages}, in
6223 echo " \`$other' language required by \`$language'; enabling" 1>&2
6224 enable_languages="${enable_languages},${other}"
6228 for other in ${lang_requires_boot_languages} ; do
6229 if test "$other" != "c"; then
6230 case ,${enable_stage1_languages}, in
6234 case ,${enable_languages}, in
6236 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6237 enable_stage1_languages="$enable_stage1_languages,${other}"
6248 new_enable_languages=,c,
6250 # If LTO is enabled, add the LTO front end.
6251 if test "$enable_lto" = "yes" ; then
6252 case ,${enable_languages}, in
6254 *) enable_languages="${enable_languages},lto" ;;
6256 if test "${build_lto_plugin}" = "yes" ; then
6257 configdirs="$configdirs lto-plugin"
6261 # If we're building an offloading compiler, add the LTO front end.
6262 if test x"$enable_as_accelerator_for" != x ; then
6263 case ,${enable_languages}, in
6265 *) enable_languages="${enable_languages},lto" ;;
6269 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6270 potential_languages=,c,
6272 enabled_target_libs=
6273 disabled_target_libs=
6275 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6276 case ${lang_frag} in
6278 # The odd quoting in the next line works around
6279 # an apparent bug in bash 1.12 on linux.
6280 ${srcdir}/gcc/[*]/config-lang.in) ;;
6282 # From the config-lang.in, get $language, $target_libs,
6283 # $lang_dirs, $boot_language, and $build_by_default
6289 build_by_default=yes
6291 if test x${language} = x; then
6292 echo "${lang_frag} doesn't set \$language." 1>&2
6296 if test "$language" = "c++"; then
6301 case ,${enable_languages}, in
6303 # Language was explicitly selected; include it
6304 # unless it is C, which is enabled by default.
6305 if test "$language" != "c"; then
6310 # 'all' was selected, select it if it is a default language
6311 if test "$language" != "c"; then
6312 add_this_lang=${build_by_default}
6317 # Disable languages that need other directories if these aren't available.
6318 for i in $subdir_requires; do
6319 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6320 case ,${enable_languages}, in
6322 # Specifically requested language; tell them.
6323 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6327 add_this_lang=unsupported
6332 # Disable Ada if no preexisting GNAT is available.
6333 case ,${enable_languages},:${language}:${have_gnat} in
6334 *,${language},*:ada:no)
6335 # Specifically requested language; tell them.
6336 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6340 add_this_lang=unsupported
6344 # Disable a language that is unsupported by the target.
6345 case " $unsupported_languages " in
6347 add_this_lang=unsupported
6351 case $add_this_lang in
6353 # Remove language-dependent dirs.
6354 disabled_target_libs="$disabled_target_libs $target_libs"
6355 noconfigdirs="$noconfigdirs $lang_dirs"
6358 # Remove language-dependent dirs; still show language as supported.
6359 disabled_target_libs="$disabled_target_libs $target_libs"
6360 noconfigdirs="$noconfigdirs $lang_dirs"
6361 potential_languages="${potential_languages}${language},"
6364 new_enable_languages="${new_enable_languages}${language},"
6365 potential_languages="${potential_languages}${language},"
6366 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6367 enabled_target_libs="$enabled_target_libs $target_libs"
6368 case "${boot_language}:,$enable_stage1_languages," in
6369 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6370 # Add to (comma-separated) list of stage 1 languages.
6371 case ",$stage1_languages," in
6372 *,$language,* | ,yes, | ,all,) ;;
6373 *) stage1_languages="${stage1_languages}${language}," ;;
6375 # We need to bootstrap any supporting libraries.
6376 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6385 # Add target libraries which are only needed for disabled languages
6387 if test -n "$disabled_target_libs"; then
6388 for dir in $disabled_target_libs; do
6389 case " $enabled_target_libs " in
6391 *) noconfigdirs="$noconfigdirs $dir" ;;
6396 # Check whether --enable-stage1-languages was given.
6397 if test "${enable_stage1_languages+set}" = set; then :
6398 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6400 # Set it to something that will have no effect in the loop below
6401 enable_stage1_languages=c ;;
6403 enable_stage1_languages=`echo $new_enable_languages | \
6404 sed -e "s/^,//" -e "s/,$//" ` ;;
6406 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6407 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6410 # Add "good" languages from enable_stage1_languages to stage1_languages,
6411 # while "bad" languages go in missing_languages. Leave no duplicates.
6412 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6413 case $potential_languages in
6415 case $stage1_languages in
6417 *) stage1_languages="$stage1_languages$i," ;;
6420 case $missing_languages in
6422 *) missing_languages="$missing_languages$i," ;;
6429 # Remove leading/trailing commas that were added for simplicity
6430 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6431 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6432 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6433 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6435 if test "x$missing_languages" != x; then
6437 The following requested languages could not be built: ${missing_languages}
6438 Supported languages are: ${potential_languages}" "$LINENO" 5
6440 if test "x$new_enable_languages" != "x$enable_languages"; then
6441 echo The following languages will be built: ${new_enable_languages}
6442 enable_languages="$new_enable_languages"
6446 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6449 # Handle --disable-<component> generically.
6450 for dir in $configdirs $build_configdirs $target_configdirs ; do
6451 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6452 varname=`echo $dirname | sed -e s/+/_/g`
6453 if eval test x\${enable_${varname}} "=" xno ; then
6454 noconfigdirs="$noconfigdirs $dir"
6458 # Check for Boehm's garbage collector
6459 # Check whether --enable-objc-gc was given.
6460 if test "${enable_objc_gc+set}" = set; then :
6461 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6462 *,objc,*:*:yes:*target-boehm-gc*)
6463 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6469 # Make sure we only build Boehm's garbage collector if required.
6470 case ,${enable_languages},:${enable_objc_gc} in
6472 # Keep target-boehm-gc if requested for Objective-C.
6475 # Otherwise remove target-boehm-gc depending on target-libjava.
6476 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6477 noconfigdirs="$noconfigdirs target-boehm-gc"
6482 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6483 case ,${enable_languages}, in
6485 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6486 case "${noconfigdirs}" in
6487 *target-libstdc++-v3*)
6488 noconfigdirs="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6494 noconfigdirs="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6498 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6499 # $build_configdirs and $target_configdirs.
6500 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6503 for dir in . $skipdirs $noconfigdirs ; do
6504 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6505 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6506 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6507 if test -r $srcdir/$dirname/configure ; then
6508 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6511 notsupp="$notsupp $dir"
6515 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6516 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6517 if test -r $srcdir/$dirname/configure ; then
6518 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6521 notsupp="$notsupp $dir"
6525 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6526 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6527 if test -r $srcdir/$dirname/configure ; then
6528 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6531 notsupp="$notsupp $dir"
6537 # Quietly strip out all directories which aren't configurable in this tree.
6538 # This relies on all configurable subdirectories being autoconfiscated, which
6540 build_configdirs_all="$build_configdirs"
6542 for i in ${build_configdirs_all} ; do
6543 j=`echo $i | sed -e s/build-//g`
6544 if test -f ${srcdir}/$j/configure ; then
6545 build_configdirs="${build_configdirs} $i"
6549 configdirs_all="$configdirs"
6551 for i in ${configdirs_all} ; do
6552 if test -f ${srcdir}/$i/configure ; then
6553 configdirs="${configdirs} $i"
6557 target_configdirs_all="$target_configdirs"
6559 for i in ${target_configdirs_all} ; do
6560 j=`echo $i | sed -e s/target-//g`
6561 if test -f ${srcdir}/$j/configure ; then
6562 target_configdirs="${target_configdirs} $i"
6566 # Exclude target-zlib if target-libjava isn't built.
6567 case ${target_configdirs} in
6571 target_configdirs="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
6575 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6576 # so we have to add it after the preceding checks.
6577 if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6579 case " $configdirs " in
6581 # If we can build libiberty, we can also build libiberty-linker-plugin.
6582 configdirs="$configdirs libiberty-linker-plugin"
6583 extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
6584 --with-libiberty=../libiberty-linker-plugin";;
6586 as_fn_error "libiberty missing" "$LINENO" 5;;
6590 # Sometimes we have special requirements for the host libiberty.
6591 extra_host_libiberty_configure_flags=
6592 extra_host_zlib_configure_flags=
6593 case " $configdirs " in
6594 *" lto-plugin "* | *" libcc1 "*)
6595 # When these are to be built as shared libraries, the same applies to
6597 extra_host_libiberty_configure_flags=--enable-shared
6600 # When bfd is to be built as a shared library, the same applies to
6602 if test "$enable_shared" = "yes"; then
6603 extra_host_zlib_configure_flags=--enable-host-shared
6610 # Produce a warning message for the subdirs we can't configure.
6611 # This isn't especially interesting in the Cygnus tree, but in the individual
6612 # FSF releases, it's important to let people know when their machine isn't
6613 # supported by the one or two programs in a package.
6615 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6616 # If $appdirs is non-empty, at least one of those directories must still
6617 # be configured, or we error out. (E.g., if the gas release supports a
6618 # specified target in some subdirs but not the gas subdir, we shouldn't
6619 # pretend that all is well.)
6620 if test -n "$appdirs" ; then
6621 for dir in $appdirs ; do
6622 if test -r $dir/Makefile.in ; then
6623 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6627 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6633 if test -n "$appdirs" ; then
6634 echo "*** This configuration is not supported by this package." 1>&2
6638 # Okay, some application will build, or we don't care to check. Still
6639 # notify of subdirs not getting built.
6640 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6641 echo " ${notsupp}" 1>&2
6642 echo " (Any other directories should still work fine.)" 1>&2
6650 # To find our prefix, in gcc_cv_tool_prefix.
6652 # The user is always right.
6653 if test "${PATH_SEPARATOR+set}" != set; then
6654 echo "#! /bin/sh" >conf$$.sh
6655 echo "exit 0" >>conf$$.sh
6657 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6667 if test "x$exec_prefix" = xNONE; then
6668 if test "x$prefix" = xNONE; then
6669 gcc_cv_tool_prefix=$ac_default_prefix
6671 gcc_cv_tool_prefix=$prefix
6674 gcc_cv_tool_prefix=$exec_prefix
6677 # If there is no compiler in the tree, use the PATH only. In any
6678 # case, if there is no compiler in the tree nobody should use
6679 # AS_FOR_TARGET and LD_FOR_TARGET.
6680 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6681 gcc_version=`cat $srcdir/gcc/BASE-VER`
6682 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6683 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6684 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6685 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6686 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6687 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6692 if test x$build = x$target && test -n "$md_exec_prefix"; then
6693 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6701 # Check whether --with-build-sysroot was given.
6702 if test "${with_build_sysroot+set}" = set; then :
6703 withval=$with_build_sysroot; if test x"$withval" != x ; then
6704 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6707 SYSROOT_CFLAGS_FOR_TARGET=
6713 # Check whether --with-debug-prefix-map was given.
6714 if test "${with_debug_prefix_map+set}" = set; then :
6715 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6716 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6717 for debug_map in $withval; do
6718 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6722 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6727 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6728 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6729 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6730 # We want to ensure that TARGET libraries (which we know are built with
6731 # gcc) are built with "-O2 -g", so include those options when setting
6732 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6733 if test "x$CFLAGS_FOR_TARGET" = x; then
6734 if test "x${is_cross_compiler}" = xyes; then
6735 CFLAGS_FOR_TARGET="-g -O2"
6737 CFLAGS_FOR_TARGET=$CFLAGS
6740 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
6743 *" -g "* | *" -g3 "*) ;;
6744 *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
6750 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6751 if test "x${is_cross_compiler}" = xyes; then
6752 CXXFLAGS_FOR_TARGET="-g -O2"
6754 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6755 case " $CXXFLAGS " in
6757 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
6759 case " $CXXFLAGS " in
6760 *" -g "* | *" -g3 "*) ;;
6761 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
6769 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6770 # the named directory are copied to $(tooldir)/sys-include.
6771 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6772 if test x${is_cross_compiler} = xno ; then
6773 echo 1>&2 '***' --with-headers is only supported when cross compiling
6776 if test x"${with_headers}" != xyes ; then
6777 x=${gcc_cv_tool_prefix}
6778 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6782 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6783 # the name directories are copied to $(tooldir)/lib. Multiple directories
6785 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6786 if test x${is_cross_compiler} = xno ; then
6787 echo 1>&2 '***' --with-libs is only supported when cross compiling
6790 if test x"${with_libs}" != xyes ; then
6791 # Copy the libraries in reverse order, so that files in the first named
6792 # library override files in subsequent libraries.
6793 x=${gcc_cv_tool_prefix}
6794 for l in ${with_libs}; do
6795 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6800 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6802 # This is done by determining whether or not the appropriate directory
6803 # is available, and by checking whether or not specific configurations
6804 # have requested that this magic not happen.
6806 # The command line options always override the explicit settings in
6807 # configure.in, and the settings in configure.in override this magic.
6809 # If the default for a toolchain is to use GNU as and ld, and you don't
6810 # want to do that, then you should use the --without-gnu-as and
6811 # --without-gnu-ld options for the configure script. Similarly, if
6812 # the default is to use the included zlib and you don't want to do that,
6813 # you should use the --with-system-zlib option for the configure script.
6815 if test x${use_gnu_as} = x &&
6816 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6818 extra_host_args="$extra_host_args --with-gnu-as"
6821 if test x${use_gnu_ld} = x &&
6822 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6824 extra_host_args="$extra_host_args --with-gnu-ld"
6827 if test x${use_included_zlib} = x &&
6828 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6831 with_system_zlib=yes
6832 extra_host_args="$extra_host_args --with-system-zlib"
6835 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6836 # can detect this case.
6838 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6840 extra_host_args="$extra_host_args --with-newlib"
6843 # Handle ${copy_dirs}
6844 set fnord ${copy_dirs}
6846 while test $# != 0 ; do
6847 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6850 echo Copying $1 to $2
6852 # Use the install script to create the directory and all required
6853 # parent directories.
6854 if test -d $2 ; then
6858 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6861 # Copy the directory, assuming we have tar.
6862 # FIXME: Should we use B in the second tar? Not all systems support it.
6863 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6865 # It is the responsibility of the user to correctly adjust all
6866 # symlinks. If somebody can figure out how to handle them correctly
6867 # here, feel free to add the code.
6874 # Determine a target-dependent exec_prefix that the installed
6875 # gcc will search in. Keep this list sorted by triplet, with
6876 # the *-*-osname triplets last.
6879 i[34567]86-pc-msdosdjgpp*)
6880 md_exec_prefix=/dev/env/DJDIR/bin
6885 md_exec_prefix=/usr/ccs/bin
6889 extra_arflags_for_target=
6890 extra_nmflags_for_target=
6891 extra_ranlibflags_for_target=
6892 target_makefile_frag=/dev/null
6895 target_makefile_frag="config/mt-spu"
6897 mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
6898 target_makefile_frag="config/mt-sde"
6900 mipsisa*-*-elfoabi*)
6901 target_makefile_frag="config/mt-mips-elfoabi"
6903 mips*-*-*linux* | mips*-*-gnu*)
6904 target_makefile_frag="config/mt-mips-gnu"
6907 target_makefile_frag="config/mt-nios2-elf"
6909 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6910 target_makefile_frag="config/mt-gnu"
6912 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6913 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6914 # commands to handle both 32-bit and 64-bit objects. These flags are
6915 # harmless if we're using GNU nm or ar.
6916 extra_arflags_for_target=" -X32_64"
6917 extra_nmflags_for_target=" -B -X32_64"
6921 alphaieee_frag=/dev/null
6924 # This just makes sure to use the -mieee option to build target libs.
6925 # This should probably be set individually by each library.
6926 alphaieee_frag="config/mt-alphaieee"
6930 # If --enable-target-optspace always use -Os instead of -O2 to build
6931 # the target libraries, similarly if it is not specified, use -Os
6932 # on selected platforms.
6933 ospace_frag=/dev/null
6934 case "${enable_target_optspace}:${target}" in
6936 ospace_frag="config/mt-ospace"
6939 ospace_frag="config/mt-d30v"
6941 :m32r-* | :d10v-* | :fr30-*)
6942 ospace_frag="config/mt-ospace"
6947 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6951 # Some systems (e.g., one of the i386-aix systems the gas testers are
6952 # using) don't handle "\$" correctly, so don't use it here.
6953 tooldir='${exec_prefix}'/${target_noncanonical}
6954 build_tooldir=${tooldir}
6956 # Create a .gdbinit file which runs the one in srcdir
6957 # and tells GDB to look there for source files.
6959 if test -r ${srcdir}/.gdbinit ; then
6962 *) cat > ./.gdbinit <<EOF
6966 source ${srcdir}/.gdbinit
6972 # Make sure that the compiler is able to generate an executable. If it
6973 # can't, we are probably in trouble. We don't care whether we can run the
6974 # executable--we might be using a cross compiler--we only care whether it
6975 # can be created. At this point the main configure script has set CC.
6977 echo "int main () { return 0; }" > conftest.c
6978 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6979 if test $? = 0 ; then
6980 if test -s conftest || test -s conftest.exe ; then
6986 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6987 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6994 # Decide which environment variable is used to find dynamic libraries.
6996 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6997 *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6998 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6999 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
7002 # On systems where the dynamic library environment variable is PATH,
7003 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7004 # built executables to PATH.
7005 if test "$RPATH_ENVVAR" = PATH; then
7006 GCC_SHLIB_SUBDIR=/shlib
7011 # Adjust the toplevel makefile according to whether bootstrap was selected.
7012 case $enable_bootstrap in
7014 bootstrap_suffix=bootstrap
7015 BUILD_CONFIG=bootstrap-debug
7018 bootstrap_suffix=no-bootstrap
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7024 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7027 # Check whether --with-build-config was given.
7028 if test "${with_build_config+set}" = set; then :
7029 withval=$with_build_config; case $with_build_config in
7030 yes) with_build_config= ;;
7031 no) with_build_config= BUILD_CONFIG= ;;
7036 if test "x${with_build_config}" != x; then
7037 BUILD_CONFIG=$with_build_config
7039 case $BUILD_CONFIG in
7041 if echo "int f (void) { return 0; }" > conftest.c &&
7042 ${CC} -c conftest.c &&
7043 mv conftest.o conftest.o.g0 &&
7044 ${CC} -c -g conftest.c &&
7045 mv conftest.o conftest.o.g &&
7046 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
7051 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7056 $as_echo "$BUILD_CONFIG" >&6; }
7059 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7061 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7062 # Check whether --enable-vtable-verify was given.
7063 if test "${enable_vtable_verify+set}" = set; then :
7064 enableval=$enable_vtable_verify; case "$enableval" in
7065 yes) enable_vtable_verify=yes ;;
7066 no) enable_vtable_verify=no ;;
7067 *) enable_vtable_verify=no;;
7070 enable_vtable_verify=no
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7074 $as_echo "$enable_vtable_verify" >&6; }
7076 # Record target_configdirs and the configure arguments for target and
7077 # build configuration in Makefile.
7078 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7079 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7080 bootstrap_fixincludes=no
7082 # If we are building libgomp, bootstrap it.
7083 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
7084 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
7087 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7088 # or bootstrap-ubsan, bootstrap it.
7089 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
7090 case "$BUILD_CONFIG" in
7091 *bootstrap-asan* | *bootstrap-ubsan* )
7092 bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
7093 bootstrap_fixincludes=yes
7098 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7099 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
7100 test "$enable_vtable_verify" != no; then
7101 bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
7104 # If we are building libmpx, bootstrap it.
7105 if echo " ${target_configdirs} " | grep " libmpx " > /dev/null 2>&1; then
7106 bootstrap_target_libs=${bootstrap_target_libs}target-libmpx,
7109 # Determine whether gdb needs tk/tcl or not.
7110 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7111 # and in that case we want gdb to be built without tk. Ugh!
7112 # In fact I believe gdb is the *only* package directly dependent on tk,
7113 # so we should be able to put the 'maybe's in unconditionally and
7114 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7115 # 100% sure that that's safe though.
7117 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7118 case "$enable_gdbtk" in
7122 GDB_TK="${gdb_tk}" ;;
7124 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7125 # distro. Eventually someone will fix this and move Insight, nee
7126 # gdbtk to a separate directory.
7127 if test -d ${srcdir}/gdb/gdbtk ; then
7134 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7135 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7137 # Strip out unwanted targets.
7139 # While at that, we remove Makefiles if we were started for recursive
7140 # configuration, so that the top-level Makefile reconfigures them,
7141 # like we used to do when configure itself was recursive.
7143 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7144 # but now we're fixing up the Makefile ourselves with the additional
7145 # commands passed to AC_CONFIG_FILES. Use separate variables
7146 # extrasub-{build,host,target} not because there is any reason to split
7147 # the substitutions up that way, but only to remain below the limit of
7148 # 99 commands in a script, for HP-UX sed.
7149 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7151 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7152 yes:yes:*\ gold\ *:*,c++,*) ;;
7153 yes:yes:*\ gold\ *:*)
7154 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7159 for module in ${build_configdirs} ; do
7160 if test -z "${no_recursion}" \
7161 && test -f ${build_subdir}/${module}/Makefile; then
7162 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7163 rm -f ${build_subdir}/${module}/Makefile
7165 extrasub_build="$extrasub_build
7166 /^@if build-$module\$/d
7167 /^@endif build-$module\$/d
7168 /^@if build-$module-$bootstrap_suffix\$/d
7169 /^@endif build-$module-$bootstrap_suffix\$/d"
7172 for module in ${configdirs} ; do
7173 if test -z "${no_recursion}"; then
7174 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7175 if test -f ${file}; then
7176 echo 1>&2 "*** removing ${file} to force reconfigure"
7181 case ${module},${bootstrap_fixincludes} in
7182 fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
7183 *) host_bootstrap_suffix=$bootstrap_suffix ;;
7185 extrasub_host="$extrasub_host
7187 /^@endif $module\$/d
7188 /^@if $module-$host_bootstrap_suffix\$/d
7189 /^@endif $module-$host_bootstrap_suffix\$/d"
7192 for module in ${target_configdirs} ; do
7193 if test -z "${no_recursion}" \
7194 && test -f ${target_subdir}/${module}/Makefile; then
7195 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7196 rm -f ${target_subdir}/${module}/Makefile
7199 # We only bootstrap target libraries listed in bootstrap_target_libs.
7200 case $bootstrap_target_libs in
7201 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7202 *) target_bootstrap_suffix=no-bootstrap ;;
7205 extrasub_target="$extrasub_target
7206 /^@if target-$module\$/d
7207 /^@endif target-$module\$/d
7208 /^@if target-$module-$target_bootstrap_suffix\$/d
7209 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7212 # Do the final fixup along with target modules.
7213 extrasub_target="$extrasub_target
7214 /^@if /,/^@endif /d"
7216 # Create the serialization dependencies. This uses a temporary file.
7218 # Check whether --enable-serial-configure was given.
7219 if test "${enable_serial_configure+set}" = set; then :
7220 enableval=$enable_serial_configure;
7224 case ${enable_serial_configure} in
7226 enable_serial_build_configure=yes
7227 enable_serial_host_configure=yes
7228 enable_serial_target_configure=yes
7232 # These force 'configure's to be done one at a time, to avoid problems
7233 # with contention over a shared config.cache.
7235 echo '# serdep.tmp' > serdep.tmp
7237 test "x${enable_serial_build_configure}" = xyes &&
7238 for item in ${build_configdirs} ; do
7241 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7246 test "x${enable_serial_host_configure}" = xyes &&
7247 for item in ${configdirs} ; do
7250 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7255 test "x${enable_serial_target_configure}" = xyes &&
7256 for item in ${target_configdirs} ; do
7259 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7263 serialization_dependencies=serdep.tmp
7266 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7267 # target, nonopt, and variable assignments. These are the ones we
7268 # might not want to pass down to subconfigures. The exception being
7269 # --cache-file=/dev/null, which is used to turn off the use of cache
7270 # files altogether, and which should be passed on to subconfigures.
7271 # Also strip program-prefix, program-suffix, and program-transform-name,
7272 # so that we can pass down a consistent program-transform-name.
7277 eval "set -- $ac_configure_args"
7280 if test X"$skip_next" = X"yes"; then
7284 if test X"$keep_next" = X"yes"; then
7287 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7289 baseargs="$baseargs '$ac_arg'"
7290 tbaseargs="$tbaseargs '$ac_arg'"
7295 # Handle separated arguments. Based on the logic generated by
7298 *=* | --config-cache | -C | -disable-* | --disable-* \
7299 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7300 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7301 | -with-* | --with-* | -without-* | --without-* | --x)
7315 --with-* | --without-*)
7316 libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7320 lib=`echo "$libopt" | sed 's,[-_]include$,,'`
7323 lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
7332 mpc | mpfr | gmp | isl)
7333 # If we're processing --with-$lib, --with-$lib-include or
7334 # --with-$lib-lib, for one of the libs above, and target is
7335 # different from host, don't pass the current argument to any
7336 # target library's configure.
7337 if test x$is_cross_compiler = xyes; then
7346 --cache-file=/dev/null | \
7347 -cache-file=/dev/null )
7348 # Handled here to avoid the test to skip args below.
7349 baseargs="$baseargs '$ac_arg'"
7350 tbaseargs="$tbaseargs '$ac_arg'"
7351 # Assert: $separate_arg should always be no.
7352 keep_next=$separate_arg
7368 -program-prefix* | \
7369 -program-suffix* | \
7370 -program-transform-name* )
7371 skip_next=$separate_arg
7375 # An option. Add it.
7378 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7380 baseargs="$baseargs '$ac_arg'"
7381 if test X"$skip_targ" = Xno; then
7382 tbaseargs="$tbaseargs '$ac_arg'"
7384 keep_next=$separate_arg
7387 # Either a variable assignment, or a nonopt (triplet). Don't
7388 # pass it down; let the Makefile handle this.
7393 # Remove the initial space we just introduced and, as these will be
7394 # expanded by make, quote '$'.
7395 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7397 # Add in --program-transform-name, after --program-prefix and
7398 # --program-suffix have been applied to it. Autoconf has already
7399 # doubled dollar signs and backslashes in program_transform_name; we want
7400 # the backslashes un-doubled, and then the entire thing wrapped in single
7401 # quotes, because this will be expanded first by make and then by the shell.
7402 # Also, because we want to override the logic in subdir configure scripts to
7403 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7404 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7405 ${program_transform_name}
7407 gcc_transform_name=`cat conftestsed.out`
7408 rm -f conftestsed.out
7409 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7410 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7411 if test "$silent" = yes; then
7412 baseargs="$baseargs --silent"
7413 tbaseargs="$tbaseargs --silent"
7415 baseargs="$baseargs --disable-option-checking"
7416 tbaseargs="$tbaseargs --disable-option-checking"
7418 # Record and document user additions to sub configure arguments.
7423 # For the build-side libraries, we just need to pretend we're native,
7424 # and not use the same cache file. Multilibs are neither needed nor
7425 # desired. We can't even use the same cache file for all build-side
7426 # libraries, as they're compiled differently; some with C, some with
7427 # C++ or with different feature-enabling options.
7428 build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
7430 # For host modules, accept cache file option, or specification as blank.
7431 case "${cache_file}" in
7433 cache_file_option="" ;;
7434 /* | [A-Za-z]:[\\/]* ) # absolute path
7435 cache_file_option="--cache-file=${cache_file}" ;;
7437 cache_file_option="--cache-file=../${cache_file}" ;;
7440 # Host dirs don't like to share a cache file either, horribly enough.
7441 # This seems to be due to autoconf 2.5x stupidity.
7442 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7444 target_configargs="$target_configargs ${tbaseargs}"
7446 # Passing a --with-cross-host argument lets the target libraries know
7447 # whether they are being built with a cross-compiler or being built
7448 # native. However, it would be better to use other mechanisms to make the
7449 # sorts of decisions they want to make on this basis. Please consider
7450 # this option to be deprecated. FIXME.
7451 if test x${is_cross_compiler} = xyes ; then
7452 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7455 # Special user-friendly check for native x86_64-linux build, if
7456 # multilib is not explicitly enabled.
7457 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7458 x86_64-*linux*:yes:$build:$build:)
7459 # Make sure we have a developement environment that handles 32-bit
7461 echo "int main () { return 0; }" > conftest.c
7462 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7463 if test $? = 0 ; then
7464 if test -s conftest || test -s conftest.exe ; then
7469 if test x${dev64} != xyes ; then
7470 as_fn_error "I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7475 # Default to --enable-multilib.
7476 if test x${enable_multilib} = x ; then
7477 target_configargs="--enable-multilib ${target_configargs}"
7480 # Pass --with-newlib if appropriate. Note that target_configdirs has
7481 # changed from the earlier setting of with_newlib.
7482 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7483 target_configargs="--with-newlib ${target_configargs}"
7486 # Different target subdirs use different values of certain variables
7487 # (notably CXX). Worse, multilibs use *lots* of different values.
7488 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7489 # it doesn't automatically accept command-line overrides of them.
7490 # This means it's not safe for target subdirs to share a cache file,
7491 # which is disgusting, but there you have it. Hopefully this can be
7492 # fixed in future. It's still worthwhile to use a cache file for each
7493 # directory. I think.
7495 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7496 # We need to pass --target, as newer autoconf's requires consistency
7497 # for target_alias and gcc doesn't manage it consistently.
7498 target_configargs="--cache-file=./config.cache ${target_configargs}"
7501 case " $target_configdirs " in
7503 case " $target_configargs " in
7504 *" --with-newlib "*)
7507 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7511 # If we're not building GCC, don't discard standard headers.
7512 if test -d ${srcdir}/gcc; then
7513 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7515 if test "${build}" != "${host}"; then
7516 # On Canadian crosses, CC_FOR_TARGET will have already been set
7517 # by `configure', so we won't have an opportunity to add -Bgcc/
7518 # to it. This is right: we don't want to search that directory
7519 # for binaries, but we want the header files in there, so add
7521 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7523 # Someone might think of using the pre-installed headers on
7524 # Canadian crosses, in case the installed compiler is not fully
7525 # compatible with the compiler being built. In this case, it
7526 # would be better to flag an error than risking having
7527 # incompatible object files being constructed. We can't
7528 # guarantee that an error will be flagged, but let's hope the
7529 # compiler will do it, when presented with incompatible header
7534 case "${target}-${is_cross_compiler}" in
7535 i[3456789]86-*-linux*-no)
7536 # Here host == target, so we don't need to build gcc,
7537 # so we don't want to discard standard headers.
7538 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7541 # If we're building newlib, use its generic headers last, but search
7542 # for any libc-related directories first (so make it the last -B
7544 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7546 # If we're building libgloss, find the startup file, simulator library
7547 # and linker script.
7548 case " $target_configdirs " in
7550 # Look for startup file, simulator library and maybe linker script.
7551 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7552 # Look for libnosys.a in case the target needs it.
7553 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7554 # Most targets have the linker script in the source directory.
7555 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7566 x86_64-*mingw* | *-w64-mingw*)
7567 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7568 # however, use a symlink named 'mingw' in ${prefix} .
7569 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7572 # MinGW can't be handled as Cygwin above since it does not use newlib.
7573 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'
7577 # Allow the user to override the flags for
7578 # our build compiler if desired.
7579 if test x"${build}" = x"${host}" ; then
7580 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7581 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7582 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7585 # On Canadian crosses, we'll be searching the right directories for
7586 # the previously-installed cross compiler, so don't bother to add
7587 # flags for directories within the install tree of the compiler
7588 # being built; programs in there won't even run.
7589 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7590 # Search for pre-installed headers if nothing else fits.
7591 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7594 if test "x${use_gnu_ld}" = x &&
7595 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7596 # Arrange for us to find uninstalled linker scripts.
7597 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7600 # Search for other target-specific linker scripts and such.
7603 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7607 # Makefile fragments.
7608 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7610 eval fragval=\$$frag
7611 if test $fragval != /dev/null; then
7612 eval $frag=${srcdir}/$fragval
7620 # Miscellanea: directories, flags, etc.
7629 # Build module lists & subconfigure args.
7633 # Host module lists & subconfigure args.
7638 # Target module lists & subconfigure args.
7660 # Generate default definitions for YACC, M4, LEX and other programs that run
7661 # on the build machine. These are used if the Makefile can't locate these
7662 # programs in objdir.
7663 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7665 for ac_prog in 'bison -y' byacc yacc
7667 # Extract the first word of "$ac_prog", so it can be a program name with args.
7668 set dummy $ac_prog; ac_word=$2
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7670 $as_echo_n "checking for $ac_word... " >&6; }
7671 if test "${ac_cv_prog_YACC+set}" = set; then :
7672 $as_echo_n "(cached) " >&6
7674 if test -n "$YACC"; then
7675 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7684 ac_cv_prog_YACC="$ac_prog"
7685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 YACC=$ac_cv_prog_YACC
7695 if test -n "$YACC"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7697 $as_echo "$YACC" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7700 $as_echo "no" >&6; }
7704 test -n "$YACC" && break
7706 test -n "$YACC" || YACC="$MISSING bison -y"
7708 case " $build_configdirs " in
7709 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7712 for ac_prog in bison
7714 # Extract the first word of "$ac_prog", so it can be a program name with args.
7715 set dummy $ac_prog; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if test "${ac_cv_prog_BISON+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7721 if test -n "$BISON"; then
7722 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7731 ac_cv_prog_BISON="$ac_prog"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7741 BISON=$ac_cv_prog_BISON
7742 if test -n "$BISON"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7744 $as_echo "$BISON" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7751 test -n "$BISON" && break
7753 test -n "$BISON" || BISON="$MISSING bison"
7755 case " $build_configdirs " in
7756 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7759 for ac_prog in gm4 gnum4 m4
7761 # Extract the first word of "$ac_prog", so it can be a program name with args.
7762 set dummy $ac_prog; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if test "${ac_cv_prog_M4+set}" = set; then :
7766 $as_echo_n "(cached) " >&6
7768 if test -n "$M4"; then
7769 ac_cv_prog_M4="$M4" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_M4="$ac_prog"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7789 if test -n "$M4"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7791 $as_echo "$M4" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7798 test -n "$M4" && break
7800 test -n "$M4" || M4="$MISSING m4"
7802 case " $build_configdirs " in
7803 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7806 for ac_prog in flex lex
7808 # Extract the first word of "$ac_prog", so it can be a program name with args.
7809 set dummy $ac_prog; ac_word=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if test "${ac_cv_prog_LEX+set}" = set; then :
7813 $as_echo_n "(cached) " >&6
7815 if test -n "$LEX"; then
7816 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825 ac_cv_prog_LEX="$ac_prog"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 if test -n "$LEX"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7838 $as_echo "$LEX" >&6; }
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7845 test -n "$LEX" && break
7847 test -n "$LEX" || LEX="$MISSING flex"
7849 case " $build_configdirs " in
7850 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7851 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7856 # Extract the first word of "$ac_prog", so it can be a program name with args.
7857 set dummy $ac_prog; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if test "${ac_cv_prog_FLEX+set}" = set; then :
7861 $as_echo_n "(cached) " >&6
7863 if test -n "$FLEX"; then
7864 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873 ac_cv_prog_FLEX="$ac_prog"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 FLEX=$ac_cv_prog_FLEX
7884 if test -n "$FLEX"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7886 $as_echo "$FLEX" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7893 test -n "$FLEX" && break
7895 test -n "$FLEX" || FLEX="$MISSING flex"
7897 case " $build_configdirs " in
7898 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7901 for ac_prog in makeinfo
7903 # Extract the first word of "$ac_prog", so it can be a program name with args.
7904 set dummy $ac_prog; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7908 $as_echo_n "(cached) " >&6
7910 if test -n "$MAKEINFO"; then
7911 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7920 ac_cv_prog_MAKEINFO="$ac_prog"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 MAKEINFO=$ac_cv_prog_MAKEINFO
7931 if test -n "$MAKEINFO"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7933 $as_echo "$MAKEINFO" >&6; }
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936 $as_echo "no" >&6; }
7940 test -n "$MAKEINFO" && break
7942 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7944 case " $build_configdirs " in
7945 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7948 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7949 # higher, else we use the "missing" dummy.
7950 if ${MAKEINFO} --version \
7951 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7954 MAKEINFO="$MISSING makeinfo"
7960 # FIXME: expect and dejagnu may become build tools?
7962 for ac_prog in expect
7964 # Extract the first word of "$ac_prog", so it can be a program name with args.
7965 set dummy $ac_prog; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7971 if test -n "$EXPECT"; then
7972 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7981 ac_cv_prog_EXPECT="$ac_prog"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 EXPECT=$ac_cv_prog_EXPECT
7992 if test -n "$EXPECT"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7994 $as_echo "$EXPECT" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8001 test -n "$EXPECT" && break
8003 test -n "$EXPECT" || EXPECT="expect"
8005 case " $configdirs " in
8007 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8011 for ac_prog in runtest
8013 # Extract the first word of "$ac_prog", so it can be a program name with args.
8014 set dummy $ac_prog; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8018 $as_echo_n "(cached) " >&6
8020 if test -n "$RUNTEST"; then
8021 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8030 ac_cv_prog_RUNTEST="$ac_prog"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 RUNTEST=$ac_cv_prog_RUNTEST
8041 if test -n "$RUNTEST"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
8043 $as_echo "$RUNTEST" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8050 test -n "$RUNTEST" && break
8052 test -n "$RUNTEST" || RUNTEST="runtest"
8054 case " $configdirs " in
8056 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8063 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8064 ncn_target_tool_prefix=
8065 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8069 if test -n "$AR"; then
8071 elif test -n "$ac_cv_prog_AR"; then
8075 if test -n "$ac_cv_prog_AR"; then
8076 for ncn_progname in ar; do
8077 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8078 set dummy ${ncn_progname}; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if test "${ac_cv_prog_AR+set}" = set; then :
8082 $as_echo_n "(cached) " >&6
8084 if test -n "$AR"; then
8085 ac_cv_prog_AR="$AR" # Let the user override the test.
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8094 ac_cv_prog_AR="${ncn_progname}"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 if test -n "$AR"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8107 $as_echo "$AR" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8117 for ncn_progname in ar; do
8118 if test -n "$ncn_tool_prefix"; then
8119 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8120 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8122 $as_echo_n "checking for $ac_word... " >&6; }
8123 if test "${ac_cv_prog_AR+set}" = set; then :
8124 $as_echo_n "(cached) " >&6
8126 if test -n "$AR"; then
8127 ac_cv_prog_AR="$AR" # Let the user override the test.
8129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir=.
8134 for ac_exec_ext in '' $ac_executable_extensions; do
8135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 if test -n "$AR"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8149 $as_echo "$AR" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8157 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8158 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8159 set dummy ${ncn_progname}; ac_word=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8161 $as_echo_n "checking for $ac_word... " >&6; }
8162 if test "${ac_cv_prog_AR+set}" = set; then :
8163 $as_echo_n "(cached) " >&6
8165 if test -n "$AR"; then
8166 ac_cv_prog_AR="$AR" # Let the user override the test.
8168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 test -z "$as_dir" && as_dir=.
8173 for ac_exec_ext in '' $ac_executable_extensions; do
8174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8175 ac_cv_prog_AR="${ncn_progname}"
8176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8186 if test -n "$AR"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8188 $as_echo "$AR" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8196 test -n "$ac_cv_prog_AR" && break
8199 if test -z "$ac_cv_prog_AR" ; then
8201 if test $build = $host ; then
8204 AR="${ncn_tool_prefix}$2"
8210 if test -n "$AS"; then
8212 elif test -n "$ac_cv_prog_AS"; then
8216 if test -n "$ac_cv_prog_AS"; then
8217 for ncn_progname in as; do
8218 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8219 set dummy ${ncn_progname}; ac_word=$2
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8221 $as_echo_n "checking for $ac_word... " >&6; }
8222 if test "${ac_cv_prog_AS+set}" = set; then :
8223 $as_echo_n "(cached) " >&6
8225 if test -n "$AS"; then
8226 ac_cv_prog_AS="$AS" # Let the user override the test.
8228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 test -z "$as_dir" && as_dir=.
8233 for ac_exec_ext in '' $ac_executable_extensions; do
8234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8235 ac_cv_prog_AS="${ncn_progname}"
8236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 if test -n "$AS"; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8248 $as_echo "$AS" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251 $as_echo "no" >&6; }
8258 for ncn_progname in as; do
8259 if test -n "$ncn_tool_prefix"; then
8260 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8261 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263 $as_echo_n "checking for $ac_word... " >&6; }
8264 if test "${ac_cv_prog_AS+set}" = set; then :
8265 $as_echo_n "(cached) " >&6
8267 if test -n "$AS"; then
8268 ac_cv_prog_AS="$AS" # Let the user override the test.
8270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir=.
8275 for ac_exec_ext in '' $ac_executable_extensions; do
8276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8277 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 if test -n "$AS"; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8290 $as_echo "$AS" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8298 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8300 set dummy ${ncn_progname}; ac_word=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if test "${ac_cv_prog_AS+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8306 if test -n "$AS"; then
8307 ac_cv_prog_AS="$AS" # Let the user override the test.
8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8313 test -z "$as_dir" && as_dir=.
8314 for ac_exec_ext in '' $ac_executable_extensions; do
8315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8316 ac_cv_prog_AS="${ncn_progname}"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 if test -n "$AS"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8329 $as_echo "$AS" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8337 test -n "$ac_cv_prog_AS" && break
8340 if test -z "$ac_cv_prog_AS" ; then
8342 if test $build = $host ; then
8345 AS="${ncn_tool_prefix}$2"
8351 if test -n "$DLLTOOL"; then
8352 ac_cv_prog_DLLTOOL=$DLLTOOL
8353 elif test -n "$ac_cv_prog_DLLTOOL"; then
8354 DLLTOOL=$ac_cv_prog_DLLTOOL
8357 if test -n "$ac_cv_prog_DLLTOOL"; then
8358 for ncn_progname in dlltool; do
8359 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8360 set dummy ${ncn_progname}; ac_word=$2
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8362 $as_echo_n "checking for $ac_word... " >&6; }
8363 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8364 $as_echo_n "(cached) " >&6
8366 if test -n "$DLLTOOL"; then
8367 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373 test -z "$as_dir" && as_dir=.
8374 for ac_exec_ext in '' $ac_executable_extensions; do
8375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8376 ac_cv_prog_DLLTOOL="${ncn_progname}"
8377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 DLLTOOL=$ac_cv_prog_DLLTOOL
8387 if test -n "$DLLTOOL"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8389 $as_echo "$DLLTOOL" >&6; }
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8399 for ncn_progname in dlltool; do
8400 if test -n "$ncn_tool_prefix"; then
8401 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8402 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8406 $as_echo_n "(cached) " >&6
8408 if test -n "$DLLTOOL"; then
8409 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8428 DLLTOOL=$ac_cv_prog_DLLTOOL
8429 if test -n "$DLLTOOL"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8431 $as_echo "$DLLTOOL" >&6; }
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8439 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8440 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8441 set dummy ${ncn_progname}; ac_word=$2
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8443 $as_echo_n "checking for $ac_word... " >&6; }
8444 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8445 $as_echo_n "(cached) " >&6
8447 if test -n "$DLLTOOL"; then
8448 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8454 test -z "$as_dir" && as_dir=.
8455 for ac_exec_ext in '' $ac_executable_extensions; do
8456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8457 ac_cv_prog_DLLTOOL="${ncn_progname}"
8458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8467 DLLTOOL=$ac_cv_prog_DLLTOOL
8468 if test -n "$DLLTOOL"; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8470 $as_echo "$DLLTOOL" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8478 test -n "$ac_cv_prog_DLLTOOL" && break
8481 if test -z "$ac_cv_prog_DLLTOOL" ; then
8483 if test $build = $host ; then
8486 DLLTOOL="${ncn_tool_prefix}$2"
8492 if test -n "$LD"; then
8494 elif test -n "$ac_cv_prog_LD"; then
8498 if test -n "$ac_cv_prog_LD"; then
8499 for ncn_progname in ld; do
8500 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8501 set dummy ${ncn_progname}; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8503 $as_echo_n "checking for $ac_word... " >&6; }
8504 if test "${ac_cv_prog_LD+set}" = set; then :
8505 $as_echo_n "(cached) " >&6
8507 if test -n "$LD"; then
8508 ac_cv_prog_LD="$LD" # Let the user override the test.
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8517 ac_cv_prog_LD="${ncn_progname}"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8528 if test -n "$LD"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8530 $as_echo "$LD" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533 $as_echo "no" >&6; }
8540 for ncn_progname in ld; do
8541 if test -n "$ncn_tool_prefix"; then
8542 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8543 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8545 $as_echo_n "checking for $ac_word... " >&6; }
8546 if test "${ac_cv_prog_LD+set}" = set; then :
8547 $as_echo_n "(cached) " >&6
8549 if test -n "$LD"; then
8550 ac_cv_prog_LD="$LD" # Let the user override the test.
8552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556 test -z "$as_dir" && as_dir=.
8557 for ac_exec_ext in '' $ac_executable_extensions; do
8558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8559 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8570 if test -n "$LD"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8572 $as_echo "$LD" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8580 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8582 set dummy ${ncn_progname}; ac_word=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if test "${ac_cv_prog_LD+set}" = set; then :
8586 $as_echo_n "(cached) " >&6
8588 if test -n "$LD"; then
8589 ac_cv_prog_LD="$LD" # Let the user override the test.
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_prog_LD="${ncn_progname}"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8609 if test -n "$LD"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8611 $as_echo "$LD" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8619 test -n "$ac_cv_prog_LD" && break
8622 if test -z "$ac_cv_prog_LD" ; then
8624 if test $build = $host ; then
8627 LD="${ncn_tool_prefix}$2"
8633 if test -n "$LIPO"; then
8634 ac_cv_prog_LIPO=$LIPO
8635 elif test -n "$ac_cv_prog_LIPO"; then
8636 LIPO=$ac_cv_prog_LIPO
8639 if test -n "$ac_cv_prog_LIPO"; then
8640 for ncn_progname in lipo; do
8641 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8642 set dummy ${ncn_progname}; ac_word=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if test "${ac_cv_prog_LIPO+set}" = set; then :
8646 $as_echo_n "(cached) " >&6
8648 if test -n "$LIPO"; then
8649 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 test -z "$as_dir" && as_dir=.
8656 for ac_exec_ext in '' $ac_executable_extensions; do
8657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8658 ac_cv_prog_LIPO="${ncn_progname}"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668 LIPO=$ac_cv_prog_LIPO
8669 if test -n "$LIPO"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8671 $as_echo "$LIPO" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8681 for ncn_progname in lipo; do
8682 if test -n "$ncn_tool_prefix"; then
8683 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8684 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if test "${ac_cv_prog_LIPO+set}" = set; then :
8688 $as_echo_n "(cached) " >&6
8690 if test -n "$LIPO"; then
8691 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697 test -z "$as_dir" && as_dir=.
8698 for ac_exec_ext in '' $ac_executable_extensions; do
8699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8700 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8710 LIPO=$ac_cv_prog_LIPO
8711 if test -n "$LIPO"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8713 $as_echo "$LIPO" >&6; }
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8721 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8723 set dummy ${ncn_progname}; ac_word=$2
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8725 $as_echo_n "checking for $ac_word... " >&6; }
8726 if test "${ac_cv_prog_LIPO+set}" = set; then :
8727 $as_echo_n "(cached) " >&6
8729 if test -n "$LIPO"; then
8730 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8736 test -z "$as_dir" && as_dir=.
8737 for ac_exec_ext in '' $ac_executable_extensions; do
8738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8739 ac_cv_prog_LIPO="${ncn_progname}"
8740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8749 LIPO=$ac_cv_prog_LIPO
8750 if test -n "$LIPO"; then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8752 $as_echo "$LIPO" >&6; }
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8755 $as_echo "no" >&6; }
8760 test -n "$ac_cv_prog_LIPO" && break
8763 if test -z "$ac_cv_prog_LIPO" ; then
8765 if test $build = $host ; then
8768 LIPO="${ncn_tool_prefix}$2"
8774 if test -n "$NM"; then
8776 elif test -n "$ac_cv_prog_NM"; then
8780 if test -n "$ac_cv_prog_NM"; then
8781 for ncn_progname in nm; do
8782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8783 set dummy ${ncn_progname}; ac_word=$2
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8785 $as_echo_n "checking for $ac_word... " >&6; }
8786 if test "${ac_cv_prog_NM+set}" = set; then :
8787 $as_echo_n "(cached) " >&6
8789 if test -n "$NM"; then
8790 ac_cv_prog_NM="$NM" # Let the user override the test.
8792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8796 test -z "$as_dir" && as_dir=.
8797 for ac_exec_ext in '' $ac_executable_extensions; do
8798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8799 ac_cv_prog_NM="${ncn_progname}"
8800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 if test -n "$NM"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8812 $as_echo "$NM" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8822 for ncn_progname in nm; do
8823 if test -n "$ncn_tool_prefix"; then
8824 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8825 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8827 $as_echo_n "checking for $ac_word... " >&6; }
8828 if test "${ac_cv_prog_NM+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8831 if test -n "$NM"; then
8832 ac_cv_prog_NM="$NM" # Let the user override the test.
8834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 test -z "$as_dir" && as_dir=.
8839 for ac_exec_ext in '' $ac_executable_extensions; do
8840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8841 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852 if test -n "$NM"; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8854 $as_echo "$NM" >&6; }
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8857 $as_echo "no" >&6; }
8862 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8863 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8864 set dummy ${ncn_progname}; ac_word=$2
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8866 $as_echo_n "checking for $ac_word... " >&6; }
8867 if test "${ac_cv_prog_NM+set}" = set; then :
8868 $as_echo_n "(cached) " >&6
8870 if test -n "$NM"; then
8871 ac_cv_prog_NM="$NM" # Let the user override the test.
8873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8877 test -z "$as_dir" && as_dir=.
8878 for ac_exec_ext in '' $ac_executable_extensions; do
8879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8880 ac_cv_prog_NM="${ncn_progname}"
8881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8891 if test -n "$NM"; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8893 $as_echo "$NM" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8901 test -n "$ac_cv_prog_NM" && break
8904 if test -z "$ac_cv_prog_NM" ; then
8906 if test $build = $host ; then
8909 NM="${ncn_tool_prefix}$2"
8915 if test -n "$RANLIB"; then
8916 ac_cv_prog_RANLIB=$RANLIB
8917 elif test -n "$ac_cv_prog_RANLIB"; then
8918 RANLIB=$ac_cv_prog_RANLIB
8921 if test -n "$ac_cv_prog_RANLIB"; then
8922 for ncn_progname in ranlib; do
8923 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8924 set dummy ${ncn_progname}; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8928 $as_echo_n "(cached) " >&6
8930 if test -n "$RANLIB"; then
8931 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937 test -z "$as_dir" && as_dir=.
8938 for ac_exec_ext in '' $ac_executable_extensions; do
8939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8940 ac_cv_prog_RANLIB="${ncn_progname}"
8941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8950 RANLIB=$ac_cv_prog_RANLIB
8951 if test -n "$RANLIB"; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8953 $as_echo "$RANLIB" >&6; }
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8963 for ncn_progname in ranlib; do
8964 if test -n "$ncn_tool_prefix"; then
8965 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8966 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8968 $as_echo_n "checking for $ac_word... " >&6; }
8969 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8970 $as_echo_n "(cached) " >&6
8972 if test -n "$RANLIB"; then
8973 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8979 test -z "$as_dir" && as_dir=.
8980 for ac_exec_ext in '' $ac_executable_extensions; do
8981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8982 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8992 RANLIB=$ac_cv_prog_RANLIB
8993 if test -n "$RANLIB"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8995 $as_echo "$RANLIB" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998 $as_echo "no" >&6; }
9003 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9004 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9005 set dummy ${ncn_progname}; ac_word=$2
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9007 $as_echo_n "checking for $ac_word... " >&6; }
9008 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9009 $as_echo_n "(cached) " >&6
9011 if test -n "$RANLIB"; then
9012 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9018 test -z "$as_dir" && as_dir=.
9019 for ac_exec_ext in '' $ac_executable_extensions; do
9020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9021 ac_cv_prog_RANLIB="${ncn_progname}"
9022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9031 RANLIB=$ac_cv_prog_RANLIB
9032 if test -n "$RANLIB"; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9034 $as_echo "$RANLIB" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9042 test -n "$ac_cv_prog_RANLIB" && break
9045 if test -z "$ac_cv_prog_RANLIB" ; then
9051 if test -n "$STRIP"; then
9052 ac_cv_prog_STRIP=$STRIP
9053 elif test -n "$ac_cv_prog_STRIP"; then
9054 STRIP=$ac_cv_prog_STRIP
9057 if test -n "$ac_cv_prog_STRIP"; then
9058 for ncn_progname in strip; do
9059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9060 set dummy ${ncn_progname}; ac_word=$2
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9062 $as_echo_n "checking for $ac_word... " >&6; }
9063 if test "${ac_cv_prog_STRIP+set}" = set; then :
9064 $as_echo_n "(cached) " >&6
9066 if test -n "$STRIP"; then
9067 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9073 test -z "$as_dir" && as_dir=.
9074 for ac_exec_ext in '' $ac_executable_extensions; do
9075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9076 ac_cv_prog_STRIP="${ncn_progname}"
9077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9086 STRIP=$ac_cv_prog_STRIP
9087 if test -n "$STRIP"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9089 $as_echo "$STRIP" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9099 for ncn_progname in strip; do
9100 if test -n "$ncn_tool_prefix"; then
9101 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9102 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9104 $as_echo_n "checking for $ac_word... " >&6; }
9105 if test "${ac_cv_prog_STRIP+set}" = set; then :
9106 $as_echo_n "(cached) " >&6
9108 if test -n "$STRIP"; then
9109 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9115 test -z "$as_dir" && as_dir=.
9116 for ac_exec_ext in '' $ac_executable_extensions; do
9117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9118 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9128 STRIP=$ac_cv_prog_STRIP
9129 if test -n "$STRIP"; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9131 $as_echo "$STRIP" >&6; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9134 $as_echo "no" >&6; }
9139 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9140 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9141 set dummy ${ncn_progname}; ac_word=$2
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143 $as_echo_n "checking for $ac_word... " >&6; }
9144 if test "${ac_cv_prog_STRIP+set}" = set; then :
9145 $as_echo_n "(cached) " >&6
9147 if test -n "$STRIP"; then
9148 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9154 test -z "$as_dir" && as_dir=.
9155 for ac_exec_ext in '' $ac_executable_extensions; do
9156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9157 ac_cv_prog_STRIP="${ncn_progname}"
9158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 STRIP=$ac_cv_prog_STRIP
9168 if test -n "$STRIP"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9170 $as_echo "$STRIP" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9178 test -n "$ac_cv_prog_STRIP" && break
9181 if test -z "$ac_cv_prog_STRIP" ; then
9187 if test -n "$WINDRES"; then
9188 ac_cv_prog_WINDRES=$WINDRES
9189 elif test -n "$ac_cv_prog_WINDRES"; then
9190 WINDRES=$ac_cv_prog_WINDRES
9193 if test -n "$ac_cv_prog_WINDRES"; then
9194 for ncn_progname in windres; do
9195 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9196 set dummy ${ncn_progname}; ac_word=$2
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 $as_echo_n "checking for $ac_word... " >&6; }
9199 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9200 $as_echo_n "(cached) " >&6
9202 if test -n "$WINDRES"; then
9203 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209 test -z "$as_dir" && as_dir=.
9210 for ac_exec_ext in '' $ac_executable_extensions; do
9211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9212 ac_cv_prog_WINDRES="${ncn_progname}"
9213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9222 WINDRES=$ac_cv_prog_WINDRES
9223 if test -n "$WINDRES"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9225 $as_echo "$WINDRES" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 $as_echo "no" >&6; }
9235 for ncn_progname in windres; do
9236 if test -n "$ncn_tool_prefix"; then
9237 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9238 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9240 $as_echo_n "checking for $ac_word... " >&6; }
9241 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9242 $as_echo_n "(cached) " >&6
9244 if test -n "$WINDRES"; then
9245 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9251 test -z "$as_dir" && as_dir=.
9252 for ac_exec_ext in '' $ac_executable_extensions; do
9253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9254 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9264 WINDRES=$ac_cv_prog_WINDRES
9265 if test -n "$WINDRES"; then
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9267 $as_echo "$WINDRES" >&6; }
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9270 $as_echo "no" >&6; }
9275 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9277 set dummy ${ncn_progname}; ac_word=$2
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 $as_echo_n "checking for $ac_word... " >&6; }
9280 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9281 $as_echo_n "(cached) " >&6
9283 if test -n "$WINDRES"; then
9284 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 test -z "$as_dir" && as_dir=.
9291 for ac_exec_ext in '' $ac_executable_extensions; do
9292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9293 ac_cv_prog_WINDRES="${ncn_progname}"
9294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9303 WINDRES=$ac_cv_prog_WINDRES
9304 if test -n "$WINDRES"; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9306 $as_echo "$WINDRES" >&6; }
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9309 $as_echo "no" >&6; }
9314 test -n "$ac_cv_prog_WINDRES" && break
9317 if test -z "$ac_cv_prog_WINDRES" ; then
9319 if test $build = $host ; then
9322 WINDRES="${ncn_tool_prefix}$2"
9328 if test -n "$WINDMC"; then
9329 ac_cv_prog_WINDMC=$WINDMC
9330 elif test -n "$ac_cv_prog_WINDMC"; then
9331 WINDMC=$ac_cv_prog_WINDMC
9334 if test -n "$ac_cv_prog_WINDMC"; then
9335 for ncn_progname in windmc; do
9336 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9337 set dummy ${ncn_progname}; ac_word=$2
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9339 $as_echo_n "checking for $ac_word... " >&6; }
9340 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9341 $as_echo_n "(cached) " >&6
9343 if test -n "$WINDMC"; then
9344 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9350 test -z "$as_dir" && as_dir=.
9351 for ac_exec_ext in '' $ac_executable_extensions; do
9352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9353 ac_cv_prog_WINDMC="${ncn_progname}"
9354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9363 WINDMC=$ac_cv_prog_WINDMC
9364 if test -n "$WINDMC"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9366 $as_echo "$WINDMC" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9369 $as_echo "no" >&6; }
9376 for ncn_progname in windmc; do
9377 if test -n "$ncn_tool_prefix"; then
9378 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9379 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381 $as_echo_n "checking for $ac_word... " >&6; }
9382 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9383 $as_echo_n "(cached) " >&6
9385 if test -n "$WINDMC"; then
9386 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir=.
9393 for ac_exec_ext in '' $ac_executable_extensions; do
9394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9395 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9405 WINDMC=$ac_cv_prog_WINDMC
9406 if test -n "$WINDMC"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9408 $as_echo "$WINDMC" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9416 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9417 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9418 set dummy ${ncn_progname}; ac_word=$2
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9420 $as_echo_n "checking for $ac_word... " >&6; }
9421 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9422 $as_echo_n "(cached) " >&6
9424 if test -n "$WINDMC"; then
9425 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9431 test -z "$as_dir" && as_dir=.
9432 for ac_exec_ext in '' $ac_executable_extensions; do
9433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9434 ac_cv_prog_WINDMC="${ncn_progname}"
9435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9444 WINDMC=$ac_cv_prog_WINDMC
9445 if test -n "$WINDMC"; then
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9447 $as_echo "$WINDMC" >&6; }
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9450 $as_echo "no" >&6; }
9455 test -n "$ac_cv_prog_WINDMC" && break
9458 if test -z "$ac_cv_prog_WINDMC" ; then
9460 if test $build = $host ; then
9463 WINDMC="${ncn_tool_prefix}$2"
9469 if test -n "$OBJCOPY"; then
9470 ac_cv_prog_OBJCOPY=$OBJCOPY
9471 elif test -n "$ac_cv_prog_OBJCOPY"; then
9472 OBJCOPY=$ac_cv_prog_OBJCOPY
9475 if test -n "$ac_cv_prog_OBJCOPY"; then
9476 for ncn_progname in objcopy; do
9477 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9478 set dummy ${ncn_progname}; ac_word=$2
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9480 $as_echo_n "checking for $ac_word... " >&6; }
9481 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9482 $as_echo_n "(cached) " >&6
9484 if test -n "$OBJCOPY"; then
9485 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9491 test -z "$as_dir" && as_dir=.
9492 for ac_exec_ext in '' $ac_executable_extensions; do
9493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9494 ac_cv_prog_OBJCOPY="${ncn_progname}"
9495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9504 OBJCOPY=$ac_cv_prog_OBJCOPY
9505 if test -n "$OBJCOPY"; then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9507 $as_echo "$OBJCOPY" >&6; }
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9510 $as_echo "no" >&6; }
9517 for ncn_progname in objcopy; do
9518 if test -n "$ncn_tool_prefix"; then
9519 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9520 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9522 $as_echo_n "checking for $ac_word... " >&6; }
9523 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9524 $as_echo_n "(cached) " >&6
9526 if test -n "$OBJCOPY"; then
9527 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 test -z "$as_dir" && as_dir=.
9534 for ac_exec_ext in '' $ac_executable_extensions; do
9535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9536 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9546 OBJCOPY=$ac_cv_prog_OBJCOPY
9547 if test -n "$OBJCOPY"; then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9549 $as_echo "$OBJCOPY" >&6; }
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9552 $as_echo "no" >&6; }
9557 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9558 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9559 set dummy ${ncn_progname}; ac_word=$2
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9561 $as_echo_n "checking for $ac_word... " >&6; }
9562 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9563 $as_echo_n "(cached) " >&6
9565 if test -n "$OBJCOPY"; then
9566 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir=.
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9575 ac_cv_prog_OBJCOPY="${ncn_progname}"
9576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9585 OBJCOPY=$ac_cv_prog_OBJCOPY
9586 if test -n "$OBJCOPY"; then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9588 $as_echo "$OBJCOPY" >&6; }
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 $as_echo "no" >&6; }
9596 test -n "$ac_cv_prog_OBJCOPY" && break
9599 if test -z "$ac_cv_prog_OBJCOPY" ; then
9601 if test $build = $host ; then
9604 OBJCOPY="${ncn_tool_prefix}$2"
9610 if test -n "$OBJDUMP"; then
9611 ac_cv_prog_OBJDUMP=$OBJDUMP
9612 elif test -n "$ac_cv_prog_OBJDUMP"; then
9613 OBJDUMP=$ac_cv_prog_OBJDUMP
9616 if test -n "$ac_cv_prog_OBJDUMP"; then
9617 for ncn_progname in objdump; do
9618 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9619 set dummy ${ncn_progname}; ac_word=$2
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9621 $as_echo_n "checking for $ac_word... " >&6; }
9622 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9623 $as_echo_n "(cached) " >&6
9625 if test -n "$OBJDUMP"; then
9626 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9632 test -z "$as_dir" && as_dir=.
9633 for ac_exec_ext in '' $ac_executable_extensions; do
9634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9635 ac_cv_prog_OBJDUMP="${ncn_progname}"
9636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645 OBJDUMP=$ac_cv_prog_OBJDUMP
9646 if test -n "$OBJDUMP"; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9648 $as_echo "$OBJDUMP" >&6; }
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 $as_echo "no" >&6; }
9658 for ncn_progname in objdump; do
9659 if test -n "$ncn_tool_prefix"; then
9660 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9661 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 $as_echo_n "checking for $ac_word... " >&6; }
9664 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9665 $as_echo_n "(cached) " >&6
9667 if test -n "$OBJDUMP"; then
9668 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674 test -z "$as_dir" && as_dir=.
9675 for ac_exec_ext in '' $ac_executable_extensions; do
9676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9677 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9687 OBJDUMP=$ac_cv_prog_OBJDUMP
9688 if test -n "$OBJDUMP"; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9690 $as_echo "$OBJDUMP" >&6; }
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9693 $as_echo "no" >&6; }
9698 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9699 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9700 set dummy ${ncn_progname}; ac_word=$2
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9702 $as_echo_n "checking for $ac_word... " >&6; }
9703 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9704 $as_echo_n "(cached) " >&6
9706 if test -n "$OBJDUMP"; then
9707 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9713 test -z "$as_dir" && as_dir=.
9714 for ac_exec_ext in '' $ac_executable_extensions; do
9715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9716 ac_cv_prog_OBJDUMP="${ncn_progname}"
9717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9726 OBJDUMP=$ac_cv_prog_OBJDUMP
9727 if test -n "$OBJDUMP"; then
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9729 $as_echo "$OBJDUMP" >&6; }
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9732 $as_echo "no" >&6; }
9737 test -n "$ac_cv_prog_OBJDUMP" && break
9740 if test -z "$ac_cv_prog_OBJDUMP" ; then
9742 if test $build = $host ; then
9745 OBJDUMP="${ncn_tool_prefix}$2"
9751 if test -n "$READELF"; then
9752 ac_cv_prog_READELF=$READELF
9753 elif test -n "$ac_cv_prog_READELF"; then
9754 READELF=$ac_cv_prog_READELF
9757 if test -n "$ac_cv_prog_READELF"; then
9758 for ncn_progname in readelf; do
9759 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9760 set dummy ${ncn_progname}; ac_word=$2
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9762 $as_echo_n "checking for $ac_word... " >&6; }
9763 if test "${ac_cv_prog_READELF+set}" = set; then :
9764 $as_echo_n "(cached) " >&6
9766 if test -n "$READELF"; then
9767 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9773 test -z "$as_dir" && as_dir=.
9774 for ac_exec_ext in '' $ac_executable_extensions; do
9775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9776 ac_cv_prog_READELF="${ncn_progname}"
9777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 READELF=$ac_cv_prog_READELF
9787 if test -n "$READELF"; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9789 $as_echo "$READELF" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9792 $as_echo "no" >&6; }
9799 for ncn_progname in readelf; do
9800 if test -n "$ncn_tool_prefix"; then
9801 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9802 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9804 $as_echo_n "checking for $ac_word... " >&6; }
9805 if test "${ac_cv_prog_READELF+set}" = set; then :
9806 $as_echo_n "(cached) " >&6
9808 if test -n "$READELF"; then
9809 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9828 READELF=$ac_cv_prog_READELF
9829 if test -n "$READELF"; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9831 $as_echo "$READELF" >&6; }
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9834 $as_echo "no" >&6; }
9839 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9840 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9841 set dummy ${ncn_progname}; ac_word=$2
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9843 $as_echo_n "checking for $ac_word... " >&6; }
9844 if test "${ac_cv_prog_READELF+set}" = set; then :
9845 $as_echo_n "(cached) " >&6
9847 if test -n "$READELF"; then
9848 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9854 test -z "$as_dir" && as_dir=.
9855 for ac_exec_ext in '' $ac_executable_extensions; do
9856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9857 ac_cv_prog_READELF="${ncn_progname}"
9858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9867 READELF=$ac_cv_prog_READELF
9868 if test -n "$READELF"; then
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9870 $as_echo "$READELF" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9873 $as_echo "no" >&6; }
9878 test -n "$ac_cv_prog_READELF" && break
9881 if test -z "$ac_cv_prog_READELF" ; then
9883 if test $build = $host ; then
9886 READELF="${ncn_tool_prefix}$2"
9897 # Check whether --with-build-time-tools was given.
9898 if test "${with_build_time_tools+set}" = set; then :
9899 withval=$with_build_time_tools; case x"$withval" in
9902 with_build_time_tools=
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9904 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9908 with_build_time_tools=
9914 if test -n "$CC_FOR_TARGET"; then
9915 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9916 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9917 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9920 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9921 for ncn_progname in cc gcc; do
9922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9923 set dummy ${ncn_progname}; ac_word=$2
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9925 $as_echo_n "checking for $ac_word... " >&6; }
9926 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9927 $as_echo_n "(cached) " >&6
9929 if test -n "$CC_FOR_TARGET"; then
9930 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9936 test -z "$as_dir" && as_dir=.
9937 for ac_exec_ext in '' $ac_executable_extensions; do
9938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9939 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9949 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9950 if test -n "$CC_FOR_TARGET"; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9952 $as_echo "$CC_FOR_TARGET" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9955 $as_echo "no" >&6; }
9962 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9963 for ncn_progname in cc gcc; do
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9965 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9966 if test -x $with_build_time_tools/${ncn_progname}; then
9967 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9969 $as_echo "yes" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9978 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9979 for ncn_progname in cc gcc; do
9980 if test -n "$ncn_target_tool_prefix"; then
9981 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9982 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984 $as_echo_n "checking for $ac_word... " >&6; }
9985 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9986 $as_echo_n "(cached) " >&6
9988 if test -n "$CC_FOR_TARGET"; then
9989 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9995 test -z "$as_dir" && as_dir=.
9996 for ac_exec_ext in '' $ac_executable_extensions; do
9997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9998 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10009 if test -n "$CC_FOR_TARGET"; then
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
10011 $as_echo "$CC_FOR_TARGET" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10014 $as_echo "no" >&6; }
10019 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10021 set dummy ${ncn_progname}; ac_word=$2
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10023 $as_echo_n "checking for $ac_word... " >&6; }
10024 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10025 $as_echo_n "(cached) " >&6
10027 if test -n "$CC_FOR_TARGET"; then
10028 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10031 for as_dir in $PATH
10034 test -z "$as_dir" && as_dir=.
10035 for ac_exec_ext in '' $ac_executable_extensions; do
10036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10037 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10047 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10048 if test -n "$CC_FOR_TARGET"; then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
10050 $as_echo "$CC_FOR_TARGET" >&6; }
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10058 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10062 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10064 if test $build = $target ; then
10067 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10070 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10075 if test -n "$CXX_FOR_TARGET"; then
10076 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10077 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10078 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10081 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10082 for ncn_progname in c++ g++ cxx gxx; do
10083 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10084 set dummy ${ncn_progname}; ac_word=$2
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10086 $as_echo_n "checking for $ac_word... " >&6; }
10087 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10088 $as_echo_n "(cached) " >&6
10090 if test -n "$CXX_FOR_TARGET"; then
10091 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10094 for as_dir in $PATH
10097 test -z "$as_dir" && as_dir=.
10098 for ac_exec_ext in '' $ac_executable_extensions; do
10099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10100 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10110 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10111 if test -n "$CXX_FOR_TARGET"; then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10113 $as_echo "$CXX_FOR_TARGET" >&6; }
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10116 $as_echo "no" >&6; }
10123 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10124 for ncn_progname in c++ g++ cxx gxx; do
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10126 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10127 if test -x $with_build_time_tools/${ncn_progname}; then
10128 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10130 $as_echo "yes" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10134 $as_echo "no" >&6; }
10139 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10140 for ncn_progname in c++ g++ cxx gxx; do
10141 if test -n "$ncn_target_tool_prefix"; then
10142 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10143 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10145 $as_echo_n "checking for $ac_word... " >&6; }
10146 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10147 $as_echo_n "(cached) " >&6
10149 if test -n "$CXX_FOR_TARGET"; then
10150 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10153 for as_dir in $PATH
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10159 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10169 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10170 if test -n "$CXX_FOR_TARGET"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10172 $as_echo "$CXX_FOR_TARGET" >&6; }
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10175 $as_echo "no" >&6; }
10180 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10181 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10182 set dummy ${ncn_progname}; ac_word=$2
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10184 $as_echo_n "checking for $ac_word... " >&6; }
10185 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10186 $as_echo_n "(cached) " >&6
10188 if test -n "$CXX_FOR_TARGET"; then
10189 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10192 for as_dir in $PATH
10195 test -z "$as_dir" && as_dir=.
10196 for ac_exec_ext in '' $ac_executable_extensions; do
10197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10198 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10209 if test -n "$CXX_FOR_TARGET"; then
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10211 $as_echo "$CXX_FOR_TARGET" >&6; }
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10214 $as_echo "no" >&6; }
10219 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10223 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10224 set dummy c++ g++ cxx gxx
10225 if test $build = $target ; then
10226 CXX_FOR_TARGET="$2"
10228 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10231 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10236 if test -n "$GCC_FOR_TARGET"; then
10237 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10238 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10239 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10242 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10243 for ncn_progname in gcc; do
10244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10245 set dummy ${ncn_progname}; ac_word=$2
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10247 $as_echo_n "checking for $ac_word... " >&6; }
10248 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10249 $as_echo_n "(cached) " >&6
10251 if test -n "$GCC_FOR_TARGET"; then
10252 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10255 for as_dir in $PATH
10258 test -z "$as_dir" && as_dir=.
10259 for ac_exec_ext in '' $ac_executable_extensions; do
10260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10261 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10271 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10272 if test -n "$GCC_FOR_TARGET"; then
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10274 $as_echo "$GCC_FOR_TARGET" >&6; }
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10277 $as_echo "no" >&6; }
10284 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10285 for ncn_progname in gcc; do
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10287 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10288 if test -x $with_build_time_tools/${ncn_progname}; then
10289 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10291 $as_echo "yes" >&6; }
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10295 $as_echo "no" >&6; }
10300 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10301 for ncn_progname in gcc; do
10302 if test -n "$ncn_target_tool_prefix"; then
10303 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10304 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10306 $as_echo_n "checking for $ac_word... " >&6; }
10307 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10310 if test -n "$GCC_FOR_TARGET"; then
10311 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in $PATH
10317 test -z "$as_dir" && as_dir=.
10318 for ac_exec_ext in '' $ac_executable_extensions; do
10319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10320 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10330 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10331 if test -n "$GCC_FOR_TARGET"; then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10333 $as_echo "$GCC_FOR_TARGET" >&6; }
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 $as_echo "no" >&6; }
10341 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10342 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10343 set dummy ${ncn_progname}; ac_word=$2
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10345 $as_echo_n "checking for $ac_word... " >&6; }
10346 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10347 $as_echo_n "(cached) " >&6
10349 if test -n "$GCC_FOR_TARGET"; then
10350 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10353 for as_dir in $PATH
10356 test -z "$as_dir" && as_dir=.
10357 for ac_exec_ext in '' $ac_executable_extensions; do
10358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10359 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10369 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10370 if test -n "$GCC_FOR_TARGET"; then
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10372 $as_echo "$GCC_FOR_TARGET" >&6; }
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10375 $as_echo "no" >&6; }
10380 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10384 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10385 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10387 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10392 if test -n "$GCJ_FOR_TARGET"; then
10393 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10394 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10395 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10398 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10399 for ncn_progname in gcj; do
10400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10401 set dummy ${ncn_progname}; ac_word=$2
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10403 $as_echo_n "checking for $ac_word... " >&6; }
10404 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10405 $as_echo_n "(cached) " >&6
10407 if test -n "$GCJ_FOR_TARGET"; then
10408 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10411 for as_dir in $PATH
10414 test -z "$as_dir" && as_dir=.
10415 for ac_exec_ext in '' $ac_executable_extensions; do
10416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10417 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10427 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10428 if test -n "$GCJ_FOR_TARGET"; then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10430 $as_echo "$GCJ_FOR_TARGET" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10433 $as_echo "no" >&6; }
10440 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10441 for ncn_progname in gcj; do
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10443 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10444 if test -x $with_build_time_tools/${ncn_progname}; then
10445 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10447 $as_echo "yes" >&6; }
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10451 $as_echo "no" >&6; }
10456 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10457 for ncn_progname in gcj; do
10458 if test -n "$ncn_target_tool_prefix"; then
10459 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10460 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10462 $as_echo_n "checking for $ac_word... " >&6; }
10463 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10464 $as_echo_n "(cached) " >&6
10466 if test -n "$GCJ_FOR_TARGET"; then
10467 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10473 test -z "$as_dir" && as_dir=.
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10476 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10486 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10487 if test -n "$GCJ_FOR_TARGET"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10489 $as_echo "$GCJ_FOR_TARGET" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 $as_echo "no" >&6; }
10497 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10499 set dummy ${ncn_progname}; ac_word=$2
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10501 $as_echo_n "checking for $ac_word... " >&6; }
10502 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10503 $as_echo_n "(cached) " >&6
10505 if test -n "$GCJ_FOR_TARGET"; then
10506 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10509 for as_dir in $PATH
10512 test -z "$as_dir" && as_dir=.
10513 for ac_exec_ext in '' $ac_executable_extensions; do
10514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10515 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10525 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10526 if test -n "$GCJ_FOR_TARGET"; then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10528 $as_echo "$GCJ_FOR_TARGET" >&6; }
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10531 $as_echo "no" >&6; }
10536 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10540 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10542 if test $build = $target ; then
10543 GCJ_FOR_TARGET="$2"
10545 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10548 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10553 if test -n "$GFORTRAN_FOR_TARGET"; then
10554 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10555 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10556 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10559 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10560 for ncn_progname in gfortran; do
10561 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10562 set dummy ${ncn_progname}; ac_word=$2
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10564 $as_echo_n "checking for $ac_word... " >&6; }
10565 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10566 $as_echo_n "(cached) " >&6
10568 if test -n "$GFORTRAN_FOR_TARGET"; then
10569 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10572 for as_dir in $PATH
10575 test -z "$as_dir" && as_dir=.
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10588 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10589 if test -n "$GFORTRAN_FOR_TARGET"; then
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10591 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10594 $as_echo "no" >&6; }
10601 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10602 for ncn_progname in gfortran; do
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10604 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10605 if test -x $with_build_time_tools/${ncn_progname}; then
10606 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10608 $as_echo "yes" >&6; }
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10612 $as_echo "no" >&6; }
10617 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10618 for ncn_progname in gfortran; do
10619 if test -n "$ncn_target_tool_prefix"; then
10620 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10621 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10623 $as_echo_n "checking for $ac_word... " >&6; }
10624 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10625 $as_echo_n "(cached) " >&6
10627 if test -n "$GFORTRAN_FOR_TARGET"; then
10628 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10631 for as_dir in $PATH
10634 test -z "$as_dir" && as_dir=.
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10637 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10647 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10648 if test -n "$GFORTRAN_FOR_TARGET"; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10650 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10653 $as_echo "no" >&6; }
10658 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10659 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10660 set dummy ${ncn_progname}; ac_word=$2
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10662 $as_echo_n "checking for $ac_word... " >&6; }
10663 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10664 $as_echo_n "(cached) " >&6
10666 if test -n "$GFORTRAN_FOR_TARGET"; then
10667 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10670 for as_dir in $PATH
10673 test -z "$as_dir" && as_dir=.
10674 for ac_exec_ext in '' $ac_executable_extensions; do
10675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10676 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10686 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10687 if test -n "$GFORTRAN_FOR_TARGET"; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10689 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10692 $as_echo "no" >&6; }
10697 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10701 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10703 if test $build = $target ; then
10704 GFORTRAN_FOR_TARGET="$2"
10706 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10709 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10714 if test -n "$GOC_FOR_TARGET"; then
10715 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10716 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10717 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10720 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10721 for ncn_progname in gccgo; do
10722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10723 set dummy ${ncn_progname}; ac_word=$2
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10725 $as_echo_n "checking for $ac_word... " >&6; }
10726 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10727 $as_echo_n "(cached) " >&6
10729 if test -n "$GOC_FOR_TARGET"; then
10730 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10733 for as_dir in $PATH
10736 test -z "$as_dir" && as_dir=.
10737 for ac_exec_ext in '' $ac_executable_extensions; do
10738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10739 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10749 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10750 if test -n "$GOC_FOR_TARGET"; then
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10752 $as_echo "$GOC_FOR_TARGET" >&6; }
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10755 $as_echo "no" >&6; }
10762 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10763 for ncn_progname in gccgo; do
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10765 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10766 if test -x $with_build_time_tools/${ncn_progname}; then
10767 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10769 $as_echo "yes" >&6; }
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10773 $as_echo "no" >&6; }
10778 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10779 for ncn_progname in gccgo; do
10780 if test -n "$ncn_target_tool_prefix"; then
10781 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10782 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10784 $as_echo_n "checking for $ac_word... " >&6; }
10785 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10786 $as_echo_n "(cached) " >&6
10788 if test -n "$GOC_FOR_TARGET"; then
10789 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10792 for as_dir in $PATH
10795 test -z "$as_dir" && as_dir=.
10796 for ac_exec_ext in '' $ac_executable_extensions; do
10797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10798 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10808 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10809 if test -n "$GOC_FOR_TARGET"; then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10811 $as_echo "$GOC_FOR_TARGET" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10814 $as_echo "no" >&6; }
10819 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10821 set dummy ${ncn_progname}; ac_word=$2
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10823 $as_echo_n "checking for $ac_word... " >&6; }
10824 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10825 $as_echo_n "(cached) " >&6
10827 if test -n "$GOC_FOR_TARGET"; then
10828 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10831 for as_dir in $PATH
10834 test -z "$as_dir" && as_dir=.
10835 for ac_exec_ext in '' $ac_executable_extensions; do
10836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10837 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10847 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10848 if test -n "$GOC_FOR_TARGET"; then
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10850 $as_echo "$GOC_FOR_TARGET" >&6; }
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10853 $as_echo "no" >&6; }
10858 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10862 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10864 if test $build = $target ; then
10865 GOC_FOR_TARGET="$2"
10867 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10870 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10875 cat > conftest.c << \EOF
10880 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10881 have_gcc_for_target=yes
10883 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10884 have_gcc_for_target=no
10891 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10892 if test -n "$with_build_time_tools"; then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
10894 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
10895 if test -x $with_build_time_tools/ar; then
10896 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10897 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
10899 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10902 $as_echo "no" >&6; }
10904 elif test $build != $host && test $have_gcc_for_target = yes; then
10905 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10906 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10907 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10910 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10911 # Extract the first word of "ar", so it can be a program name with args.
10912 set dummy ar; ac_word=$2
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10914 $as_echo_n "checking for $ac_word... " >&6; }
10915 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10916 $as_echo_n "(cached) " >&6
10918 case $AR_FOR_TARGET in
10920 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10924 for as_dir in $gcc_cv_tool_dirs
10927 test -z "$as_dir" && as_dir=.
10928 for ac_exec_ext in '' $ac_executable_extensions; do
10929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10930 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10942 if test -n "$AR_FOR_TARGET"; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10944 $as_echo "$AR_FOR_TARGET" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10952 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10955 if test -n "$AR_FOR_TARGET"; then
10956 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10957 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10958 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10961 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10962 for ncn_progname in ar; do
10963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10964 set dummy ${ncn_progname}; ac_word=$2
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10966 $as_echo_n "checking for $ac_word... " >&6; }
10967 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10968 $as_echo_n "(cached) " >&6
10970 if test -n "$AR_FOR_TARGET"; then
10971 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10974 for as_dir in $PATH
10977 test -z "$as_dir" && as_dir=.
10978 for ac_exec_ext in '' $ac_executable_extensions; do
10979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10980 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10990 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10991 if test -n "$AR_FOR_TARGET"; then
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10993 $as_echo "$AR_FOR_TARGET" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10996 $as_echo "no" >&6; }
11003 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11004 for ncn_progname in ar; do
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11006 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11007 if test -x $with_build_time_tools/${ncn_progname}; then
11008 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11010 $as_echo "yes" >&6; }
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11014 $as_echo "no" >&6; }
11019 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11020 for ncn_progname in ar; do
11021 if test -n "$ncn_target_tool_prefix"; then
11022 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11023 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11025 $as_echo_n "checking for $ac_word... " >&6; }
11026 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11027 $as_echo_n "(cached) " >&6
11029 if test -n "$AR_FOR_TARGET"; then
11030 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11033 for as_dir in $PATH
11036 test -z "$as_dir" && as_dir=.
11037 for ac_exec_ext in '' $ac_executable_extensions; do
11038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11039 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11049 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11050 if test -n "$AR_FOR_TARGET"; then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
11052 $as_echo "$AR_FOR_TARGET" >&6; }
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11055 $as_echo "no" >&6; }
11060 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11061 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11062 set dummy ${ncn_progname}; ac_word=$2
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11064 $as_echo_n "checking for $ac_word... " >&6; }
11065 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11066 $as_echo_n "(cached) " >&6
11068 if test -n "$AR_FOR_TARGET"; then
11069 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11072 for as_dir in $PATH
11075 test -z "$as_dir" && as_dir=.
11076 for ac_exec_ext in '' $ac_executable_extensions; do
11077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11078 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11088 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11089 if test -n "$AR_FOR_TARGET"; then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
11091 $as_echo "$AR_FOR_TARGET" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11094 $as_echo "no" >&6; }
11099 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11103 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11105 if test $build = $target ; then
11108 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11111 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11115 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11121 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11122 if test -n "$with_build_time_tools"; then
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
11124 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
11125 if test -x $with_build_time_tools/as; then
11126 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11127 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
11129 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11132 $as_echo "no" >&6; }
11134 elif test $build != $host && test $have_gcc_for_target = yes; then
11135 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11136 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11137 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11140 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11141 # Extract the first word of "as", so it can be a program name with args.
11142 set dummy as; ac_word=$2
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11144 $as_echo_n "checking for $ac_word... " >&6; }
11145 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11146 $as_echo_n "(cached) " >&6
11148 case $AS_FOR_TARGET in
11150 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11154 for as_dir in $gcc_cv_tool_dirs
11157 test -z "$as_dir" && as_dir=.
11158 for ac_exec_ext in '' $ac_executable_extensions; do
11159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11160 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11171 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11172 if test -n "$AS_FOR_TARGET"; then
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11174 $as_echo "$AS_FOR_TARGET" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11177 $as_echo "no" >&6; }
11182 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11185 if test -n "$AS_FOR_TARGET"; then
11186 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11187 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11188 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11191 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11192 for ncn_progname in as; do
11193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11194 set dummy ${ncn_progname}; ac_word=$2
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11196 $as_echo_n "checking for $ac_word... " >&6; }
11197 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11198 $as_echo_n "(cached) " >&6
11200 if test -n "$AS_FOR_TARGET"; then
11201 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11204 for as_dir in $PATH
11207 test -z "$as_dir" && as_dir=.
11208 for ac_exec_ext in '' $ac_executable_extensions; do
11209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11210 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11220 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11221 if test -n "$AS_FOR_TARGET"; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11223 $as_echo "$AS_FOR_TARGET" >&6; }
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11226 $as_echo "no" >&6; }
11233 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11234 for ncn_progname in as; do
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11236 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11237 if test -x $with_build_time_tools/${ncn_progname}; then
11238 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11240 $as_echo "yes" >&6; }
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11244 $as_echo "no" >&6; }
11249 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11250 for ncn_progname in as; do
11251 if test -n "$ncn_target_tool_prefix"; then
11252 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11253 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11255 $as_echo_n "checking for $ac_word... " >&6; }
11256 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11259 if test -n "$AS_FOR_TARGET"; then
11260 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11263 for as_dir in $PATH
11266 test -z "$as_dir" && as_dir=.
11267 for ac_exec_ext in '' $ac_executable_extensions; do
11268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11269 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11279 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11280 if test -n "$AS_FOR_TARGET"; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11282 $as_echo "$AS_FOR_TARGET" >&6; }
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11285 $as_echo "no" >&6; }
11290 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11292 set dummy ${ncn_progname}; ac_word=$2
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11294 $as_echo_n "checking for $ac_word... " >&6; }
11295 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11296 $as_echo_n "(cached) " >&6
11298 if test -n "$AS_FOR_TARGET"; then
11299 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11302 for as_dir in $PATH
11305 test -z "$as_dir" && as_dir=.
11306 for ac_exec_ext in '' $ac_executable_extensions; do
11307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11308 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11318 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11319 if test -n "$AS_FOR_TARGET"; then
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11321 $as_echo "$AS_FOR_TARGET" >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11324 $as_echo "no" >&6; }
11329 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11333 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11335 if test $build = $target ; then
11338 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11341 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11345 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11351 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11352 if test -n "$with_build_time_tools"; then
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11354 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11355 if test -x $with_build_time_tools/dlltool; then
11356 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11357 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11359 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11362 $as_echo "no" >&6; }
11364 elif test $build != $host && test $have_gcc_for_target = yes; then
11365 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11366 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11367 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11370 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11371 # Extract the first word of "dlltool", so it can be a program name with args.
11372 set dummy dlltool; ac_word=$2
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11374 $as_echo_n "checking for $ac_word... " >&6; }
11375 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11376 $as_echo_n "(cached) " >&6
11378 case $DLLTOOL_FOR_TARGET in
11380 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384 for as_dir in $gcc_cv_tool_dirs
11387 test -z "$as_dir" && as_dir=.
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11390 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11401 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11402 if test -n "$DLLTOOL_FOR_TARGET"; then
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11404 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11407 $as_echo "no" >&6; }
11412 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11415 if test -n "$DLLTOOL_FOR_TARGET"; then
11416 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11417 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11418 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11421 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11422 for ncn_progname in dlltool; do
11423 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11424 set dummy ${ncn_progname}; ac_word=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11428 $as_echo_n "(cached) " >&6
11430 if test -n "$DLLTOOL_FOR_TARGET"; then
11431 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11434 for as_dir in $PATH
11437 test -z "$as_dir" && as_dir=.
11438 for ac_exec_ext in '' $ac_executable_extensions; do
11439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11440 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11450 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11451 if test -n "$DLLTOOL_FOR_TARGET"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11453 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11456 $as_echo "no" >&6; }
11463 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11464 for ncn_progname in dlltool; do
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11466 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11467 if test -x $with_build_time_tools/${ncn_progname}; then
11468 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11470 $as_echo "yes" >&6; }
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11474 $as_echo "no" >&6; }
11479 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11480 for ncn_progname in dlltool; do
11481 if test -n "$ncn_target_tool_prefix"; then
11482 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11483 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11485 $as_echo_n "checking for $ac_word... " >&6; }
11486 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11487 $as_echo_n "(cached) " >&6
11489 if test -n "$DLLTOOL_FOR_TARGET"; then
11490 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11493 for as_dir in $PATH
11496 test -z "$as_dir" && as_dir=.
11497 for ac_exec_ext in '' $ac_executable_extensions; do
11498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11499 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11509 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11510 if test -n "$DLLTOOL_FOR_TARGET"; then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11512 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11515 $as_echo "no" >&6; }
11520 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11522 set dummy ${ncn_progname}; ac_word=$2
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11524 $as_echo_n "checking for $ac_word... " >&6; }
11525 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11528 if test -n "$DLLTOOL_FOR_TARGET"; then
11529 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11532 for as_dir in $PATH
11535 test -z "$as_dir" && as_dir=.
11536 for ac_exec_ext in '' $ac_executable_extensions; do
11537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11538 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11548 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11549 if test -n "$DLLTOOL_FOR_TARGET"; then
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11551 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11554 $as_echo "no" >&6; }
11559 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11563 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11565 if test $build = $target ; then
11566 DLLTOOL_FOR_TARGET="$2"
11568 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11571 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11575 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11581 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11582 if test -n "$with_build_time_tools"; then
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11584 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11585 if test -x $with_build_time_tools/ld; then
11586 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11587 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11589 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11592 $as_echo "no" >&6; }
11594 elif test $build != $host && test $have_gcc_for_target = yes; then
11595 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11596 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11597 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11600 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11601 # Extract the first word of "ld", so it can be a program name with args.
11602 set dummy ld; ac_word=$2
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11604 $as_echo_n "checking for $ac_word... " >&6; }
11605 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11606 $as_echo_n "(cached) " >&6
11608 case $LD_FOR_TARGET in
11610 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11614 for as_dir in $gcc_cv_tool_dirs
11617 test -z "$as_dir" && as_dir=.
11618 for ac_exec_ext in '' $ac_executable_extensions; do
11619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11620 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11631 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11632 if test -n "$LD_FOR_TARGET"; then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11634 $as_echo "$LD_FOR_TARGET" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11642 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11645 if test -n "$LD_FOR_TARGET"; then
11646 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11647 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11648 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11651 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11652 for ncn_progname in ld; do
11653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11654 set dummy ${ncn_progname}; ac_word=$2
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11656 $as_echo_n "checking for $ac_word... " >&6; }
11657 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11658 $as_echo_n "(cached) " >&6
11660 if test -n "$LD_FOR_TARGET"; then
11661 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11664 for as_dir in $PATH
11667 test -z "$as_dir" && as_dir=.
11668 for ac_exec_ext in '' $ac_executable_extensions; do
11669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11670 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11680 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11681 if test -n "$LD_FOR_TARGET"; then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11683 $as_echo "$LD_FOR_TARGET" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11686 $as_echo "no" >&6; }
11693 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11694 for ncn_progname in ld; do
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11696 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11697 if test -x $with_build_time_tools/${ncn_progname}; then
11698 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11700 $as_echo "yes" >&6; }
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11704 $as_echo "no" >&6; }
11709 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11710 for ncn_progname in ld; do
11711 if test -n "$ncn_target_tool_prefix"; then
11712 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11713 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11715 $as_echo_n "checking for $ac_word... " >&6; }
11716 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11717 $as_echo_n "(cached) " >&6
11719 if test -n "$LD_FOR_TARGET"; then
11720 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11723 for as_dir in $PATH
11726 test -z "$as_dir" && as_dir=.
11727 for ac_exec_ext in '' $ac_executable_extensions; do
11728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11729 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11739 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11740 if test -n "$LD_FOR_TARGET"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11742 $as_echo "$LD_FOR_TARGET" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11750 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11752 set dummy ${ncn_progname}; ac_word=$2
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11754 $as_echo_n "checking for $ac_word... " >&6; }
11755 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11756 $as_echo_n "(cached) " >&6
11758 if test -n "$LD_FOR_TARGET"; then
11759 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11762 for as_dir in $PATH
11765 test -z "$as_dir" && as_dir=.
11766 for ac_exec_ext in '' $ac_executable_extensions; do
11767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11768 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11778 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11779 if test -n "$LD_FOR_TARGET"; then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11781 $as_echo "$LD_FOR_TARGET" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11784 $as_echo "no" >&6; }
11789 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11793 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11795 if test $build = $target ; then
11798 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11801 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11805 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11811 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11812 if test -n "$with_build_time_tools"; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
11814 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
11815 if test -x $with_build_time_tools/lipo; then
11816 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11817 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
11819 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11822 $as_echo "no" >&6; }
11824 elif test $build != $host && test $have_gcc_for_target = yes; then
11825 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11826 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11827 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11830 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11831 # Extract the first word of "lipo", so it can be a program name with args.
11832 set dummy lipo; ac_word=$2
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11834 $as_echo_n "checking for $ac_word... " >&6; }
11835 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11836 $as_echo_n "(cached) " >&6
11838 case $LIPO_FOR_TARGET in
11840 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11844 for as_dir in $gcc_cv_tool_dirs
11847 test -z "$as_dir" && as_dir=.
11848 for ac_exec_ext in '' $ac_executable_extensions; do
11849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11850 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11861 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11862 if test -n "$LIPO_FOR_TARGET"; then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11864 $as_echo "$LIPO_FOR_TARGET" >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11867 $as_echo "no" >&6; }
11872 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11875 if test -n "$LIPO_FOR_TARGET"; then
11876 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11877 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11878 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11881 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11882 for ncn_progname in lipo; do
11883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11884 set dummy ${ncn_progname}; ac_word=$2
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11886 $as_echo_n "checking for $ac_word... " >&6; }
11887 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11888 $as_echo_n "(cached) " >&6
11890 if test -n "$LIPO_FOR_TARGET"; then
11891 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11894 for as_dir in $PATH
11897 test -z "$as_dir" && as_dir=.
11898 for ac_exec_ext in '' $ac_executable_extensions; do
11899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11900 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11910 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11911 if test -n "$LIPO_FOR_TARGET"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11913 $as_echo "$LIPO_FOR_TARGET" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11923 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11924 for ncn_progname in lipo; do
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11926 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11927 if test -x $with_build_time_tools/${ncn_progname}; then
11928 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11930 $as_echo "yes" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 $as_echo "no" >&6; }
11939 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11940 for ncn_progname in lipo; do
11941 if test -n "$ncn_target_tool_prefix"; then
11942 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11943 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11945 $as_echo_n "checking for $ac_word... " >&6; }
11946 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11947 $as_echo_n "(cached) " >&6
11949 if test -n "$LIPO_FOR_TARGET"; then
11950 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11953 for as_dir in $PATH
11956 test -z "$as_dir" && as_dir=.
11957 for ac_exec_ext in '' $ac_executable_extensions; do
11958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11959 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11969 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11970 if test -n "$LIPO_FOR_TARGET"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11972 $as_echo "$LIPO_FOR_TARGET" >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11980 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11981 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11982 set dummy ${ncn_progname}; ac_word=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11986 $as_echo_n "(cached) " >&6
11988 if test -n "$LIPO_FOR_TARGET"; then
11989 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11992 for as_dir in $PATH
11995 test -z "$as_dir" && as_dir=.
11996 for ac_exec_ext in '' $ac_executable_extensions; do
11997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11998 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12009 if test -n "$LIPO_FOR_TARGET"; then
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
12011 $as_echo "$LIPO_FOR_TARGET" >&6; }
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 $as_echo "no" >&6; }
12019 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12023 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12025 if test $build = $target ; then
12026 LIPO_FOR_TARGET="$2"
12028 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12031 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12035 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12041 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12042 if test -n "$with_build_time_tools"; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
12044 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
12045 if test -x $with_build_time_tools/nm; then
12046 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12047 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
12049 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12052 $as_echo "no" >&6; }
12054 elif test $build != $host && test $have_gcc_for_target = yes; then
12055 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12056 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12057 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12060 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12061 # Extract the first word of "nm", so it can be a program name with args.
12062 set dummy nm; ac_word=$2
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064 $as_echo_n "checking for $ac_word... " >&6; }
12065 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12066 $as_echo_n "(cached) " >&6
12068 case $NM_FOR_TARGET in
12070 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12074 for as_dir in $gcc_cv_tool_dirs
12077 test -z "$as_dir" && as_dir=.
12078 for ac_exec_ext in '' $ac_executable_extensions; do
12079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12080 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12092 if test -n "$NM_FOR_TARGET"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12094 $as_echo "$NM_FOR_TARGET" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12102 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12105 if test -n "$NM_FOR_TARGET"; then
12106 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12107 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12108 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12111 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12112 for ncn_progname in nm; do
12113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12114 set dummy ${ncn_progname}; ac_word=$2
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12116 $as_echo_n "checking for $ac_word... " >&6; }
12117 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12118 $as_echo_n "(cached) " >&6
12120 if test -n "$NM_FOR_TARGET"; then
12121 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12124 for as_dir in $PATH
12127 test -z "$as_dir" && as_dir=.
12128 for ac_exec_ext in '' $ac_executable_extensions; do
12129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12130 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12140 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12141 if test -n "$NM_FOR_TARGET"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12143 $as_echo "$NM_FOR_TARGET" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12146 $as_echo "no" >&6; }
12153 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12154 for ncn_progname in nm; do
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12156 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12157 if test -x $with_build_time_tools/${ncn_progname}; then
12158 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12160 $as_echo "yes" >&6; }
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12164 $as_echo "no" >&6; }
12169 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12170 for ncn_progname in nm; do
12171 if test -n "$ncn_target_tool_prefix"; then
12172 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12173 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12175 $as_echo_n "checking for $ac_word... " >&6; }
12176 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12177 $as_echo_n "(cached) " >&6
12179 if test -n "$NM_FOR_TARGET"; then
12180 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12183 for as_dir in $PATH
12186 test -z "$as_dir" && as_dir=.
12187 for ac_exec_ext in '' $ac_executable_extensions; do
12188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12189 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12199 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12200 if test -n "$NM_FOR_TARGET"; then
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12202 $as_echo "$NM_FOR_TARGET" >&6; }
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12205 $as_echo "no" >&6; }
12210 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12211 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12212 set dummy ${ncn_progname}; ac_word=$2
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12214 $as_echo_n "checking for $ac_word... " >&6; }
12215 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12216 $as_echo_n "(cached) " >&6
12218 if test -n "$NM_FOR_TARGET"; then
12219 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12222 for as_dir in $PATH
12225 test -z "$as_dir" && as_dir=.
12226 for ac_exec_ext in '' $ac_executable_extensions; do
12227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12228 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12238 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12239 if test -n "$NM_FOR_TARGET"; then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12241 $as_echo "$NM_FOR_TARGET" >&6; }
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12244 $as_echo "no" >&6; }
12249 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12253 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12255 if test $build = $target ; then
12258 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12261 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12265 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12271 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12272 if test -n "$with_build_time_tools"; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objcopy in $with_build_time_tools" >&5
12274 $as_echo_n "checking for objcopy in $with_build_time_tools... " >&6; }
12275 if test -x $with_build_time_tools/objcopy; then
12276 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12277 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12279 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12284 elif test $build != $host && test $have_gcc_for_target = yes; then
12285 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12286 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12287 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12290 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12291 # Extract the first word of "objcopy", so it can be a program name with args.
12292 set dummy objcopy; ac_word=$2
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12294 $as_echo_n "checking for $ac_word... " >&6; }
12295 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12296 $as_echo_n "(cached) " >&6
12298 case $OBJCOPY_FOR_TARGET in
12300 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12304 for as_dir in $gcc_cv_tool_dirs
12307 test -z "$as_dir" && as_dir=.
12308 for ac_exec_ext in '' $ac_executable_extensions; do
12309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12310 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12321 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12322 if test -n "$OBJCOPY_FOR_TARGET"; then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
12324 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12327 $as_echo "no" >&6; }
12332 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12335 if test -n "$OBJCOPY_FOR_TARGET"; then
12336 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12337 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12338 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12341 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12342 for ncn_progname in objcopy; do
12343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12344 set dummy ${ncn_progname}; ac_word=$2
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12346 $as_echo_n "checking for $ac_word... " >&6; }
12347 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12348 $as_echo_n "(cached) " >&6
12350 if test -n "$OBJCOPY_FOR_TARGET"; then
12351 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12360 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12371 if test -n "$OBJCOPY_FOR_TARGET"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
12373 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12383 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12384 for ncn_progname in objcopy; do
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12386 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12387 if test -x $with_build_time_tools/${ncn_progname}; then
12388 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12390 $as_echo "yes" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12399 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12400 for ncn_progname in objcopy; do
12401 if test -n "$ncn_target_tool_prefix"; then
12402 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12403 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12405 $as_echo_n "checking for $ac_word... " >&6; }
12406 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12407 $as_echo_n "(cached) " >&6
12409 if test -n "$OBJCOPY_FOR_TARGET"; then
12410 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12413 for as_dir in $PATH
12416 test -z "$as_dir" && as_dir=.
12417 for ac_exec_ext in '' $ac_executable_extensions; do
12418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12429 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12430 if test -n "$OBJCOPY_FOR_TARGET"; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
12432 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12435 $as_echo "no" >&6; }
12440 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12441 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12442 set dummy ${ncn_progname}; ac_word=$2
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12444 $as_echo_n "checking for $ac_word... " >&6; }
12445 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12446 $as_echo_n "(cached) " >&6
12448 if test -n "$OBJCOPY_FOR_TARGET"; then
12449 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12452 for as_dir in $PATH
12455 test -z "$as_dir" && as_dir=.
12456 for ac_exec_ext in '' $ac_executable_extensions; do
12457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12458 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12468 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12469 if test -n "$OBJCOPY_FOR_TARGET"; then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
12471 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12474 $as_echo "no" >&6; }
12479 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12483 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12485 if test $build = $target ; then
12486 OBJCOPY_FOR_TARGET="$2"
12488 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12491 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12495 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12501 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12502 if test -n "$with_build_time_tools"; then
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
12504 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
12505 if test -x $with_build_time_tools/objdump; then
12506 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12507 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12509 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12512 $as_echo "no" >&6; }
12514 elif test $build != $host && test $have_gcc_for_target = yes; then
12515 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12516 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12517 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12520 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12521 # Extract the first word of "objdump", so it can be a program name with args.
12522 set dummy objdump; ac_word=$2
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12524 $as_echo_n "checking for $ac_word... " >&6; }
12525 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12526 $as_echo_n "(cached) " >&6
12528 case $OBJDUMP_FOR_TARGET in
12530 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12534 for as_dir in $gcc_cv_tool_dirs
12537 test -z "$as_dir" && as_dir=.
12538 for ac_exec_ext in '' $ac_executable_extensions; do
12539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12540 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12551 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12552 if test -n "$OBJDUMP_FOR_TARGET"; then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12554 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12557 $as_echo "no" >&6; }
12562 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12565 if test -n "$OBJDUMP_FOR_TARGET"; then
12566 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12567 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12568 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12571 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12572 for ncn_progname in objdump; do
12573 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12574 set dummy ${ncn_progname}; ac_word=$2
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12576 $as_echo_n "checking for $ac_word... " >&6; }
12577 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12578 $as_echo_n "(cached) " >&6
12580 if test -n "$OBJDUMP_FOR_TARGET"; then
12581 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12584 for as_dir in $PATH
12587 test -z "$as_dir" && as_dir=.
12588 for ac_exec_ext in '' $ac_executable_extensions; do
12589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12590 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12600 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12601 if test -n "$OBJDUMP_FOR_TARGET"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12603 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12613 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12614 for ncn_progname in objdump; do
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12616 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12617 if test -x $with_build_time_tools/${ncn_progname}; then
12618 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12620 $as_echo "yes" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12624 $as_echo "no" >&6; }
12629 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12630 for ncn_progname in objdump; do
12631 if test -n "$ncn_target_tool_prefix"; then
12632 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12633 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12635 $as_echo_n "checking for $ac_word... " >&6; }
12636 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12637 $as_echo_n "(cached) " >&6
12639 if test -n "$OBJDUMP_FOR_TARGET"; then
12640 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12643 for as_dir in $PATH
12646 test -z "$as_dir" && as_dir=.
12647 for ac_exec_ext in '' $ac_executable_extensions; do
12648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12649 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12659 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12660 if test -n "$OBJDUMP_FOR_TARGET"; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12662 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12670 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12671 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12672 set dummy ${ncn_progname}; ac_word=$2
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12674 $as_echo_n "checking for $ac_word... " >&6; }
12675 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12676 $as_echo_n "(cached) " >&6
12678 if test -n "$OBJDUMP_FOR_TARGET"; then
12679 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12682 for as_dir in $PATH
12685 test -z "$as_dir" && as_dir=.
12686 for ac_exec_ext in '' $ac_executable_extensions; do
12687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12688 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12698 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12699 if test -n "$OBJDUMP_FOR_TARGET"; then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12701 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12709 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12713 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12715 if test $build = $target ; then
12716 OBJDUMP_FOR_TARGET="$2"
12718 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12721 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12725 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12731 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12732 if test -n "$with_build_time_tools"; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12734 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12735 if test -x $with_build_time_tools/ranlib; then
12736 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12737 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12739 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12744 elif test $build != $host && test $have_gcc_for_target = yes; then
12745 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12746 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12747 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12750 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12751 # Extract the first word of "ranlib", so it can be a program name with args.
12752 set dummy ranlib; ac_word=$2
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12754 $as_echo_n "checking for $ac_word... " >&6; }
12755 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12756 $as_echo_n "(cached) " >&6
12758 case $RANLIB_FOR_TARGET in
12760 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12764 for as_dir in $gcc_cv_tool_dirs
12767 test -z "$as_dir" && as_dir=.
12768 for ac_exec_ext in '' $ac_executable_extensions; do
12769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12770 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12781 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12782 if test -n "$RANLIB_FOR_TARGET"; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12784 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12792 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12795 if test -n "$RANLIB_FOR_TARGET"; then
12796 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12797 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12798 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12801 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12802 for ncn_progname in ranlib; do
12803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12804 set dummy ${ncn_progname}; ac_word=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12806 $as_echo_n "checking for $ac_word... " >&6; }
12807 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12808 $as_echo_n "(cached) " >&6
12810 if test -n "$RANLIB_FOR_TARGET"; then
12811 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12817 test -z "$as_dir" && as_dir=.
12818 for ac_exec_ext in '' $ac_executable_extensions; do
12819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12820 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12830 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12831 if test -n "$RANLIB_FOR_TARGET"; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12833 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12836 $as_echo "no" >&6; }
12843 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12844 for ncn_progname in ranlib; do
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12846 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12847 if test -x $with_build_time_tools/${ncn_progname}; then
12848 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12850 $as_echo "yes" >&6; }
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12854 $as_echo "no" >&6; }
12859 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12860 for ncn_progname in ranlib; do
12861 if test -n "$ncn_target_tool_prefix"; then
12862 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12863 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12865 $as_echo_n "checking for $ac_word... " >&6; }
12866 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12867 $as_echo_n "(cached) " >&6
12869 if test -n "$RANLIB_FOR_TARGET"; then
12870 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12873 for as_dir in $PATH
12876 test -z "$as_dir" && as_dir=.
12877 for ac_exec_ext in '' $ac_executable_extensions; do
12878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12879 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12889 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12890 if test -n "$RANLIB_FOR_TARGET"; then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12892 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895 $as_echo "no" >&6; }
12900 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12902 set dummy ${ncn_progname}; ac_word=$2
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12904 $as_echo_n "checking for $ac_word... " >&6; }
12905 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12906 $as_echo_n "(cached) " >&6
12908 if test -n "$RANLIB_FOR_TARGET"; then
12909 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12912 for as_dir in $PATH
12915 test -z "$as_dir" && as_dir=.
12916 for ac_exec_ext in '' $ac_executable_extensions; do
12917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12918 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12928 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12929 if test -n "$RANLIB_FOR_TARGET"; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12931 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12939 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12943 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12945 if test $build = $target ; then
12946 RANLIB_FOR_TARGET="$2"
12948 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12951 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12955 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12961 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12962 if test -n "$with_build_time_tools"; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
12964 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
12965 if test -x $with_build_time_tools/readelf; then
12966 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12967 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
12969 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12974 elif test $build != $host && test $have_gcc_for_target = yes; then
12975 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12976 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12977 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12980 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12981 # Extract the first word of "readelf", so it can be a program name with args.
12982 set dummy readelf; ac_word=$2
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12984 $as_echo_n "checking for $ac_word... " >&6; }
12985 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12986 $as_echo_n "(cached) " >&6
12988 case $READELF_FOR_TARGET in
12990 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12994 for as_dir in $gcc_cv_tool_dirs
12997 test -z "$as_dir" && as_dir=.
12998 for ac_exec_ext in '' $ac_executable_extensions; do
12999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13000 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13011 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13012 if test -n "$READELF_FOR_TARGET"; then
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13014 $as_echo "$READELF_FOR_TARGET" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13022 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13025 if test -n "$READELF_FOR_TARGET"; then
13026 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13027 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13028 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13031 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13032 for ncn_progname in readelf; do
13033 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13034 set dummy ${ncn_progname}; ac_word=$2
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13036 $as_echo_n "checking for $ac_word... " >&6; }
13037 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13038 $as_echo_n "(cached) " >&6
13040 if test -n "$READELF_FOR_TARGET"; then
13041 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13060 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13061 if test -n "$READELF_FOR_TARGET"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13063 $as_echo "$READELF_FOR_TARGET" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13073 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13074 for ncn_progname in readelf; do
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13076 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13077 if test -x $with_build_time_tools/${ncn_progname}; then
13078 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13080 $as_echo "yes" >&6; }
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13084 $as_echo "no" >&6; }
13089 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13090 for ncn_progname in readelf; do
13091 if test -n "$ncn_target_tool_prefix"; then
13092 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13093 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13095 $as_echo_n "checking for $ac_word... " >&6; }
13096 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13097 $as_echo_n "(cached) " >&6
13099 if test -n "$READELF_FOR_TARGET"; then
13100 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13103 for as_dir in $PATH
13106 test -z "$as_dir" && as_dir=.
13107 for ac_exec_ext in '' $ac_executable_extensions; do
13108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13109 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13119 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13120 if test -n "$READELF_FOR_TARGET"; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13122 $as_echo "$READELF_FOR_TARGET" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13130 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13131 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13132 set dummy ${ncn_progname}; ac_word=$2
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13134 $as_echo_n "checking for $ac_word... " >&6; }
13135 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13136 $as_echo_n "(cached) " >&6
13138 if test -n "$READELF_FOR_TARGET"; then
13139 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13142 for as_dir in $PATH
13145 test -z "$as_dir" && as_dir=.
13146 for ac_exec_ext in '' $ac_executable_extensions; do
13147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13148 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13158 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13159 if test -n "$READELF_FOR_TARGET"; then
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13161 $as_echo "$READELF_FOR_TARGET" >&6; }
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13164 $as_echo "no" >&6; }
13169 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13173 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13175 if test $build = $target ; then
13176 READELF_FOR_TARGET="$2"
13178 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13181 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13185 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13191 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13192 if test -n "$with_build_time_tools"; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
13194 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
13195 if test -x $with_build_time_tools/strip; then
13196 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13197 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
13199 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13202 $as_echo "no" >&6; }
13204 elif test $build != $host && test $have_gcc_for_target = yes; then
13205 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13206 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13207 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13210 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13211 # Extract the first word of "strip", so it can be a program name with args.
13212 set dummy strip; ac_word=$2
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13214 $as_echo_n "checking for $ac_word... " >&6; }
13215 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13216 $as_echo_n "(cached) " >&6
13218 case $STRIP_FOR_TARGET in
13220 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13224 for as_dir in $gcc_cv_tool_dirs
13227 test -z "$as_dir" && as_dir=.
13228 for ac_exec_ext in '' $ac_executable_extensions; do
13229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13230 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13241 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13242 if test -n "$STRIP_FOR_TARGET"; then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13244 $as_echo "$STRIP_FOR_TARGET" >&6; }
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247 $as_echo "no" >&6; }
13252 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13255 if test -n "$STRIP_FOR_TARGET"; then
13256 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13257 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13258 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13261 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13262 for ncn_progname in strip; do
13263 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13264 set dummy ${ncn_progname}; ac_word=$2
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13266 $as_echo_n "checking for $ac_word... " >&6; }
13267 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13268 $as_echo_n "(cached) " >&6
13270 if test -n "$STRIP_FOR_TARGET"; then
13271 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13274 for as_dir in $PATH
13277 test -z "$as_dir" && as_dir=.
13278 for ac_exec_ext in '' $ac_executable_extensions; do
13279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13280 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13290 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13291 if test -n "$STRIP_FOR_TARGET"; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13293 $as_echo "$STRIP_FOR_TARGET" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296 $as_echo "no" >&6; }
13303 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13304 for ncn_progname in strip; do
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13306 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13307 if test -x $with_build_time_tools/${ncn_progname}; then
13308 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13310 $as_echo "yes" >&6; }
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13314 $as_echo "no" >&6; }
13319 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13320 for ncn_progname in strip; do
13321 if test -n "$ncn_target_tool_prefix"; then
13322 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13323 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13325 $as_echo_n "checking for $ac_word... " >&6; }
13326 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13327 $as_echo_n "(cached) " >&6
13329 if test -n "$STRIP_FOR_TARGET"; then
13330 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13333 for as_dir in $PATH
13336 test -z "$as_dir" && as_dir=.
13337 for ac_exec_ext in '' $ac_executable_extensions; do
13338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13339 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13349 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13350 if test -n "$STRIP_FOR_TARGET"; then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13352 $as_echo "$STRIP_FOR_TARGET" >&6; }
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13355 $as_echo "no" >&6; }
13360 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13362 set dummy ${ncn_progname}; ac_word=$2
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13364 $as_echo_n "checking for $ac_word... " >&6; }
13365 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13366 $as_echo_n "(cached) " >&6
13368 if test -n "$STRIP_FOR_TARGET"; then
13369 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13372 for as_dir in $PATH
13375 test -z "$as_dir" && as_dir=.
13376 for ac_exec_ext in '' $ac_executable_extensions; do
13377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13378 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13388 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13389 if test -n "$STRIP_FOR_TARGET"; then
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13391 $as_echo "$STRIP_FOR_TARGET" >&6; }
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13394 $as_echo "no" >&6; }
13399 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13403 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13405 if test $build = $target ; then
13406 STRIP_FOR_TARGET="$2"
13408 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13411 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13415 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13421 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13422 if test -n "$with_build_time_tools"; then
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
13424 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
13425 if test -x $with_build_time_tools/windres; then
13426 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13427 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13429 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432 $as_echo "no" >&6; }
13434 elif test $build != $host && test $have_gcc_for_target = yes; then
13435 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13436 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13437 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13440 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13441 # Extract the first word of "windres", so it can be a program name with args.
13442 set dummy windres; ac_word=$2
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444 $as_echo_n "checking for $ac_word... " >&6; }
13445 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13446 $as_echo_n "(cached) " >&6
13448 case $WINDRES_FOR_TARGET in
13450 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13454 for as_dir in $gcc_cv_tool_dirs
13457 test -z "$as_dir" && as_dir=.
13458 for ac_exec_ext in '' $ac_executable_extensions; do
13459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13460 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13471 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13472 if test -n "$WINDRES_FOR_TARGET"; then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13474 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13477 $as_echo "no" >&6; }
13482 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13485 if test -n "$WINDRES_FOR_TARGET"; then
13486 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13487 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13488 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13491 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13492 for ncn_progname in windres; do
13493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13494 set dummy ${ncn_progname}; ac_word=$2
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13496 $as_echo_n "checking for $ac_word... " >&6; }
13497 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13498 $as_echo_n "(cached) " >&6
13500 if test -n "$WINDRES_FOR_TARGET"; then
13501 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13504 for as_dir in $PATH
13507 test -z "$as_dir" && as_dir=.
13508 for ac_exec_ext in '' $ac_executable_extensions; do
13509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13510 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13520 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13521 if test -n "$WINDRES_FOR_TARGET"; then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13523 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13526 $as_echo "no" >&6; }
13533 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13534 for ncn_progname in windres; do
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13536 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13537 if test -x $with_build_time_tools/${ncn_progname}; then
13538 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13540 $as_echo "yes" >&6; }
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13544 $as_echo "no" >&6; }
13549 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13550 for ncn_progname in windres; do
13551 if test -n "$ncn_target_tool_prefix"; then
13552 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13553 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13555 $as_echo_n "checking for $ac_word... " >&6; }
13556 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13557 $as_echo_n "(cached) " >&6
13559 if test -n "$WINDRES_FOR_TARGET"; then
13560 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13563 for as_dir in $PATH
13566 test -z "$as_dir" && as_dir=.
13567 for ac_exec_ext in '' $ac_executable_extensions; do
13568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13569 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13579 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13580 if test -n "$WINDRES_FOR_TARGET"; then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13582 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13585 $as_echo "no" >&6; }
13590 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13592 set dummy ${ncn_progname}; ac_word=$2
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13594 $as_echo_n "checking for $ac_word... " >&6; }
13595 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13596 $as_echo_n "(cached) " >&6
13598 if test -n "$WINDRES_FOR_TARGET"; then
13599 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13602 for as_dir in $PATH
13605 test -z "$as_dir" && as_dir=.
13606 for ac_exec_ext in '' $ac_executable_extensions; do
13607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13608 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13618 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13619 if test -n "$WINDRES_FOR_TARGET"; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13621 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13624 $as_echo "no" >&6; }
13629 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13633 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13635 if test $build = $target ; then
13636 WINDRES_FOR_TARGET="$2"
13638 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13641 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13645 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13651 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13652 if test -n "$with_build_time_tools"; then
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
13654 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
13655 if test -x $with_build_time_tools/windmc; then
13656 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13657 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13659 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13662 $as_echo "no" >&6; }
13664 elif test $build != $host && test $have_gcc_for_target = yes; then
13665 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13666 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13667 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13670 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13671 # Extract the first word of "windmc", so it can be a program name with args.
13672 set dummy windmc; ac_word=$2
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13674 $as_echo_n "checking for $ac_word... " >&6; }
13675 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13676 $as_echo_n "(cached) " >&6
13678 case $WINDMC_FOR_TARGET in
13680 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13684 for as_dir in $gcc_cv_tool_dirs
13687 test -z "$as_dir" && as_dir=.
13688 for ac_exec_ext in '' $ac_executable_extensions; do
13689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13690 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13701 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13702 if test -n "$WINDMC_FOR_TARGET"; then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13704 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13707 $as_echo "no" >&6; }
13712 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13715 if test -n "$WINDMC_FOR_TARGET"; then
13716 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13717 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13718 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13721 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13722 for ncn_progname in windmc; do
13723 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13724 set dummy ${ncn_progname}; ac_word=$2
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13726 $as_echo_n "checking for $ac_word... " >&6; }
13727 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13728 $as_echo_n "(cached) " >&6
13730 if test -n "$WINDMC_FOR_TARGET"; then
13731 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13734 for as_dir in $PATH
13737 test -z "$as_dir" && as_dir=.
13738 for ac_exec_ext in '' $ac_executable_extensions; do
13739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13740 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13750 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13751 if test -n "$WINDMC_FOR_TARGET"; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13753 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756 $as_echo "no" >&6; }
13763 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13764 for ncn_progname in windmc; do
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13766 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13767 if test -x $with_build_time_tools/${ncn_progname}; then
13768 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13770 $as_echo "yes" >&6; }
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13774 $as_echo "no" >&6; }
13779 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13780 for ncn_progname in windmc; do
13781 if test -n "$ncn_target_tool_prefix"; then
13782 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13783 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13785 $as_echo_n "checking for $ac_word... " >&6; }
13786 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13787 $as_echo_n "(cached) " >&6
13789 if test -n "$WINDMC_FOR_TARGET"; then
13790 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13793 for as_dir in $PATH
13796 test -z "$as_dir" && as_dir=.
13797 for ac_exec_ext in '' $ac_executable_extensions; do
13798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13799 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13809 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13810 if test -n "$WINDMC_FOR_TARGET"; then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13812 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13815 $as_echo "no" >&6; }
13820 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13822 set dummy ${ncn_progname}; ac_word=$2
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13824 $as_echo_n "checking for $ac_word... " >&6; }
13825 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13828 if test -n "$WINDMC_FOR_TARGET"; then
13829 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13832 for as_dir in $PATH
13835 test -z "$as_dir" && as_dir=.
13836 for ac_exec_ext in '' $ac_executable_extensions; do
13837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13838 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13848 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13849 if test -n "$WINDMC_FOR_TARGET"; then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13851 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13854 $as_echo "no" >&6; }
13859 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13863 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13865 if test $build = $target ; then
13866 WINDMC_FOR_TARGET="$2"
13868 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13871 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13875 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13879 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13882 $as_echo_n "checking where to find the target ar... " >&6; }
13883 if test "x${build}" != "x${host}" ; then
13884 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13885 # We already found the complete path
13886 ac_dir=`dirname $AR_FOR_TARGET`
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13888 $as_echo "pre-installed in $ac_dir" >&6; }
13890 # Canadian cross, just use what we found
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13892 $as_echo "pre-installed" >&6; }
13896 case " ${configdirs} " in
13901 if test $ok = yes; then
13902 # An in-tree tool is available and we can use it
13903 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13905 $as_echo "just compiled" >&6; }
13906 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13907 # We already found the complete path
13908 ac_dir=`dirname $AR_FOR_TARGET`
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13910 $as_echo "pre-installed in $ac_dir" >&6; }
13911 elif test "x$target" = "x$host"; then
13912 # We can use an host tool
13913 AR_FOR_TARGET='$(AR)'
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13915 $as_echo "host tool" >&6; }
13917 # We need a cross tool
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13919 $as_echo "pre-installed" >&6; }
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13924 $as_echo_n "checking where to find the target as... " >&6; }
13925 if test "x${build}" != "x${host}" ; then
13926 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13927 # We already found the complete path
13928 ac_dir=`dirname $AS_FOR_TARGET`
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13930 $as_echo "pre-installed in $ac_dir" >&6; }
13932 # Canadian cross, just use what we found
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13934 $as_echo "pre-installed" >&6; }
13938 case " ${configdirs} " in
13943 if test $ok = yes; then
13944 # An in-tree tool is available and we can use it
13945 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13947 $as_echo "just compiled" >&6; }
13948 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13949 # We already found the complete path
13950 ac_dir=`dirname $AS_FOR_TARGET`
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13952 $as_echo "pre-installed in $ac_dir" >&6; }
13953 elif test "x$target" = "x$host"; then
13954 # We can use an host tool
13955 AS_FOR_TARGET='$(AS)'
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13957 $as_echo "host tool" >&6; }
13959 # We need a cross tool
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13961 $as_echo "pre-installed" >&6; }
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
13966 $as_echo_n "checking where to find the target cc... " >&6; }
13967 if test "x${build}" != "x${host}" ; then
13968 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13969 # We already found the complete path
13970 ac_dir=`dirname $CC_FOR_TARGET`
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13972 $as_echo "pre-installed in $ac_dir" >&6; }
13974 # Canadian cross, just use what we found
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13976 $as_echo "pre-installed" >&6; }
13980 case " ${configdirs} " in
13985 if test $ok = yes; then
13986 # An in-tree tool is available and we can use it
13987 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13989 $as_echo "just compiled" >&6; }
13990 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13991 # We already found the complete path
13992 ac_dir=`dirname $CC_FOR_TARGET`
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13994 $as_echo "pre-installed in $ac_dir" >&6; }
13995 elif test "x$target" = "x$host"; then
13996 # We can use an host tool
13997 CC_FOR_TARGET='$(CC)'
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13999 $as_echo "host tool" >&6; }
14001 # We need a cross tool
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14003 $as_echo "pre-installed" >&6; }
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
14008 $as_echo_n "checking where to find the target c++... " >&6; }
14009 if test "x${build}" != "x${host}" ; then
14010 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
14011 # We already found the complete path
14012 ac_dir=`dirname $CXX_FOR_TARGET`
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14014 $as_echo "pre-installed in $ac_dir" >&6; }
14016 # Canadian cross, just use what we found
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14018 $as_echo "pre-installed" >&6; }
14022 case " ${configdirs} " in
14026 case ,${enable_languages}, in
14030 if test $ok = yes; then
14031 # An in-tree tool is available and we can use it
14032 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14034 $as_echo "just compiled" >&6; }
14035 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
14036 # We already found the complete path
14037 ac_dir=`dirname $CXX_FOR_TARGET`
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14039 $as_echo "pre-installed in $ac_dir" >&6; }
14040 elif test "x$target" = "x$host"; then
14041 # We can use an host tool
14042 CXX_FOR_TARGET='$(CXX)'
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14044 $as_echo "host tool" >&6; }
14046 # We need a cross tool
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14048 $as_echo "pre-installed" >&6; }
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
14053 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
14054 if test "x${build}" != "x${host}" ; then
14055 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
14056 # We already found the complete path
14057 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14059 $as_echo "pre-installed in $ac_dir" >&6; }
14061 # Canadian cross, just use what we found
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14063 $as_echo "pre-installed" >&6; }
14067 case " ${configdirs} " in
14071 case ,${enable_languages}, in
14075 if test $ok = yes; then
14076 # An in-tree tool is available and we can use it
14077 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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14079 $as_echo "just compiled" >&6; }
14080 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
14081 # We already found the complete path
14082 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14084 $as_echo "pre-installed in $ac_dir" >&6; }
14085 elif test "x$target" = "x$host"; then
14086 # We can use an host tool
14087 RAW_CXX_FOR_TARGET='$(CXX)'
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14089 $as_echo "host tool" >&6; }
14091 # We need a cross tool
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14093 $as_echo "pre-installed" >&6; }
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
14098 $as_echo_n "checking where to find the target dlltool... " >&6; }
14099 if test "x${build}" != "x${host}" ; then
14100 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
14101 # We already found the complete path
14102 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14104 $as_echo "pre-installed in $ac_dir" >&6; }
14106 # Canadian cross, just use what we found
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14108 $as_echo "pre-installed" >&6; }
14112 case " ${configdirs} " in
14117 if test $ok = yes; then
14118 # An in-tree tool is available and we can use it
14119 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14121 $as_echo "just compiled" >&6; }
14122 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
14123 # We already found the complete path
14124 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14126 $as_echo "pre-installed in $ac_dir" >&6; }
14127 elif test "x$target" = "x$host"; then
14128 # We can use an host tool
14129 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14131 $as_echo "host tool" >&6; }
14133 # We need a cross tool
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14135 $as_echo "pre-installed" >&6; }
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
14140 $as_echo_n "checking where to find the target gcc... " >&6; }
14141 if test "x${build}" != "x${host}" ; then
14142 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
14143 # We already found the complete path
14144 ac_dir=`dirname $GCC_FOR_TARGET`
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14146 $as_echo "pre-installed in $ac_dir" >&6; }
14148 # Canadian cross, just use what we found
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14150 $as_echo "pre-installed" >&6; }
14154 case " ${configdirs} " in
14159 if test $ok = yes; then
14160 # An in-tree tool is available and we can use it
14161 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14163 $as_echo "just compiled" >&6; }
14164 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
14165 # We already found the complete path
14166 ac_dir=`dirname $GCC_FOR_TARGET`
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14168 $as_echo "pre-installed in $ac_dir" >&6; }
14169 elif test "x$target" = "x$host"; then
14170 # We can use an host tool
14171 GCC_FOR_TARGET='$()'
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14173 $as_echo "host tool" >&6; }
14175 # We need a cross tool
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14177 $as_echo "pre-installed" >&6; }
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
14182 $as_echo_n "checking where to find the target gcj... " >&6; }
14183 if test "x${build}" != "x${host}" ; then
14184 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
14185 # We already found the complete path
14186 ac_dir=`dirname $GCJ_FOR_TARGET`
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14188 $as_echo "pre-installed in $ac_dir" >&6; }
14190 # Canadian cross, just use what we found
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14192 $as_echo "pre-installed" >&6; }
14196 case " ${configdirs} " in
14200 case ,${enable_languages}, in
14204 if test $ok = yes; then
14205 # An in-tree tool is available and we can use it
14206 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14208 $as_echo "just compiled" >&6; }
14209 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
14210 # We already found the complete path
14211 ac_dir=`dirname $GCJ_FOR_TARGET`
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14213 $as_echo "pre-installed in $ac_dir" >&6; }
14214 elif test "x$target" = "x$host"; then
14215 # We can use an host tool
14216 GCJ_FOR_TARGET='$(GCJ)'
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14218 $as_echo "host tool" >&6; }
14220 # We need a cross tool
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14222 $as_echo "pre-installed" >&6; }
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
14227 $as_echo_n "checking where to find the target gfortran... " >&6; }
14228 if test "x${build}" != "x${host}" ; then
14229 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
14230 # We already found the complete path
14231 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14233 $as_echo "pre-installed in $ac_dir" >&6; }
14235 # Canadian cross, just use what we found
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14237 $as_echo "pre-installed" >&6; }
14241 case " ${configdirs} " in
14245 case ,${enable_languages}, in
14249 if test $ok = yes; then
14250 # An in-tree tool is available and we can use it
14251 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14253 $as_echo "just compiled" >&6; }
14254 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
14255 # We already found the complete path
14256 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14258 $as_echo "pre-installed in $ac_dir" >&6; }
14259 elif test "x$target" = "x$host"; then
14260 # We can use an host tool
14261 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14263 $as_echo "host tool" >&6; }
14265 # We need a cross tool
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14267 $as_echo "pre-installed" >&6; }
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
14272 $as_echo_n "checking where to find the target gccgo... " >&6; }
14273 if test "x${build}" != "x${host}" ; then
14274 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
14275 # We already found the complete path
14276 ac_dir=`dirname $GOC_FOR_TARGET`
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14278 $as_echo "pre-installed in $ac_dir" >&6; }
14280 # Canadian cross, just use what we found
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14282 $as_echo "pre-installed" >&6; }
14286 case " ${configdirs} " in
14290 case ,${enable_languages}, in
14294 if test $ok = yes; then
14295 # An in-tree tool is available and we can use it
14296 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14298 $as_echo "just compiled" >&6; }
14299 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
14300 # We already found the complete path
14301 ac_dir=`dirname $GOC_FOR_TARGET`
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14303 $as_echo "pre-installed in $ac_dir" >&6; }
14304 elif test "x$target" = "x$host"; then
14305 # We can use an host tool
14306 GOC_FOR_TARGET='$(GOC)'
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14308 $as_echo "host tool" >&6; }
14310 # We need a cross tool
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14312 $as_echo "pre-installed" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
14317 $as_echo_n "checking where to find the target ld... " >&6; }
14318 if test "x${build}" != "x${host}" ; then
14319 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
14320 # We already found the complete path
14321 ac_dir=`dirname $LD_FOR_TARGET`
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14323 $as_echo "pre-installed in $ac_dir" >&6; }
14325 # Canadian cross, just use what we found
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14327 $as_echo "pre-installed" >&6; }
14331 case " ${configdirs} " in
14336 if test $ok = yes; then
14337 # An in-tree tool is available and we can use it
14338 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14340 $as_echo "just compiled" >&6; }
14341 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
14342 # We already found the complete path
14343 ac_dir=`dirname $LD_FOR_TARGET`
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14345 $as_echo "pre-installed in $ac_dir" >&6; }
14346 elif test "x$target" = "x$host"; then
14347 # We can use an host tool
14348 LD_FOR_TARGET='$(LD)'
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14350 $as_echo "host tool" >&6; }
14352 # We need a cross tool
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14354 $as_echo "pre-installed" >&6; }
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
14359 $as_echo_n "checking where to find the target lipo... " >&6; }
14360 if test "x${build}" != "x${host}" ; then
14361 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
14362 # We already found the complete path
14363 ac_dir=`dirname $LIPO_FOR_TARGET`
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14365 $as_echo "pre-installed in $ac_dir" >&6; }
14367 # Canadian cross, just use what we found
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14369 $as_echo "pre-installed" >&6; }
14372 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
14373 # We already found the complete path
14374 ac_dir=`dirname $LIPO_FOR_TARGET`
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14376 $as_echo "pre-installed in $ac_dir" >&6; }
14377 elif test "x$target" = "x$host"; then
14378 # We can use an host tool
14379 LIPO_FOR_TARGET='$(LIPO)'
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14381 $as_echo "host tool" >&6; }
14383 # We need a cross tool
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14385 $as_echo "pre-installed" >&6; }
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
14390 $as_echo_n "checking where to find the target nm... " >&6; }
14391 if test "x${build}" != "x${host}" ; then
14392 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
14393 # We already found the complete path
14394 ac_dir=`dirname $NM_FOR_TARGET`
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14396 $as_echo "pre-installed in $ac_dir" >&6; }
14398 # Canadian cross, just use what we found
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14400 $as_echo "pre-installed" >&6; }
14404 case " ${configdirs} " in
14409 if test $ok = yes; then
14410 # An in-tree tool is available and we can use it
14411 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14413 $as_echo "just compiled" >&6; }
14414 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
14415 # We already found the complete path
14416 ac_dir=`dirname $NM_FOR_TARGET`
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14418 $as_echo "pre-installed in $ac_dir" >&6; }
14419 elif test "x$target" = "x$host"; then
14420 # We can use an host tool
14421 NM_FOR_TARGET='$(NM)'
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14423 $as_echo "host tool" >&6; }
14425 # We need a cross tool
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14427 $as_echo "pre-installed" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objcopy" >&5
14432 $as_echo_n "checking where to find the target objcopy... " >&6; }
14433 if test "x${build}" != "x${host}" ; then
14434 if expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
14435 # We already found the complete path
14436 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14438 $as_echo "pre-installed in $ac_dir" >&6; }
14440 # Canadian cross, just use what we found
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14442 $as_echo "pre-installed" >&6; }
14446 case " ${configdirs} " in
14451 if test $ok = yes; then
14452 # An in-tree tool is available and we can use it
14453 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14455 $as_echo "just compiled" >&6; }
14456 elif expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
14457 # We already found the complete path
14458 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14460 $as_echo "pre-installed in $ac_dir" >&6; }
14461 elif test "x$target" = "x$host"; then
14462 # We can use an host tool
14463 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14465 $as_echo "host tool" >&6; }
14467 # We need a cross tool
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14469 $as_echo "pre-installed" >&6; }
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
14474 $as_echo_n "checking where to find the target objdump... " >&6; }
14475 if test "x${build}" != "x${host}" ; then
14476 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
14477 # We already found the complete path
14478 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14480 $as_echo "pre-installed in $ac_dir" >&6; }
14482 # Canadian cross, just use what we found
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14484 $as_echo "pre-installed" >&6; }
14488 case " ${configdirs} " in
14493 if test $ok = yes; then
14494 # An in-tree tool is available and we can use it
14495 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14497 $as_echo "just compiled" >&6; }
14498 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
14499 # We already found the complete path
14500 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14502 $as_echo "pre-installed in $ac_dir" >&6; }
14503 elif test "x$target" = "x$host"; then
14504 # We can use an host tool
14505 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14507 $as_echo "host tool" >&6; }
14509 # We need a cross tool
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14511 $as_echo "pre-installed" >&6; }
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
14516 $as_echo_n "checking where to find the target ranlib... " >&6; }
14517 if test "x${build}" != "x${host}" ; then
14518 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
14519 # We already found the complete path
14520 ac_dir=`dirname $RANLIB_FOR_TARGET`
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14522 $as_echo "pre-installed in $ac_dir" >&6; }
14524 # Canadian cross, just use what we found
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14526 $as_echo "pre-installed" >&6; }
14530 case " ${configdirs} " in
14535 if test $ok = yes; then
14536 # An in-tree tool is available and we can use it
14537 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14539 $as_echo "just compiled" >&6; }
14540 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
14541 # We already found the complete path
14542 ac_dir=`dirname $RANLIB_FOR_TARGET`
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14544 $as_echo "pre-installed in $ac_dir" >&6; }
14545 elif test "x$target" = "x$host"; then
14546 # We can use an host tool
14547 RANLIB_FOR_TARGET='$(RANLIB)'
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14549 $as_echo "host tool" >&6; }
14551 # We need a cross tool
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14553 $as_echo "pre-installed" >&6; }
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
14558 $as_echo_n "checking where to find the target readelf... " >&6; }
14559 if test "x${build}" != "x${host}" ; then
14560 if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
14561 # We already found the complete path
14562 ac_dir=`dirname $READELF_FOR_TARGET`
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14564 $as_echo "pre-installed in $ac_dir" >&6; }
14566 # Canadian cross, just use what we found
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14568 $as_echo "pre-installed" >&6; }
14572 case " ${configdirs} " in
14577 if test $ok = yes; then
14578 # An in-tree tool is available and we can use it
14579 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14581 $as_echo "just compiled" >&6; }
14582 elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
14583 # We already found the complete path
14584 ac_dir=`dirname $READELF_FOR_TARGET`
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14586 $as_echo "pre-installed in $ac_dir" >&6; }
14587 elif test "x$target" = "x$host"; then
14588 # We can use an host tool
14589 READELF_FOR_TARGET='$(READELF)'
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14591 $as_echo "host tool" >&6; }
14593 # We need a cross tool
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14595 $as_echo "pre-installed" >&6; }
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
14600 $as_echo_n "checking where to find the target strip... " >&6; }
14601 if test "x${build}" != "x${host}" ; then
14602 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
14603 # We already found the complete path
14604 ac_dir=`dirname $STRIP_FOR_TARGET`
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14606 $as_echo "pre-installed in $ac_dir" >&6; }
14608 # Canadian cross, just use what we found
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14610 $as_echo "pre-installed" >&6; }
14614 case " ${configdirs} " in
14619 if test $ok = yes; then
14620 # An in-tree tool is available and we can use it
14621 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14623 $as_echo "just compiled" >&6; }
14624 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
14625 # We already found the complete path
14626 ac_dir=`dirname $STRIP_FOR_TARGET`
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14628 $as_echo "pre-installed in $ac_dir" >&6; }
14629 elif test "x$target" = "x$host"; then
14630 # We can use an host tool
14631 STRIP_FOR_TARGET='$(STRIP)'
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14633 $as_echo "host tool" >&6; }
14635 # We need a cross tool
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14637 $as_echo "pre-installed" >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
14642 $as_echo_n "checking where to find the target windres... " >&6; }
14643 if test "x${build}" != "x${host}" ; then
14644 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
14645 # We already found the complete path
14646 ac_dir=`dirname $WINDRES_FOR_TARGET`
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14648 $as_echo "pre-installed in $ac_dir" >&6; }
14650 # Canadian cross, just use what we found
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14652 $as_echo "pre-installed" >&6; }
14656 case " ${configdirs} " in
14661 if test $ok = yes; then
14662 # An in-tree tool is available and we can use it
14663 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14665 $as_echo "just compiled" >&6; }
14666 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
14667 # We already found the complete path
14668 ac_dir=`dirname $WINDRES_FOR_TARGET`
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14670 $as_echo "pre-installed in $ac_dir" >&6; }
14671 elif test "x$target" = "x$host"; then
14672 # We can use an host tool
14673 WINDRES_FOR_TARGET='$(WINDRES)'
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14675 $as_echo "host tool" >&6; }
14677 # We need a cross tool
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14679 $as_echo "pre-installed" >&6; }
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
14684 $as_echo_n "checking where to find the target windmc... " >&6; }
14685 if test "x${build}" != "x${host}" ; then
14686 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
14687 # We already found the complete path
14688 ac_dir=`dirname $WINDMC_FOR_TARGET`
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14690 $as_echo "pre-installed in $ac_dir" >&6; }
14692 # Canadian cross, just use what we found
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14694 $as_echo "pre-installed" >&6; }
14698 case " ${configdirs} " in
14703 if test $ok = yes; then
14704 # An in-tree tool is available and we can use it
14705 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14707 $as_echo "just compiled" >&6; }
14708 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
14709 # We already found the complete path
14710 ac_dir=`dirname $WINDMC_FOR_TARGET`
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14712 $as_echo "pre-installed in $ac_dir" >&6; }
14713 elif test "x$target" = "x$host"; then
14714 # We can use an host tool
14715 WINDMC_FOR_TARGET='$(WINDMC)'
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14717 $as_echo "host tool" >&6; }
14719 # We need a cross tool
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14721 $as_echo "pre-installed" >&6; }
14729 # Certain tools may need extra flags.
14730 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14731 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14732 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14734 # When building target libraries, except in a Canadian cross, we use
14735 # the same toolchain as the compiler we just built.
14736 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14737 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14738 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14739 if test $host = $build; then
14740 case " $configdirs " in
14742 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14743 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14744 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
14754 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
14755 # Check whether --enable-maintainer-mode was given.
14756 if test "${enable_maintainer_mode+set}" = set; then :
14757 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14759 USE_MAINTAINER_MODE=no
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
14763 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14766 if test "$USE_MAINTAINER_MODE" = yes; then
14767 MAINTAINER_MODE_TRUE=
14768 MAINTAINER_MODE_FALSE='#'
14770 MAINTAINER_MODE_TRUE='#'
14771 MAINTAINER_MODE_FALSE=
14773 MAINT=$MAINTAINER_MODE_TRUE
14775 # ---------------------
14776 # GCC bootstrap support
14777 # ---------------------
14779 # Stage specific cflags for build.
14784 yes) stage1_cflags="-g -Wa,-J" ;;
14785 *) stage1_cflags="-g -J" ;;
14791 # Enable --enable-checking in stage1 of the compiler.
14792 # Check whether --enable-stage1-checking was given.
14793 if test "${enable_stage1_checking+set}" = set; then :
14794 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14796 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
14797 stage1_checking=--enable-checking=yes,types
14799 stage1_checking=--enable-checking=$enable_checking,types
14805 # Enable -Werror in bootstrap stage2 and later.
14806 # Check whether --enable-werror was given.
14807 if test "${enable_werror+set}" = set; then :
14808 enableval=$enable_werror;
14810 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14817 case ${enable_werror} in
14818 yes) stage2_werror_flag="--enable-werror-always" ;;
14819 *) stage2_werror_flag="" ;;
14823 # Enable --enable-host-shared.
14824 # Check whether --enable-host-shared was given.
14825 if test "${enable_host_shared+set}" = set; then :
14826 enableval=$enable_host_shared; host_shared=$enableval
14833 # PR jit/64780: Require the user to explicitly specify
14834 # --enable-host-shared if the jit is enabled, hinting
14835 # that they might want to do a separate configure/build of
14836 # the jit, to avoid users from slowing down the rest of the
14837 # compiler by enabling the jit.
14838 if test ${host_shared} = "no" ; then
14839 case "${enable_languages}" in
14842 Enabling language \"jit\" requires --enable-host-shared.
14844 --enable-host-shared typically slows the rest of the compiler down by
14845 a few %, so you must explicitly enable it.
14847 If you want to build both the jit and the regular compiler, it is often
14848 best to do this via two separate configure/builds, in separate
14849 directories, to avoid imposing the performance cost of
14850 --enable-host-shared on the regular compiler." "$LINENO" 5
14857 # Specify what files to not compare during bootstrap.
14859 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
14861 hppa*64*-*-hpux*) ;;
14862 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
14863 powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
14867 ac_config_files="$ac_config_files Makefile"
14869 cat >confcache <<\_ACEOF
14870 # This file is a shell script that caches the results of configure
14871 # tests run on this system so they can be shared between configure
14872 # scripts and configure runs, see configure's option --config-cache.
14873 # It is not useful on other systems. If it contains results you don't
14874 # want to keep, you may remove or edit it.
14876 # config.status only pays attention to the cache file if you give it
14877 # the --recheck option to rerun configure.
14879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14881 # following values.
14885 # The following way of writing the cache mishandles newlines in values,
14886 # but we know of no workaround that is simple, portable, and efficient.
14887 # So, we kill variables containing newlines.
14888 # Ultrix sh set writes to stderr and can't be redirected directly,
14889 # and sets the high bit in the cache file unless we assign to the vars.
14891 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14892 eval ac_val=\$$ac_var
14896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14900 _ | IFS | as_nl) ;; #(
14901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14902 *) { eval $ac_var=; unset $ac_var;} ;;
14908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14909 *${as_nl}ac_space=\ *)
14910 # `set' does not quote correctly, so add quotes: double-quote
14911 # substitution turns \\\\ into \\, and sed turns \\ into \.
14914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14917 # `set' quotes correctly as required by POSIX, so do not add quotes.
14918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14931 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14932 if test -w "$cache_file"; then
14933 test "x$cache_file" != "x/dev/null" &&
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14935 $as_echo "$as_me: updating cache $cache_file" >&6;}
14936 cat confcache >$cache_file
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14939 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14944 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14945 # Let make expand exec_prefix.
14946 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14948 # Transform confdefs.h into DEFS.
14949 # Protect against shell expansion while executing Makefile rules.
14950 # Protect against Makefile macro expansion.
14952 # If the first sed substitution is executed (which looks for macros that
14953 # take arguments), then branch to the quote section. Otherwise,
14954 # look for a macro that doesn't take arguments.
14964 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14966 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14970 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14983 DEFS=`sed -n "$ac_script" confdefs.h`
14988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14989 # 1. Remove the extension, and $U if already installed.
14990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14991 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14993 # will be set to the directory where LIBOBJS objects are built.
14994 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14995 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14997 LIBOBJS=$ac_libobjs
14999 LTLIBOBJS=$ac_ltlibobjs
15003 : ${CONFIG_STATUS=./config.status}
15005 ac_clean_files_save=$ac_clean_files
15006 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15008 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15010 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15012 # Generated by $as_me.
15013 # Run this file to recreate the current configuration.
15014 # Compiler output produced by configure, useful for debugging
15015 # configure, is in config.log if it exists.
15018 ac_cs_recheck=false
15021 SHELL=\${CONFIG_SHELL-$SHELL}
15024 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15025 ## -------------------- ##
15026 ## M4sh Initialization. ##
15027 ## -------------------- ##
15029 # Be more Bourne compatible
15030 DUALCASE=1; export DUALCASE # for MKS sh
15031 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15034 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15035 # is contrary to our usage. Disable this feature.
15036 alias -g '${1+"$@"}'='"$@"'
15037 setopt NO_GLOB_SUBST
15039 case `(set -o) 2>/dev/null` in #(
15051 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15052 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15053 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15054 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15055 # Prefer a ksh shell builtin over an external printf program on Solaris,
15056 # but without wasting forks for bash or zsh.
15057 if test -z "$BASH_VERSION$ZSH_VERSION" \
15058 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15059 as_echo='print -r --'
15060 as_echo_n='print -rn --'
15061 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15062 as_echo='printf %s\n'
15063 as_echo_n='printf %s'
15065 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15066 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15067 as_echo_n='/usr/ucb/echo -n'
15069 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15070 as_echo_n_body='eval
15074 expr "X$arg" : "X\\(.*\\)$as_nl";
15075 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15077 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15079 export as_echo_n_body
15080 as_echo_n='sh -c $as_echo_n_body as_echo'
15082 export as_echo_body
15083 as_echo='sh -c $as_echo_body as_echo'
15086 # The user is always right.
15087 if test "${PATH_SEPARATOR+set}" != set; then
15089 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15090 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15097 # We need space, tab and new line, in precisely that order. Quoting is
15098 # there to prevent editors from complaining about space-tab.
15099 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15100 # splitting by setting IFS to empty value.)
15103 # Find who we are. Look in the path if we contain no directory separator.
15105 *[\\/]* ) as_myself=$0 ;;
15106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15110 test -z "$as_dir" && as_dir=.
15111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15117 # We did not find ourselves, most probably we were run as `sh COMMAND'
15118 # in which case we are not to be found in the path.
15119 if test "x$as_myself" = x; then
15122 if test ! -f "$as_myself"; then
15123 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15127 # Unset variables that we do not need and which cause bugs (e.g. in
15128 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15129 # suppresses any "Segmentation fault" message there. '((' could
15130 # trigger a bug in pdksh 5.2.14.
15131 for as_var in BASH_ENV ENV MAIL MAILPATH
15132 do eval test x\${$as_var+set} = xset \
15133 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15146 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15149 # as_fn_error ERROR [LINENO LOG_FD]
15150 # ---------------------------------
15151 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15152 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15153 # script with status $?, using 1 if that was 0.
15156 as_status=$?; test $as_status -eq 0 && as_status=1
15158 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15159 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15161 $as_echo "$as_me: error: $1" >&2
15162 as_fn_exit $as_status
15166 # as_fn_set_status STATUS
15167 # -----------------------
15168 # Set $? to STATUS, without forking.
15169 as_fn_set_status ()
15172 } # as_fn_set_status
15174 # as_fn_exit STATUS
15175 # -----------------
15176 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15180 as_fn_set_status $1
15186 # Portably unset VAR.
15189 { eval $1=; unset $1;}
15191 as_unset=as_fn_unset
15192 # as_fn_append VAR VALUE
15193 # ----------------------
15194 # Append the text in VALUE to the end of the definition contained in VAR. Take
15195 # advantage of any shell optimizations that allow amortized linear growth over
15196 # repeated appends, instead of the typical quadratic growth present in naive
15198 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15199 eval 'as_fn_append ()
15210 # as_fn_arith ARG...
15211 # ------------------
15212 # Perform arithmetic evaluation on the ARGs, and store the result in the
15213 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15214 # must be portable across $(()) and expr.
15215 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15216 eval 'as_fn_arith ()
15223 as_val=`expr "$@" || test $? -eq 1`
15228 if expr a : '\(a\)' >/dev/null 2>&1 &&
15229 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15235 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15236 as_basename=basename
15241 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15247 as_me=`$as_basename -- "$0" ||
15248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15249 X"$0" : 'X\(//\)$' \| \
15250 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15252 sed '/^.*\/\([^/][^/]*\)\/*$/{
15266 # Avoid depending upon Character Ranges.
15267 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15268 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15269 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15270 as_cr_digits='0123456789'
15271 as_cr_alnum=$as_cr_Letters$as_cr_digits
15273 ECHO_C= ECHO_N= ECHO_T=
15274 case `echo -n x` in #(((((
15276 case `echo 'xy\c'` in
15277 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15279 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15286 rm -f conf$$ conf$$.exe conf$$.file
15287 if test -d conf$$.dir; then
15288 rm -f conf$$.dir/conf$$.file
15291 mkdir conf$$.dir 2>/dev/null
15293 if (echo >conf$$.file) 2>/dev/null; then
15294 if ln -s conf$$.file conf$$ 2>/dev/null; then
15296 # ... but there are two gotchas:
15297 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15298 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15299 # In both cases, we have to default to `cp -p'.
15300 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15302 elif ln conf$$.file conf$$ 2>/dev/null; then
15310 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15311 rmdir conf$$.dir 2>/dev/null
15316 # Create "$as_dir" as a directory, including parents if necessary.
15321 -*) as_dir=./$as_dir;;
15323 test -d "$as_dir" || eval $as_mkdir_p || {
15327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15328 *) as_qdir=$as_dir;;
15330 as_dirs="'$as_qdir' $as_dirs"
15331 as_dir=`$as_dirname -- "$as_dir" ||
15332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15333 X"$as_dir" : 'X\(//\)[^/]' \| \
15334 X"$as_dir" : 'X\(//\)$' \| \
15335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15336 $as_echo X"$as_dir" |
15337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15341 /^X\(\/\/\)[^/].*/{
15354 test -d "$as_dir" && break
15356 test -z "$as_dirs" || eval "mkdir $as_dirs"
15357 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15361 if mkdir -p . 2>/dev/null; then
15362 as_mkdir_p='mkdir -p "$as_dir"'
15364 test -d ./-p && rmdir ./-p
15368 if test -x / >/dev/null 2>&1; then
15369 as_test_x='test -x'
15371 if ls -dL / >/dev/null 2>&1; then
15378 if test -d "$1"; then
15384 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15385 ???[sx]*):;;*)false;;esac;fi
15389 as_executable_p=$as_test_x
15391 # Sed expression to map a string onto a valid CPP name.
15392 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15394 # Sed expression to map a string onto a valid variable name.
15395 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15399 ## ----------------------------------- ##
15400 ## Main body of $CONFIG_STATUS script. ##
15401 ## ----------------------------------- ##
15403 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15406 # Save the log message, to keep $0 and so on meaningful, and to
15407 # report actual input values of CONFIG_FILES etc. instead of their
15408 # values after options handling.
15410 This file was extended by $as_me, which was
15411 generated by GNU Autoconf 2.64. Invocation command line was
15413 CONFIG_FILES = $CONFIG_FILES
15414 CONFIG_HEADERS = $CONFIG_HEADERS
15415 CONFIG_LINKS = $CONFIG_LINKS
15416 CONFIG_COMMANDS = $CONFIG_COMMANDS
15419 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15424 case $ac_config_files in *"
15425 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15431 # Files that config.status was made for.
15432 config_files="$ac_config_files"
15436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15438 \`$as_me' instantiates files and other configuration actions
15439 from templates according to the current configuration. Unless the files
15440 and actions are specified as TAGs, all are instantiated by default.
15442 Usage: $0 [OPTION]... [TAG]...
15444 -h, --help print this help, then exit
15445 -V, --version print version number and configuration settings, then exit
15446 -q, --quiet, --silent
15447 do not print progress messages
15448 -d, --debug don't remove temporary files
15449 --recheck update $as_me by reconfiguring in the same conditions
15450 --file=FILE[:TEMPLATE]
15451 instantiate the configuration file FILE
15453 Configuration files:
15456 Report bugs to the package provider."
15459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15462 configured by $0, generated by GNU Autoconf 2.64,
15463 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15465 Copyright (C) 2009 Free Software Foundation, Inc.
15466 This config.status script is free software; the Free Software Foundation
15467 gives unlimited permission to copy, distribute and modify it."
15473 test -n "\$AWK" || AWK=awk
15476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15477 # The default lists apply if the user does not specify any file.
15483 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15484 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15495 # Handling of the options.
15496 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15498 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15499 $as_echo "$ac_cs_version"; exit ;;
15500 --debug | --debu | --deb | --de | --d | -d )
15502 --file | --fil | --fi | --f )
15505 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15507 as_fn_append CONFIG_FILES " '$ac_optarg'"
15508 ac_need_defaults=false;;
15509 --he | --h | --help | --hel | -h )
15510 $as_echo "$ac_cs_usage"; exit ;;
15511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15512 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15515 # This is an error.
15516 -*) as_fn_error "unrecognized option: \`$1'
15517 Try \`$0 --help' for more information." ;;
15519 *) as_fn_append ac_config_targets " $1"
15520 ac_need_defaults=false ;;
15526 ac_configure_extra_args=
15528 if $ac_cs_silent; then
15530 ac_configure_extra_args="$ac_configure_extra_args --silent"
15534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15535 if \$ac_cs_recheck; then
15536 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15538 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15539 CONFIG_SHELL='$SHELL'
15540 export CONFIG_SHELL
15545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15549 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15550 ## Running $as_me. ##
15556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15560 extrasub_build="$extrasub_build"
15561 extrasub_host="$extrasub_host"
15562 extrasub_target="$extrasub_target"
15566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15568 # Handling of arguments.
15569 for ac_config_target in $ac_config_targets
15571 case $ac_config_target in
15572 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15574 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15579 # If the user did not use the arguments to specify the items to instantiate,
15580 # then the envvar interface is used. Set only those that are not.
15581 # We use the long form for the default assignment because of an extremely
15582 # bizarre bug on SunOS 4.1.3.
15583 if $ac_need_defaults; then
15584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15587 # Have a temporary directory for convenience. Make it in the build tree
15588 # simply because there is no reason against having it here, and in addition,
15589 # creating and moving files from /tmp can sometimes cause problems.
15590 # Hook for its removal unless debugging.
15591 # Note that there is a small window in which the directory will not be cleaned:
15592 # after its creation but before its name has been assigned to `$tmp'.
15596 trap 'exit_status=$?
15597 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15599 trap 'as_fn_exit 1' 1 2 13 15
15601 # Create a (secure) tmp directory for tmp files.
15604 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15605 test -n "$tmp" && test -d "$tmp"
15608 tmp=./conf$$-$RANDOM
15609 (umask 077 && mkdir "$tmp")
15610 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15612 # Set up the scripts for CONFIG_FILES section.
15613 # No need to generate them if there are no CONFIG_FILES.
15614 # This happens for instance with `./config.status config.h'.
15615 if test -n "$CONFIG_FILES"; then
15617 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
15618 ac_cs_awk_getline=:
15619 ac_cs_awk_pipe_init=
15620 ac_cs_awk_read_file='
15621 while ((getline aline < (F[key])) > 0)
15624 ac_cs_awk_pipe_fini=
15626 ac_cs_awk_getline=false
15627 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
15628 ac_cs_awk_read_file='
15630 print "cat " F[key] " &&"
15631 '$ac_cs_awk_pipe_init
15632 # The final `:' finishes the AND list.
15633 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
15635 ac_cr=`echo X | tr X '\015'`
15636 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15637 # But we know of no other shell where ac_cr would be empty at this
15638 # point, so we can use a bashism as a fallback.
15639 if test "x$ac_cr" = x; then
15640 eval ac_cr=\$\'\\r\'
15642 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15643 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15646 ac_cs_awk_cr=$ac_cr
15649 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15652 # Create commands to substitute file output variables.
15654 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15655 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15656 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15659 } >conf$$files.sh &&
15660 . ./conf$$files.sh ||
15661 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15662 rm -f conf$$files.sh
15665 echo "cat >conf$$subs.awk <<_ACEOF" &&
15666 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15668 } >conf$$subs.sh ||
15669 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15670 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15672 for ac_last_try in false false false false false :; do
15673 . ./conf$$subs.sh ||
15674 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15676 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15677 if test $ac_delim_n = $ac_delim_num; then
15679 elif $ac_last_try; then
15680 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15685 rm -f conf$$subs.sh
15687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15688 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15692 s/^/S["/; s/!.*/"]=/
15702 s/\(.\{148\}\).*/\1/
15704 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15709 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15716 s/\(.\{148\}\).*/\1/
15718 s/["\\]/\\&/g; s/^/"/; s/$/"/
15722 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15727 ' <conf$$subs.awk | sed '
15732 ' >>$CONFIG_STATUS || ac_write_fail=1
15733 rm -f conf$$subs.awk
15734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15736 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15737 for (key in S) S_is_set[key] = 1
15739 \$ac_cs_awk_pipe_init
15743 nfields = split(line, field, "@")
15745 len = length(field[1])
15746 for (i = 2; i < nfields; i++) {
15748 keylen = length(key)
15749 if (S_is_set[key]) {
15751 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15752 len += length(value) + length(field[++i])
15757 if (nfields == 3 && !substed) {
15759 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15760 \$ac_cs_awk_read_file
15766 \$ac_cs_awk_pipe_fini
15769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15770 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15771 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15774 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15775 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15778 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15779 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15780 # trailing colons and then remove the whole line if VPATH becomes empty
15781 # (actually we leave an empty line to preserve line numbers).
15782 if test "x$srcdir" = x.; then
15783 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15784 s/:*\$(srcdir):*/:/
15785 s/:*\${srcdir}:*/:/
15787 s/^\([^=]*=[ ]*\):*/\1/
15793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15794 fi # test -n "$CONFIG_FILES"
15797 eval set X " :F $CONFIG_FILES "
15802 :[FHLC]) ac_mode=$ac_tag; continue;;
15804 case $ac_mode$ac_tag in
15806 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15807 :[FH]-) ac_tag=-:-;;
15808 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15825 -) ac_f="$tmp/stdin";;
15826 *) # Look for the file first in the build tree, then in the source tree
15827 # (if the path is not absolute). The absolute path cannot be DOS-style,
15828 # because $ac_f cannot contain `:'.
15832 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15834 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15836 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15837 as_fn_append ac_file_inputs " '$ac_f'"
15840 # Let's still pretend it is `configure' which instantiates (i.e., don't
15841 # use $as_me), people would be surprised to read:
15842 # /* config.h. Generated by config.status. */
15843 configure_input='Generated from '`
15844 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15846 if test x"$ac_file" != x-; then
15847 configure_input="$ac_file. $configure_input"
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15849 $as_echo "$as_me: creating $ac_file" >&6;}
15851 # Neutralize special characters interpreted by sed in replacement strings.
15852 case $configure_input in #(
15853 *\&* | *\|* | *\\* )
15854 ac_sed_conf_input=`$as_echo "$configure_input" |
15855 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15856 *) ac_sed_conf_input=$configure_input;;
15860 *:-:* | *:-) cat >"$tmp/stdin" \
15861 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15866 ac_dir=`$as_dirname -- "$ac_file" ||
15867 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15868 X"$ac_file" : 'X\(//\)[^/]' \| \
15869 X"$ac_file" : 'X\(//\)$' \| \
15870 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15871 $as_echo X"$ac_file" |
15872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15876 /^X\(\/\/\)[^/].*/{
15889 as_dir="$ac_dir"; as_fn_mkdir_p
15893 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15895 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15896 # A ".." for each directory in $ac_dir_suffix.
15897 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15898 case $ac_top_builddir_sub in
15899 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15900 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15903 ac_abs_top_builddir=$ac_pwd
15904 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15905 # for backward compatibility:
15906 ac_top_builddir=$ac_top_build_prefix
15909 .) # We are building in place.
15911 ac_top_srcdir=$ac_top_builddir_sub
15912 ac_abs_top_srcdir=$ac_pwd ;;
15913 [\\/]* | ?:[\\/]* ) # Absolute name.
15914 ac_srcdir=$srcdir$ac_dir_suffix;
15915 ac_top_srcdir=$srcdir
15916 ac_abs_top_srcdir=$srcdir ;;
15917 *) # Relative name.
15918 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15919 ac_top_srcdir=$ac_top_build_prefix$srcdir
15920 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15922 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15932 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15933 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15938 # If the template does not know about datarootdir, expand it.
15939 # FIXME: This hack should be removed a few years after 2.60.
15940 ac_datarootdir_hack=; ac_datarootdir_seen=
15951 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15952 *datarootdir*) ac_datarootdir_seen=yes;;
15953 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15955 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15958 ac_datarootdir_hack='
15959 s&@datadir@&$datadir&g
15960 s&@docdir@&$docdir&g
15961 s&@infodir@&$infodir&g
15962 s&@localedir@&$localedir&g
15963 s&@mandir@&$mandir&g
15964 s&\\\${datarootdir}&$datarootdir&g' ;;
15968 # Neutralize VPATH when `$srcdir' = `.'.
15969 # Shell code in configure.ac might set extrasub.
15970 # FIXME: do we really want to maintain this feature?
15971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15972 ac_sed_extra="$ac_vpsub
15975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15977 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15978 s|@configure_input@|$ac_sed_conf_input|;t t
15979 s&@top_builddir@&$ac_top_builddir_sub&;t t
15980 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15981 s&@srcdir@&$ac_srcdir&;t t
15982 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15983 s&@top_srcdir@&$ac_top_srcdir&;t t
15984 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15985 s&@builddir@&$ac_builddir&;t t
15986 s&@abs_builddir@&$ac_abs_builddir&;t t
15987 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15988 s&@INSTALL@&$ac_INSTALL&;t t
15989 $ac_datarootdir_hack
15991 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15992 if $ac_cs_awk_getline; then
15993 $AWK -f "$tmp/subs.awk"
15995 $AWK -f "$tmp/subs.awk" | $SHELL
15997 || as_fn_error "could not create $ac_file" "$LINENO" 5
15999 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16000 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16001 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16003 which seems to be undefined. Please make sure it is defined." >&5
16004 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16005 which seems to be undefined. Please make sure it is defined." >&2;}
16009 -) cat "$tmp/out" && rm -f "$tmp/out";;
16010 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16012 || as_fn_error "could not create $ac_file" "$LINENO" 5
16020 case $ac_file$ac_mode in
16021 "Makefile":F) sed "$extrasub_build" Makefile |
16022 sed "$extrasub_host" |
16023 sed "$extrasub_target" > mf$$
16024 mv -f mf$$ Makefile ;;
16032 ac_clean_files=$ac_clean_files_save
16034 test $ac_write_fail = 0 ||
16035 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16038 # configure is writing to config.log, and then calls config.status.
16039 # config.status does its own redirection, appending to config.log.
16040 # Unfortunately, on DOS this fails, as config.log is still kept open
16041 # by configure, so config.status won't be able to write to it; its
16042 # output is simply discarded. So we exec the FD to /dev/null,
16043 # effectively closing config.log, so it can be properly (re)opened and
16044 # appended to by config.status. When coming back to configure, we
16045 # need to make the FD available again.
16046 if test "$no_create" != yes; then
16048 ac_config_status_args=
16049 test "$silent" = yes &&
16050 ac_config_status_args="$ac_config_status_args --quiet"
16052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16055 # would make configure fail if this is the last instruction.
16056 $ac_cs_success || as_fn_exit $?
16058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}