2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
554 ac_unique_file="move-if-change"
555 enable_option_checking=no
556 ac_subst_vars='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
636 DEBUG_PREFIX_CFLAGS_FOR_TARGET
637 SYSROOT_CFLAGS_FOR_TARGET
647 extra_mpc_mpfr_configure_flags
648 extra_mpc_gmp_configure_flags
649 extra_mpfr_configure_flags
691 TOPLEVEL_CONFIGURE_ARGUMENTS
719 program_transform_name
730 ac_subst_files='serialization_dependencies
736 enable_option_checking
741 enable_build_with_cxx
761 enable_ppl_version_check
765 enable_cloog_version_check
766 enable_stage1_languages
769 with_debug_prefix_map
771 enable_serial_configure
772 with_build_time_tools
773 enable_maintainer_mode
774 enable_stage1_checking
777 ac_precious_vars='build_alias
818 # Initialize some variables set by options.
820 ac_init_version=false
821 ac_unrecognized_opts=
823 # The variables have the same names as the options, with
824 # dashes changed to underlines.
832 program_transform_name=s,x,x,
840 # Installation directory options.
841 # These are left unexpanded so users can "make install exec_prefix=/foo"
842 # and all the variables that are supposed to be based on exec_prefix
843 # by default will actually change.
844 # Use braces instead of parens because sh, perl, etc. also accept them.
845 # (The list follows the same order as the GNU Coding Standards.)
846 bindir='${exec_prefix}/bin'
847 sbindir='${exec_prefix}/sbin'
848 libexecdir='${exec_prefix}/libexec'
849 datarootdir='${prefix}/share'
850 datadir='${datarootdir}'
851 sysconfdir='${prefix}/etc'
852 sharedstatedir='${prefix}/com'
853 localstatedir='${prefix}/var'
854 includedir='${prefix}/include'
855 oldincludedir='/usr/include'
856 docdir='${datarootdir}/doc/${PACKAGE}'
857 infodir='${datarootdir}/info'
862 libdir='${exec_prefix}/lib'
863 localedir='${datarootdir}/locale'
864 mandir='${datarootdir}/man'
870 # If the previous option needs an argument, assign it.
871 if test -n "$ac_prev"; then
872 eval $ac_prev=\$ac_option
878 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 # Accept the important Cygnus configure options, so we can diagnose typos.
884 case $ac_dashdash$ac_option in
888 -bindir | --bindir | --bindi | --bind | --bin | --bi)
890 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893 -build | --build | --buil | --bui | --bu)
894 ac_prev=build_alias ;;
895 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
896 build_alias=$ac_optarg ;;
898 -cache-file | --cache-file | --cache-fil | --cache-fi \
899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
900 ac_prev=cache_file ;;
901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
903 cache_file=$ac_optarg ;;
906 cache_file=config.cache ;;
908 -datadir | --datadir | --datadi | --datad)
910 -datadir=* | --datadir=* | --datadi=* | --datad=*)
911 datadir=$ac_optarg ;;
913 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
914 | --dataroo | --dataro | --datar)
915 ac_prev=datarootdir ;;
916 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
917 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
918 datarootdir=$ac_optarg ;;
920 -disable-* | --disable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924 as_fn_error "invalid feature name: $ac_useropt"
925 ac_useropt_orig=$ac_useropt
926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
932 ac_unrecognized_sep=', ';;
934 eval enable_$ac_useropt=no ;;
936 -docdir | --docdir | --docdi | --doc | --do)
938 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
943 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946 -enable-* | --enable-*)
947 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950 as_fn_error "invalid feature name: $ac_useropt"
951 ac_useropt_orig=$ac_useropt
952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
958 ac_unrecognized_sep=', ';;
960 eval enable_$ac_useropt=\$ac_optarg ;;
962 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
963 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
964 | --exec | --exe | --ex)
965 ac_prev=exec_prefix ;;
966 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
967 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
968 | --exec=* | --exe=* | --ex=*)
969 exec_prefix=$ac_optarg ;;
971 -gas | --gas | --ga | --g)
972 # Obsolete; use --with-gas.
975 -help | --help | --hel | --he | -h)
977 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
978 ac_init_help=recursive ;;
979 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
980 ac_init_help=short ;;
982 -host | --host | --hos | --ho)
983 ac_prev=host_alias ;;
984 -host=* | --host=* | --hos=* | --ho=*)
985 host_alias=$ac_optarg ;;
987 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
989 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
991 htmldir=$ac_optarg ;;
993 -includedir | --includedir | --includedi | --included | --include \
994 | --includ | --inclu | --incl | --inc)
995 ac_prev=includedir ;;
996 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
997 | --includ=* | --inclu=* | --incl=* | --inc=*)
998 includedir=$ac_optarg ;;
1000 -infodir | --infodir | --infodi | --infod | --info | --inf)
1002 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1003 infodir=$ac_optarg ;;
1005 -libdir | --libdir | --libdi | --libd)
1007 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1008 libdir=$ac_optarg ;;
1010 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1011 | --libexe | --libex | --libe)
1012 ac_prev=libexecdir ;;
1013 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1014 | --libexe=* | --libex=* | --libe=*)
1015 libexecdir=$ac_optarg ;;
1017 -localedir | --localedir | --localedi | --localed | --locale)
1018 ac_prev=localedir ;;
1019 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1020 localedir=$ac_optarg ;;
1022 -localstatedir | --localstatedir | --localstatedi | --localstated \
1023 | --localstate | --localstat | --localsta | --localst | --locals)
1024 ac_prev=localstatedir ;;
1025 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1026 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1027 localstatedir=$ac_optarg ;;
1029 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1031 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1032 mandir=$ac_optarg ;;
1034 -nfp | --nfp | --nf)
1035 # Obsolete; use --without-fp.
1038 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1039 | --no-cr | --no-c | -n)
1042 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1043 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1047 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1048 | --oldin | --oldi | --old | --ol | --o)
1049 ac_prev=oldincludedir ;;
1050 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1051 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1052 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1053 oldincludedir=$ac_optarg ;;
1055 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1057 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1058 prefix=$ac_optarg ;;
1060 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1061 | --program-pre | --program-pr | --program-p)
1062 ac_prev=program_prefix ;;
1063 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1064 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1065 program_prefix=$ac_optarg ;;
1067 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1068 | --program-suf | --program-su | --program-s)
1069 ac_prev=program_suffix ;;
1070 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1071 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1072 program_suffix=$ac_optarg ;;
1074 -program-transform-name | --program-transform-name \
1075 | --program-transform-nam | --program-transform-na \
1076 | --program-transform-n | --program-transform- \
1077 | --program-transform | --program-transfor \
1078 | --program-transfo | --program-transf \
1079 | --program-trans | --program-tran \
1080 | --progr-tra | --program-tr | --program-t)
1081 ac_prev=program_transform_name ;;
1082 -program-transform-name=* | --program-transform-name=* \
1083 | --program-transform-nam=* | --program-transform-na=* \
1084 | --program-transform-n=* | --program-transform-=* \
1085 | --program-transform=* | --program-transfor=* \
1086 | --program-transfo=* | --program-transf=* \
1087 | --program-trans=* | --program-tran=* \
1088 | --progr-tra=* | --program-tr=* | --program-t=*)
1089 program_transform_name=$ac_optarg ;;
1091 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1093 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1094 pdfdir=$ac_optarg ;;
1096 -psdir | --psdir | --psdi | --psd | --ps)
1098 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1105 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1107 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1109 sbindir=$ac_optarg ;;
1111 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1112 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1113 | --sharedst | --shareds | --shared | --share | --shar \
1115 ac_prev=sharedstatedir ;;
1116 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1117 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1118 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1120 sharedstatedir=$ac_optarg ;;
1122 -site | --site | --sit)
1124 -site=* | --site=* | --sit=*)
1127 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1129 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1130 srcdir=$ac_optarg ;;
1132 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1133 | --syscon | --sysco | --sysc | --sys | --sy)
1134 ac_prev=sysconfdir ;;
1135 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1136 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1137 sysconfdir=$ac_optarg ;;
1139 -target | --target | --targe | --targ | --tar | --ta | --t)
1140 ac_prev=target_alias ;;
1141 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1142 target_alias=$ac_optarg ;;
1144 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147 -version | --version | --versio | --versi | --vers | -V)
1148 ac_init_version=: ;;
1151 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154 as_fn_error "invalid package name: $ac_useropt"
1155 ac_useropt_orig=$ac_useropt
1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1162 ac_unrecognized_sep=', ';;
1164 eval with_$ac_useropt=\$ac_optarg ;;
1166 -without-* | --without-*)
1167 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 as_fn_error "invalid package name: $ac_useropt"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1180 eval with_$ac_useropt=no ;;
1183 # Obsolete; use --with-x.
1186 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1187 | --x-incl | --x-inc | --x-in | --x-i)
1188 ac_prev=x_includes ;;
1189 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1190 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1191 x_includes=$ac_optarg ;;
1193 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1194 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1195 ac_prev=x_libraries ;;
1196 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1197 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1198 x_libraries=$ac_optarg ;;
1200 -*) as_fn_error "unrecognized option: \`$ac_option'
1201 Try \`$0 --help' for more information."
1205 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1206 # Reject names that are not valid shell variable names.
1207 case $ac_envvar in #(
1208 '' | [0-9]* | *[!_$as_cr_alnum]* )
1209 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1211 eval $ac_envvar=\$ac_optarg
1212 export $ac_envvar ;;
1215 # FIXME: should be removed in autoconf 3.0.
1216 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1218 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1225 if test -n "$ac_prev"; then
1226 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1227 as_fn_error "missing argument to $ac_option"
1230 if test -n "$ac_unrecognized_opts"; then
1231 case $enable_option_checking in
1233 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1234 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238 # Check all directory arguments for consistency.
1239 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240 datadir sysconfdir sharedstatedir localstatedir includedir \
1241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242 libdir localedir mandir
1244 eval ac_val=\$$ac_var
1245 # Remove trailing slashes.
1248 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249 eval $ac_var=\$ac_val;;
1251 # Be sure to have absolute directory names.
1253 [\\/$]* | ?:[\\/]* ) continue;;
1254 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1259 # There might be people who depend on the old broken behavior: `$host'
1260 # used to hold the argument of --host etc.
1261 # FIXME: To remove some day.
1264 target=$target_alias
1266 # FIXME: To remove some day.
1267 if test "x$host_alias" != x; then
1268 if test "x$build_alias" = x; then
1269 cross_compiling=maybe
1270 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1271 If a cross compiler is detected then cross compile mode will be used." >&2
1272 elif test "x$build_alias" != "x$host_alias"; then
1278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1280 test "$silent" = yes && exec 6>/dev/null
1283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di=`ls -di .` &&
1285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286 as_fn_error "working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 as_fn_error "pwd does not report name of working directory"
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293 ac_srcdir_defaulted=yes
1294 # Try the directory containing this script, then the parent directory.
1295 ac_confdir=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297 X"$as_myself" : 'X\(//\)[^/]' \| \
1298 X"$as_myself" : 'X\(//\)$' \| \
1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1323 ac_srcdir_defaulted=no
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1343 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1345 for ac_var in $ac_precious_vars; do
1346 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1347 eval ac_env_${ac_var}_value=\$${ac_var}
1348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1349 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1353 # Report the --help message.
1355 if test "$ac_init_help" = "long"; then
1356 # Omit some internal or obsolete options to make the list less imposing.
1357 # This message is too long to be a string in the A/UX 3.1 sh.
1359 \`configure' configures this package to adapt to many kinds of systems.
1361 Usage: $0 [OPTION]... [VAR=VALUE]...
1363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1364 VAR=VALUE. See below for descriptions of some of the useful variables.
1366 Defaults for the options are specified in brackets.
1369 -h, --help display this help and exit
1370 --help=short display options specific to this package
1371 --help=recursive display the short help of all the included packages
1372 -V, --version display version information and exit
1373 -q, --quiet, --silent do not print \`checking...' messages
1374 --cache-file=FILE cache test results in FILE [disabled]
1375 -C, --config-cache alias for \`--cache-file=config.cache'
1376 -n, --no-create do not create output files
1377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1379 Installation directories:
1380 --prefix=PREFIX install architecture-independent files in PREFIX
1381 [$ac_default_prefix]
1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1385 By default, \`make install' will install all the files in
1386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1388 for instance \`--prefix=\$HOME'.
1390 For better control, use the options below.
1392 Fine tuning of the installation directories:
1393 --bindir=DIR user executables [EPREFIX/bin]
1394 --sbindir=DIR system admin executables [EPREFIX/sbin]
1395 --libexecdir=DIR program executables [EPREFIX/libexec]
1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1399 --libdir=DIR object code libraries [EPREFIX/lib]
1400 --includedir=DIR C header files [PREFIX/include]
1401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1404 --infodir=DIR info documentation [DATAROOTDIR/info]
1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1406 --mandir=DIR man documentation [DATAROOTDIR/man]
1407 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1408 --htmldir=DIR html documentation [DOCDIR]
1409 --dvidir=DIR dvi documentation [DOCDIR]
1410 --pdfdir=DIR pdf documentation [DOCDIR]
1411 --psdir=DIR ps documentation [DOCDIR]
1417 --program-prefix=PREFIX prepend PREFIX to installed program names
1418 --program-suffix=SUFFIX append SUFFIX to installed program names
1419 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1422 --build=BUILD configure for building on BUILD [guessed]
1423 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1424 --target=TARGET configure for building compilers for TARGET [HOST]
1428 if test -n "$ac_init_help"; then
1433 --disable-option-checking ignore unrecognized --enable/--with options
1434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1436 --enable-gold use gold instead of ld
1437 --enable-libada build libada directory
1438 --enable-libssp build libssp directory
1439 --enable-build-with-cxx build with C++ compiler instead of C compiler
1440 --disable-ppl-version-check disable check for PPL version
1441 --disable-cloog-version-check disable check for CLooG version
1442 --enable-stage1-languages[=all] choose additional languages to build during
1443 stage1. Mostly useful for compiler development.
1444 --enable-objc-gc enable use of Boehm's garbage collector with the
1445 GNU Objective-C runtime
1446 --enable-bootstrap enable bootstrapping [yes if native build]
1447 --enable-serial-[{host,target,build}-]configure
1448 force sequential configuration of
1449 sub-packages for the host, target or build
1450 machine, or all sub-packages
1451 --enable-maintainer-mode enable make rules and dependencies not useful
1452 (and sometimes confusing) to the casual installer
1453 --enable-stage1-checking[=all] choose additional checking for stage1
1455 --enable-werror enable -Werror in bootstrap stage2 and later
1458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1460 --with-build-libsubdir=DIR Directory where to find libraries for build system
1461 --with-mpc=PATH specify prefix directory for installed MPC package.
1462 Equivalent to --with-mpc-include=PATH/include
1463 plus --with-mpc-lib=PATH/lib
1464 --with-mpc-include=PATH
1465 specify directory for installed MPC include files
1466 --with-mpc-lib=PATH specify directory for the installed MPC library
1467 --with-mpfr-dir=PATH this option has been REMOVED
1468 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1469 Equivalent to --with-mpfr-include=PATH/include
1470 plus --with-mpfr-lib=PATH/lib
1471 --with-mpfr-include=PATH
1472 specify directory for installed MPFR include files
1473 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1474 --with-gmp-dir=PATH this option has been REMOVED
1475 --with-gmp=PATH specify prefix directory for the installed GMP package.
1476 Equivalent to --with-gmp-include=PATH/include
1477 plus --with-gmp-lib=PATH/lib
1478 --with-gmp-include=PATH specify directory for installed GMP include files
1479 --with-gmp-lib=PATH specify directory for the installed GMP library
1480 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1481 when linking with PPL
1482 --with-stage1-ldflags=FLAGS Linker flags for stage1
1483 -with-stage1-libs=LIBS Libraries for stage1
1484 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1485 --with-boot-libs=LIBS Libraries for stage2 and later
1486 --with-ppl=PATH Specify prefix directory for the installed PPL package
1487 Equivalent to --with-ppl-include=PATH/include
1488 plus --with-ppl-lib=PATH/lib
1489 --with-ppl-include=PATH Specify directory for installed PPL include files
1490 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1491 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
1492 Equivalent to --with-cloog-include=PATH/include
1493 plus --with-cloog-lib=PATH/lib
1494 --with-cloog-include=PATH Specify directory for installed CLooG include files
1495 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1496 --with-build-sysroot=SYSROOT
1497 use sysroot as the system root during the build
1498 --with-debug-prefix-map='A=B C=D ...'
1499 map A to B, C to D ... in debug information
1500 --with-build-time-tools=PATH
1501 use given path to find target tools during the build
1503 Some influential environment variables:
1504 CC C compiler command
1505 CFLAGS C compiler flags
1506 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1507 nonstandard directory <lib dir>
1508 LIBS libraries to pass to the linker, e.g. -l<library>
1509 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1510 you have headers in a nonstandard directory <include dir>
1511 CXX C++ compiler command
1512 CXXFLAGS C++ compiler flags
1515 DLLTOOL DLLTOOL for the host
1517 LIPO LIPO for the host
1519 RANLIB RANLIB for the host
1520 STRIP STRIP for the host
1521 WINDRES WINDRES for the host
1522 WINDMC WINDMC for the host
1523 OBJCOPY OBJCOPY for the host
1524 OBJDUMP OBJDUMP for the host
1534 GFORTRAN for the target
1540 DLLTOOL for the target
1548 OBJDUMP for the target
1550 RANLIB for the target
1552 STRIP for the target
1554 WINDRES for the target
1556 WINDMC for the target
1558 Use these variables to override the choices made by `configure' or to help
1559 it to find libraries and programs with nonstandard names/locations.
1561 Report bugs to the package provider.
1566 if test "$ac_init_help" = "recursive"; then
1567 # If there are subdirs, report their specific --help.
1568 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1569 test -d "$ac_dir" ||
1570 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1577 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1578 # A ".." for each directory in $ac_dir_suffix.
1579 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1580 case $ac_top_builddir_sub in
1581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1585 ac_abs_top_builddir=$ac_pwd
1586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1587 # for backward compatibility:
1588 ac_top_builddir=$ac_top_build_prefix
1591 .) # We are building in place.
1593 ac_top_srcdir=$ac_top_builddir_sub
1594 ac_abs_top_srcdir=$ac_pwd ;;
1595 [\\/]* | ?:[\\/]* ) # Absolute name.
1596 ac_srcdir=$srcdir$ac_dir_suffix;
1597 ac_top_srcdir=$srcdir
1598 ac_abs_top_srcdir=$srcdir ;;
1600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1601 ac_top_srcdir=$ac_top_build_prefix$srcdir
1602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1606 cd "$ac_dir" || { ac_status=$?; continue; }
1607 # Check for guested configure.
1608 if test -f "$ac_srcdir/configure.gnu"; then
1610 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1611 elif test -f "$ac_srcdir/configure"; then
1613 $SHELL "$ac_srcdir/configure" --help=recursive
1615 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1617 cd "$ac_pwd" || { ac_status=$?; break; }
1621 test -n "$ac_init_help" && exit $ac_status
1622 if $ac_init_version; then
1625 generated by GNU Autoconf 2.64
1627 Copyright (C) 2009 Free Software Foundation, Inc.
1628 This configure script is free software; the Free Software Foundation
1629 gives unlimited permission to copy, distribute and modify it.
1634 ## ------------------------ ##
1635 ## Autoconf initialization. ##
1636 ## ------------------------ ##
1638 # ac_fn_c_try_compile LINENO
1639 # --------------------------
1640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1641 ac_fn_c_try_compile ()
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 rm -f conftest.$ac_objext
1645 if { { ac_try="$ac_compile"
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_compile") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && {
1661 test -z "$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1663 } && test -s conftest.$ac_objext; then :
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1671 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674 } # ac_fn_c_try_compile
1676 # ac_fn_cxx_try_compile LINENO
1677 # ----------------------------
1678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1679 ac_fn_cxx_try_compile ()
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 rm -f conftest.$ac_objext
1683 if { { ac_try="$ac_compile"
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_compile") 2>conftest.err
1692 if test -s conftest.err; then
1693 grep -v '^ *+' conftest.err >conftest.er1
1694 cat conftest.er1 >&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_cxx_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest.$ac_objext; then :
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1712 } # ac_fn_cxx_try_compile
1714 # ac_fn_c_try_link LINENO
1715 # -----------------------
1716 # Try to link conftest.$ac_ext, and return whether this succeeded.
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext conftest$ac_exeext
1721 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1740 test "$cross_compiling" = yes ||
1741 $as_test_x conftest$ac_exeext
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1751 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1752 # interfere with the next link command; also delete a directory that is
1753 # left behind by Apple's compiler. We do this before executing the actions.
1754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 } # ac_fn_c_try_link
1759 cat >config.log <<_ACEOF
1760 This file contains any messages produced by compilers while
1761 running configure, to aid debugging if configure makes a mistake.
1763 It was created by $as_me, which was
1764 generated by GNU Autoconf 2.64. Invocation command line was
1776 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1777 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1778 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1779 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1780 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1782 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1783 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1785 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1786 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1787 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1788 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1789 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1790 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1791 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1799 test -z "$as_dir" && as_dir=.
1800 $as_echo "PATH: $as_dir"
1816 # Keep a trace of the command line.
1817 # Strip out --no-create and --no-recursion so they do not pile up.
1818 # Strip out --silent because we don't want to record it for future runs.
1819 # Also quote any args containing shell meta-characters.
1820 # Make two passes to allow for proper duplicate-argument suppression.
1824 ac_must_keep_next=false
1830 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1831 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1832 | -silent | --silent | --silen | --sile | --sil)
1835 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1838 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1840 as_fn_append ac_configure_args1 " '$ac_arg'"
1841 if test $ac_must_keep_next = true; then
1842 ac_must_keep_next=false # Got value, back to normal.
1845 *=* | --config-cache | -C | -disable-* | --disable-* \
1846 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1847 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1848 | -with-* | --with-* | -without-* | --without-* | --x)
1849 case "$ac_configure_args0 " in
1850 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1853 -* ) ac_must_keep_next=true ;;
1856 as_fn_append ac_configure_args " '$ac_arg'"
1861 { ac_configure_args0=; unset ac_configure_args0;}
1862 { ac_configure_args1=; unset ac_configure_args1;}
1864 # When interrupted or exit'd, cleanup temporary files, and complete
1865 # config.log. We remove comments because anyway the quotes in there
1866 # would cause problems or look ugly.
1867 # WARNING: Use '\'' to represent an apostrophe within the trap.
1868 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1869 trap 'exit_status=$?
1870 # Save into config.log some information that might help in debugging.
1875 ## ---------------- ##
1876 ## Cache variables. ##
1877 ## ---------------- ##
1880 # The following way of writing the cache mishandles newlines in values,
1882 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1883 eval ac_val=\$$ac_var
1887 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1888 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1891 _ | IFS | as_nl) ;; #(
1892 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1893 *) { eval $ac_var=; unset $ac_var;} ;;
1898 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1899 *${as_nl}ac_space=\ *)
1901 "s/'\''/'\''\\\\'\'''\''/g;
1902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1913 ## ----------------- ##
1914 ## Output variables. ##
1915 ## ----------------- ##
1918 for ac_var in $ac_subst_vars
1920 eval ac_val=\$$ac_var
1922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1924 $as_echo "$ac_var='\''$ac_val'\''"
1928 if test -n "$ac_subst_files"; then
1930 ## ------------------- ##
1931 ## File substitutions. ##
1932 ## ------------------- ##
1935 for ac_var in $ac_subst_files
1937 eval ac_val=\$$ac_var
1939 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1941 $as_echo "$ac_var='\''$ac_val'\''"
1946 if test -s confdefs.h; then
1956 test "$ac_signal" != 0 &&
1957 $as_echo "$as_me: caught signal $ac_signal"
1958 $as_echo "$as_me: exit $exit_status"
1960 rm -f core *.core core.conftest.* &&
1961 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1964 for ac_signal in 1 2 13 15; do
1965 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1969 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1970 rm -f -r conftest* confdefs.h
1972 $as_echo "/* confdefs.h */" > confdefs.h
1974 # Predefined preprocessor variables.
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_NAME "$PACKAGE_NAME"
1980 cat >>confdefs.h <<_ACEOF
1981 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1984 cat >>confdefs.h <<_ACEOF
1985 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1988 cat >>confdefs.h <<_ACEOF
1989 #define PACKAGE_STRING "$PACKAGE_STRING"
1992 cat >>confdefs.h <<_ACEOF
1993 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1996 cat >>confdefs.h <<_ACEOF
1997 #define PACKAGE_URL "$PACKAGE_URL"
2001 # Let the site file select an alternate cache file if it wants to.
2002 # Prefer an explicitly selected file to automatically selected ones.
2005 if test -n "$CONFIG_SITE"; then
2006 ac_site_file1=$CONFIG_SITE
2007 elif test "x$prefix" != xNONE; then
2008 ac_site_file1=$prefix/share/config.site
2009 ac_site_file2=$prefix/etc/config.site
2011 ac_site_file1=$ac_default_prefix/share/config.site
2012 ac_site_file2=$ac_default_prefix/etc/config.site
2014 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2016 test "x$ac_site_file" = xNONE && continue
2017 if test -r "$ac_site_file"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2019 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2020 sed 's/^/| /' "$ac_site_file" >&5
2025 if test -r "$cache_file"; then
2026 # Some versions of bash will fail to source /dev/null (special
2027 # files actually), so we avoid doing that.
2028 if test -f "$cache_file"; then
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2030 $as_echo "$as_me: loading cache $cache_file" >&6;}
2032 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2033 *) . "./$cache_file";;
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2038 $as_echo "$as_me: creating cache $cache_file" >&6;}
2042 # Check that the precious variables saved in the cache have kept the same
2044 ac_cache_corrupted=false
2045 for ac_var in $ac_precious_vars; do
2046 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2047 eval ac_new_set=\$ac_env_${ac_var}_set
2048 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2049 eval ac_new_val=\$ac_env_${ac_var}_value
2050 case $ac_old_set,$ac_new_set in
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2053 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2054 ac_cache_corrupted=: ;;
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2057 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2058 ac_cache_corrupted=: ;;
2061 if test "x$ac_old_val" != "x$ac_new_val"; then
2062 # differences in whitespace do not lead to failure.
2063 ac_old_val_w=`echo x $ac_old_val`
2064 ac_new_val_w=`echo x $ac_new_val`
2065 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2067 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2068 ac_cache_corrupted=:
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2071 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2072 eval $ac_var=\$ac_old_val
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2075 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2077 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2080 # Pass precious variables to config.status.
2081 if test "$ac_new_set" = set; then
2083 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 *) ac_arg=$ac_var=$ac_new_val ;;
2086 case " $ac_configure_args " in
2087 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2088 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2092 if $ac_cache_corrupted; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2096 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2097 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2099 ## -------------------- ##
2100 ## Main body of script. ##
2101 ## -------------------- ##
2104 ac_cpp='$CPP $CPPFLAGS'
2105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 # if PWD already has a value, it is probably wrong.
2119 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2121 # Export original configure arguments for use by sub-configures.
2122 # Quote arguments with shell meta charatcers.
2123 TOPLEVEL_CONFIGURE_ARGUMENTS=
2124 set -- "$progname" "$@"
2128 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2129 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2130 # if the argument is of the form -foo=baz, quote the baz part only
2131 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2134 # Add the quoted argument to the list.
2135 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2137 if test "$silent" = yes; then
2138 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2140 # Remove the initial space we just introduced and, as these will be
2141 # expanded by make, quote '$'.
2142 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2145 # Find the build, host, and target systems.
2147 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2148 for ac_t in install-sh install.sh shtool; do
2149 if test -f "$ac_dir/$ac_t"; then
2151 ac_install_sh="$ac_aux_dir/$ac_t -c"
2156 if test -z "$ac_aux_dir"; then
2157 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2160 # These three variables are undocumented and unsupported,
2161 # and are intended to be withdrawn in a future Autoconf release.
2162 # They can cause serious problems if a builder's source tree is in a directory
2163 # whose full name contains unusual characters.
2164 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2165 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2166 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2169 # Make sure we can run config.sub.
2170 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2171 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2174 $as_echo_n "checking build system type... " >&6; }
2175 if test "${ac_cv_build+set}" = set; then :
2176 $as_echo_n "(cached) " >&6
2178 ac_build_alias=$build_alias
2179 test "x$ac_build_alias" = x &&
2180 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2181 test "x$ac_build_alias" = x &&
2182 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2183 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2184 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2188 $as_echo "$ac_cv_build" >&6; }
2189 case $ac_cv_build in
2191 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2194 ac_save_IFS=$IFS; IFS='-'
2200 # Remember, the first character of IFS is used to create $*,
2201 # except with old shells:
2204 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2207 case ${build_alias} in
2208 "") build_noncanonical=${build} ;;
2209 *) build_noncanonical=${build_alias} ;;
2214 case ${host_alias} in
2215 "") host_noncanonical=${build_noncanonical} ;;
2216 *) host_noncanonical=${host_alias} ;;
2221 case ${target_alias} in
2222 "") target_noncanonical=${host_noncanonical} ;;
2223 *) target_noncanonical=${target_alias} ;;
2229 test "$host_noncanonical" = "$target_noncanonical" &&
2230 test "$program_prefix$program_suffix$program_transform_name" = \
2232 program_transform_name=s,y,y,
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2235 $as_echo_n "checking host system type... " >&6; }
2236 if test "${ac_cv_host+set}" = set; then :
2237 $as_echo_n "(cached) " >&6
2239 if test "x$host_alias" = x; then
2240 ac_cv_host=$ac_cv_build
2242 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2243 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2248 $as_echo "$ac_cv_host" >&6; }
2251 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2254 ac_save_IFS=$IFS; IFS='-'
2260 # Remember, the first character of IFS is used to create $*,
2261 # except with old shells:
2264 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2268 $as_echo_n "checking target system type... " >&6; }
2269 if test "${ac_cv_target+set}" = set; then :
2270 $as_echo_n "(cached) " >&6
2272 if test "x$target_alias" = x; then
2273 ac_cv_target=$ac_cv_host
2275 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2276 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2281 $as_echo "$ac_cv_target" >&6; }
2282 case $ac_cv_target in
2284 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2286 target=$ac_cv_target
2287 ac_save_IFS=$IFS; IFS='-'
2293 # Remember, the first character of IFS is used to create $*,
2294 # except with old shells:
2297 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2300 # The aliases save the names the user supplied, while $host etc.
2301 # will get canonicalized.
2302 test -n "$target_alias" &&
2303 test "$program_prefix$program_suffix$program_transform_name" = \
2305 program_prefix=${target_alias}-
2307 test "$program_prefix" != NONE &&
2308 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2309 # Use a double $ so make ignores it.
2310 test "$program_suffix" != NONE &&
2311 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2312 # Double any \ or $.
2313 # By default was `s,x,x', remove it if useless.
2314 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2315 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2319 # Get 'install' or 'install-sh' and its variants.
2320 # Find a good install program. We prefer a C program (faster),
2321 # so one script is as good as another. But avoid the broken or
2322 # incompatible versions:
2323 # SysV /etc/install, /usr/sbin/install
2324 # SunOS /usr/etc/install
2325 # IRIX /sbin/install
2327 # AmigaOS /C/install, which installs bootblocks on floppy discs
2328 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2329 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2330 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2331 # OS/2's system install, which has a completely different semantic
2332 # ./install, which can be erroneously created by make from ./install.sh.
2333 # Reject install programs that cannot install multiple files.
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2335 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2336 if test -z "$INSTALL"; then
2337 if test "${ac_cv_path_install+set}" = set; then :
2338 $as_echo_n "(cached) " >&6
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 # Account for people who put trailing slashes in PATH elements.
2346 case $as_dir/ in #((
2347 ./ | .// | /[cC]/* | \
2348 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2349 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2352 # OSF1 and SCO ODT 3.0 have their own names for install.
2353 # Don't use installbsd from OSF since it installs stuff as root
2355 for ac_prog in ginstall scoinst install; do
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2358 if test $ac_prog = install &&
2359 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2360 # AIX install. It has an incompatible calling convention.
2362 elif test $ac_prog = install &&
2363 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2364 # program-specific install script used by HP pwplus--don't use.
2367 rm -rf conftest.one conftest.two conftest.dir
2368 echo one > conftest.one
2369 echo two > conftest.two
2371 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2372 test -s conftest.one && test -s conftest.two &&
2373 test -s conftest.dir/conftest.one &&
2374 test -s conftest.dir/conftest.two
2376 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2389 rm -rf conftest.one conftest.two conftest.dir
2392 if test "${ac_cv_path_install+set}" = set; then
2393 INSTALL=$ac_cv_path_install
2395 # As a last resort, use the slow shell script. Don't cache a
2396 # value for INSTALL within a source directory, because that will
2397 # break other packages using the cache if that directory is
2398 # removed, or if the value is a relative name.
2399 INSTALL=$ac_install_sh
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2403 $as_echo "$INSTALL" >&6; }
2405 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2406 # It thinks the first close brace ends the variable substitution.
2407 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2409 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2411 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2414 $as_echo_n "checking whether ln works... " >&6; }
2415 if test "${acx_cv_prog_LN+set}" = set; then :
2416 $as_echo_n "(cached) " >&6
2418 rm -f conftestdata_t
2419 echo >conftestdata_f
2420 if ln conftestdata_f conftestdata_t 2>/dev/null
2426 rm -f conftestdata_f conftestdata_t
2429 if test $acx_cv_prog_LN = no; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2432 $as_echo "no, using $LN" >&6; }
2434 LN="$acx_cv_prog_LN"
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2436 $as_echo "yes" >&6; }
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2440 $as_echo_n "checking whether ln -s works... " >&6; }
2442 if test "$LN_S" = "ln -s"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2444 $as_echo "yes" >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2447 $as_echo "no, using $LN_S" >&6; }
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2451 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2452 if test "${ac_cv_path_SED+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2456 for ac_i in 1 2 3 4 5 6 7; do
2457 ac_script="$ac_script$as_nl$ac_script"
2459 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2460 { ac_script=; unset ac_script;}
2461 if test -z "$SED"; then
2462 ac_path_SED_found=false
2463 # Loop through the user's path and test for each of PROGNAME-LIST
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_prog in sed gsed; do
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2472 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2473 # Check for GNU ac_path_SED and select it if it is found.
2474 # Check for GNU $ac_path_SED
2475 case `"$ac_path_SED" --version 2>&1` in
2477 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2480 $as_echo_n 0123456789 >"conftest.in"
2483 cat "conftest.in" "conftest.in" >"conftest.tmp"
2484 mv "conftest.tmp" "conftest.in"
2485 cp "conftest.in" "conftest.nl"
2486 $as_echo '' >> "conftest.nl"
2487 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2489 as_fn_arith $ac_count + 1 && ac_count=$as_val
2490 if test $ac_count -gt ${ac_path_SED_max-0}; then
2491 # Best one so far, save it but keep looking for a better one
2492 ac_cv_path_SED="$ac_path_SED"
2493 ac_path_SED_max=$ac_count
2495 # 10*(2^10) chars as input seems more than enough
2496 test $ac_count -gt 10 && break
2498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2501 $ac_path_SED_found && break 3
2506 if test -z "$ac_cv_path_SED"; then
2507 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2515 $as_echo "$ac_cv_path_SED" >&6; }
2516 SED="$ac_cv_path_SED"
2519 for ac_prog in gawk mawk nawk awk
2521 # Extract the first word of "$ac_prog", so it can be a program name with args.
2522 set dummy $ac_prog; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if test "${ac_cv_prog_AWK+set}" = set; then :
2526 $as_echo_n "(cached) " >&6
2528 if test -n "$AWK"; then
2529 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 ac_cv_prog_AWK="$ac_prog"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 if test -n "$AWK"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2551 $as_echo "$AWK" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2558 test -n "$AWK" && break
2562 ### we might need to use some other shell than /bin/sh for running subshells
2563 ### If we are on Windows, search for the shell. This will permit people
2564 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2565 ### without also having to set CONFIG_SHELL. This code will work when
2566 ### using bash, which sets OSTYPE.
2569 if test x${CONFIG_SHELL} = x ; then
2570 if test ! -f /bin/sh ; then
2571 if test x${SHELL} != x && test -f ${SHELL} ; then
2572 CONFIG_SHELL=${SHELL}
2575 for prog in sh sh.exe bash bash.exe; do
2576 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
2577 for dir in $PATH; do
2578 test -z "$dir" && dir=.
2579 if test -f $dir/$prog; then
2580 CONFIG_SHELL=$dir/$prog
2586 test -n "${CONFIG_SHELL}" && break
2594 config_shell=${CONFIG_SHELL-/bin/sh}
2596 moveifchange=${srcdir}/move-if-change
2598 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2600 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2602 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2603 INSTALL="${srcpwd}/install-sh -c"
2606 # Set srcdir to "." if that's what it is.
2607 # This is important for multilib support.
2609 if test "${pwd}" = "${srcpwd}" ; then
2617 ### To add a new directory to the tree, first choose whether it is a target
2618 ### or a host dependent tool. Then put it into the appropriate list
2619 ### (library or tools, host or target), doing a dependency sort.
2621 # Subdirs will be configured in the order listed in build_configdirs,
2622 # configdirs, or target_configdirs; see the serialization section below.
2624 # Dependency sorting is only needed when *configuration* must be done in
2625 # a particular order. In all cases a dependency should be specified in
2626 # the Makefile, whether or not it's implicitly specified here.
2628 # Double entries in build_configdirs, configdirs, or target_configdirs may
2629 # cause circular dependencies and break everything horribly.
2631 # these library is used by various programs built for the build
2634 build_libs="build-libiberty"
2636 # these tools are built for the build environment
2637 build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2639 # these libraries are used by various programs built for the host environment
2641 host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
2643 # these tools are built for the host environment
2644 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2645 # know that we are building the simulator.
2646 # binutils, gas and ld appear in that order because it makes sense to run
2647 # "make check" in that particular order.
2648 # If --enable-gold is used, "gold" will replace "ld".
2649 host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
2651 # libgcj represents the runtime libraries only used by gcj.
2652 libgcj="target-libffi \
2657 # these libraries are built for the target environment, and are built after
2658 # the host libraries and the host tools (which may be a cross compiler)
2660 target_libraries="target-libgcc \
2665 target-libstdc++-v3 \
2668 target-libgfortran \
2674 # these tools are built using the target libraries, and are intended to
2675 # run only in the target environment
2677 # note: any program that *uses* libraries that are in the "target_libraries"
2678 # list belongs in this list. those programs are also very likely
2679 # candidates for the "native_only" list which follows
2681 target_tools="target-examples target-groff target-gperf target-rda"
2683 ################################################################################
2685 ## All tools belong in one of the four categories, and are assigned above
2686 ## We assign ${configdirs} this way to remove all embedded newlines. This
2687 ## is important because configure will choke if they ever get through.
2688 ## ${configdirs} is directories we build using the host tools.
2689 ## ${target_configdirs} is directories we build using the target tools.
2690 configdirs=`echo ${host_libs} ${host_tools}`
2691 target_configdirs=`echo ${target_libraries} ${target_tools}`
2692 build_configdirs=`echo ${build_libs} ${build_tools}`
2696 ################################################################################
2698 srcname="gnu development package"
2700 # This gets set non-empty for some net releases of packages.
2703 # Define is_cross_compiler to save on calls to 'test'.
2705 if test x"${host}" = x"${target}" ; then
2706 is_cross_compiler=no
2708 is_cross_compiler=yes
2711 # Find the build and target subdir names.
2713 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2714 # have matching libraries, they should use host libraries: Makefile.tpl
2715 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2716 # However, they still use the build modules, because the corresponding
2717 # host modules (e.g. bison) are only built for the host when bootstrap
2719 # - build_subdir is where we find build modules, and never changes.
2720 # - build_libsubdir is where we find build libraries, and can be overridden.
2722 # Prefix 'build-' so this never conflicts with target_subdir.
2723 build_subdir="build-${build_noncanonical}"
2725 # Check whether --with-build-libsubdir was given.
2726 if test "${with_build_libsubdir+set}" = set; then :
2727 withval=$with_build_libsubdir; build_libsubdir="$withval"
2729 build_libsubdir="$build_subdir"
2732 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2733 if ( test $srcdir = . && test -d gcc ) \
2734 || test -d $srcdir/../host-${host_noncanonical}; then
2735 host_subdir="host-${host_noncanonical}"
2740 target_subdir=${target_noncanonical}
2743 # Skipdirs are removed silently.
2745 # Noconfigdirs are removed loudly.
2749 # Make sure we don't let GNU ld be added if we didn't want it.
2750 if test x$with_gnu_ld = xno ; then
2752 noconfigdirs="$noconfigdirs ld gold"
2756 # Make sure we don't let GNU as be added if we didn't want it.
2757 if test x$with_gnu_as = xno ; then
2759 noconfigdirs="$noconfigdirs gas"
2762 # some tools are so dependent upon X11 that if we're not building with X,
2763 # it's not even worth trying to configure, much less build, that tool.
2766 yes | "") ;; # the default value for this tree is that X11 is available
2768 skipdirs="${skipdirs} tk itcl libgui"
2769 # We won't be able to build gdbtk without X.
2772 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2775 # Some tools are only suitable for building in a "native" situation.
2776 # Remove these if host!=target.
2777 native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2779 # Similarly, some are only suitable for cross toolchains.
2780 # Remove these if host=target.
2781 cross_only="target-libgloss target-newlib target-opcodes"
2783 case $is_cross_compiler in
2784 no) skipdirs="${skipdirs} ${cross_only}" ;;
2785 yes) skipdirs="${skipdirs} ${native_only}" ;;
2788 # If both --with-headers and --with-libs are specified, default to
2790 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2791 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2792 if test x"${with_newlib}" = x ; then
2797 # Recognize --with-newlib/--without-newlib.
2798 case ${with_newlib} in
2799 no) skipdirs="${skipdirs} target-newlib" ;;
2800 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2803 # Handle --enable-gold.
2805 # Check whether --enable-gold was given.
2806 if test "${enable_gold+set}" = set; then :
2807 enableval=$enable_gold; ENABLE_GOLD=$enableval
2812 if test "${ENABLE_GOLD}" = "yes"; then
2813 # Check for ELF target.
2816 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2817 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2818 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*)
2820 *-*-linux*aout* | *-*-linux*oldld*)
2828 if test "$is_elf" = "yes"; then
2829 # Check for target supported by gold.
2831 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2832 configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2838 # Configure extra directories which are host specific
2842 configdirs="$configdirs libtermcap" ;;
2845 # A target can indicate whether a language isn't supported for some reason.
2846 # Only spaces may be used in this macro; not newlines or tabs.
2847 unsupported_languages=
2849 # Remove more programs from consideration, based on the host or
2850 # target this usually means that a port of the program doesn't
2855 noconfigdirs="$noconfigdirs byacc"
2857 i[3456789]86-*-vsta)
2858 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2860 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
2861 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2864 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2866 i[3456789]86-*-mingw32*)
2867 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2868 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2870 i[3456789]86-*-beos*)
2871 noconfigdirs="$noconfigdirs tk itcl libgui gdb"
2874 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
2877 noconfigdirs="$noconfigdirs rcs"
2880 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2883 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2888 # Check whether --enable-libada was given.
2889 if test "${enable_libada+set}" = set; then :
2890 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2895 if test "${ENABLE_LIBADA}" != "yes" ; then
2896 noconfigdirs="$noconfigdirs gnattools"
2899 # Check whether --enable-libssp was given.
2900 if test "${enable_libssp+set}" = set; then :
2901 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2907 # Save it here so that, even in case of --enable-libgcj, if the Java
2908 # front-end isn't enabled, we still get libgcj disabled.
2909 libgcj_saved=$libgcj
2910 case $enable_libgcj in
2912 # If we reset it here, it won't get added to noconfigdirs in the
2913 # target-specific build rules, so it will be forcibly enabled
2914 # (unless the Java language itself isn't enabled).
2918 # Make sure we get it printed in the list of not supported target libs.
2919 noconfigdirs="$noconfigdirs ${libgcj}"
2924 # Disable libmudflap on some systems.
2925 if test x$enable_libmudflap = x ; then
2927 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
2928 # Enable libmudflap by default in GNU and friends.
2931 # Enable libmudflap by default in FreeBSD.
2934 # Disable it by default everywhere else.
2935 noconfigdirs="$noconfigdirs target-libmudflap"
2940 # Disable libgomp on non POSIX hosted systems.
2941 if test x$enable_libgomp = x ; then
2942 # Enable libgomp by default on hosted POSIX systems.
2944 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
2946 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
2948 *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
2950 *-*-darwin* | *-*-aix*)
2953 noconfigdirs="$noconfigdirs target-libgomp"
2958 # Default libgloss CPU subdirectory.
2959 libgloss_dir="$target_cpu"
2963 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2966 noconfigdirs="$noconfigdirs ld gas gdb gprof"
2967 noconfigdirs="$noconfigdirs sim target-rda"
2969 i[3456789]86-*-darwin*)
2970 noconfigdirs="$noconfigdirs ld gprof"
2971 noconfigdirs="$noconfigdirs sim target-rda"
2973 x86_64-*-darwin[912]*)
2974 noconfigdirs="$noconfigdirs ld gas gprof"
2975 noconfigdirs="$noconfigdirs sim target-rda"
2978 noconfigdirs="$noconfigdirs ld gas gdb gprof"
2979 noconfigdirs="$noconfigdirs sim target-rda"
2980 noconfigdirs="$noconfigdirs ${libgcj}"
2982 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
2983 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2986 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2987 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
2988 && test -f /usr/local/include/gmp.h; then
2992 # Skip some stuff that's unsupported on some FreeBSD configurations.
2997 noconfigdirs="$noconfigdirs ${libgcj}"
3002 # Remove unsupported stuff on all kaOS configurations.
3003 skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3004 skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
3005 skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3006 noconfigdirs="$noconfigdirs target-libgloss"
3009 # Skip some stuff on all NetBSD configurations.
3010 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
3012 # Skip some stuff that's unsupported on some NetBSD configurations.
3014 i*86-*-netbsdelf*) ;;
3015 arm*-*-netbsdelf*) ;;
3017 noconfigdirs="$noconfigdirs ${libgcj}"
3022 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3025 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3027 # The tpf target doesn't support gdb yet.
3029 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3032 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3035 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3038 # ld works, but does not support shared libraries.
3039 # newlib is not 64 bit ready. I'm not sure about fileutils.
3040 # gas doesn't generate exception information.
3041 noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3044 noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
3047 # newlib is not 64 bit ready
3048 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3051 # newlib is not 64 bit ready
3052 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3055 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3058 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3060 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3061 noconfigdirs="$noconfigdirs ${libgcj}"
3062 noconfigdirs="$noconfigdirs target-examples"
3063 noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
3064 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3065 noconfigdirs="$noconfigdirs expect dejagnu"
3066 # the C++ libraries don't build on top of CE's C libraries
3067 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3068 noconfigdirs="$noconfigdirs target-newlib"
3070 *-*-cygwin*) ;; # keep gdb and readline
3071 *) noconfigdirs="$noconfigdirs gdb readline"
3077 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3081 arm-*-coff | strongarm-*-coff | xscale-*-coff)
3082 noconfigdirs="$noconfigdirs ${libgcj}"
3085 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
3086 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
3089 arm*-*-linux-gnueabi)
3090 noconfigdirs="$noconfigdirs target-qthreads"
3091 case ${with_newlib} in
3092 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3097 noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
3101 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3104 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3107 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3110 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3113 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3116 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3119 noconfigdirs="$noconfigdirs gdb"
3120 if test x${is_cross_compiler} != xno ; then
3121 target_configdirs="${target_configdirs} target-bsp target-cygmon"
3124 c4x-*-* | tic4x-*-*)
3125 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3127 c54x*-*-* | tic54x-*-*)
3128 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3131 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3133 cris-*-* | crisv32-*-*)
3134 unsupported_languages="$unsupported_languages java"
3137 unsupported_languages="$unsupported_languages fortran"
3138 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3140 noconfigdirs="$noconfigdirs target-boehm-gc";;
3142 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
3144 unsupported_languages="$unsupported_languages fortran"
3145 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3150 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3153 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3156 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3158 ep9312-*-elf | ep9312-*-coff)
3162 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3165 noconfigdirs="$noconfigdirs ${libgcj}"
3168 noconfigdirs="$noconfigdirs ${libgcj}"
3169 noconfigdirs="$noconfigdirs gprof"
3172 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3175 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3177 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3179 hppa*64*-*-linux* | parisc*64*-*-linux*)
3180 # In this case, it's because the hppa64-linux target is for
3181 # the kernel only at this point and has no libc, and thus no
3182 # headers, crt*.o, etc., all of which are needed by these.
3183 noconfigdirs="$noconfigdirs target-zlib"
3185 parisc*-*-linux* | hppa*-*-linux*)
3189 hppa*-*-openbsd* | \
3191 noconfigdirs="$noconfigdirs ${libgcj}"
3194 noconfigdirs="$noconfigdirs ld shellutils"
3200 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3201 # build on HP-UX 10.20.
3202 noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
3205 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3208 # No gdb support yet.
3209 noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb"
3212 # No gdb or ld support yet.
3213 noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3216 # No gdb or ld support yet.
3217 noconfigdirs="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3221 i[3456789]86-*-coff | i[3456789]86-*-elf)
3222 noconfigdirs="$noconfigdirs ${libgcj}"
3225 i[3456789]86-*-linux*)
3226 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3227 # not build java stuff by default.
3230 noconfigdirs="$noconfigdirs ${libgcj}";;
3233 # This section makes it possible to build newlib natively on linux.
3234 # If we are using a cross compiler then don't configure newlib.
3235 if test x${is_cross_compiler} != xno ; then
3236 noconfigdirs="$noconfigdirs target-newlib"
3238 noconfigdirs="$noconfigdirs target-libgloss"
3239 # If we are not using a cross compiler, do configure newlib.
3240 # Note however, that newlib will only be configured in this situation
3241 # if the --with-newlib option has been given, because otherwise
3242 # 'target-newlib' will appear in skipdirs.
3244 i[3456789]86-*-mingw32*)
3245 target_configdirs="$target_configdirs target-winsup"
3246 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3249 target_configdirs="$target_configdirs target-winsup"
3250 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3253 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3254 noconfigdirs="$noconfigdirs target-gperf target-libgloss"
3255 # always build newlib if winsup directory is present.
3256 if test -d "$srcdir/winsup/cygwin"; then
3257 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3258 elif test -d "$srcdir/newlib"; then
3259 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3262 i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
3263 i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
3266 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3268 i[3456789]86-*-sco3.2v5*)
3269 # The linker does not yet know about weak symbols in COFF,
3270 # and is not configured to handle mixed ELF and COFF.
3271 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3273 i[3456789]86-*-sco*)
3274 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3276 i[3456789]86-*-solaris2*)
3277 noconfigdirs="$noconfigdirs target-libgloss"
3279 i[3456789]86-*-sysv4*)
3280 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3282 i[3456789]86-*-beos*)
3283 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3285 i[3456789]86-*-rdos*)
3286 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3289 noconfigdirs="$noconfigdirs ${libgcj}"
3291 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3292 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3293 libgloss_dir=m68hc11
3296 noconfigdirs="$noconfigdirs ${libgcj}"
3299 noconfigdirs="$noconfigdirs ${libgcj}"
3301 m68*-*-* | fido-*-*)
3305 # The EPOC C++ environment does not support exceptions or rtti,
3306 # and so building libstdc++-v3 tends not to always work.
3307 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3310 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3311 unsupported_languages="$unsupported_languages fortran java"
3314 noconfigdirs="$noconfigdirs ${libgcj}"
3317 noconfigdirs="$noconfigdirs ${libgcj}"
3320 noconfigdirs="$noconfigdirs sim"
3323 # copied from rs6000-*-* entry
3324 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3326 powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
3327 target_configdirs="$target_configdirs target-winsup"
3328 noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3329 # always build newlib.
3330 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3332 # This is temporary until we can link against shared libraries
3333 powerpcle-*-solaris*)
3334 noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3338 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3341 noconfigdirs="$noconfigdirs ${libgcj}"
3344 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
3348 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
3351 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3354 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3357 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3360 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3363 skipdirs="$skipdirs target-libiberty"
3364 noconfigdirs="$noconfigdirs ${libgcj}"
3365 if test x$with_newlib = xyes; then
3366 noconfigdirs="$noconfigdirs gprof"
3371 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3374 # Linking libjava exceeds command-line length limits on at least
3375 # IRIX 6.2, but not on IRIX 6.5.
3376 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3377 # <oldham@codesourcery.com>
3378 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3381 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3384 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3387 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3391 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3395 i[3456789]86-*-vsta) ;; # don't add gprof back in
3396 i[3456789]86-*-go32*) ;; # don't add gprof back in
3397 i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3398 *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3402 noconfigdirs="$noconfigdirs ${libgcj}" ;;
3404 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
3407 sparclet-*-aout* | sparc86x-*-*)
3411 noconfigdirs="$noconfigdirs ${libgcj}"
3414 noconfigdirs="$noconfigdirs ${libgcj}"
3418 noconfigdirs="$noconfigdirs ${libgcj}"
3422 noconfigdirs="$noconfigdirs ${libgcj}"
3423 if test x${is_cross_compiler} != xno ; then
3424 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3429 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
3430 noconfigdirs="$noconfigdirs ${libgcj}"
3432 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
3435 noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3438 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3441 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3444 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3447 noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3450 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3453 noconfigdirs="$noconfigdirs ${libgcj}"
3456 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3458 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3459 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3462 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3465 noconfigdirs="$noconfigdirs ${libgcj}"
3469 # If we aren't building newlib, then don't build libgloss, since libgloss
3470 # depends upon some newlib header files.
3471 case "${noconfigdirs}" in
3472 *target-libgloss*) ;;
3473 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3476 # Work in distributions that contain no compiler tools, like Autoconf.
3478 host_makefile_frag=/dev/null
3479 if test -d ${srcdir}/config ; then
3482 # Avoid "too much defining" errors from HPUX compiler.
3483 tentative_cc="cc -Wp,-H256000"
3484 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3485 # If it's HP/UX ar, this should be harmless.
3489 tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3492 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3493 # chokes on bfd, the compiler won't let you assign integers to enums, and
3494 # other problems. Defining CC to gcc is a questionable way to say "don't use
3495 # the apollo compiler" (the preferred version of GCC could be called cc,
3496 # or whatever), but I'm not sure leaving CC as cc is any better...
3497 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3498 # Used to have BISON=yacc.
3502 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3505 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3506 tentative_cc="cc -Xa"
3507 host_makefile_frag="config/mh-cxux"
3509 m88k-motorola-sysv*)
3512 tentative_cc="cc -Wf,-XNg1000"
3513 host_makefile_frag="config/mh-decstation"
3516 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3517 tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
3518 host_makefile_frag="config/mh-necv4"
3521 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3522 # environment. Also bump switch table size so that cp-parse will
3523 # compile. Bump string length limit so linker builds.
3524 tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3527 host_makefile_frag="config/mh-sysv4"
3530 # This is for a MIPS running RISC/os 4.52C.
3532 # This is needed for GDB, but needs to be in the top-level make because
3533 # if a library is compiled with the bsd headers and gets linked with the
3534 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3535 # a different size).
3536 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3537 # known except to select the sysv environment. Could we use /proc instead?
3538 # These "sysv environments" and "bsd environments" often end up being a pain.
3540 # This is not part of CFLAGS because perhaps not all C compilers have this
3542 tentative_cc="cc -systype sysv"
3547 i[3456789]86-*-sysv5*)
3548 host_makefile_frag="config/mh-sysv5"
3550 i[3456789]86-*-dgux*)
3551 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3552 host_makefile_frag="config/mh-dgux386"
3554 i[3456789]86-ncr-sysv4.3*)
3555 # The MetaWare compiler will generate a copyright message unless you
3556 # turn it off by adding the -Hnocopyr flag.
3557 tentative_cc="cc -Hnocopyr"
3559 i[3456789]86-ncr-sysv4*)
3560 # for an NCR 3000 (i486/SVR4) system.
3561 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3562 # This compiler not only emits obnoxious copyright messages every time
3563 # you run it, but it chokes and dies on a whole bunch of GNU source
3564 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3565 tentative_cc="/usr/ccs/ATT/cc"
3566 host_makefile_frag="config/mh-ncr3000"
3568 i[3456789]86-*-sco3.2v5*)
3570 i[3456789]86-*-sco*)
3571 # The native C compiler botches some simple uses of const. Unfortunately,
3572 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3573 tentative_cc="cc -Dconst="
3574 host_makefile_frag="config/mh-sco"
3576 i[3456789]86-*-udk*)
3577 host_makefile_frag="config/mh-sysv5"
3579 i[3456789]86-*-solaris2*)
3580 host_makefile_frag="config/mh-sysv4"
3582 i[3456789]86-*-msdosdjgpp*)
3583 host_makefile_frag="config/mh-djgpp"
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3588 $as_echo_n "checking to see if cat works as expected... " >&6; }
3589 echo a >cygwin-cat-check
3590 if test `cat cygwin-cat-check` == a ; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 as_fn_error "The cat command does not ignore carriage return characters.
3599 Please either mount the build directory in binary mode or run the following
3600 commands before running any configure script:
3606 host_makefile_frag="config/mh-cygwin"
3609 host_makefile_frag="config/mh-mingw"
3612 host_makefile_frag="config/mh-interix"
3615 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3619 host_makefile_frag="config/mh-solaris"
3622 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3623 # without overflowing the jump tables (-J says to use a 32 bit table)
3624 tentative_cc="cc -J"
3627 tentative_cc="cc -Wp,-H256000"
3628 host_makefile_frag="config/mh-pa-hpux10"
3630 hppa*-hp-hpux* | hppa*-*-hiux*)
3631 tentative_cc="cc -Wp,-H256000"
3632 host_makefile_frag="config/mh-pa"
3635 host_makefile_frag="config/mh-pa"
3637 *-hp-hpux* | *-*-hiux*)
3638 tentative_cc="cc -Wp,-H256000"
3641 # /bin/cc is less than useful for our purposes. Always use GCC
3642 tentative_cc="/usr/cygnus/progressive/bin/gcc"
3643 host_makefile_frag="config/mh-lynxrs6k"
3646 host_makefile_frag="config/mh-ppc-darwin"
3649 host_makefile_frag="config/mh-ppc-aix"
3652 host_makefile_frag="config/mh-ppc-aix"
3655 # /bin/cc is less than useful for our purposes. Always use GCC
3656 tentative_cc="/bin/gcc"
3659 host_makefile_frag="config/mh-sysv4"
3661 # This is placed last to prevent interfering with the cases above.
3663 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3664 host_makefile_frag="config/mh-x86omitfp"
3669 # If we aren't going to be using gcc, see if we can extract a definition
3670 # of CC from the fragment.
3671 # Actually, use the 'pre-extracted' version above.
3672 if test -z "${CC}" && test "${build}" = "${host}" ; then
3673 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
3675 for dir in $PATH; do
3676 test -z "$dir" && dir=.
3677 if test -f $dir/gcc; then
3683 if test -z "${found}" && test -n "${tentative_cc}" ; then
3688 if test "${build}" != "${host}" ; then
3689 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3690 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3691 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3692 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3693 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3694 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3695 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3696 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3697 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3698 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3699 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3700 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3702 AR_FOR_BUILD="\$(AR)"
3703 AS_FOR_BUILD="\$(AS)"
3704 CC_FOR_BUILD="\$(CC)"
3705 CXX_FOR_BUILD="\$(CXX)"
3706 GCJ_FOR_BUILD="\$(GCJ)"
3707 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3708 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3709 LD_FOR_BUILD="\$(LD)"
3710 NM_FOR_BUILD="\$(NM)"
3711 RANLIB_FOR_BUILD="\$(RANLIB)"
3712 WINDRES_FOR_BUILD="\$(WINDRES)"
3713 WINDMC_FOR_BUILD="\$(WINDMC)"
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721 if test -n "$ac_tool_prefix"; then
3722 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3723 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if test "${ac_cv_prog_CC+set}" = set; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -n "$CC"; then
3730 ac_cv_prog_CC="$CC" # Let the user override the test.
3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir=.
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3739 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 if test -n "$CC"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3752 $as_echo "$CC" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3760 if test -z "$ac_cv_prog_CC"; then
3762 # Extract the first word of "gcc", so it can be a program name with args.
3763 set dummy gcc; ac_word=$2
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3765 $as_echo_n "checking for $ac_word... " >&6; }
3766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3767 $as_echo_n "(cached) " >&6
3769 if test -n "$ac_ct_CC"; then
3770 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3779 ac_cv_prog_ac_ct_CC="gcc"
3780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3790 if test -n "$ac_ct_CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3792 $as_echo "$ac_ct_CC" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3798 if test "x$ac_ct_CC" = x; then
3801 case $cross_compiling:$ac_tool_warned in
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3805 ac_tool_warned=yes ;;
3813 if test -z "$CC"; then
3814 if test -n "$ac_tool_prefix"; then
3815 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3816 set dummy ${ac_tool_prefix}cc; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if test "${ac_cv_prog_CC+set}" = set; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -n "$CC"; then
3823 ac_cv_prog_CC="$CC" # Let the user override the test.
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3832 ac_cv_prog_CC="${ac_tool_prefix}cc"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 if test -n "$CC"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3845 $as_echo "$CC" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3854 if test -z "$CC"; then
3855 # Extract the first word of "cc", so it can be a program name with args.
3856 set dummy cc; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if test "${ac_cv_prog_CC+set}" = set; then :
3860 $as_echo_n "(cached) " >&6
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC="$CC" # Let the user override the test.
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3873 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3874 ac_prog_rejected=yes
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 if test $ac_prog_rejected = yes; then
3886 # We found a bogon in the path, so make sure we never use it.
3887 set dummy $ac_cv_prog_CC
3889 if test $# != 0; then
3890 # We chose a different compiler from the bogus one.
3891 # However, it has the same basename, so the bogon will be chosen
3892 # first if we set CC to just the basename; use the full file name.
3894 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3900 if test -n "$CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3902 $as_echo "$CC" >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3910 if test -z "$CC"; then
3911 if test -n "$ac_tool_prefix"; then
3912 for ac_prog in cl.exe
3914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3915 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if test "${ac_cv_prog_CC+set}" = set; then :
3919 $as_echo_n "(cached) " >&6
3921 if test -n "$CC"; then
3922 ac_cv_prog_CC="$CC" # Let the user override the test.
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3931 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 if test -n "$CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944 $as_echo "$CC" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3951 test -n "$CC" && break
3954 if test -z "$CC"; then
3956 for ac_prog in cl.exe
3958 # Extract the first word of "$ac_prog", so it can be a program name with args.
3959 set dummy $ac_prog; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3963 $as_echo_n "(cached) " >&6
3965 if test -n "$ac_ct_CC"; then
3966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3975 ac_cv_prog_ac_ct_CC="$ac_prog"
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3986 if test -n "$ac_ct_CC"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3988 $as_echo "$ac_ct_CC" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3995 test -n "$ac_ct_CC" && break
3998 if test "x$ac_ct_CC" = x; then
4001 case $cross_compiling:$ac_tool_warned in
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4005 ac_tool_warned=yes ;;
4014 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error "no acceptable C compiler found in \$PATH
4017 See \`config.log' for more details." "$LINENO" 5; }
4019 # Provide some information about the compiler.
4020 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4023 for ac_option in --version -v -V -qversion; do
4024 { { ac_try="$ac_compiler $ac_option >&5"
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4033 if test -s conftest.err; then
4035 ... rest of stderr output deleted ...
4036 10q' conftest.err >conftest.er1
4037 cat conftest.er1 >&5
4038 rm -f conftest.er1 conftest.err
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4055 ac_clean_files_save=$ac_clean_files
4056 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4057 # Try to create an executable without -o first, disregard a.out.
4058 # It will help us diagnose broken compilers, and finding out an intuition
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4061 $as_echo_n "checking for C compiler default output file name... " >&6; }
4062 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4064 # The possible output files:
4065 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4068 for ac_file in $ac_files
4071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4072 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4077 if { { ac_try="$ac_link_default"
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083 $as_echo "$ac_try_echo"; } >&5
4084 (eval "$ac_link_default") 2>&5
4086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087 test $ac_status = 0; }; then :
4088 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4089 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4090 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4091 # so that the user can short-circuit this test for compilers unknown to
4093 for ac_file in $ac_files ''
4095 test -f "$ac_file" || continue
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4100 # We found the default executable, but exeext='' is most
4104 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4106 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4108 # We set ac_cv_exeext here because the later test for it is not
4109 # safe: cross compilers may not add the suffix if given an `-o'
4110 # argument, so we may need to know it at that point already.
4111 # Even if this section looks crufty: it has the advantage of
4118 test "$ac_cv_exeext" = no && ac_cv_exeext=
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4124 $as_echo "$ac_file" >&6; }
4125 if test -z "$ac_file"; then :
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 { as_fn_set_status 77
4132 as_fn_error "C compiler cannot create executables
4133 See \`config.log' for more details." "$LINENO" 5; }; }
4135 ac_exeext=$ac_cv_exeext
4137 # Check that the compiler produces executables we can run. If not, either
4138 # the compiler is broken, or we cross compile.
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4140 $as_echo_n "checking whether the C compiler works... " >&6; }
4141 # If not cross compiling, check that we can run a simple program.
4142 if test "$cross_compiling" != yes; then
4143 if { ac_try='./$ac_file'
4144 { { case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_try") 2>&5
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }; }; then
4156 if test "$cross_compiling" = maybe; then
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error "cannot run C compiled programs.
4162 If you meant to cross compile, use \`--host'.
4163 See \`config.log' for more details." "$LINENO" 5; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168 $as_echo "yes" >&6; }
4170 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4171 ac_clean_files=$ac_clean_files_save
4172 # Check that the compiler produces executables we can run. If not, either
4173 # the compiler is broken, or we cross compile.
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4175 $as_echo_n "checking whether we are cross compiling... " >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4177 $as_echo "$cross_compiling" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4180 $as_echo_n "checking for suffix of executables... " >&6; }
4181 if { { ac_try="$ac_link"
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_link") 2>&5
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4193 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4194 # work properly (i.e., refer to `conftest.exe'), while it won't with
4196 for ac_file in conftest.exe conftest conftest.*; do
4197 test -f "$ac_file" || continue
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4200 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error "cannot compute suffix of executables: cannot compile and link
4209 See \`config.log' for more details." "$LINENO" 5; }
4211 rm -f conftest$ac_cv_exeext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4213 $as_echo "$ac_cv_exeext" >&6; }
4215 rm -f conftest.$ac_ext
4216 EXEEXT=$ac_cv_exeext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4219 $as_echo_n "checking for suffix of object files... " >&6; }
4220 if test "${ac_cv_objext+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4234 rm -f conftest.o conftest.obj
4235 if { { ac_try="$ac_compile"
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_compile") 2>&5
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; then :
4246 for ac_file in conftest.o conftest.obj conftest.*; do
4247 test -f "$ac_file" || continue;
4249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4255 $as_echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.$ac_ext >&5
4258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error "cannot compute suffix of object files: cannot compile
4261 See \`config.log' for more details." "$LINENO" 5; }
4263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4266 $as_echo "$ac_cv_objext" >&6; }
4267 OBJEXT=$ac_cv_objext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4270 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4271 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4288 if ac_fn_c_try_compile "$LINENO"; then :
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4298 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4299 if test $ac_compiler_gnu = yes; then
4304 ac_test_CFLAGS=${CFLAGS+set}
4305 ac_save_CFLAGS=$CFLAGS
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4307 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4308 if test "${ac_cv_prog_cc_g+set}" = set; then :
4309 $as_echo_n "(cached) " >&6
4311 ac_save_c_werror_flag=$ac_c_werror_flag
4312 ac_c_werror_flag=yes
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4326 if ac_fn_c_try_compile "$LINENO"; then :
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4341 if ac_fn_c_try_compile "$LINENO"; then :
4344 ac_c_werror_flag=$ac_save_c_werror_flag
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4357 if ac_fn_c_try_compile "$LINENO"; then :
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 ac_c_werror_flag=$ac_save_c_werror_flag
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4368 $as_echo "$ac_cv_prog_cc_g" >&6; }
4369 if test "$ac_test_CFLAGS" = set; then
4370 CFLAGS=$ac_save_CFLAGS
4371 elif test $ac_cv_prog_cc_g = yes; then
4372 if test "$GCC" = yes; then
4378 if test "$GCC" = yes; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4385 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4386 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4389 ac_cv_prog_cc_c89=no
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4395 #include <sys/types.h>
4396 #include <sys/stat.h>
4397 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4398 struct buf { int x; };
4399 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4400 static char *e (p, i)
4406 static char *f (char * (*g) (char **, int), char **p, ...)
4411 s = g (p, va_arg (v,int));
4416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4417 function prototypes and stuff, but not '\xHH' hex character constants.
4418 These don't provoke an error unfortunately, instead are silently treated
4419 as 'x'. The following induces an error, until -std is added to get
4420 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4421 array size at least. It's necessary to write '\x00'==0 to get something
4422 that's true only with -std. */
4423 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4426 inside strings and character constants. */
4428 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4430 int test (int i, double x);
4431 struct s1 {int (*f) (int a);};
4432 struct s2 {int (*f) (double a);};
4433 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4439 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4444 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4445 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4447 CC="$ac_save_CC $ac_arg"
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_cv_prog_cc_c89=$ac_arg
4451 rm -f core conftest.err conftest.$ac_objext
4452 test "x$ac_cv_prog_cc_c89" != "xno" && break
4454 rm -f conftest.$ac_ext
4459 case "x$ac_cv_prog_cc_c89" in
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4462 $as_echo "none needed" >&6; } ;;
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4465 $as_echo "unsupported" >&6; } ;;
4467 CC="$CC $ac_cv_prog_cc_c89"
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4469 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4471 if test "x$ac_cv_prog_cc_c89" != xno; then :
4476 ac_cpp='$CPP $CPPFLAGS'
4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 ac_cpp='$CXXCPP $CPPFLAGS'
4483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4486 if test -z "$CXX"; then
4487 if test -n "$CCC"; then
4490 if test -n "$ac_tool_prefix"; then
4491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if test "${ac_cv_prog_CXX+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$CXX"; then
4501 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 if test -n "$CXX"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4523 $as_echo "$CXX" >&6; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4530 test -n "$CXX" && break
4533 if test -z "$CXX"; then
4535 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4537 # Extract the first word of "$ac_prog", so it can be a program name with args.
4538 set dummy $ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4544 if test -n "$ac_ct_CXX"; then
4545 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_ac_ct_CXX="$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4565 if test -n "$ac_ct_CXX"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4567 $as_echo "$ac_ct_CXX" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$ac_ct_CXX" && break
4577 if test "x$ac_ct_CXX" = x; then
4580 case $cross_compiling:$ac_tool_warned in
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4584 ac_tool_warned=yes ;;
4592 # Provide some information about the compiler.
4593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4596 for ac_option in --version -v -V -qversion; do
4597 { { ac_try="$ac_compiler $ac_option >&5"
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4603 $as_echo "$ac_try_echo"; } >&5
4604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4606 if test -s conftest.err; then
4608 ... rest of stderr output deleted ...
4609 10q' conftest.err >conftest.er1
4610 cat conftest.er1 >&5
4611 rm -f conftest.er1 conftest.err
4613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4614 test $ac_status = 0; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4618 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4619 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4636 if ac_fn_cxx_try_compile "$LINENO"; then :
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4646 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4647 if test $ac_compiler_gnu = yes; then
4652 ac_test_CXXFLAGS=${CXXFLAGS+set}
4653 ac_save_CXXFLAGS=$CXXFLAGS
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4655 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4656 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4659 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4660 ac_cxx_werror_flag=yes
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4674 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 ac_cv_prog_cxx_g=yes
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4689 if ac_fn_cxx_try_compile "$LINENO"; then :
4692 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4705 if ac_fn_cxx_try_compile "$LINENO"; then :
4706 ac_cv_prog_cxx_g=yes
4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4716 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4717 if test "$ac_test_CXXFLAGS" = set; then
4718 CXXFLAGS=$ac_save_CXXFLAGS
4719 elif test $ac_cv_prog_cxx_g = yes; then
4720 if test "$GXX" = yes; then
4726 if test "$GXX" = yes; then
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4739 # We must set the default linker to the linker used by gcc for the correct
4740 # operation of libtool. If LD is not defined and we are using gcc, try to
4741 # set the LD default to the ld used by gcc.
4742 if test -z "$LD"; then
4743 if test "$GCC" = yes; then
4746 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4748 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4750 case $gcc_prog_ld in
4751 # Accept absolute paths.
4752 [\\/]* | [A-Za-z]:[\\/]*)
4753 LD="$gcc_prog_ld" ;;
4761 if test -n "$ac_tool_prefix"; then
4762 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4763 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 $as_echo_n "checking for $ac_word... " >&6; }
4766 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -n "$GNATBIND"; then
4770 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir=.
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 GNATBIND=$ac_cv_prog_GNATBIND
4790 if test -n "$GNATBIND"; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4792 $as_echo "$GNATBIND" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 $as_echo "no" >&6; }
4800 if test -z "$ac_cv_prog_GNATBIND"; then
4801 ac_ct_GNATBIND=$GNATBIND
4802 # Extract the first word of "gnatbind", so it can be a program name with args.
4803 set dummy gnatbind; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4807 $as_echo_n "(cached) " >&6
4809 if test -n "$ac_ct_GNATBIND"; then
4810 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4819 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4830 if test -n "$ac_ct_GNATBIND"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4832 $as_echo "$ac_ct_GNATBIND" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4838 if test "x$ac_ct_GNATBIND" = x; then
4841 case $cross_compiling:$ac_tool_warned in
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4845 ac_tool_warned=yes ;;
4847 GNATBIND=$ac_ct_GNATBIND
4850 GNATBIND="$ac_cv_prog_GNATBIND"
4853 if test -n "$ac_tool_prefix"; then
4854 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4855 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 $as_echo_n "checking for $ac_word... " >&6; }
4858 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4861 if test -n "$GNATMAKE"; then
4862 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 GNATMAKE=$ac_cv_prog_GNATMAKE
4882 if test -n "$GNATMAKE"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4884 $as_echo "$GNATMAKE" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4892 if test -z "$ac_cv_prog_GNATMAKE"; then
4893 ac_ct_GNATMAKE=$GNATMAKE
4894 # Extract the first word of "gnatmake", so it can be a program name with args.
4895 set dummy gnatmake; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$ac_ct_GNATMAKE"; then
4902 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4922 if test -n "$ac_ct_GNATMAKE"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4924 $as_echo "$ac_ct_GNATMAKE" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4930 if test "x$ac_ct_GNATMAKE" = x; then
4933 case $cross_compiling:$ac_tool_warned in
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4937 ac_tool_warned=yes ;;
4939 GNATMAKE=$ac_ct_GNATMAKE
4942 GNATMAKE="$ac_cv_prog_GNATMAKE"
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4946 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4947 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4950 cat >conftest.adb <<EOF
4951 procedure conftest is begin null; end conftest;
4953 acx_cv_cc_gcc_supports_ada=no
4954 # There is a bug in old released versions of GCC which causes the
4955 # driver to exit successfully when the appropriate language module
4956 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4957 # Therefore we must check for the error message as well as an
4958 # unsuccessful exit.
4959 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4960 # given a .adb file, but produce no object file. So we must check
4961 # if an object file was really produced to guard against this.
4962 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4963 if test x"$errors" = x && test -f conftest.$ac_objext; then
4964 acx_cv_cc_gcc_supports_ada=yes
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4969 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4971 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4978 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4979 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4984 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4985 if cmp t1 t2 2 2 > /dev/null 2>&1; then
4986 if cmp t1 t2 1 1 > /dev/null 2>&1; then
4989 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
4992 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
4993 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
4996 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5003 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5004 do_compare="$gcc_cv_prog_cmp_skip"
5008 # See if we are building gcc with C++.
5009 # Check whether --enable-build-with-cxx was given.
5010 if test "${enable_build_with_cxx+set}" = set; then :
5011 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
5013 ENABLE_BUILD_WITH_CXX=no
5017 # Check for GMP, MPFR and MPC
5018 gmplibs="-lmpfr -lgmp"
5025 # Specify a location for mpc
5026 # check for this first so it ends up on the link line before mpfr.
5028 # Check whether --with-mpc was given.
5029 if test "${with_mpc+set}" = set; then :
5034 # Check whether --with-mpc_include was given.
5035 if test "${with_mpc_include+set}" = set; then :
5036 withval=$with_mpc_include;
5040 # Check whether --with-mpc_lib was given.
5041 if test "${with_mpc_lib+set}" = set; then :
5042 withval=$with_mpc_lib;
5046 if test "x$with_mpc" != x; then
5047 mpclibs="-L$with_mpc/lib -lmpc"
5048 mpcinc="-I$with_mpc/include $mpcinc"
5050 if test "x$with_mpc_include" != x; then
5051 mpcinc="-I$with_mpc_include $mpcinc"
5053 if test "x$with_mpc_lib" != x; then
5054 mpclibs="-L$with_mpc_lib -lmpc"
5056 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
5057 mpclibs='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
5058 mpcinc='-I$$s/mpc/src '"$mpcinc"
5059 # Do not test the mpc version. Assume that it is sufficient, since
5060 # it is in the source tree, and the library has not been built yet
5061 # but it would be included on the link line in the version check below
5062 # hence making the test fail.
5066 # Specify a location for mpfr
5067 # check for this first so it ends up on the link line before gmp.
5069 # Check whether --with-mpfr-dir was given.
5070 if test "${with_mpfr_dir+set}" = set; then :
5071 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5072 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5077 # Check whether --with-mpfr was given.
5078 if test "${with_mpfr+set}" = set; then :
5083 # Check whether --with-mpfr_include was given.
5084 if test "${with_mpfr_include+set}" = set; then :
5085 withval=$with_mpfr_include;
5089 # Check whether --with-mpfr_lib was given.
5090 if test "${with_mpfr_lib+set}" = set; then :
5091 withval=$with_mpfr_lib;
5095 if test "x$with_mpfr" != x; then
5096 gmplibs="-L$with_mpfr/lib $gmplibs"
5097 gmpinc="-I$with_mpfr/include"
5099 if test "x$with_mpfr_include" != x; then
5100 gmpinc="-I$with_mpfr_include"
5102 if test "x$with_mpfr_lib" != x; then
5103 gmplibs="-L$with_mpfr_lib $gmplibs"
5105 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5106 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
5107 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5108 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr'
5109 # Do not test the mpfr version. Assume that it is sufficient, since
5110 # it is in the source tree, and the library has not been built yet
5111 # but it would be included on the link line in the version check below
5112 # hence making the test fail.
5116 # Specify a location for gmp
5118 # Check whether --with-gmp-dir was given.
5119 if test "${with_gmp_dir+set}" = set; then :
5120 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5121 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5126 # Check whether --with-gmp was given.
5127 if test "${with_gmp+set}" = set; then :
5132 # Check whether --with-gmp_include was given.
5133 if test "${with_gmp_include+set}" = set; then :
5134 withval=$with_gmp_include;
5138 # Check whether --with-gmp_lib was given.
5139 if test "${with_gmp_lib+set}" = set; then :
5140 withval=$with_gmp_lib;
5145 if test "x$with_gmp" != x; then
5146 gmplibs="-L$with_gmp/lib $gmplibs"
5147 gmpinc="-I$with_gmp/include $gmpinc"
5149 if test "x$with_gmp_include" != x; then
5150 gmpinc="-I$with_gmp_include $gmpinc"
5152 if test "x$with_gmp_lib" != x; then
5153 gmplibs="-L$with_gmp_lib $gmplibs"
5155 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5156 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
5157 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5158 extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
5159 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
5160 # Do not test the gmp version. Assume that it is sufficient, since
5161 # it is in the source tree, and the library has not been built yet
5162 # but it would be included on the link line in the version check below
5163 # hence making the test fail.
5167 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5169 saved_CFLAGS="$CFLAGS"
5170 CFLAGS="$CFLAGS $gmpinc"
5171 # Check GMP actually works
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of gmp.h" >&5
5173 $as_echo_n "checking for correct version of gmp.h... " >&6; }
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5182 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
5190 if ac_fn_c_try_compile "$LINENO"; then :
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 $as_echo "yes" >&6; }
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }; have_gmp=no
5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 # If we have GMP, check the MPFR version.
5200 if test x"$have_gmp" = xyes; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of mpfr.h" >&5
5202 $as_echo_n "checking for correct version of mpfr.h... " >&6; }
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5211 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5219 if ac_fn_c_try_compile "$LINENO"; then :
5220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5228 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
5236 if ac_fn_c_try_compile "$LINENO"; then :
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5241 $as_echo "buggy but acceptable" >&6; }
5243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }; have_gmp=no
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 # Check for the MPC header version.
5252 if test x"$have_mpc" != xyes ; then
5253 CFLAGS="$CFLAGS $mpcinc"
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5255 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5263 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
5271 if ac_fn_c_try_compile "$LINENO"; then :
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5273 $as_echo "yes" >&6; }; have_mpc=maybe
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5281 # Now check the MPFR library.
5282 if test x"$have_gmp" = xyes; then
5284 LIBS="$LIBS $gmplibs"
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
5286 $as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5300 mpfr_atan2 (n, n, x, GMP_RNDN);
5301 mpfr_erfc (n, x, GMP_RNDN);
5302 mpfr_subnormalize (x, t, GMP_RNDN);
5308 if ac_fn_c_try_link "$LINENO"; then :
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5310 $as_echo "yes" >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }; have_gmp=no
5315 rm -f core conftest.err conftest.$ac_objext \
5316 conftest$ac_exeext conftest.$ac_ext
5320 if test x"$have_mpc" = xmaybe; then
5322 LIBS="$LIBS $mpclibs $gmplibs"
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc library" >&5
5324 $as_echo_n "checking for the correct version of the mpc library... " >&6; }
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5334 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
5335 mpc_sin (n, n, MPC_RNDNN);
5336 mpc_cos (n, n, MPC_RNDNN);
5337 mpc_tan (n, n, MPC_RNDNN);
5338 mpc_sinh (n, n, MPC_RNDNN);
5339 mpc_cosh (n, n, MPC_RNDNN);
5340 mpc_tanh (n, n, MPC_RNDNN);
5341 mpc_exp (n, n, MPC_RNDNN);
5342 mpc_log (n, n, MPC_RNDNN);
5343 mpc_sqrt (n, n, MPC_RNDNN);
5344 mpc_proj (n, n, MPC_RNDNN);
5345 mpc_neg (n, n, MPC_RNDNN);
5346 mpc_sqr (n, n, MPC_RNDNN);
5353 if ac_fn_c_try_link "$LINENO"; then :
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5355 $as_echo "yes" >&6; }; have_mpc=yes
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
5360 rm -f core conftest.err conftest.$ac_objext \
5361 conftest$ac_exeext conftest.$ac_ext
5365 CFLAGS="$saved_CFLAGS"
5367 if test x$have_gmp != xyes; then
5368 as_fn_error "Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5369 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5370 Copies of these libraries' source code can be found at their respective
5371 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5372 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5373 If you obtained GMP and/or MPFR from a vendor distribution package, make
5374 sure that you have installed both the libraries and the header files.
5375 They may be located in separate packages." "$LINENO" 5
5379 if test x$have_mpc != xyes ; then
5384 gmpinc="$mpcinc $gmpinc"
5385 gmplibs="$mpclibs $gmplibs"
5387 # Flags needed for both GMP, MPFR and/or MPC.
5394 # Allow host libstdc++ to be specified for static linking with PPL.
5396 # Check whether --with-host-libstdcxx was given.
5397 if test "${with_host_libstdcxx+set}" = set; then :
5398 withval=$with_host_libstdcxx;
5402 case $with_host_libstdcxx in
5404 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5408 # Linker flags to use for stage1 or when not boostrapping.
5410 # Check whether --with-stage1-ldflags was given.
5411 if test "${with_stage1_ldflags+set}" = set; then :
5412 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5415 stage1_ldflags=$withval
5423 # Libraries to use for stage1 or when not bootstrapping.
5425 # Check whether --with-stage1-libs was given.
5426 if test "${with_stage1_libs+set}" = set; then :
5427 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5430 stage1_libs=$withval
5433 stage1_libs=$with_host_libstdcxx
5438 # Linker flags to use for stage2 and later builds.
5440 # Check whether --with-boot-ldflags was given.
5441 if test "${with_boot_ldflags+set}" = set; then :
5442 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5445 poststage1_ldflags=$withval
5448 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5449 poststage1_ldflags=-static-libstdc++
5457 # Libraries to use for stage2 and later builds. This defaults to the
5458 # argument passed to --with-host-libstdcxx.
5460 # Check whether --with-boot-libs was given.
5461 if test "${with_boot_libs+set}" = set; then :
5462 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5465 poststage1_libs=$withval
5468 poststage1_libs=$with_host_libstdcxx
5475 ppl_minor_version=10
5476 ppllibs=" -lppl_c -lppl -lgmpxx"
5480 # Check whether --with-ppl was given.
5481 if test "${with_ppl+set}" = set; then :
5488 # Check whether --with-ppl_include was given.
5489 if test "${with_ppl_include+set}" = set; then :
5490 withval=$with_ppl_include;
5494 # Check whether --with-ppl_lib was given.
5495 if test "${with_ppl_lib+set}" = set; then :
5496 withval=$with_ppl_lib;
5505 ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5506 pplinc="-I$with_ppl/include $pplinc"
5507 LIBS="$ppllibs $LIBS"
5510 if test "x$with_ppl_include" != x; then
5511 pplinc="-I$with_ppl_include $pplinc"
5513 if test "x$with_ppl_lib" != x; then
5514 ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5515 LIBS="$ppllibs $LIBS"
5517 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
5518 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
5519 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5520 LIBS="$ppllibs $LIBS"
5523 # Check whether --enable-ppl-version-check was given.
5524 if test "${enable_ppl_version_check+set}" = set; then :
5525 enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval
5527 ENABLE_PPL_CHECK=yes
5531 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5532 saved_CFLAGS="$CFLAGS"
5533 CFLAGS="$CFLAGS $pplinc $gmpinc"
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5535 $as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5543 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5551 if ac_fn_c_try_compile "$LINENO"; then :
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5553 $as_echo "yes" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }; ppllibs= ; pplinc=
5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 CFLAGS="$saved_CFLAGS"
5562 # Flags needed for PPL
5568 clooglibs=" -lcloog "
5569 clooginc=" -DCLOOG_PPL_BACKEND "
5572 # Check whether --with-cloog was given.
5573 if test "${with_cloog+set}" = set; then :
5574 withval=$with_cloog;
5580 # Check whether --with-cloog_include was given.
5581 if test "${with_cloog_include+set}" = set; then :
5582 withval=$with_cloog_include;
5586 # Check whether --with-cloog_lib was given.
5587 if test "${with_cloog_lib+set}" = set; then :
5588 withval=$with_cloog_lib;
5598 clooglibs="-L$with_cloog/lib -lcloog"
5599 clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5600 LIBS="$clooglibs $LIBS"
5603 if test "x$with_cloog_include" != x; then
5604 clooginc="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5606 if test "x$with_cloog_lib" != x; then
5607 clooglibs="-L$with_cloog_lib -lcloog"
5608 LIBS="$clooglibs $LIBS"
5610 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x && test -d ${srcdir}/cloog; then
5611 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5612 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5613 LIBS="$clooglibs $LIBS"
5616 # Check whether --enable-cloog-version-check was given.
5617 if test "${enable_cloog_version_check+set}" = set; then :
5618 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5620 ENABLE_CLOOG_CHECK=yes
5624 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5625 saved_CFLAGS="$CFLAGS"
5626 CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc"
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of CLooG" >&5
5628 $as_echo_n "checking for correct version of CLooG... " >&6; }
5629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5630 /* end confdefs.h. */
5631 #include "cloog/cloog.h"
5636 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5644 if ac_fn_c_try_compile "$LINENO"; then :
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5646 $as_echo "yes" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }; clooglibs= ; clooginc=
5651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5652 CFLAGS="$saved_CFLAGS"
5655 # Flags needed for CLOOG
5660 # By default, C is the only stage 1 language.
5661 stage1_languages=,c,
5663 # Target libraries that we bootstrap.
5664 bootstrap_target_libs=,target-libgcc,
5666 # Figure out what language subdirectories are present.
5667 # Look if the user specified --enable-languages="..."; if not, use
5668 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5670 # NB: embedded tabs in this IF block -- do not untabify
5671 if test -d ${srcdir}/gcc; then
5672 if test x"${enable_languages+set}" != xset; then
5673 if test x"${LANGUAGES+set}" = xset; then
5674 enable_languages="${LANGUAGES}"
5675 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
5677 enable_languages=all
5680 if test x"${enable_languages}" = x ||
5681 test x"${enable_languages}" = xyes;
5683 echo configure.in: --enable-languages needs at least one language argument 1>&2
5687 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5689 # 'f95' is the old name for the 'fortran' language. We issue a warning
5690 # and make the substitution.
5691 case ,${enable_languages}, in
5693 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
5694 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5698 # First scan to see if an enabled language requires some other language.
5699 # We assume that a given config-lang.in will list all the language
5700 # front ends it requires, even if some are required indirectly.
5701 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
5702 case ${lang_frag} in
5704 # The odd quoting in the next line works around
5705 # an apparent bug in bash 1.12 on linux.
5706 ${srcdir}/gcc/[*]/config-lang.in) ;;
5708 # From the config-lang.in, get $language, $lang_requires
5712 for other in ${lang_requires} ; do
5713 case ,${enable_languages}, in
5717 echo " \`$other' language required by \`$language'; enabling" 1>&2
5718 enable_languages="${enable_languages},${other}"
5726 new_enable_languages=,c,
5727 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5728 potential_languages=,c,
5730 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
5731 case ${lang_frag} in
5733 # The odd quoting in the next line works around
5734 # an apparent bug in bash 1.12 on linux.
5735 ${srcdir}/gcc/[*]/config-lang.in) ;;
5737 # From the config-lang.in, get $language, $target_libs,
5738 # $lang_dirs, $boot_language, and $build_by_default
5744 build_by_default=yes
5746 if test x${language} = x; then
5747 echo "${lang_frag} doesn't set \$language." 1>&2
5751 if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5755 case ,${enable_languages}, in
5757 # Language was explicitly selected; include it.
5761 # 'all' was selected, select it if it is a default language
5762 add_this_lang=${build_by_default}
5769 # Disable languages that need other directories if these aren't available.
5770 for i in $subdir_requires; do
5771 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5772 case ,${enable_languages}, in
5774 # Specifically requested language; tell them.
5775 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
5779 add_this_lang=unsupported
5784 # Disable Ada if no preexisting GNAT is available.
5785 case ,${enable_languages},:${language}:${have_gnat} in
5786 *,${language},*:ada:no)
5787 # Specifically requested language; tell them.
5788 as_fn_error "GNAT is required to build $language" "$LINENO" 5
5792 add_this_lang=unsupported
5796 # Disable a language that is unsupported by the target.
5797 case " $unsupported_languages " in
5799 add_this_lang=unsupported
5803 case $add_this_lang in
5805 # Remove language-dependent dirs.
5806 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5809 # Remove language-dependent dirs; still show language as supported.
5810 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5811 potential_languages="${potential_languages}${language},"
5814 new_enable_languages="${new_enable_languages}${language},"
5815 potential_languages="${potential_languages}${language},"
5816 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
5817 case ${boot_language} in
5819 # Add to (comma-separated) list of stage 1 languages.
5820 stage1_languages="${stage1_languages}${language},"
5821 # We need to bootstrap any supporting libraries.
5822 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
5831 # Check whether --enable-stage1-languages was given.
5832 if test "${enable_stage1_languages+set}" = set; then :
5833 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
5835 # Set it to something that will have no effect in the loop below
5836 enable_stage1_languages=c ;;
5838 enable_stage1_languages=`echo $new_enable_languages | \
5839 sed -e "s/^,//" -e "s/,$//" ` ;;
5841 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
5842 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5845 # Add "good" languages from enable_stage1_languages to stage1_languages,
5846 # while "bad" languages go in missing_languages. Leave no duplicates.
5847 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5848 case $potential_languages in
5850 case $stage1_languages in
5852 *) stage1_languages="$stage1_languages$i," ;;
5855 case $missing_languages in
5857 *) missing_languages="$missing_languages$i," ;;
5864 # Remove leading/trailing commas that were added for simplicity
5865 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5866 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5867 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5868 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5870 if test "x$missing_languages" != x; then
5872 The following requested languages could not be built: ${missing_languages}
5873 Supported languages are: ${potential_languages}" "$LINENO" 5
5875 if test "x$new_enable_languages" != "x$enable_languages"; then
5876 echo The following languages will be built: ${new_enable_languages}
5877 enable_languages="$new_enable_languages"
5881 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5884 # Handle --disable-<component> generically.
5885 for dir in $configdirs $build_configdirs $target_configdirs ; do
5886 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5887 varname=`echo $dirname | sed -e s/+/_/g`
5888 if eval test x\${enable_${varname}} "=" xno ; then
5889 noconfigdirs="$noconfigdirs $dir"
5893 # Check for Boehm's garbage collector
5894 # Check whether --enable-objc-gc was given.
5895 if test "${enable_objc_gc+set}" = set; then :
5896 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5897 *,objc,*:*:yes:*target-boehm-gc*)
5898 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
5904 # Make sure we only build Boehm's garbage collector if required.
5905 case ,${enable_languages},:${enable_objc_gc} in
5907 # Keep target-boehm-gc if requested for Objective-C.
5910 # Otherwise remove target-boehm-gc depending on target-libjava.
5911 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
5912 noconfigdirs="$noconfigdirs target-boehm-gc"
5917 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5918 # $build_configdirs and $target_configdirs.
5919 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5922 for dir in . $skipdirs $noconfigdirs ; do
5923 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5924 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5925 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5926 if test -r $srcdir/$dirname/configure ; then
5927 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5930 notsupp="$notsupp $dir"
5934 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5935 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5936 if test -r $srcdir/$dirname/configure ; then
5937 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5940 notsupp="$notsupp $dir"
5944 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5945 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5946 if test -r $srcdir/$dirname/configure ; then
5947 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5950 notsupp="$notsupp $dir"
5956 # Sometimes the tools are distributed with libiberty but with no other
5957 # libraries. In that case, we don't want to build target-libiberty.
5958 # Don't let libgcc imply libiberty either.
5959 if test -n "${target_configdirs}" ; then
5962 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5963 if test "$i" = "libgcc"; then
5964 libgcc=target-libgcc
5965 elif test "$i" != "libiberty" ; then
5966 if test -r $srcdir/$i/configure ; then
5972 if test -z "${others}" ; then
5973 target_configdirs=$libgcc
5977 # Quietly strip out all directories which aren't configurable in this tree.
5978 # This relies on all configurable subdirectories being autoconfiscated, which
5980 build_configdirs_all="$build_configdirs"
5982 for i in ${build_configdirs_all} ; do
5983 j=`echo $i | sed -e s/build-//g`
5984 if test -f ${srcdir}/$j/configure ; then
5985 build_configdirs="${build_configdirs} $i"
5989 configdirs_all="$configdirs"
5991 for i in ${configdirs_all} ; do
5992 if test -f ${srcdir}/$i/configure ; then
5993 configdirs="${configdirs} $i"
5997 target_configdirs_all="$target_configdirs"
5999 for i in ${target_configdirs_all} ; do
6000 j=`echo $i | sed -e s/target-//g`
6001 if test -f ${srcdir}/$j/configure ; then
6002 target_configdirs="${target_configdirs} $i"
6006 # Produce a warning message for the subdirs we can't configure.
6007 # This isn't especially interesting in the Cygnus tree, but in the individual
6008 # FSF releases, it's important to let people know when their machine isn't
6009 # supported by the one or two programs in a package.
6011 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6012 # If $appdirs is non-empty, at least one of those directories must still
6013 # be configured, or we error out. (E.g., if the gas release supports a
6014 # specified target in some subdirs but not the gas subdir, we shouldn't
6015 # pretend that all is well.)
6016 if test -n "$appdirs" ; then
6017 for dir in $appdirs ; do
6018 if test -r $dir/Makefile.in ; then
6019 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6023 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6029 if test -n "$appdirs" ; then
6030 echo "*** This configuration is not supported by this package." 1>&2
6034 # Okay, some application will build, or we don't care to check. Still
6035 # notify of subdirs not getting built.
6036 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6037 echo " ${notsupp}" 1>&2
6038 echo " (Any other directories should still work fine.)" 1>&2
6046 # To find our prefix, in gcc_cv_tool_prefix.
6048 # The user is always right.
6049 if test "${PATH_SEPARATOR+set}" != set; then
6050 echo "#! /bin/sh" >conf$$.sh
6051 echo "exit 0" >>conf$$.sh
6053 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6063 if test "x$exec_prefix" = xNONE; then
6064 if test "x$prefix" = xNONE; then
6065 gcc_cv_tool_prefix=$ac_default_prefix
6067 gcc_cv_tool_prefix=$prefix
6070 gcc_cv_tool_prefix=$exec_prefix
6073 # If there is no compiler in the tree, use the PATH only. In any
6074 # case, if there is no compiler in the tree nobody should use
6075 # AS_FOR_TARGET and LD_FOR_TARGET.
6076 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6077 gcc_version=`cat $srcdir/gcc/BASE-VER`
6078 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6079 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6080 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6081 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6082 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6083 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6088 if test x$build = x$target && test -n "$md_exec_prefix"; then
6089 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6097 # Check whether --with-build-sysroot was given.
6098 if test "${with_build_sysroot+set}" = set; then :
6099 withval=$with_build_sysroot; if test x"$withval" != x ; then
6100 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6103 SYSROOT_CFLAGS_FOR_TARGET=
6109 # Check whether --with-debug-prefix-map was given.
6110 if test "${with_debug_prefix_map+set}" = set; then :
6111 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6112 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6113 for debug_map in $withval; do
6114 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6118 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6123 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6124 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6125 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6126 # We want to ensure that TARGET libraries (which we know are built with
6127 # gcc) are built with "-O2 -g", so include those options when setting
6128 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6129 if test "x$CFLAGS_FOR_TARGET" = x; then
6130 CFLAGS_FOR_TARGET=$CFLAGS
6133 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6136 *" -g "* | *" -g3 "*) ;;
6137 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6142 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6143 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6144 case " $CXXFLAGS " in
6146 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6148 case " $CXXFLAGS " in
6149 *" -g "* | *" -g3 "*) ;;
6150 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6155 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6156 # the named directory are copied to $(tooldir)/sys-include.
6157 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6158 if test x${is_cross_compiler} = xno ; then
6159 echo 1>&2 '***' --with-headers is only supported when cross compiling
6162 if test x"${with_headers}" != xyes ; then
6163 x=${gcc_cv_tool_prefix}
6164 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6168 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6169 # the name directories are copied to $(tooldir)/lib. Multiple directories
6171 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6172 if test x${is_cross_compiler} = xno ; then
6173 echo 1>&2 '***' --with-libs is only supported when cross compiling
6176 if test x"${with_libs}" != xyes ; then
6177 # Copy the libraries in reverse order, so that files in the first named
6178 # library override files in subsequent libraries.
6179 x=${gcc_cv_tool_prefix}
6180 for l in ${with_libs}; do
6181 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6186 # Set with_gnu_as and with_gnu_ld as appropriate.
6188 # This is done by determining whether or not the appropriate directory
6189 # is available, and by checking whether or not specific configurations
6190 # have requested that this magic not happen.
6192 # The command line options always override the explicit settings in
6193 # configure.in, and the settings in configure.in override this magic.
6195 # If the default for a toolchain is to use GNU as and ld, and you don't
6196 # want to do that, then you should use the --without-gnu-as and
6197 # --without-gnu-ld options for the configure script.
6199 if test x${use_gnu_as} = x &&
6200 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6202 extra_host_args="$extra_host_args --with-gnu-as"
6205 if test x${use_gnu_ld} = x &&
6206 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6208 extra_host_args="$extra_host_args --with-gnu-ld"
6211 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6212 # can detect this case.
6214 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6216 extra_host_args="$extra_host_args --with-newlib"
6219 # Handle ${copy_dirs}
6220 set fnord ${copy_dirs}
6222 while test $# != 0 ; do
6223 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6226 echo Copying $1 to $2
6228 # Use the install script to create the directory and all required
6229 # parent directories.
6230 if test -d $2 ; then
6234 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6237 # Copy the directory, assuming we have tar.
6238 # FIXME: Should we use B in the second tar? Not all systems support it.
6239 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6241 # It is the responsibility of the user to correctly adjust all
6242 # symlinks. If somebody can figure out how to handle them correctly
6243 # here, feel free to add the code.
6250 # Determine a target-dependent exec_prefix that the installed
6251 # gcc will search in. Keep this list sorted by triplet, with
6252 # the *-*-osname triplets last.
6256 md_exec_prefix=/gnu/lib/gcc-lib
6258 i[34567]86-pc-msdosdjgpp*)
6259 md_exec_prefix=/dev/env/DJDIR/bin
6261 i[34567]86-*-sco3.2v5*)
6262 if test $with_gnu_as = yes; then
6263 md_exec_prefix=/usr/gnu/bin
6265 md_exec_prefix=/usr/ccs/bin/elf
6270 powerpc-*-chorusos* | \
6271 powerpc*-*-eabi* | \
6272 powerpc*-*-sysv* | \
6273 powerpc*-*-kaos* | \
6275 md_exec_prefix=/usr/ccs/bin
6280 md_exec_prefix=/usr/ccs/bin
6295 md_exec_prefix=/usr/ccs/bin
6299 extra_arflags_for_target=
6300 extra_nmflags_for_target=
6301 extra_ranlibflags_for_target=
6302 target_makefile_frag=/dev/null
6305 target_makefile_frag="config/mt-mep"
6308 target_makefile_frag="config/mt-spu"
6311 target_makefile_frag="config/mt-sde"
6313 mipsisa*-*-elfoabi*)
6314 target_makefile_frag="config/mt-mips-elfoabi"
6316 mips*-*-*linux* | mips*-*-gnu*)
6317 target_makefile_frag="config/mt-mips-gnu"
6320 target_makefile_frag="config/mt-netware"
6322 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6323 target_makefile_frag="config/mt-gnu"
6325 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6326 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6327 # commands to handle both 32-bit and 64-bit objects. These flags are
6328 # harmless if we're using GNU nm or ar.
6329 extra_arflags_for_target=" -X32_64"
6330 extra_nmflags_for_target=" -B -X32_64"
6333 # ranlib from Darwin requires the -c flag to look at common symbols.
6334 extra_ranlibflags_for_target=" -c"
6336 mips*-*-pe | sh*-*-pe | *arm-wince-pe)
6337 target_makefile_frag="config/mt-wince"
6341 alphaieee_frag=/dev/null
6344 # This just makes sure to use the -mieee option to build target libs.
6345 # This should probably be set individually by each library.
6346 alphaieee_frag="config/mt-alphaieee"
6350 # If --enable-target-optspace always use -Os instead of -O2 to build
6351 # the target libraries, similarly if it is not specified, use -Os
6352 # on selected platforms.
6353 ospace_frag=/dev/null
6354 case "${enable_target_optspace}:${target}" in
6356 ospace_frag="config/mt-ospace"
6359 ospace_frag="config/mt-d30v"
6361 :m32r-* | :d10v-* | :fr30-*)
6362 ospace_frag="config/mt-ospace"
6367 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6371 # Default to using --with-stabs for certain targets.
6372 if test x${with_stabs} = x ; then
6376 mips*-*-* | alpha*-*-osf*)
6378 extra_host_args="${extra_host_args} --with-stabs"
6383 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6384 # them automatically.
6387 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6391 # Some systems (e.g., one of the i386-aix systems the gas testers are
6392 # using) don't handle "\$" correctly, so don't use it here.
6393 tooldir='${exec_prefix}'/${target_noncanonical}
6394 build_tooldir=${tooldir}
6396 # Create a .gdbinit file which runs the one in srcdir
6397 # and tells GDB to look there for source files.
6399 if test -r ${srcdir}/.gdbinit ; then
6402 *) cat > ./.gdbinit <<EOF
6406 source ${srcdir}/.gdbinit
6412 # Make sure that the compiler is able to generate an executable. If it
6413 # can't, we are probably in trouble. We don't care whether we can run the
6414 # executable--we might be using a cross compiler--we only care whether it
6415 # can be created. At this point the main configure script has set CC.
6417 echo "int main () { return 0; }" > conftest.c
6418 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6419 if test $? = 0 ; then
6420 if test -s conftest || test -s conftest.exe ; then
6426 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6427 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6434 # The Solaris /usr/ucb/cc compiler does not appear to work.
6436 sparc-sun-solaris2*)
6437 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
6438 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6440 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
6441 if test -d /opt/cygnus/bin ; then
6442 if test "$could_use" = "" ; then
6443 could_use="/opt/cygnus/bin"
6445 could_use="$could_use or /opt/cygnus/bin"
6448 if test "$could_use" = "" ; then
6449 echo "Warning: compilation may fail because you're using"
6450 echo "/usr/ucb/cc. You should change your PATH or CC "
6451 echo "variable and rerun configure."
6453 echo "Warning: compilation may fail because you're using"
6454 echo "/usr/ucb/cc, when you should use the C compiler from"
6455 echo "$could_use. You should change your"
6456 echo "PATH or CC variable and rerun configure."
6462 # Decide which environment variable is used to find dynamic libraries.
6464 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6465 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6466 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6467 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6470 # On systems where the dynamic library environment variable is PATH,
6471 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6472 # built executables to PATH.
6473 if test "$RPATH_ENVVAR" = PATH; then
6474 GCC_SHLIB_SUBDIR=/shlib
6479 # Record target_configdirs and the configure arguments for target and
6480 # build configuration in Makefile.
6481 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6482 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6484 # Determine whether gdb needs tk/tcl or not.
6485 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6486 # and in that case we want gdb to be built without tk. Ugh!
6487 # In fact I believe gdb is the *only* package directly dependent on tk,
6488 # so we should be able to put the 'maybe's in unconditionally and
6489 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6490 # 100% sure that that's safe though.
6492 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6493 case "$enable_gdbtk" in
6497 GDB_TK="${gdb_tk}" ;;
6499 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6500 # distro. Eventually someone will fix this and move Insight, nee
6501 # gdbtk to a separate directory.
6502 if test -d ${srcdir}/gdb/gdbtk ; then
6509 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6510 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6512 # Strip out unwanted targets.
6514 # While at that, we remove Makefiles if we were started for recursive
6515 # configuration, so that the top-level Makefile reconfigures them,
6516 # like we used to do when configure itself was recursive.
6518 # Loop over modules. $extrasub must be used with care, limiting as
6519 # much as possible the usage of range addresses. That's because autoconf
6520 # splits the sed script to overcome limits in the number of commands,
6521 # and relying on carefully-timed sed passes may turn out to be very hard
6522 # to maintain later. In this particular case, you just have to be careful
6523 # not to nest @if/@endif pairs, because configure will not warn you at all.
6525 # Check whether --enable-bootstrap was given.
6526 if test "${enable_bootstrap+set}" = set; then :
6527 enableval=$enable_bootstrap;
6529 enable_bootstrap=default
6533 # Issue errors and warnings for invalid/strange bootstrap combinations.
6534 case "$configdirs" in
6535 *gcc*) have_compiler=yes ;;
6536 *) have_compiler=no ;;
6539 case "$have_compiler:$host:$target:$enable_bootstrap" in
6542 # Default behavior. Enable bootstrap if we have a compiler
6543 # and we are in a native configuration.
6544 yes:$build:$build:default)
6545 enable_bootstrap=yes ;;
6548 enable_bootstrap=no ;;
6550 # We have a compiler and we are in a native configuration, bootstrap is ok
6551 yes:$build:$build:yes)
6554 # Other configurations, but we have a compiler. Assume the user knows
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6558 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6561 # No compiler: if they passed --enable-bootstrap explicitly, fail
6563 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
6565 # Fail if wrong command line
6567 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
6571 # Adjust the toplevel makefile according to whether bootstrap was selected.
6572 case "$enable_bootstrap" in
6574 bootstrap_suffix=bootstrap ;;
6576 bootstrap_suffix=no-bootstrap ;;
6579 for module in ${build_configdirs} ; do
6580 if test -z "${no_recursion}" \
6581 && test -f ${build_subdir}/${module}/Makefile; then
6582 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6583 rm -f ${build_subdir}/${module}/Makefile
6586 /^@if build-$module\$/d
6587 /^@endif build-$module\$/d
6588 /^@if build-$module-$bootstrap_suffix\$/d
6589 /^@endif build-$module-$bootstrap_suffix\$/d"
6591 for module in ${configdirs} ; do
6592 if test -z "${no_recursion}"; then
6593 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
6594 if test -f ${file}; then
6595 echo 1>&2 "*** removing ${file} to force reconfigure"
6602 /^@endif $module\$/d
6603 /^@if $module-$bootstrap_suffix\$/d
6604 /^@endif $module-$bootstrap_suffix\$/d"
6606 for module in ${target_configdirs} ; do
6607 if test -z "${no_recursion}" \
6608 && test -f ${target_subdir}/${module}/Makefile; then
6609 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6610 rm -f ${target_subdir}/${module}/Makefile
6613 # We only bootstrap target libraries listed in bootstrap_target_libs.
6614 case $bootstrap_target_libs in
6615 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
6616 *) target_bootstrap_suffix=no-bootstrap ;;
6620 /^@if target-$module\$/d
6621 /^@endif target-$module\$/d
6622 /^@if target-$module-$target_bootstrap_suffix\$/d
6623 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6627 /^@if /,/^@endif /d"
6629 # Create the serialization dependencies. This uses a temporary file.
6631 # Check whether --enable-serial-configure was given.
6632 if test "${enable_serial_configure+set}" = set; then :
6633 enableval=$enable_serial_configure;
6637 case ${enable_serial_configure} in
6639 enable_serial_build_configure=yes
6640 enable_serial_host_configure=yes
6641 enable_serial_target_configure=yes
6645 # These force 'configure's to be done one at a time, to avoid problems
6646 # with contention over a shared config.cache.
6648 echo '# serdep.tmp' > serdep.tmp
6650 test "x${enable_serial_build_configure}" = xyes &&
6651 for item in ${build_configdirs} ; do
6654 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
6659 test "x${enable_serial_host_configure}" = xyes &&
6660 for item in ${configdirs} ; do
6663 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
6668 test "x${enable_serial_target_configure}" = xyes &&
6669 for item in ${target_configdirs} ; do
6672 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
6676 serialization_dependencies=serdep.tmp
6679 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6680 # target, nonopt, and variable assignments. These are the ones we
6681 # might not want to pass down to subconfigures. Also strip
6682 # program-prefix, program-suffix, and program-transform-name, so that
6683 # we can pass down a consistent program-transform-name.
6687 eval "set -- $ac_configure_args"
6690 if test X"$skip_next" = X"yes"; then
6694 if test X"$keep_next" = X"yes"; then
6697 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6699 baseargs="$baseargs '$ac_arg'"
6704 # Handle separated arguments. Based on the logic generated by
6707 *=* | --config-cache | -C | -disable-* | --disable-* \
6708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
6709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
6710 | -with-* | --with-* | -without-* | --without-* | --x)
6736 -program-prefix* | \
6737 -program-suffix* | \
6738 -program-transform-name* )
6739 skip_next=$separate_arg
6743 # An option. Add it.
6746 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6748 baseargs="$baseargs '$ac_arg'"
6749 keep_next=$separate_arg
6752 # Either a variable assignment, or a nonopt (triplet). Don't
6753 # pass it down; let the Makefile handle this.
6758 # Remove the initial space we just introduced and, as these will be
6759 # expanded by make, quote '$'.
6760 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6762 # Add in --program-transform-name, after --program-prefix and
6763 # --program-suffix have been applied to it. Autoconf has already
6764 # doubled dollar signs and backslashes in program_transform_name; we want
6765 # the backslashes un-doubled, and then the entire thing wrapped in single
6766 # quotes, because this will be expanded first by make and then by the shell.
6767 # Also, because we want to override the logic in subdir configure scripts to
6768 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6769 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6770 ${program_transform_name}
6772 gcc_transform_name=`cat conftestsed.out`
6773 rm -f conftestsed.out
6774 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
6775 if test "$silent" = yes; then
6776 baseargs="$baseargs --silent"
6778 baseargs="$baseargs --disable-option-checking"
6780 # For the build-side libraries, we just need to pretend we're native,
6781 # and not use the same cache file. Multilibs are neither needed nor
6783 build_configargs="--cache-file=../config.cache ${baseargs}"
6785 # For host modules, accept cache file option, or specification as blank.
6786 case "${cache_file}" in
6788 cache_file_option="" ;;
6789 /* | [A-Za-z]:[\\/]* ) # absolute path
6790 cache_file_option="--cache-file=${cache_file}" ;;
6792 cache_file_option="--cache-file=../${cache_file}" ;;
6795 # Host dirs don't like to share a cache file either, horribly enough.
6796 # This seems to be due to autoconf 2.5x stupidity.
6797 host_configargs="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6799 target_configargs=${baseargs}
6801 # Passing a --with-cross-host argument lets the target libraries know
6802 # whether they are being built with a cross-compiler or being built
6803 # native. However, it would be better to use other mechanisms to make the
6804 # sorts of decisions they want to make on this basis. Please consider
6805 # this option to be deprecated. FIXME.
6806 if test x${is_cross_compiler} = xyes ; then
6807 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
6810 # Default to --enable-multilib.
6811 if test x${enable_multilib} = x ; then
6812 target_configargs="--enable-multilib ${target_configargs}"
6815 # Pass --with-newlib if appropriate. Note that target_configdirs has
6816 # changed from the earlier setting of with_newlib.
6817 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
6818 target_configargs="--with-newlib ${target_configargs}"
6821 # Different target subdirs use different values of certain variables
6822 # (notably CXX). Worse, multilibs use *lots* of different values.
6823 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6824 # it doesn't automatically accept command-line overrides of them.
6825 # This means it's not safe for target subdirs to share a cache file,
6826 # which is disgusting, but there you have it. Hopefully this can be
6827 # fixed in future. It's still worthwhile to use a cache file for each
6828 # directory. I think.
6830 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6831 # We need to pass --target, as newer autoconf's requires consistency
6832 # for target_alias and gcc doesn't manage it consistently.
6833 target_configargs="--cache-file=./config.cache ${target_configargs}"
6836 case " $target_configdirs " in
6838 case " $target_configargs " in
6839 *" --with-newlib "*)
6842 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
6845 # If we're not building GCC, don't discard standard headers.
6846 if test -d ${srcdir}/gcc; then
6847 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
6849 if test "${build}" != "${host}"; then
6850 # On Canadian crosses, CC_FOR_TARGET will have already been set
6851 # by `configure', so we won't have an opportunity to add -Bgcc/
6852 # to it. This is right: we don't want to search that directory
6853 # for binaries, but we want the header files in there, so add
6855 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6857 # Someone might think of using the pre-installed headers on
6858 # Canadian crosses, in case the installed compiler is not fully
6859 # compatible with the compiler being built. In this case, it
6860 # would be better to flag an error than risking having
6861 # incompatible object files being constructed. We can't
6862 # guarantee that an error will be flagged, but let's hope the
6863 # compiler will do it, when presented with incompatible header
6868 case "${target}-${is_cross_compiler}" in
6869 i[3456789]86-*-linux*-no)
6870 # Here host == target, so we don't need to build gcc,
6871 # so we don't want to discard standard headers.
6872 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6875 # If we're building newlib, use its generic headers last, but search
6876 # for any libc-related directories first (so make it the last -B
6878 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6880 # If we're building libgloss, find the startup file, simulator library
6881 # and linker script.
6882 case " $target_configdirs " in
6884 # Look for startup file, simulator library and maybe linker script.
6885 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6886 # Look for libnosys.a in case the target needs it.
6887 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6888 # Most targets have the linker script in the source directory.
6889 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6900 # Can't be handled as Cygwin above since Mingw does not use newlib.
6901 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' ;;
6904 # Allow the user to override the flags for
6905 # our build compiler if desired.
6906 if test x"${build}" = x"${host}" ; then
6907 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
6908 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6909 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6912 # On Canadian crosses, we'll be searching the right directories for
6913 # the previously-installed cross compiler, so don't bother to add
6914 # flags for directories within the install tree of the compiler
6915 # being built; programs in there won't even run.
6916 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6917 # Search for pre-installed headers if nothing else fits.
6918 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6921 if test "x${use_gnu_ld}" = x &&
6922 echo " ${configdirs} " | grep " ld " > /dev/null ; then
6923 # Arrange for us to find uninstalled linker scripts.
6924 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6927 # Search for other target-specific linker scripts and such.
6930 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6934 # Makefile fragments.
6935 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6937 eval fragval=\$$frag
6938 if test $fragval != /dev/null; then
6939 eval $frag=${srcdir}/$fragval
6947 # Miscellanea: directories, flags, etc.
6956 # Build module lists & subconfigure args.
6960 # Host module lists & subconfigure args.
6964 # Target module lists & subconfigure args.
6986 # Generate default definitions for YACC, M4, LEX and other programs that run
6987 # on the build machine. These are used if the Makefile can't locate these
6988 # programs in objdir.
6989 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6991 for ac_prog in 'bison -y' byacc yacc
6993 # Extract the first word of "$ac_prog", so it can be a program name with args.
6994 set dummy $ac_prog; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if test "${ac_cv_prog_YACC+set}" = set; then :
6998 $as_echo_n "(cached) " >&6
7000 if test -n "$YACC"; then
7001 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010 ac_cv_prog_YACC="$ac_prog"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 YACC=$ac_cv_prog_YACC
7021 if test -n "$YACC"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7023 $as_echo "$YACC" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7030 test -n "$YACC" && break
7032 test -n "$YACC" || YACC="$MISSING bison -y"
7034 case " $build_configdirs " in
7035 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7036 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7039 for ac_prog in bison
7041 # Extract the first word of "$ac_prog", so it can be a program name with args.
7042 set dummy $ac_prog; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if test "${ac_cv_prog_BISON+set}" = set; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$BISON"; then
7049 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7058 ac_cv_prog_BISON="$ac_prog"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 BISON=$ac_cv_prog_BISON
7069 if test -n "$BISON"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7071 $as_echo "$BISON" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7078 test -n "$BISON" && break
7080 test -n "$BISON" || BISON="$MISSING bison"
7082 case " $build_configdirs " in
7083 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7086 for ac_prog in gm4 gnum4 m4
7088 # Extract the first word of "$ac_prog", so it can be a program name with args.
7089 set dummy $ac_prog; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if test "${ac_cv_prog_M4+set}" = set; then :
7093 $as_echo_n "(cached) " >&6
7095 if test -n "$M4"; then
7096 ac_cv_prog_M4="$M4" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_M4="$ac_prog"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 if test -n "$M4"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7118 $as_echo "$M4" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7125 test -n "$M4" && break
7127 test -n "$M4" || M4="$MISSING m4"
7129 case " $build_configdirs " in
7130 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7133 for ac_prog in flex lex
7135 # Extract the first word of "$ac_prog", so it can be a program name with args.
7136 set dummy $ac_prog; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if test "${ac_cv_prog_LEX+set}" = set; then :
7140 $as_echo_n "(cached) " >&6
7142 if test -n "$LEX"; then
7143 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_LEX="$ac_prog"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 if test -n "$LEX"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7165 $as_echo "$LEX" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7172 test -n "$LEX" && break
7174 test -n "$LEX" || LEX="$MISSING flex"
7176 case " $build_configdirs " in
7177 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7178 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7183 # Extract the first word of "$ac_prog", so it can be a program name with args.
7184 set dummy $ac_prog; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if test "${ac_cv_prog_FLEX+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$FLEX"; then
7191 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 ac_cv_prog_FLEX="$ac_prog"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 FLEX=$ac_cv_prog_FLEX
7211 if test -n "$FLEX"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7213 $as_echo "$FLEX" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7220 test -n "$FLEX" && break
7222 test -n "$FLEX" || FLEX="$MISSING flex"
7224 case " $build_configdirs " in
7225 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7228 for ac_prog in makeinfo
7230 # Extract the first word of "$ac_prog", so it can be a program name with args.
7231 set dummy $ac_prog; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7235 $as_echo_n "(cached) " >&6
7237 if test -n "$MAKEINFO"; then
7238 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 ac_cv_prog_MAKEINFO="$ac_prog"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257 MAKEINFO=$ac_cv_prog_MAKEINFO
7258 if test -n "$MAKEINFO"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7260 $as_echo "$MAKEINFO" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7267 test -n "$MAKEINFO" && break
7269 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7271 case " $build_configdirs " in
7272 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7275 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7276 # higher, else we use the "missing" dummy.
7277 if ${MAKEINFO} --version \
7278 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7281 MAKEINFO="$MISSING makeinfo"
7287 # FIXME: expect and dejagnu may become build tools?
7289 for ac_prog in expect
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy $ac_prog; ac_word=$2
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 $as_echo_n "checking for $ac_word... " >&6; }
7295 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7296 $as_echo_n "(cached) " >&6
7298 if test -n "$EXPECT"; then
7299 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 test -z "$as_dir" && as_dir=.
7306 for ac_exec_ext in '' $ac_executable_extensions; do
7307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7308 ac_cv_prog_EXPECT="$ac_prog"
7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 EXPECT=$ac_cv_prog_EXPECT
7319 if test -n "$EXPECT"; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7321 $as_echo "$EXPECT" >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7328 test -n "$EXPECT" && break
7330 test -n "$EXPECT" || EXPECT="expect"
7332 case " $configdirs " in
7334 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7338 for ac_prog in runtest
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$RUNTEST"; then
7348 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7357 ac_cv_prog_RUNTEST="$ac_prog"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 RUNTEST=$ac_cv_prog_RUNTEST
7368 if test -n "$RUNTEST"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7370 $as_echo "$RUNTEST" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7377 test -n "$RUNTEST" && break
7379 test -n "$RUNTEST" || RUNTEST="runtest"
7381 case " $configdirs " in
7383 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7390 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7391 ncn_target_tool_prefix=
7392 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7396 if test -n "$AR"; then
7398 elif test -n "$ac_cv_prog_AR"; then
7402 if test -n "$ac_cv_prog_AR"; then
7403 for ncn_progname in ar; do
7404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7405 set dummy ${ncn_progname}; ac_word=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if test "${ac_cv_prog_AR+set}" = set; then :
7409 $as_echo_n "(cached) " >&6
7411 if test -n "$AR"; then
7412 ac_cv_prog_AR="$AR" # Let the user override the test.
7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir=.
7419 for ac_exec_ext in '' $ac_executable_extensions; do
7420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7421 ac_cv_prog_AR="${ncn_progname}"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 if test -n "$AR"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7434 $as_echo "$AR" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7444 for ncn_progname in ar; do
7445 if test -n "$ncn_tool_prefix"; then
7446 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7447 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if test "${ac_cv_prog_AR+set}" = set; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n "$AR"; then
7454 ac_cv_prog_AR="$AR" # Let the user override the test.
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir=.
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7463 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 if test -n "$AR"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7476 $as_echo "$AR" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7484 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7485 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7486 set dummy ${ncn_progname}; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if test "${ac_cv_prog_AR+set}" = set; then :
7490 $as_echo_n "(cached) " >&6
7492 if test -n "$AR"; then
7493 ac_cv_prog_AR="$AR" # Let the user override the test.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7502 ac_cv_prog_AR="${ncn_progname}"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 if test -n "$AR"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7515 $as_echo "$AR" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7523 test -n "$ac_cv_prog_AR" && break
7526 if test -z "$ac_cv_prog_AR" ; then
7528 if test $build = $host ; then
7531 AR="${ncn_tool_prefix}$2"
7537 if test -n "$AS"; then
7539 elif test -n "$ac_cv_prog_AS"; then
7543 if test -n "$ac_cv_prog_AS"; then
7544 for ncn_progname in as; do
7545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7546 set dummy ${ncn_progname}; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_AS+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$AS"; then
7553 ac_cv_prog_AS="$AS" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_AS="${ncn_progname}"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 if test -n "$AS"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7575 $as_echo "$AS" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7585 for ncn_progname in as; do
7586 if test -n "$ncn_tool_prefix"; then
7587 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7588 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if test "${ac_cv_prog_AS+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$AS"; then
7595 ac_cv_prog_AS="$AS" # Let the user override the test.
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 if test -n "$AS"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7617 $as_echo "$AS" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7627 set dummy ${ncn_progname}; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if test "${ac_cv_prog_AS+set}" = set; then :
7631 $as_echo_n "(cached) " >&6
7633 if test -n "$AS"; then
7634 ac_cv_prog_AS="$AS" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_AS="${ncn_progname}"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654 if test -n "$AS"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7656 $as_echo "$AS" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7664 test -n "$ac_cv_prog_AS" && break
7667 if test -z "$ac_cv_prog_AS" ; then
7669 if test $build = $host ; then
7672 AS="${ncn_tool_prefix}$2"
7678 if test -n "$DLLTOOL"; then
7679 ac_cv_prog_DLLTOOL=$DLLTOOL
7680 elif test -n "$ac_cv_prog_DLLTOOL"; then
7681 DLLTOOL=$ac_cv_prog_DLLTOOL
7684 if test -n "$ac_cv_prog_DLLTOOL"; then
7685 for ncn_progname in dlltool; do
7686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7687 set dummy ${ncn_progname}; ac_word=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689 $as_echo_n "checking for $ac_word... " >&6; }
7690 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7691 $as_echo_n "(cached) " >&6
7693 if test -n "$DLLTOOL"; then
7694 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir=.
7701 for ac_exec_ext in '' $ac_executable_extensions; do
7702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703 ac_cv_prog_DLLTOOL="${ncn_progname}"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713 DLLTOOL=$ac_cv_prog_DLLTOOL
7714 if test -n "$DLLTOOL"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7716 $as_echo "$DLLTOOL" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7726 for ncn_progname in dlltool; do
7727 if test -n "$ncn_tool_prefix"; then
7728 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7729 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$DLLTOOL"; then
7736 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7745 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 DLLTOOL=$ac_cv_prog_DLLTOOL
7756 if test -n "$DLLTOOL"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7758 $as_echo "$DLLTOOL" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7766 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7768 set dummy ${ncn_progname}; ac_word=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770 $as_echo_n "checking for $ac_word... " >&6; }
7771 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7774 if test -n "$DLLTOOL"; then
7775 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7784 ac_cv_prog_DLLTOOL="${ncn_progname}"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7794 DLLTOOL=$ac_cv_prog_DLLTOOL
7795 if test -n "$DLLTOOL"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7797 $as_echo "$DLLTOOL" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7805 test -n "$ac_cv_prog_DLLTOOL" && break
7808 if test -z "$ac_cv_prog_DLLTOOL" ; then
7810 if test $build = $host ; then
7813 DLLTOOL="${ncn_tool_prefix}$2"
7819 if test -n "$LD"; then
7821 elif test -n "$ac_cv_prog_LD"; then
7825 if test -n "$ac_cv_prog_LD"; then
7826 for ncn_progname in ld; do
7827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7828 set dummy ${ncn_progname}; ac_word=$2
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7830 $as_echo_n "checking for $ac_word... " >&6; }
7831 if test "${ac_cv_prog_LD+set}" = set; then :
7832 $as_echo_n "(cached) " >&6
7834 if test -n "$LD"; then
7835 ac_cv_prog_LD="$LD" # Let the user override the test.
7837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841 test -z "$as_dir" && as_dir=.
7842 for ac_exec_ext in '' $ac_executable_extensions; do
7843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7844 ac_cv_prog_LD="${ncn_progname}"
7845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 if test -n "$LD"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7857 $as_echo "$LD" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860 $as_echo "no" >&6; }
7867 for ncn_progname in ld; do
7868 if test -n "$ncn_tool_prefix"; then
7869 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7870 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if test "${ac_cv_prog_LD+set}" = set; then :
7874 $as_echo_n "(cached) " >&6
7876 if test -n "$LD"; then
7877 ac_cv_prog_LD="$LD" # Let the user override the test.
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7886 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 if test -n "$LD"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7899 $as_echo "$LD" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7907 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7908 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7909 set dummy ${ncn_progname}; ac_word=$2
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 $as_echo_n "checking for $ac_word... " >&6; }
7912 if test "${ac_cv_prog_LD+set}" = set; then :
7913 $as_echo_n "(cached) " >&6
7915 if test -n "$LD"; then
7916 ac_cv_prog_LD="$LD" # Let the user override the test.
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir=.
7923 for ac_exec_ext in '' $ac_executable_extensions; do
7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7925 ac_cv_prog_LD="${ncn_progname}"
7926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 if test -n "$LD"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7938 $as_echo "$LD" >&6; }
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7946 test -n "$ac_cv_prog_LD" && break
7949 if test -z "$ac_cv_prog_LD" ; then
7951 if test $build = $host ; then
7954 LD="${ncn_tool_prefix}$2"
7960 if test -n "$LIPO"; then
7961 ac_cv_prog_LIPO=$LIPO
7962 elif test -n "$ac_cv_prog_LIPO"; then
7963 LIPO=$ac_cv_prog_LIPO
7966 if test -n "$ac_cv_prog_LIPO"; then
7967 for ncn_progname in lipo; do
7968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7969 set dummy ${ncn_progname}; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if test "${ac_cv_prog_LIPO+set}" = set; then :
7973 $as_echo_n "(cached) " >&6
7975 if test -n "$LIPO"; then
7976 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7985 ac_cv_prog_LIPO="${ncn_progname}"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 LIPO=$ac_cv_prog_LIPO
7996 if test -n "$LIPO"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7998 $as_echo "$LIPO" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8008 for ncn_progname in lipo; do
8009 if test -n "$ncn_tool_prefix"; then
8010 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8011 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if test "${ac_cv_prog_LIPO+set}" = set; then :
8015 $as_echo_n "(cached) " >&6
8017 if test -n "$LIPO"; then
8018 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8027 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 LIPO=$ac_cv_prog_LIPO
8038 if test -n "$LIPO"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8040 $as_echo "$LIPO" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8049 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8050 set dummy ${ncn_progname}; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if test "${ac_cv_prog_LIPO+set}" = set; then :
8054 $as_echo_n "(cached) " >&6
8056 if test -n "$LIPO"; then
8057 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8066 ac_cv_prog_LIPO="${ncn_progname}"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8076 LIPO=$ac_cv_prog_LIPO
8077 if test -n "$LIPO"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8079 $as_echo "$LIPO" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8087 test -n "$ac_cv_prog_LIPO" && break
8090 if test -z "$ac_cv_prog_LIPO" ; then
8092 if test $build = $host ; then
8095 LIPO="${ncn_tool_prefix}$2"
8101 if test -n "$NM"; then
8103 elif test -n "$ac_cv_prog_NM"; then
8107 if test -n "$ac_cv_prog_NM"; then
8108 for ncn_progname in nm; do
8109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8110 set dummy ${ncn_progname}; ac_word=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8112 $as_echo_n "checking for $ac_word... " >&6; }
8113 if test "${ac_cv_prog_NM+set}" = set; then :
8114 $as_echo_n "(cached) " >&6
8116 if test -n "$NM"; then
8117 ac_cv_prog_NM="$NM" # Let the user override the test.
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8126 ac_cv_prog_NM="${ncn_progname}"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8137 if test -n "$NM"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8139 $as_echo "$NM" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8149 for ncn_progname in nm; do
8150 if test -n "$ncn_tool_prefix"; then
8151 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8152 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if test "${ac_cv_prog_NM+set}" = set; then :
8156 $as_echo_n "(cached) " >&6
8158 if test -n "$NM"; then
8159 ac_cv_prog_NM="$NM" # Let the user override the test.
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8168 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 if test -n "$NM"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8181 $as_echo "$NM" >&6; }
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8189 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8191 set dummy ${ncn_progname}; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if test "${ac_cv_prog_NM+set}" = set; then :
8195 $as_echo_n "(cached) " >&6
8197 if test -n "$NM"; then
8198 ac_cv_prog_NM="$NM" # Let the user override the test.
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8207 ac_cv_prog_NM="${ncn_progname}"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 if test -n "$NM"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8220 $as_echo "$NM" >&6; }
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8228 test -n "$ac_cv_prog_NM" && break
8231 if test -z "$ac_cv_prog_NM" ; then
8233 if test $build = $host ; then
8236 NM="${ncn_tool_prefix}$2"
8242 if test -n "$RANLIB"; then
8243 ac_cv_prog_RANLIB=$RANLIB
8244 elif test -n "$ac_cv_prog_RANLIB"; then
8245 RANLIB=$ac_cv_prog_RANLIB
8248 if test -n "$ac_cv_prog_RANLIB"; then
8249 for ncn_progname in ranlib; do
8250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8251 set dummy ${ncn_progname}; ac_word=$2
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8253 $as_echo_n "checking for $ac_word... " >&6; }
8254 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8255 $as_echo_n "(cached) " >&6
8257 if test -n "$RANLIB"; then
8258 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 test -z "$as_dir" && as_dir=.
8265 for ac_exec_ext in '' $ac_executable_extensions; do
8266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8267 ac_cv_prog_RANLIB="${ncn_progname}"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8277 RANLIB=$ac_cv_prog_RANLIB
8278 if test -n "$RANLIB"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8280 $as_echo "$RANLIB" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 $as_echo "no" >&6; }
8290 for ncn_progname in ranlib; do
8291 if test -n "$ncn_tool_prefix"; then
8292 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8293 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8295 $as_echo_n "checking for $ac_word... " >&6; }
8296 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8297 $as_echo_n "(cached) " >&6
8299 if test -n "$RANLIB"; then
8300 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306 test -z "$as_dir" && as_dir=.
8307 for ac_exec_ext in '' $ac_executable_extensions; do
8308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8309 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8319 RANLIB=$ac_cv_prog_RANLIB
8320 if test -n "$RANLIB"; then
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8322 $as_echo "$RANLIB" >&6; }
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 $as_echo "no" >&6; }
8330 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8331 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8332 set dummy ${ncn_progname}; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8336 $as_echo_n "(cached) " >&6
8338 if test -n "$RANLIB"; then
8339 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348 ac_cv_prog_RANLIB="${ncn_progname}"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 RANLIB=$ac_cv_prog_RANLIB
8359 if test -n "$RANLIB"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8361 $as_echo "$RANLIB" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8369 test -n "$ac_cv_prog_RANLIB" && break
8372 if test -z "$ac_cv_prog_RANLIB" ; then
8378 if test -n "$STRIP"; then
8379 ac_cv_prog_STRIP=$STRIP
8380 elif test -n "$ac_cv_prog_STRIP"; then
8381 STRIP=$ac_cv_prog_STRIP
8384 if test -n "$ac_cv_prog_STRIP"; then
8385 for ncn_progname in strip; do
8386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8387 set dummy ${ncn_progname}; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if test "${ac_cv_prog_STRIP+set}" = set; then :
8391 $as_echo_n "(cached) " >&6
8393 if test -n "$STRIP"; then
8394 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_prog_STRIP="${ncn_progname}"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 STRIP=$ac_cv_prog_STRIP
8414 if test -n "$STRIP"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8416 $as_echo "$STRIP" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8426 for ncn_progname in strip; do
8427 if test -n "$ncn_tool_prefix"; then
8428 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8429 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if test "${ac_cv_prog_STRIP+set}" = set; then :
8433 $as_echo_n "(cached) " >&6
8435 if test -n "$STRIP"; then
8436 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8445 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8455 STRIP=$ac_cv_prog_STRIP
8456 if test -n "$STRIP"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8458 $as_echo "$STRIP" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8466 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8468 set dummy ${ncn_progname}; ac_word=$2
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8470 $as_echo_n "checking for $ac_word... " >&6; }
8471 if test "${ac_cv_prog_STRIP+set}" = set; then :
8472 $as_echo_n "(cached) " >&6
8474 if test -n "$STRIP"; then
8475 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8481 test -z "$as_dir" && as_dir=.
8482 for ac_exec_ext in '' $ac_executable_extensions; do
8483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8484 ac_cv_prog_STRIP="${ncn_progname}"
8485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8494 STRIP=$ac_cv_prog_STRIP
8495 if test -n "$STRIP"; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8497 $as_echo "$STRIP" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8500 $as_echo "no" >&6; }
8505 test -n "$ac_cv_prog_STRIP" && break
8508 if test -z "$ac_cv_prog_STRIP" ; then
8514 if test -n "$WINDRES"; then
8515 ac_cv_prog_WINDRES=$WINDRES
8516 elif test -n "$ac_cv_prog_WINDRES"; then
8517 WINDRES=$ac_cv_prog_WINDRES
8520 if test -n "$ac_cv_prog_WINDRES"; then
8521 for ncn_progname in windres; do
8522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8523 set dummy ${ncn_progname}; ac_word=$2
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8525 $as_echo_n "checking for $ac_word... " >&6; }
8526 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8527 $as_echo_n "(cached) " >&6
8529 if test -n "$WINDRES"; then
8530 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536 test -z "$as_dir" && as_dir=.
8537 for ac_exec_ext in '' $ac_executable_extensions; do
8538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8539 ac_cv_prog_WINDRES="${ncn_progname}"
8540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8549 WINDRES=$ac_cv_prog_WINDRES
8550 if test -n "$WINDRES"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8552 $as_echo "$WINDRES" >&6; }
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555 $as_echo "no" >&6; }
8562 for ncn_progname in windres; do
8563 if test -n "$ncn_tool_prefix"; then
8564 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8565 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8567 $as_echo_n "checking for $ac_word... " >&6; }
8568 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8569 $as_echo_n "(cached) " >&6
8571 if test -n "$WINDRES"; then
8572 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 test -z "$as_dir" && as_dir=.
8579 for ac_exec_ext in '' $ac_executable_extensions; do
8580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8581 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8591 WINDRES=$ac_cv_prog_WINDRES
8592 if test -n "$WINDRES"; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8594 $as_echo "$WINDRES" >&6; }
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8597 $as_echo "no" >&6; }
8602 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8603 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8604 set dummy ${ncn_progname}; ac_word=$2
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8606 $as_echo_n "checking for $ac_word... " >&6; }
8607 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8608 $as_echo_n "(cached) " >&6
8610 if test -n "$WINDRES"; then
8611 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8617 test -z "$as_dir" && as_dir=.
8618 for ac_exec_ext in '' $ac_executable_extensions; do
8619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8620 ac_cv_prog_WINDRES="${ncn_progname}"
8621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 WINDRES=$ac_cv_prog_WINDRES
8631 if test -n "$WINDRES"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8633 $as_echo "$WINDRES" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636 $as_echo "no" >&6; }
8641 test -n "$ac_cv_prog_WINDRES" && break
8644 if test -z "$ac_cv_prog_WINDRES" ; then
8646 if test $build = $host ; then
8649 WINDRES="${ncn_tool_prefix}$2"
8655 if test -n "$WINDMC"; then
8656 ac_cv_prog_WINDMC=$WINDMC
8657 elif test -n "$ac_cv_prog_WINDMC"; then
8658 WINDMC=$ac_cv_prog_WINDMC
8661 if test -n "$ac_cv_prog_WINDMC"; then
8662 for ncn_progname in windmc; do
8663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8664 set dummy ${ncn_progname}; ac_word=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8666 $as_echo_n "checking for $ac_word... " >&6; }
8667 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8668 $as_echo_n "(cached) " >&6
8670 if test -n "$WINDMC"; then
8671 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8680 ac_cv_prog_WINDMC="${ncn_progname}"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8690 WINDMC=$ac_cv_prog_WINDMC
8691 if test -n "$WINDMC"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
8693 $as_echo "$WINDMC" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8696 $as_echo "no" >&6; }
8703 for ncn_progname in windmc; do
8704 if test -n "$ncn_tool_prefix"; then
8705 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8706 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8708 $as_echo_n "checking for $ac_word... " >&6; }
8709 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8710 $as_echo_n "(cached) " >&6
8712 if test -n "$WINDMC"; then
8713 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8719 test -z "$as_dir" && as_dir=.
8720 for ac_exec_ext in '' $ac_executable_extensions; do
8721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8722 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732 WINDMC=$ac_cv_prog_WINDMC
8733 if test -n "$WINDMC"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
8735 $as_echo "$WINDMC" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8743 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8745 set dummy ${ncn_progname}; ac_word=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8747 $as_echo_n "checking for $ac_word... " >&6; }
8748 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8749 $as_echo_n "(cached) " >&6
8751 if test -n "$WINDMC"; then
8752 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8761 ac_cv_prog_WINDMC="${ncn_progname}"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 WINDMC=$ac_cv_prog_WINDMC
8772 if test -n "$WINDMC"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
8774 $as_echo "$WINDMC" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8782 test -n "$ac_cv_prog_WINDMC" && break
8785 if test -z "$ac_cv_prog_WINDMC" ; then
8787 if test $build = $host ; then
8790 WINDMC="${ncn_tool_prefix}$2"
8796 if test -n "$OBJCOPY"; then
8797 ac_cv_prog_OBJCOPY=$OBJCOPY
8798 elif test -n "$ac_cv_prog_OBJCOPY"; then
8799 OBJCOPY=$ac_cv_prog_OBJCOPY
8802 if test -n "$ac_cv_prog_OBJCOPY"; then
8803 for ncn_progname in objcopy; do
8804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8805 set dummy ${ncn_progname}; ac_word=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8807 $as_echo_n "checking for $ac_word... " >&6; }
8808 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8809 $as_echo_n "(cached) " >&6
8811 if test -n "$OBJCOPY"; then
8812 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_prog_OBJCOPY="${ncn_progname}"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8831 OBJCOPY=$ac_cv_prog_OBJCOPY
8832 if test -n "$OBJCOPY"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
8834 $as_echo "$OBJCOPY" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8837 $as_echo "no" >&6; }
8844 for ncn_progname in objcopy; do
8845 if test -n "$ncn_tool_prefix"; then
8846 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8847 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8849 $as_echo_n "checking for $ac_word... " >&6; }
8850 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8851 $as_echo_n "(cached) " >&6
8853 if test -n "$OBJCOPY"; then
8854 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir=.
8861 for ac_exec_ext in '' $ac_executable_extensions; do
8862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8863 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8873 OBJCOPY=$ac_cv_prog_OBJCOPY
8874 if test -n "$OBJCOPY"; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
8876 $as_echo "$OBJCOPY" >&6; }
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8884 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8885 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8886 set dummy ${ncn_progname}; ac_word=$2
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8888 $as_echo_n "checking for $ac_word... " >&6; }
8889 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8890 $as_echo_n "(cached) " >&6
8892 if test -n "$OBJCOPY"; then
8893 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8902 ac_cv_prog_OBJCOPY="${ncn_progname}"
8903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8912 OBJCOPY=$ac_cv_prog_OBJCOPY
8913 if test -n "$OBJCOPY"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
8915 $as_echo "$OBJCOPY" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8918 $as_echo "no" >&6; }
8923 test -n "$ac_cv_prog_OBJCOPY" && break
8926 if test -z "$ac_cv_prog_OBJCOPY" ; then
8928 if test $build = $host ; then
8931 OBJCOPY="${ncn_tool_prefix}$2"
8937 if test -n "$OBJDUMP"; then
8938 ac_cv_prog_OBJDUMP=$OBJDUMP
8939 elif test -n "$ac_cv_prog_OBJDUMP"; then
8940 OBJDUMP=$ac_cv_prog_OBJDUMP
8943 if test -n "$ac_cv_prog_OBJDUMP"; then
8944 for ncn_progname in objdump; do
8945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8946 set dummy ${ncn_progname}; ac_word=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8948 $as_echo_n "checking for $ac_word... " >&6; }
8949 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8950 $as_echo_n "(cached) " >&6
8952 if test -n "$OBJDUMP"; then
8953 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8962 ac_cv_prog_OBJDUMP="${ncn_progname}"
8963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8972 OBJDUMP=$ac_cv_prog_OBJDUMP
8973 if test -n "$OBJDUMP"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8975 $as_echo "$OBJDUMP" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8978 $as_echo "no" >&6; }
8985 for ncn_progname in objdump; do
8986 if test -n "$ncn_tool_prefix"; then
8987 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8988 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8990 $as_echo_n "checking for $ac_word... " >&6; }
8991 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8992 $as_echo_n "(cached) " >&6
8994 if test -n "$OBJDUMP"; then
8995 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9001 test -z "$as_dir" && as_dir=.
9002 for ac_exec_ext in '' $ac_executable_extensions; do
9003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9004 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9014 OBJDUMP=$ac_cv_prog_OBJDUMP
9015 if test -n "$OBJDUMP"; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9017 $as_echo "$OBJDUMP" >&6; }
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9025 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9027 set dummy ${ncn_progname}; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9031 $as_echo_n "(cached) " >&6
9033 if test -n "$OBJDUMP"; then
9034 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9043 ac_cv_prog_OBJDUMP="${ncn_progname}"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9053 OBJDUMP=$ac_cv_prog_OBJDUMP
9054 if test -n "$OBJDUMP"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9056 $as_echo "$OBJDUMP" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9064 test -n "$ac_cv_prog_OBJDUMP" && break
9067 if test -z "$ac_cv_prog_OBJDUMP" ; then
9069 if test $build = $host ; then
9072 OBJDUMP="${ncn_tool_prefix}$2"
9083 # Check whether --with-build-time-tools was given.
9084 if test "${with_build_time_tools+set}" = set; then :
9085 withval=$with_build_time_tools; case x"$withval" in
9088 with_build_time_tools=
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9090 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9094 with_build_time_tools=
9100 if test -n "$CC_FOR_TARGET"; then
9101 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9102 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9103 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9106 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9107 for ncn_progname in cc gcc; do
9108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9109 set dummy ${ncn_progname}; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9111 $as_echo_n "checking for $ac_word... " >&6; }
9112 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9113 $as_echo_n "(cached) " >&6
9115 if test -n "$CC_FOR_TARGET"; then
9116 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9122 test -z "$as_dir" && as_dir=.
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9125 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9135 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9136 if test -n "$CC_FOR_TARGET"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9138 $as_echo "$CC_FOR_TARGET" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141 $as_echo "no" >&6; }
9148 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9149 for ncn_progname in cc gcc; do
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9151 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9152 if test -x $with_build_time_tools/${ncn_progname}; then
9153 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9155 $as_echo "yes" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9159 $as_echo "no" >&6; }
9164 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9165 for ncn_progname in cc gcc; do
9166 if test -n "$ncn_target_tool_prefix"; then
9167 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9168 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170 $as_echo_n "checking for $ac_word... " >&6; }
9171 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9172 $as_echo_n "(cached) " >&6
9174 if test -n "$CC_FOR_TARGET"; then
9175 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181 test -z "$as_dir" && as_dir=.
9182 for ac_exec_ext in '' $ac_executable_extensions; do
9183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9184 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9194 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9195 if test -n "$CC_FOR_TARGET"; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9197 $as_echo "$CC_FOR_TARGET" >&6; }
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200 $as_echo "no" >&6; }
9205 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9207 set dummy ${ncn_progname}; ac_word=$2
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 $as_echo_n "checking for $ac_word... " >&6; }
9210 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9211 $as_echo_n "(cached) " >&6
9213 if test -n "$CC_FOR_TARGET"; then
9214 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir=.
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9233 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9234 if test -n "$CC_FOR_TARGET"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9236 $as_echo "$CC_FOR_TARGET" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 $as_echo "no" >&6; }
9244 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9248 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9250 if test $build = $target ; then
9253 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9256 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9261 if test -n "$CXX_FOR_TARGET"; then
9262 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9263 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9264 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9267 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9268 for ncn_progname in c++ g++ cxx gxx; do
9269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9270 set dummy ${ncn_progname}; ac_word=$2
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9272 $as_echo_n "checking for $ac_word... " >&6; }
9273 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9274 $as_echo_n "(cached) " >&6
9276 if test -n "$CXX_FOR_TARGET"; then
9277 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9283 test -z "$as_dir" && as_dir=.
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9286 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9296 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9297 if test -n "$CXX_FOR_TARGET"; then
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9299 $as_echo "$CXX_FOR_TARGET" >&6; }
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9302 $as_echo "no" >&6; }
9309 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9310 for ncn_progname in c++ g++ cxx gxx; do
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9312 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9313 if test -x $with_build_time_tools/${ncn_progname}; then
9314 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9316 $as_echo "yes" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9320 $as_echo "no" >&6; }
9325 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9326 for ncn_progname in c++ g++ cxx gxx; do
9327 if test -n "$ncn_target_tool_prefix"; then
9328 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9329 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9331 $as_echo_n "checking for $ac_word... " >&6; }
9332 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9333 $as_echo_n "(cached) " >&6
9335 if test -n "$CXX_FOR_TARGET"; then
9336 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9342 test -z "$as_dir" && as_dir=.
9343 for ac_exec_ext in '' $ac_executable_extensions; do
9344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9345 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9355 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9356 if test -n "$CXX_FOR_TARGET"; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9358 $as_echo "$CXX_FOR_TARGET" >&6; }
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 $as_echo "no" >&6; }
9366 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9368 set dummy ${ncn_progname}; ac_word=$2
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9370 $as_echo_n "checking for $ac_word... " >&6; }
9371 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9372 $as_echo_n "(cached) " >&6
9374 if test -n "$CXX_FOR_TARGET"; then
9375 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9381 test -z "$as_dir" && as_dir=.
9382 for ac_exec_ext in '' $ac_executable_extensions; do
9383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9384 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9394 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9395 if test -n "$CXX_FOR_TARGET"; then
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9397 $as_echo "$CXX_FOR_TARGET" >&6; }
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 $as_echo "no" >&6; }
9405 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9409 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9410 set dummy c++ g++ cxx gxx
9411 if test $build = $target ; then
9414 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9417 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9422 if test -n "$GCC_FOR_TARGET"; then
9423 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9424 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9425 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9428 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9429 for ncn_progname in gcc; do
9430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9431 set dummy ${ncn_progname}; ac_word=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9433 $as_echo_n "checking for $ac_word... " >&6; }
9434 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9435 $as_echo_n "(cached) " >&6
9437 if test -n "$GCC_FOR_TARGET"; then
9438 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9444 test -z "$as_dir" && as_dir=.
9445 for ac_exec_ext in '' $ac_executable_extensions; do
9446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9447 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9457 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9458 if test -n "$GCC_FOR_TARGET"; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9460 $as_echo "$GCC_FOR_TARGET" >&6; }
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9463 $as_echo "no" >&6; }
9470 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9471 for ncn_progname in gcc; do
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9473 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9474 if test -x $with_build_time_tools/${ncn_progname}; then
9475 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9477 $as_echo "yes" >&6; }
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9481 $as_echo "no" >&6; }
9486 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9487 for ncn_progname in gcc; do
9488 if test -n "$ncn_target_tool_prefix"; then
9489 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9490 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9494 $as_echo_n "(cached) " >&6
9496 if test -n "$GCC_FOR_TARGET"; then
9497 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9516 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9517 if test -n "$GCC_FOR_TARGET"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9519 $as_echo "$GCC_FOR_TARGET" >&6; }
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9522 $as_echo "no" >&6; }
9527 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9529 set dummy ${ncn_progname}; ac_word=$2
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9531 $as_echo_n "checking for $ac_word... " >&6; }
9532 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9533 $as_echo_n "(cached) " >&6
9535 if test -n "$GCC_FOR_TARGET"; then
9536 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9542 test -z "$as_dir" && as_dir=.
9543 for ac_exec_ext in '' $ac_executable_extensions; do
9544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9545 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9555 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9556 if test -n "$GCC_FOR_TARGET"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9558 $as_echo "$GCC_FOR_TARGET" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9566 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9570 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9571 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9573 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9578 if test -n "$GCJ_FOR_TARGET"; then
9579 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9580 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9581 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9584 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9585 for ncn_progname in gcj; do
9586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9587 set dummy ${ncn_progname}; ac_word=$2
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9589 $as_echo_n "checking for $ac_word... " >&6; }
9590 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9591 $as_echo_n "(cached) " >&6
9593 if test -n "$GCJ_FOR_TARGET"; then
9594 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9600 test -z "$as_dir" && as_dir=.
9601 for ac_exec_ext in '' $ac_executable_extensions; do
9602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9603 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9613 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9614 if test -n "$GCJ_FOR_TARGET"; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
9616 $as_echo "$GCJ_FOR_TARGET" >&6; }
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9619 $as_echo "no" >&6; }
9626 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9627 for ncn_progname in gcj; do
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9629 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9630 if test -x $with_build_time_tools/${ncn_progname}; then
9631 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9633 $as_echo "yes" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9637 $as_echo "no" >&6; }
9642 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9643 for ncn_progname in gcj; do
9644 if test -n "$ncn_target_tool_prefix"; then
9645 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9646 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 $as_echo_n "checking for $ac_word... " >&6; }
9649 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9650 $as_echo_n "(cached) " >&6
9652 if test -n "$GCJ_FOR_TARGET"; then
9653 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9659 test -z "$as_dir" && as_dir=.
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9662 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9672 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9673 if test -n "$GCJ_FOR_TARGET"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
9675 $as_echo "$GCJ_FOR_TARGET" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9683 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9685 set dummy ${ncn_progname}; ac_word=$2
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9687 $as_echo_n "checking for $ac_word... " >&6; }
9688 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9689 $as_echo_n "(cached) " >&6
9691 if test -n "$GCJ_FOR_TARGET"; then
9692 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 test -z "$as_dir" && as_dir=.
9699 for ac_exec_ext in '' $ac_executable_extensions; do
9700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9701 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9711 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9712 if test -n "$GCJ_FOR_TARGET"; then
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
9714 $as_echo "$GCJ_FOR_TARGET" >&6; }
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9717 $as_echo "no" >&6; }
9722 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9726 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9728 if test $build = $target ; then
9731 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9734 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9739 if test -n "$GFORTRAN_FOR_TARGET"; then
9740 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9741 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9742 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9745 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9746 for ncn_progname in gfortran; do
9747 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9748 set dummy ${ncn_progname}; ac_word=$2
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9750 $as_echo_n "checking for $ac_word... " >&6; }
9751 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9752 $as_echo_n "(cached) " >&6
9754 if test -n "$GFORTRAN_FOR_TARGET"; then
9755 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9761 test -z "$as_dir" && as_dir=.
9762 for ac_exec_ext in '' $ac_executable_extensions; do
9763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9764 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9774 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9775 if test -n "$GFORTRAN_FOR_TARGET"; then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
9777 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9780 $as_echo "no" >&6; }
9787 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9788 for ncn_progname in gfortran; do
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9790 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9791 if test -x $with_build_time_tools/${ncn_progname}; then
9792 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9794 $as_echo "yes" >&6; }
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9798 $as_echo "no" >&6; }
9803 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9804 for ncn_progname in gfortran; do
9805 if test -n "$ncn_target_tool_prefix"; then
9806 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9807 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9809 $as_echo_n "checking for $ac_word... " >&6; }
9810 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9811 $as_echo_n "(cached) " >&6
9813 if test -n "$GFORTRAN_FOR_TARGET"; then
9814 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9820 test -z "$as_dir" && as_dir=.
9821 for ac_exec_ext in '' $ac_executable_extensions; do
9822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9823 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9833 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9834 if test -n "$GFORTRAN_FOR_TARGET"; then
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
9836 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9839 $as_echo "no" >&6; }
9844 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9845 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9846 set dummy ${ncn_progname}; ac_word=$2
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9848 $as_echo_n "checking for $ac_word... " >&6; }
9849 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9850 $as_echo_n "(cached) " >&6
9852 if test -n "$GFORTRAN_FOR_TARGET"; then
9853 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9859 test -z "$as_dir" && as_dir=.
9860 for ac_exec_ext in '' $ac_executable_extensions; do
9861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9862 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9872 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9873 if test -n "$GFORTRAN_FOR_TARGET"; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
9875 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9878 $as_echo "no" >&6; }
9883 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9887 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9889 if test $build = $target ; then
9890 GFORTRAN_FOR_TARGET="$2"
9892 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9895 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9900 cat > conftest.c << \EOF
9905 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9906 have_gcc_for_target=yes
9908 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9909 have_gcc_for_target=no
9916 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9917 if test -n "$with_build_time_tools"; then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
9919 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
9920 if test -x $with_build_time_tools/ar; then
9921 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9922 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
9924 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9927 $as_echo "no" >&6; }
9929 elif test $build != $host && test $have_gcc_for_target = yes; then
9930 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9931 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9932 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9935 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9936 # Extract the first word of "ar", so it can be a program name with args.
9937 set dummy ar; ac_word=$2
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9939 $as_echo_n "checking for $ac_word... " >&6; }
9940 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
9941 $as_echo_n "(cached) " >&6
9943 case $AR_FOR_TARGET in
9945 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 for as_dir in $gcc_cv_tool_dirs
9952 test -z "$as_dir" && as_dir=.
9953 for ac_exec_ext in '' $ac_executable_extensions; do
9954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9955 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9967 if test -n "$AR_FOR_TARGET"; then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
9969 $as_echo "$AR_FOR_TARGET" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9972 $as_echo "no" >&6; }
9977 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9980 if test -n "$AR_FOR_TARGET"; then
9981 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9982 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9983 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9986 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9987 for ncn_progname in ar; do
9988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9989 set dummy ${ncn_progname}; ac_word=$2
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9991 $as_echo_n "checking for $ac_word... " >&6; }
9992 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9993 $as_echo_n "(cached) " >&6
9995 if test -n "$AR_FOR_TARGET"; then
9996 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 test -z "$as_dir" && as_dir=.
10003 for ac_exec_ext in '' $ac_executable_extensions; do
10004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10005 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10015 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10016 if test -n "$AR_FOR_TARGET"; then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10018 $as_echo "$AR_FOR_TARGET" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10021 $as_echo "no" >&6; }
10028 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10029 for ncn_progname in ar; do
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10031 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10032 if test -x $with_build_time_tools/${ncn_progname}; then
10033 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10035 $as_echo "yes" >&6; }
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10039 $as_echo "no" >&6; }
10044 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10045 for ncn_progname in ar; do
10046 if test -n "$ncn_target_tool_prefix"; then
10047 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10048 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10050 $as_echo_n "checking for $ac_word... " >&6; }
10051 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10052 $as_echo_n "(cached) " >&6
10054 if test -n "$AR_FOR_TARGET"; then
10055 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058 for as_dir in $PATH
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10064 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10074 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10075 if test -n "$AR_FOR_TARGET"; then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10077 $as_echo "$AR_FOR_TARGET" >&6; }
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10080 $as_echo "no" >&6; }
10085 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10087 set dummy ${ncn_progname}; ac_word=$2
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10089 $as_echo_n "checking for $ac_word... " >&6; }
10090 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10091 $as_echo_n "(cached) " >&6
10093 if test -n "$AR_FOR_TARGET"; then
10094 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10097 for as_dir in $PATH
10100 test -z "$as_dir" && as_dir=.
10101 for ac_exec_ext in '' $ac_executable_extensions; do
10102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10103 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10114 if test -n "$AR_FOR_TARGET"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10116 $as_echo "$AR_FOR_TARGET" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10119 $as_echo "no" >&6; }
10124 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10128 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10130 if test $build = $target ; then
10133 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10136 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10140 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10146 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10147 if test -n "$with_build_time_tools"; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10149 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10150 if test -x $with_build_time_tools/as; then
10151 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10152 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10154 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10157 $as_echo "no" >&6; }
10159 elif test $build != $host && test $have_gcc_for_target = yes; then
10160 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10161 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10162 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10165 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10166 # Extract the first word of "as", so it can be a program name with args.
10167 set dummy as; ac_word=$2
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10169 $as_echo_n "checking for $ac_word... " >&6; }
10170 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10171 $as_echo_n "(cached) " >&6
10173 case $AS_FOR_TARGET in
10175 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $gcc_cv_tool_dirs
10182 test -z "$as_dir" && as_dir=.
10183 for ac_exec_ext in '' $ac_executable_extensions; do
10184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10185 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10197 if test -n "$AS_FOR_TARGET"; then
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10199 $as_echo "$AS_FOR_TARGET" >&6; }
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10207 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10210 if test -n "$AS_FOR_TARGET"; then
10211 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10212 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10213 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10216 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10217 for ncn_progname in as; do
10218 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10219 set dummy ${ncn_progname}; ac_word=$2
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10221 $as_echo_n "checking for $ac_word... " >&6; }
10222 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10223 $as_echo_n "(cached) " >&6
10225 if test -n "$AS_FOR_TARGET"; then
10226 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10229 for as_dir in $PATH
10232 test -z "$as_dir" && as_dir=.
10233 for ac_exec_ext in '' $ac_executable_extensions; do
10234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10235 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10245 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10246 if test -n "$AS_FOR_TARGET"; then
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10248 $as_echo "$AS_FOR_TARGET" >&6; }
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10251 $as_echo "no" >&6; }
10258 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10259 for ncn_progname in as; do
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10261 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10262 if test -x $with_build_time_tools/${ncn_progname}; then
10263 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10265 $as_echo "yes" >&6; }
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10269 $as_echo "no" >&6; }
10274 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10275 for ncn_progname in as; do
10276 if test -n "$ncn_target_tool_prefix"; then
10277 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10278 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10280 $as_echo_n "checking for $ac_word... " >&6; }
10281 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10282 $as_echo_n "(cached) " >&6
10284 if test -n "$AS_FOR_TARGET"; then
10285 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10288 for as_dir in $PATH
10291 test -z "$as_dir" && as_dir=.
10292 for ac_exec_ext in '' $ac_executable_extensions; do
10293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10294 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10304 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10305 if test -n "$AS_FOR_TARGET"; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10307 $as_echo "$AS_FOR_TARGET" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10310 $as_echo "no" >&6; }
10315 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10317 set dummy ${ncn_progname}; ac_word=$2
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10319 $as_echo_n "checking for $ac_word... " >&6; }
10320 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10321 $as_echo_n "(cached) " >&6
10323 if test -n "$AS_FOR_TARGET"; then
10324 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10327 for as_dir in $PATH
10330 test -z "$as_dir" && as_dir=.
10331 for ac_exec_ext in '' $ac_executable_extensions; do
10332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10333 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10343 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10344 if test -n "$AS_FOR_TARGET"; then
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10346 $as_echo "$AS_FOR_TARGET" >&6; }
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 $as_echo "no" >&6; }
10354 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10358 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10360 if test $build = $target ; then
10363 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10366 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10370 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10376 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10377 if test -n "$with_build_time_tools"; then
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
10379 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
10380 if test -x $with_build_time_tools/dlltool; then
10381 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10382 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10384 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10387 $as_echo "no" >&6; }
10389 elif test $build != $host && test $have_gcc_for_target = yes; then
10390 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10391 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10392 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10395 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10396 # Extract the first word of "dlltool", so it can be a program name with args.
10397 set dummy dlltool; ac_word=$2
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10399 $as_echo_n "checking for $ac_word... " >&6; }
10400 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10401 $as_echo_n "(cached) " >&6
10403 case $DLLTOOL_FOR_TARGET in
10405 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $gcc_cv_tool_dirs
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10415 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10426 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10427 if test -n "$DLLTOOL_FOR_TARGET"; then
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10429 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10432 $as_echo "no" >&6; }
10437 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10440 if test -n "$DLLTOOL_FOR_TARGET"; then
10441 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10442 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10443 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10446 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10447 for ncn_progname in dlltool; do
10448 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10449 set dummy ${ncn_progname}; ac_word=$2
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10451 $as_echo_n "checking for $ac_word... " >&6; }
10452 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10453 $as_echo_n "(cached) " >&6
10455 if test -n "$DLLTOOL_FOR_TARGET"; then
10456 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10459 for as_dir in $PATH
10462 test -z "$as_dir" && as_dir=.
10463 for ac_exec_ext in '' $ac_executable_extensions; do
10464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10465 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10476 if test -n "$DLLTOOL_FOR_TARGET"; then
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10478 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10481 $as_echo "no" >&6; }
10488 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10489 for ncn_progname in dlltool; do
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10491 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10492 if test -x $with_build_time_tools/${ncn_progname}; then
10493 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10495 $as_echo "yes" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10499 $as_echo "no" >&6; }
10504 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10505 for ncn_progname in dlltool; do
10506 if test -n "$ncn_target_tool_prefix"; then
10507 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10508 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10510 $as_echo_n "checking for $ac_word... " >&6; }
10511 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10512 $as_echo_n "(cached) " >&6
10514 if test -n "$DLLTOOL_FOR_TARGET"; then
10515 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10521 test -z "$as_dir" && as_dir=.
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10524 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10534 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10535 if test -n "$DLLTOOL_FOR_TARGET"; then
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10537 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10540 $as_echo "no" >&6; }
10545 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10546 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10547 set dummy ${ncn_progname}; ac_word=$2
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10549 $as_echo_n "checking for $ac_word... " >&6; }
10550 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10551 $as_echo_n "(cached) " >&6
10553 if test -n "$DLLTOOL_FOR_TARGET"; then
10554 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10557 for as_dir in $PATH
10560 test -z "$as_dir" && as_dir=.
10561 for ac_exec_ext in '' $ac_executable_extensions; do
10562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10563 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10573 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10574 if test -n "$DLLTOOL_FOR_TARGET"; then
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10576 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10579 $as_echo "no" >&6; }
10584 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10588 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10590 if test $build = $target ; then
10591 DLLTOOL_FOR_TARGET="$2"
10593 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10596 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10600 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10606 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10607 if test -n "$with_build_time_tools"; then
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
10609 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
10610 if test -x $with_build_time_tools/ld; then
10611 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10612 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
10614 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10617 $as_echo "no" >&6; }
10619 elif test $build != $host && test $have_gcc_for_target = yes; then
10620 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10621 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10622 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10625 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10626 # Extract the first word of "ld", so it can be a program name with args.
10627 set dummy ld; ac_word=$2
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10629 $as_echo_n "checking for $ac_word... " >&6; }
10630 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
10631 $as_echo_n "(cached) " >&6
10633 case $LD_FOR_TARGET in
10635 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10639 for as_dir in $gcc_cv_tool_dirs
10642 test -z "$as_dir" && as_dir=.
10643 for ac_exec_ext in '' $ac_executable_extensions; do
10644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10645 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10656 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10657 if test -n "$LD_FOR_TARGET"; then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10659 $as_echo "$LD_FOR_TARGET" >&6; }
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10662 $as_echo "no" >&6; }
10667 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10670 if test -n "$LD_FOR_TARGET"; then
10671 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10672 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10673 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10676 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10677 for ncn_progname in ld; do
10678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10679 set dummy ${ncn_progname}; ac_word=$2
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10681 $as_echo_n "checking for $ac_word... " >&6; }
10682 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10683 $as_echo_n "(cached) " >&6
10685 if test -n "$LD_FOR_TARGET"; then
10686 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10689 for as_dir in $PATH
10692 test -z "$as_dir" && as_dir=.
10693 for ac_exec_ext in '' $ac_executable_extensions; do
10694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10695 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10705 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10706 if test -n "$LD_FOR_TARGET"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10708 $as_echo "$LD_FOR_TARGET" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10711 $as_echo "no" >&6; }
10718 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10719 for ncn_progname in ld; do
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10721 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10722 if test -x $with_build_time_tools/${ncn_progname}; then
10723 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10725 $as_echo "yes" >&6; }
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10729 $as_echo "no" >&6; }
10734 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10735 for ncn_progname in ld; do
10736 if test -n "$ncn_target_tool_prefix"; then
10737 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10738 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10740 $as_echo_n "checking for $ac_word... " >&6; }
10741 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10742 $as_echo_n "(cached) " >&6
10744 if test -n "$LD_FOR_TARGET"; then
10745 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10748 for as_dir in $PATH
10751 test -z "$as_dir" && as_dir=.
10752 for ac_exec_ext in '' $ac_executable_extensions; do
10753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10754 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10765 if test -n "$LD_FOR_TARGET"; then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10767 $as_echo "$LD_FOR_TARGET" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 $as_echo "no" >&6; }
10775 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10777 set dummy ${ncn_progname}; ac_word=$2
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10779 $as_echo_n "checking for $ac_word... " >&6; }
10780 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10781 $as_echo_n "(cached) " >&6
10783 if test -n "$LD_FOR_TARGET"; then
10784 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10787 for as_dir in $PATH
10790 test -z "$as_dir" && as_dir=.
10791 for ac_exec_ext in '' $ac_executable_extensions; do
10792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10793 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10803 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10804 if test -n "$LD_FOR_TARGET"; then
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10806 $as_echo "$LD_FOR_TARGET" >&6; }
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10809 $as_echo "no" >&6; }
10814 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10818 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10820 if test $build = $target ; then
10823 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10826 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10830 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10836 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10837 if test -n "$with_build_time_tools"; then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
10839 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
10840 if test -x $with_build_time_tools/lipo; then
10841 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10842 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
10844 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10847 $as_echo "no" >&6; }
10849 elif test $build != $host && test $have_gcc_for_target = yes; then
10850 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10851 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10852 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10855 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10856 # Extract the first word of "lipo", so it can be a program name with args.
10857 set dummy lipo; ac_word=$2
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10859 $as_echo_n "checking for $ac_word... " >&6; }
10860 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
10861 $as_echo_n "(cached) " >&6
10863 case $LIPO_FOR_TARGET in
10865 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869 for as_dir in $gcc_cv_tool_dirs
10872 test -z "$as_dir" && as_dir=.
10873 for ac_exec_ext in '' $ac_executable_extensions; do
10874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10875 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10886 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10887 if test -n "$LIPO_FOR_TARGET"; then
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10889 $as_echo "$LIPO_FOR_TARGET" >&6; }
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10892 $as_echo "no" >&6; }
10897 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10900 if test -n "$LIPO_FOR_TARGET"; then
10901 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10902 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10903 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10906 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10907 for ncn_progname in lipo; do
10908 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10909 set dummy ${ncn_progname}; ac_word=$2
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10911 $as_echo_n "checking for $ac_word... " >&6; }
10912 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10913 $as_echo_n "(cached) " >&6
10915 if test -n "$LIPO_FOR_TARGET"; then
10916 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10925 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10935 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10936 if test -n "$LIPO_FOR_TARGET"; then
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10938 $as_echo "$LIPO_FOR_TARGET" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10941 $as_echo "no" >&6; }
10948 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10949 for ncn_progname in lipo; do
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10951 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10952 if test -x $with_build_time_tools/${ncn_progname}; then
10953 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10955 $as_echo "yes" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10959 $as_echo "no" >&6; }
10964 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10965 for ncn_progname in lipo; do
10966 if test -n "$ncn_target_tool_prefix"; then
10967 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10968 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10970 $as_echo_n "checking for $ac_word... " >&6; }
10971 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10972 $as_echo_n "(cached) " >&6
10974 if test -n "$LIPO_FOR_TARGET"; then
10975 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in $PATH
10981 test -z "$as_dir" && as_dir=.
10982 for ac_exec_ext in '' $ac_executable_extensions; do
10983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10984 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10994 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10995 if test -n "$LIPO_FOR_TARGET"; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10997 $as_echo "$LIPO_FOR_TARGET" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11000 $as_echo "no" >&6; }
11005 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11006 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11007 set dummy ${ncn_progname}; ac_word=$2
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11009 $as_echo_n "checking for $ac_word... " >&6; }
11010 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11011 $as_echo_n "(cached) " >&6
11013 if test -n "$LIPO_FOR_TARGET"; then
11014 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11017 for as_dir in $PATH
11020 test -z "$as_dir" && as_dir=.
11021 for ac_exec_ext in '' $ac_executable_extensions; do
11022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11023 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11033 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11034 if test -n "$LIPO_FOR_TARGET"; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11036 $as_echo "$LIPO_FOR_TARGET" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11039 $as_echo "no" >&6; }
11044 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11048 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11050 if test $build = $target ; then
11051 LIPO_FOR_TARGET="$2"
11053 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11056 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11060 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11066 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11067 if test -n "$with_build_time_tools"; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
11069 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
11070 if test -x $with_build_time_tools/nm; then
11071 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11072 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
11074 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11077 $as_echo "no" >&6; }
11079 elif test $build != $host && test $have_gcc_for_target = yes; then
11080 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11081 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11082 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11085 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11086 # Extract the first word of "nm", so it can be a program name with args.
11087 set dummy nm; ac_word=$2
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11089 $as_echo_n "checking for $ac_word... " >&6; }
11090 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11093 case $NM_FOR_TARGET in
11095 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $gcc_cv_tool_dirs
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11105 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11116 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11117 if test -n "$NM_FOR_TARGET"; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11119 $as_echo "$NM_FOR_TARGET" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11122 $as_echo "no" >&6; }
11127 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11130 if test -n "$NM_FOR_TARGET"; then
11131 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11132 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11133 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11136 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11137 for ncn_progname in nm; do
11138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11139 set dummy ${ncn_progname}; ac_word=$2
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11141 $as_echo_n "checking for $ac_word... " >&6; }
11142 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11143 $as_echo_n "(cached) " >&6
11145 if test -n "$NM_FOR_TARGET"; then
11146 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11149 for as_dir in $PATH
11152 test -z "$as_dir" && as_dir=.
11153 for ac_exec_ext in '' $ac_executable_extensions; do
11154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11155 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11166 if test -n "$NM_FOR_TARGET"; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11168 $as_echo "$NM_FOR_TARGET" >&6; }
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11171 $as_echo "no" >&6; }
11178 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11179 for ncn_progname in nm; do
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11181 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11182 if test -x $with_build_time_tools/${ncn_progname}; then
11183 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11185 $as_echo "yes" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11189 $as_echo "no" >&6; }
11194 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11195 for ncn_progname in nm; do
11196 if test -n "$ncn_target_tool_prefix"; then
11197 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11198 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11200 $as_echo_n "checking for $ac_word... " >&6; }
11201 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11202 $as_echo_n "(cached) " >&6
11204 if test -n "$NM_FOR_TARGET"; then
11205 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11208 for as_dir in $PATH
11211 test -z "$as_dir" && as_dir=.
11212 for ac_exec_ext in '' $ac_executable_extensions; do
11213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11214 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11224 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11225 if test -n "$NM_FOR_TARGET"; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11227 $as_echo "$NM_FOR_TARGET" >&6; }
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11230 $as_echo "no" >&6; }
11235 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11237 set dummy ${ncn_progname}; ac_word=$2
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11239 $as_echo_n "checking for $ac_word... " >&6; }
11240 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11241 $as_echo_n "(cached) " >&6
11243 if test -n "$NM_FOR_TARGET"; then
11244 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11247 for as_dir in $PATH
11250 test -z "$as_dir" && as_dir=.
11251 for ac_exec_ext in '' $ac_executable_extensions; do
11252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11253 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11263 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11264 if test -n "$NM_FOR_TARGET"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11266 $as_echo "$NM_FOR_TARGET" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11269 $as_echo "no" >&6; }
11274 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11278 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11280 if test $build = $target ; then
11283 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11286 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11290 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11296 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11297 if test -n "$with_build_time_tools"; then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
11299 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
11300 if test -x $with_build_time_tools/objdump; then
11301 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11302 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11304 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11307 $as_echo "no" >&6; }
11309 elif test $build != $host && test $have_gcc_for_target = yes; then
11310 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11311 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11312 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11315 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11316 # Extract the first word of "objdump", so it can be a program name with args.
11317 set dummy objdump; ac_word=$2
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11319 $as_echo_n "checking for $ac_word... " >&6; }
11320 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11323 case $OBJDUMP_FOR_TARGET in
11325 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11329 for as_dir in $gcc_cv_tool_dirs
11332 test -z "$as_dir" && as_dir=.
11333 for ac_exec_ext in '' $ac_executable_extensions; do
11334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11335 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11346 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11347 if test -n "$OBJDUMP_FOR_TARGET"; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11349 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11352 $as_echo "no" >&6; }
11357 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11360 if test -n "$OBJDUMP_FOR_TARGET"; then
11361 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11362 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11363 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11366 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11367 for ncn_progname in objdump; do
11368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11369 set dummy ${ncn_progname}; ac_word=$2
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11371 $as_echo_n "checking for $ac_word... " >&6; }
11372 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11373 $as_echo_n "(cached) " >&6
11375 if test -n "$OBJDUMP_FOR_TARGET"; then
11376 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11379 for as_dir in $PATH
11382 test -z "$as_dir" && as_dir=.
11383 for ac_exec_ext in '' $ac_executable_extensions; do
11384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11385 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11395 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11396 if test -n "$OBJDUMP_FOR_TARGET"; then
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11398 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11401 $as_echo "no" >&6; }
11408 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11409 for ncn_progname in objdump; do
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11411 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11412 if test -x $with_build_time_tools/${ncn_progname}; then
11413 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11415 $as_echo "yes" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11419 $as_echo "no" >&6; }
11424 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11425 for ncn_progname in objdump; do
11426 if test -n "$ncn_target_tool_prefix"; then
11427 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11428 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11430 $as_echo_n "checking for $ac_word... " >&6; }
11431 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11432 $as_echo_n "(cached) " >&6
11434 if test -n "$OBJDUMP_FOR_TARGET"; then
11435 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11438 for as_dir in $PATH
11441 test -z "$as_dir" && as_dir=.
11442 for ac_exec_ext in '' $ac_executable_extensions; do
11443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11444 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11455 if test -n "$OBJDUMP_FOR_TARGET"; then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11457 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11460 $as_echo "no" >&6; }
11465 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11467 set dummy ${ncn_progname}; ac_word=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11473 if test -n "$OBJDUMP_FOR_TARGET"; then
11474 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11477 for as_dir in $PATH
11480 test -z "$as_dir" && as_dir=.
11481 for ac_exec_ext in '' $ac_executable_extensions; do
11482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11483 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11493 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11494 if test -n "$OBJDUMP_FOR_TARGET"; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11496 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11499 $as_echo "no" >&6; }
11504 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11508 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11510 if test $build = $target ; then
11511 OBJDUMP_FOR_TARGET="$2"
11513 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11516 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11520 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11526 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11527 if test -n "$with_build_time_tools"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
11529 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
11530 if test -x $with_build_time_tools/ranlib; then
11531 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11532 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11534 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537 $as_echo "no" >&6; }
11539 elif test $build != $host && test $have_gcc_for_target = yes; then
11540 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11541 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11542 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11545 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11546 # Extract the first word of "ranlib", so it can be a program name with args.
11547 set dummy ranlib; ac_word=$2
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11549 $as_echo_n "checking for $ac_word... " >&6; }
11550 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
11551 $as_echo_n "(cached) " >&6
11553 case $RANLIB_FOR_TARGET in
11555 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11559 for as_dir in $gcc_cv_tool_dirs
11562 test -z "$as_dir" && as_dir=.
11563 for ac_exec_ext in '' $ac_executable_extensions; do
11564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11565 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11576 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11577 if test -n "$RANLIB_FOR_TARGET"; then
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11579 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11582 $as_echo "no" >&6; }
11587 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11590 if test -n "$RANLIB_FOR_TARGET"; then
11591 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11592 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11593 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11596 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11597 for ncn_progname in ranlib; do
11598 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11599 set dummy ${ncn_progname}; ac_word=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 $as_echo_n "checking for $ac_word... " >&6; }
11602 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11603 $as_echo_n "(cached) " >&6
11605 if test -n "$RANLIB_FOR_TARGET"; then
11606 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11609 for as_dir in $PATH
11612 test -z "$as_dir" && as_dir=.
11613 for ac_exec_ext in '' $ac_executable_extensions; do
11614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11615 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11625 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11626 if test -n "$RANLIB_FOR_TARGET"; then
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11628 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11638 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11639 for ncn_progname in ranlib; do
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11641 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11642 if test -x $with_build_time_tools/${ncn_progname}; then
11643 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11645 $as_echo "yes" >&6; }
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11649 $as_echo "no" >&6; }
11654 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11655 for ncn_progname in ranlib; do
11656 if test -n "$ncn_target_tool_prefix"; then
11657 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11658 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11660 $as_echo_n "checking for $ac_word... " >&6; }
11661 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11662 $as_echo_n "(cached) " >&6
11664 if test -n "$RANLIB_FOR_TARGET"; then
11665 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11671 test -z "$as_dir" && as_dir=.
11672 for ac_exec_ext in '' $ac_executable_extensions; do
11673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11674 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11684 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11685 if test -n "$RANLIB_FOR_TARGET"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11687 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11695 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11696 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11697 set dummy ${ncn_progname}; ac_word=$2
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11699 $as_echo_n "checking for $ac_word... " >&6; }
11700 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11701 $as_echo_n "(cached) " >&6
11703 if test -n "$RANLIB_FOR_TARGET"; then
11704 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 for as_dir in $PATH
11710 test -z "$as_dir" && as_dir=.
11711 for ac_exec_ext in '' $ac_executable_extensions; do
11712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11713 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11723 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11724 if test -n "$RANLIB_FOR_TARGET"; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11726 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11734 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11738 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11740 if test $build = $target ; then
11741 RANLIB_FOR_TARGET="$2"
11743 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11746 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11750 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11756 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11757 if test -n "$with_build_time_tools"; then
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
11759 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
11760 if test -x $with_build_time_tools/strip; then
11761 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11762 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
11764 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11769 elif test $build != $host && test $have_gcc_for_target = yes; then
11770 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11771 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11772 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11775 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11776 # Extract the first word of "strip", so it can be a program name with args.
11777 set dummy strip; ac_word=$2
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11779 $as_echo_n "checking for $ac_word... " >&6; }
11780 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
11781 $as_echo_n "(cached) " >&6
11783 case $STRIP_FOR_TARGET in
11785 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789 for as_dir in $gcc_cv_tool_dirs
11792 test -z "$as_dir" && as_dir=.
11793 for ac_exec_ext in '' $ac_executable_extensions; do
11794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11795 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11806 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11807 if test -n "$STRIP_FOR_TARGET"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11809 $as_echo "$STRIP_FOR_TARGET" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11817 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11820 if test -n "$STRIP_FOR_TARGET"; then
11821 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11822 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11823 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11826 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11827 for ncn_progname in strip; do
11828 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11829 set dummy ${ncn_progname}; ac_word=$2
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11831 $as_echo_n "checking for $ac_word... " >&6; }
11832 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11833 $as_echo_n "(cached) " >&6
11835 if test -n "$STRIP_FOR_TARGET"; then
11836 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11842 test -z "$as_dir" && as_dir=.
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11845 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11855 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11856 if test -n "$STRIP_FOR_TARGET"; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11858 $as_echo "$STRIP_FOR_TARGET" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11868 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11869 for ncn_progname in strip; do
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11871 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11872 if test -x $with_build_time_tools/${ncn_progname}; then
11873 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11875 $as_echo "yes" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11879 $as_echo "no" >&6; }
11884 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11885 for ncn_progname in strip; do
11886 if test -n "$ncn_target_tool_prefix"; then
11887 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11888 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11890 $as_echo_n "checking for $ac_word... " >&6; }
11891 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11892 $as_echo_n "(cached) " >&6
11894 if test -n "$STRIP_FOR_TARGET"; then
11895 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11898 for as_dir in $PATH
11901 test -z "$as_dir" && as_dir=.
11902 for ac_exec_ext in '' $ac_executable_extensions; do
11903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11904 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11914 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11915 if test -n "$STRIP_FOR_TARGET"; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11917 $as_echo "$STRIP_FOR_TARGET" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11925 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11927 set dummy ${ncn_progname}; ac_word=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11929 $as_echo_n "checking for $ac_word... " >&6; }
11930 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11931 $as_echo_n "(cached) " >&6
11933 if test -n "$STRIP_FOR_TARGET"; then
11934 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11943 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11953 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11954 if test -n "$STRIP_FOR_TARGET"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11956 $as_echo "$STRIP_FOR_TARGET" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11964 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11968 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11970 if test $build = $target ; then
11971 STRIP_FOR_TARGET="$2"
11973 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11976 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11980 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11986 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11987 if test -n "$with_build_time_tools"; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
11989 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
11990 if test -x $with_build_time_tools/windres; then
11991 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11992 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11994 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11997 $as_echo "no" >&6; }
11999 elif test $build != $host && test $have_gcc_for_target = yes; then
12000 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12001 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12002 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12005 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12006 # Extract the first word of "windres", so it can be a program name with args.
12007 set dummy windres; ac_word=$2
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12009 $as_echo_n "checking for $ac_word... " >&6; }
12010 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12011 $as_echo_n "(cached) " >&6
12013 case $WINDRES_FOR_TARGET in
12015 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12019 for as_dir in $gcc_cv_tool_dirs
12022 test -z "$as_dir" && as_dir=.
12023 for ac_exec_ext in '' $ac_executable_extensions; do
12024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12025 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12036 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12037 if test -n "$WINDRES_FOR_TARGET"; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12039 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12042 $as_echo "no" >&6; }
12047 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12050 if test -n "$WINDRES_FOR_TARGET"; then
12051 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12052 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12053 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12056 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12057 for ncn_progname in windres; do
12058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12059 set dummy ${ncn_progname}; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12063 $as_echo_n "(cached) " >&6
12065 if test -n "$WINDRES_FOR_TARGET"; then
12066 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12069 for as_dir in $PATH
12072 test -z "$as_dir" && as_dir=.
12073 for ac_exec_ext in '' $ac_executable_extensions; do
12074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12075 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12085 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12086 if test -n "$WINDRES_FOR_TARGET"; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12088 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12091 $as_echo "no" >&6; }
12098 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12099 for ncn_progname in windres; do
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12101 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12102 if test -x $with_build_time_tools/${ncn_progname}; then
12103 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12105 $as_echo "yes" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12109 $as_echo "no" >&6; }
12114 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12115 for ncn_progname in windres; do
12116 if test -n "$ncn_target_tool_prefix"; then
12117 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12118 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12120 $as_echo_n "checking for $ac_word... " >&6; }
12121 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12122 $as_echo_n "(cached) " >&6
12124 if test -n "$WINDRES_FOR_TARGET"; then
12125 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12134 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12144 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12145 if test -n "$WINDRES_FOR_TARGET"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12147 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12155 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12157 set dummy ${ncn_progname}; ac_word=$2
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12159 $as_echo_n "checking for $ac_word... " >&6; }
12160 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12161 $as_echo_n "(cached) " >&6
12163 if test -n "$WINDRES_FOR_TARGET"; then
12164 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12167 for as_dir in $PATH
12170 test -z "$as_dir" && as_dir=.
12171 for ac_exec_ext in '' $ac_executable_extensions; do
12172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12173 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12183 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12184 if test -n "$WINDRES_FOR_TARGET"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12186 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12189 $as_echo "no" >&6; }
12194 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12198 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12200 if test $build = $target ; then
12201 WINDRES_FOR_TARGET="$2"
12203 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12206 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12210 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12216 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12217 if test -n "$with_build_time_tools"; then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12219 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12220 if test -x $with_build_time_tools/windmc; then
12221 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12222 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12224 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12229 elif test $build != $host && test $have_gcc_for_target = yes; then
12230 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12231 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12232 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12235 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12236 # Extract the first word of "windmc", so it can be a program name with args.
12237 set dummy windmc; ac_word=$2
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12239 $as_echo_n "checking for $ac_word... " >&6; }
12240 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12241 $as_echo_n "(cached) " >&6
12243 case $WINDMC_FOR_TARGET in
12245 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249 for as_dir in $gcc_cv_tool_dirs
12252 test -z "$as_dir" && as_dir=.
12253 for ac_exec_ext in '' $ac_executable_extensions; do
12254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12255 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12267 if test -n "$WINDMC_FOR_TARGET"; then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12269 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272 $as_echo "no" >&6; }
12277 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12280 if test -n "$WINDMC_FOR_TARGET"; then
12281 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12282 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12283 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12286 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12287 for ncn_progname in windmc; do
12288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12289 set dummy ${ncn_progname}; ac_word=$2
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12291 $as_echo_n "checking for $ac_word... " >&6; }
12292 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12293 $as_echo_n "(cached) " >&6
12295 if test -n "$WINDMC_FOR_TARGET"; then
12296 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12299 for as_dir in $PATH
12302 test -z "$as_dir" && as_dir=.
12303 for ac_exec_ext in '' $ac_executable_extensions; do
12304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12305 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12315 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12316 if test -n "$WINDMC_FOR_TARGET"; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12318 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12328 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12329 for ncn_progname in windmc; do
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12331 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12332 if test -x $with_build_time_tools/${ncn_progname}; then
12333 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12335 $as_echo "yes" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12344 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12345 for ncn_progname in windmc; do
12346 if test -n "$ncn_target_tool_prefix"; then
12347 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12348 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12350 $as_echo_n "checking for $ac_word... " >&6; }
12351 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12352 $as_echo_n "(cached) " >&6
12354 if test -n "$WINDMC_FOR_TARGET"; then
12355 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12358 for as_dir in $PATH
12361 test -z "$as_dir" && as_dir=.
12362 for ac_exec_ext in '' $ac_executable_extensions; do
12363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12364 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12374 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12375 if test -n "$WINDMC_FOR_TARGET"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12377 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12380 $as_echo "no" >&6; }
12385 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12387 set dummy ${ncn_progname}; ac_word=$2
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12389 $as_echo_n "checking for $ac_word... " >&6; }
12390 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12391 $as_echo_n "(cached) " >&6
12393 if test -n "$WINDMC_FOR_TARGET"; then
12394 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12400 test -z "$as_dir" && as_dir=.
12401 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12403 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12414 if test -n "$WINDMC_FOR_TARGET"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12416 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12424 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12428 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12430 if test $build = $target ; then
12431 WINDMC_FOR_TARGET="$2"
12433 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12436 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12440 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12444 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
12447 $as_echo_n "checking where to find the target ar... " >&6; }
12448 if test "x${build}" != "x${host}" ; then
12449 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
12450 # We already found the complete path
12451 ac_dir=`dirname $AR_FOR_TARGET`
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12453 $as_echo "pre-installed in $ac_dir" >&6; }
12455 # Canadian cross, just use what we found
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12457 $as_echo "pre-installed" >&6; }
12461 case " ${configdirs} " in
12466 if test $ok = yes; then
12467 # An in-tree tool is available and we can use it
12468 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12470 $as_echo "just compiled" >&6; }
12471 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
12472 # We already found the complete path
12473 ac_dir=`dirname $AR_FOR_TARGET`
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12475 $as_echo "pre-installed in $ac_dir" >&6; }
12476 elif test "x$target" = "x$host"; then
12477 # We can use an host tool
12478 AR_FOR_TARGET='$(AR)'
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12480 $as_echo "host tool" >&6; }
12482 # We need a cross tool
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12484 $as_echo "pre-installed" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
12489 $as_echo_n "checking where to find the target as... " >&6; }
12490 if test "x${build}" != "x${host}" ; then
12491 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
12492 # We already found the complete path
12493 ac_dir=`dirname $AS_FOR_TARGET`
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12495 $as_echo "pre-installed in $ac_dir" >&6; }
12497 # Canadian cross, just use what we found
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12499 $as_echo "pre-installed" >&6; }
12503 case " ${configdirs} " in
12508 if test $ok = yes; then
12509 # An in-tree tool is available and we can use it
12510 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12512 $as_echo "just compiled" >&6; }
12513 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
12514 # We already found the complete path
12515 ac_dir=`dirname $AS_FOR_TARGET`
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12517 $as_echo "pre-installed in $ac_dir" >&6; }
12518 elif test "x$target" = "x$host"; then
12519 # We can use an host tool
12520 AS_FOR_TARGET='$(AS)'
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12522 $as_echo "host tool" >&6; }
12524 # We need a cross tool
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12526 $as_echo "pre-installed" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
12531 $as_echo_n "checking where to find the target cc... " >&6; }
12532 if test "x${build}" != "x${host}" ; then
12533 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
12534 # We already found the complete path
12535 ac_dir=`dirname $CC_FOR_TARGET`
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12537 $as_echo "pre-installed in $ac_dir" >&6; }
12539 # Canadian cross, just use what we found
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12541 $as_echo "pre-installed" >&6; }
12545 case " ${configdirs} " in
12550 if test $ok = yes; then
12551 # An in-tree tool is available and we can use it
12552 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12554 $as_echo "just compiled" >&6; }
12555 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
12556 # We already found the complete path
12557 ac_dir=`dirname $CC_FOR_TARGET`
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12559 $as_echo "pre-installed in $ac_dir" >&6; }
12560 elif test "x$target" = "x$host"; then
12561 # We can use an host tool
12562 CC_FOR_TARGET='$(CC)'
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12564 $as_echo "host tool" >&6; }
12566 # We need a cross tool
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12568 $as_echo "pre-installed" >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
12573 $as_echo_n "checking where to find the target c++... " >&6; }
12574 if test "x${build}" != "x${host}" ; then
12575 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
12576 # We already found the complete path
12577 ac_dir=`dirname $CXX_FOR_TARGET`
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12579 $as_echo "pre-installed in $ac_dir" >&6; }
12581 # Canadian cross, just use what we found
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12583 $as_echo "pre-installed" >&6; }
12587 case " ${configdirs} " in
12591 case ,${enable_languages}, in
12595 if test $ok = yes; then
12596 # An in-tree tool is available and we can use it
12597 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12599 $as_echo "just compiled" >&6; }
12600 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
12601 # We already found the complete path
12602 ac_dir=`dirname $CXX_FOR_TARGET`
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12604 $as_echo "pre-installed in $ac_dir" >&6; }
12605 elif test "x$target" = "x$host"; then
12606 # We can use an host tool
12607 CXX_FOR_TARGET='$(CXX)'
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12609 $as_echo "host tool" >&6; }
12611 # We need a cross tool
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12613 $as_echo "pre-installed" >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
12618 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
12619 if test "x${build}" != "x${host}" ; then
12620 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
12621 # We already found the complete path
12622 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12624 $as_echo "pre-installed in $ac_dir" >&6; }
12626 # Canadian cross, just use what we found
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12628 $as_echo "pre-installed" >&6; }
12632 case " ${configdirs} " in
12636 case ,${enable_languages}, in
12640 if test $ok = yes; then
12641 # An in-tree tool is available and we can use it
12642 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'
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12644 $as_echo "just compiled" >&6; }
12645 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
12646 # We already found the complete path
12647 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12649 $as_echo "pre-installed in $ac_dir" >&6; }
12650 elif test "x$target" = "x$host"; then
12651 # We can use an host tool
12652 RAW_CXX_FOR_TARGET='$(CXX)'
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12654 $as_echo "host tool" >&6; }
12656 # We need a cross tool
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12658 $as_echo "pre-installed" >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
12663 $as_echo_n "checking where to find the target dlltool... " >&6; }
12664 if test "x${build}" != "x${host}" ; then
12665 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
12666 # We already found the complete path
12667 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12669 $as_echo "pre-installed in $ac_dir" >&6; }
12671 # Canadian cross, just use what we found
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12673 $as_echo "pre-installed" >&6; }
12677 case " ${configdirs} " in
12682 if test $ok = yes; then
12683 # An in-tree tool is available and we can use it
12684 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12686 $as_echo "just compiled" >&6; }
12687 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
12688 # We already found the complete path
12689 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12691 $as_echo "pre-installed in $ac_dir" >&6; }
12692 elif test "x$target" = "x$host"; then
12693 # We can use an host tool
12694 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12696 $as_echo "host tool" >&6; }
12698 # We need a cross tool
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12700 $as_echo "pre-installed" >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
12705 $as_echo_n "checking where to find the target gcc... " >&6; }
12706 if test "x${build}" != "x${host}" ; then
12707 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
12708 # We already found the complete path
12709 ac_dir=`dirname $GCC_FOR_TARGET`
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12711 $as_echo "pre-installed in $ac_dir" >&6; }
12713 # Canadian cross, just use what we found
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12715 $as_echo "pre-installed" >&6; }
12719 case " ${configdirs} " in
12724 if test $ok = yes; then
12725 # An in-tree tool is available and we can use it
12726 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12728 $as_echo "just compiled" >&6; }
12729 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
12730 # We already found the complete path
12731 ac_dir=`dirname $GCC_FOR_TARGET`
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12733 $as_echo "pre-installed in $ac_dir" >&6; }
12734 elif test "x$target" = "x$host"; then
12735 # We can use an host tool
12736 GCC_FOR_TARGET='$()'
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12738 $as_echo "host tool" >&6; }
12740 # We need a cross tool
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12742 $as_echo "pre-installed" >&6; }
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
12747 $as_echo_n "checking where to find the target gcj... " >&6; }
12748 if test "x${build}" != "x${host}" ; then
12749 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
12750 # We already found the complete path
12751 ac_dir=`dirname $GCJ_FOR_TARGET`
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12753 $as_echo "pre-installed in $ac_dir" >&6; }
12755 # Canadian cross, just use what we found
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12757 $as_echo "pre-installed" >&6; }
12761 case " ${configdirs} " in
12765 case ,${enable_languages}, in
12769 if test $ok = yes; then
12770 # An in-tree tool is available and we can use it
12771 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12773 $as_echo "just compiled" >&6; }
12774 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
12775 # We already found the complete path
12776 ac_dir=`dirname $GCJ_FOR_TARGET`
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12778 $as_echo "pre-installed in $ac_dir" >&6; }
12779 elif test "x$target" = "x$host"; then
12780 # We can use an host tool
12781 GCJ_FOR_TARGET='$(GCJ)'
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12783 $as_echo "host tool" >&6; }
12785 # We need a cross tool
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12787 $as_echo "pre-installed" >&6; }
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
12792 $as_echo_n "checking where to find the target gfortran... " >&6; }
12793 if test "x${build}" != "x${host}" ; then
12794 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
12795 # We already found the complete path
12796 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12798 $as_echo "pre-installed in $ac_dir" >&6; }
12800 # Canadian cross, just use what we found
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12802 $as_echo "pre-installed" >&6; }
12806 case " ${configdirs} " in
12810 case ,${enable_languages}, in
12814 if test $ok = yes; then
12815 # An in-tree tool is available and we can use it
12816 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12818 $as_echo "just compiled" >&6; }
12819 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
12820 # We already found the complete path
12821 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12823 $as_echo "pre-installed in $ac_dir" >&6; }
12824 elif test "x$target" = "x$host"; then
12825 # We can use an host tool
12826 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12828 $as_echo "host tool" >&6; }
12830 # We need a cross tool
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12832 $as_echo "pre-installed" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
12837 $as_echo_n "checking where to find the target ld... " >&6; }
12838 if test "x${build}" != "x${host}" ; then
12839 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
12840 # We already found the complete path
12841 ac_dir=`dirname $LD_FOR_TARGET`
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12843 $as_echo "pre-installed in $ac_dir" >&6; }
12845 # Canadian cross, just use what we found
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12847 $as_echo "pre-installed" >&6; }
12851 case " ${configdirs} " in
12856 if test $ok = yes; then
12857 # An in-tree tool is available and we can use it
12858 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12860 $as_echo "just compiled" >&6; }
12861 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
12862 # We already found the complete path
12863 ac_dir=`dirname $LD_FOR_TARGET`
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12865 $as_echo "pre-installed in $ac_dir" >&6; }
12866 elif test "x$target" = "x$host"; then
12867 # We can use an host tool
12868 LD_FOR_TARGET='$(LD)'
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12870 $as_echo "host tool" >&6; }
12872 # We need a cross tool
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12874 $as_echo "pre-installed" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
12879 $as_echo_n "checking where to find the target lipo... " >&6; }
12880 if test "x${build}" != "x${host}" ; then
12881 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
12882 # We already found the complete path
12883 ac_dir=`dirname $LIPO_FOR_TARGET`
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12885 $as_echo "pre-installed in $ac_dir" >&6; }
12887 # Canadian cross, just use what we found
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12889 $as_echo "pre-installed" >&6; }
12892 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
12893 # We already found the complete path
12894 ac_dir=`dirname $LIPO_FOR_TARGET`
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12896 $as_echo "pre-installed in $ac_dir" >&6; }
12897 elif test "x$target" = "x$host"; then
12898 # We can use an host tool
12899 LIPO_FOR_TARGET='$(LIPO)'
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12901 $as_echo "host tool" >&6; }
12903 # We need a cross tool
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12905 $as_echo "pre-installed" >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
12910 $as_echo_n "checking where to find the target nm... " >&6; }
12911 if test "x${build}" != "x${host}" ; then
12912 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
12913 # We already found the complete path
12914 ac_dir=`dirname $NM_FOR_TARGET`
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12916 $as_echo "pre-installed in $ac_dir" >&6; }
12918 # Canadian cross, just use what we found
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12920 $as_echo "pre-installed" >&6; }
12924 case " ${configdirs} " in
12929 if test $ok = yes; then
12930 # An in-tree tool is available and we can use it
12931 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12933 $as_echo "just compiled" >&6; }
12934 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
12935 # We already found the complete path
12936 ac_dir=`dirname $NM_FOR_TARGET`
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12938 $as_echo "pre-installed in $ac_dir" >&6; }
12939 elif test "x$target" = "x$host"; then
12940 # We can use an host tool
12941 NM_FOR_TARGET='$(NM)'
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12943 $as_echo "host tool" >&6; }
12945 # We need a cross tool
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12947 $as_echo "pre-installed" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
12952 $as_echo_n "checking where to find the target objdump... " >&6; }
12953 if test "x${build}" != "x${host}" ; then
12954 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
12955 # We already found the complete path
12956 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12958 $as_echo "pre-installed in $ac_dir" >&6; }
12960 # Canadian cross, just use what we found
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12962 $as_echo "pre-installed" >&6; }
12966 case " ${configdirs} " in
12971 if test $ok = yes; then
12972 # An in-tree tool is available and we can use it
12973 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12975 $as_echo "just compiled" >&6; }
12976 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
12977 # We already found the complete path
12978 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12980 $as_echo "pre-installed in $ac_dir" >&6; }
12981 elif test "x$target" = "x$host"; then
12982 # We can use an host tool
12983 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12985 $as_echo "host tool" >&6; }
12987 # We need a cross tool
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12989 $as_echo "pre-installed" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
12994 $as_echo_n "checking where to find the target ranlib... " >&6; }
12995 if test "x${build}" != "x${host}" ; then
12996 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
12997 # We already found the complete path
12998 ac_dir=`dirname $RANLIB_FOR_TARGET`
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13000 $as_echo "pre-installed in $ac_dir" >&6; }
13002 # Canadian cross, just use what we found
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13004 $as_echo "pre-installed" >&6; }
13008 case " ${configdirs} " in
13013 if test $ok = yes; then
13014 # An in-tree tool is available and we can use it
13015 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13017 $as_echo "just compiled" >&6; }
13018 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13019 # We already found the complete path
13020 ac_dir=`dirname $RANLIB_FOR_TARGET`
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13022 $as_echo "pre-installed in $ac_dir" >&6; }
13023 elif test "x$target" = "x$host"; then
13024 # We can use an host tool
13025 RANLIB_FOR_TARGET='$(RANLIB)'
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13027 $as_echo "host tool" >&6; }
13029 # We need a cross tool
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13031 $as_echo "pre-installed" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
13036 $as_echo_n "checking where to find the target strip... " >&6; }
13037 if test "x${build}" != "x${host}" ; then
13038 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13039 # We already found the complete path
13040 ac_dir=`dirname $STRIP_FOR_TARGET`
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13042 $as_echo "pre-installed in $ac_dir" >&6; }
13044 # Canadian cross, just use what we found
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13046 $as_echo "pre-installed" >&6; }
13050 case " ${configdirs} " in
13055 if test $ok = yes; then
13056 # An in-tree tool is available and we can use it
13057 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13059 $as_echo "just compiled" >&6; }
13060 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13061 # We already found the complete path
13062 ac_dir=`dirname $STRIP_FOR_TARGET`
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13064 $as_echo "pre-installed in $ac_dir" >&6; }
13065 elif test "x$target" = "x$host"; then
13066 # We can use an host tool
13067 STRIP_FOR_TARGET='$(STRIP)'
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13069 $as_echo "host tool" >&6; }
13071 # We need a cross tool
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13073 $as_echo "pre-installed" >&6; }
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
13078 $as_echo_n "checking where to find the target windres... " >&6; }
13079 if test "x${build}" != "x${host}" ; then
13080 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13081 # We already found the complete path
13082 ac_dir=`dirname $WINDRES_FOR_TARGET`
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13084 $as_echo "pre-installed in $ac_dir" >&6; }
13086 # Canadian cross, just use what we found
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13088 $as_echo "pre-installed" >&6; }
13092 case " ${configdirs} " in
13097 if test $ok = yes; then
13098 # An in-tree tool is available and we can use it
13099 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13101 $as_echo "just compiled" >&6; }
13102 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13103 # We already found the complete path
13104 ac_dir=`dirname $WINDRES_FOR_TARGET`
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13106 $as_echo "pre-installed in $ac_dir" >&6; }
13107 elif test "x$target" = "x$host"; then
13108 # We can use an host tool
13109 WINDRES_FOR_TARGET='$(WINDRES)'
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13111 $as_echo "host tool" >&6; }
13113 # We need a cross tool
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13115 $as_echo "pre-installed" >&6; }
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13120 $as_echo_n "checking where to find the target windmc... " >&6; }
13121 if test "x${build}" != "x${host}" ; then
13122 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13123 # We already found the complete path
13124 ac_dir=`dirname $WINDMC_FOR_TARGET`
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13126 $as_echo "pre-installed in $ac_dir" >&6; }
13128 # Canadian cross, just use what we found
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13130 $as_echo "pre-installed" >&6; }
13134 case " ${configdirs} " in
13139 if test $ok = yes; then
13140 # An in-tree tool is available and we can use it
13141 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13143 $as_echo "just compiled" >&6; }
13144 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13145 # We already found the complete path
13146 ac_dir=`dirname $WINDMC_FOR_TARGET`
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13148 $as_echo "pre-installed in $ac_dir" >&6; }
13149 elif test "x$target" = "x$host"; then
13150 # We can use an host tool
13151 WINDMC_FOR_TARGET='$(WINDMC)'
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13153 $as_echo "host tool" >&6; }
13155 # We need a cross tool
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13157 $as_echo "pre-installed" >&6; }
13165 # Certain tools may need extra flags.
13166 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13167 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13168 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13170 # When building target libraries, except in a Canadian cross, we use
13171 # the same toolchain as the compiler we just built.
13172 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13173 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13174 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13175 if test $host = $build; then
13176 case " $configdirs " in
13178 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13179 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13180 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13190 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13191 # Check whether --enable-maintainer-mode was given.
13192 if test "${enable_maintainer_mode+set}" = set; then :
13193 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13195 USE_MAINTAINER_MODE=no
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13199 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13202 if test "$USE_MAINTAINER_MODE" = yes; then
13203 MAINTAINER_MODE_TRUE=
13204 MAINTAINER_MODE_FALSE='#'
13206 MAINTAINER_MODE_TRUE='#'
13207 MAINTAINER_MODE_FALSE=
13209 MAINT=$MAINTAINER_MODE_TRUE
13211 # ---------------------
13212 # GCC bootstrap support
13213 # ---------------------
13215 # Stage specific cflags for build.
13220 yes) stage1_cflags="-g -Wa,-J" ;;
13221 *) stage1_cflags="-g -J" ;;
13225 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13226 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13227 saved_CFLAGS="$CFLAGS"
13229 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13230 CFLAGS="$CFLAGS -fkeep-inline-functions"
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
13232 $as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13236 #if (__GNUC__ < 3) \
13237 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13238 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13239 #error http://gcc.gnu.org/PR29382
13250 if ac_fn_c_try_compile "$LINENO"; then :
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13252 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13255 $as_echo "no" >&6; }
13257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13259 CFLAGS="$saved_CFLAGS"
13264 # Enable --enable-checking in stage1 of the compiler.
13265 # Check whether --enable-stage1-checking was given.
13266 if test "${enable_stage1_checking+set}" = set; then :
13267 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13269 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
13270 stage1_checking=--enable-checking=yes,types
13272 stage1_checking=--enable-checking=$enable_checking,types
13278 # Enable -Werror in bootstrap stage2 and later.
13279 # Check whether --enable-werror was given.
13280 if test "${enable_werror+set}" = set; then :
13281 enableval=$enable_werror;
13283 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13290 case ${enable_werror} in
13291 yes) stage2_werror_flag="--enable-werror-always" ;;
13292 *) stage2_werror_flag="" ;;
13296 # Specify what files to not compare during bootstrap.
13298 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
13300 hppa*64*-*-hpux*) ;;
13301 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
13305 ac_config_files="$ac_config_files Makefile"
13307 cat >confcache <<\_ACEOF
13308 # This file is a shell script that caches the results of configure
13309 # tests run on this system so they can be shared between configure
13310 # scripts and configure runs, see configure's option --config-cache.
13311 # It is not useful on other systems. If it contains results you don't
13312 # want to keep, you may remove or edit it.
13314 # config.status only pays attention to the cache file if you give it
13315 # the --recheck option to rerun configure.
13317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13319 # following values.
13323 # The following way of writing the cache mishandles newlines in values,
13324 # but we know of no workaround that is simple, portable, and efficient.
13325 # So, we kill variables containing newlines.
13326 # Ultrix sh set writes to stderr and can't be redirected directly,
13327 # and sets the high bit in the cache file unless we assign to the vars.
13329 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13330 eval ac_val=\$$ac_var
13334 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13338 _ | IFS | as_nl) ;; #(
13339 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13340 *) { eval $ac_var=; unset $ac_var;} ;;
13346 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13347 *${as_nl}ac_space=\ *)
13348 # `set' does not quote correctly, so add quotes: double-quote
13349 # substitution turns \\\\ into \\, and sed turns \\ into \.
13352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13355 # `set' quotes correctly as required by POSIX, so do not add quotes.
13356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13367 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13370 if test -w "$cache_file"; then
13371 test "x$cache_file" != "x/dev/null" &&
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13373 $as_echo "$as_me: updating cache $cache_file" >&6;}
13374 cat confcache >$cache_file
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13377 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13382 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13383 # Let make expand exec_prefix.
13384 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13386 # Transform confdefs.h into DEFS.
13387 # Protect against shell expansion while executing Makefile rules.
13388 # Protect against Makefile macro expansion.
13390 # If the first sed substitution is executed (which looks for macros that
13391 # take arguments), then branch to the quote section. Otherwise,
13392 # look for a macro that doesn't take arguments.
13402 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13404 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13408 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13421 DEFS=`sed -n "$ac_script" confdefs.h`
13426 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13427 # 1. Remove the extension, and $U if already installed.
13428 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13429 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13430 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13431 # will be set to the directory where LIBOBJS objects are built.
13432 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13433 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13435 LIBOBJS=$ac_libobjs
13437 LTLIBOBJS=$ac_ltlibobjs
13441 : ${CONFIG_STATUS=./config.status}
13443 ac_clean_files_save=$ac_clean_files
13444 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13446 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13448 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13450 # Generated by $as_me.
13451 # Run this file to recreate the current configuration.
13452 # Compiler output produced by configure, useful for debugging
13453 # configure, is in config.log if it exists.
13456 ac_cs_recheck=false
13459 SHELL=\${CONFIG_SHELL-$SHELL}
13462 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13463 ## -------------------- ##
13464 ## M4sh Initialization. ##
13465 ## -------------------- ##
13467 # Be more Bourne compatible
13468 DUALCASE=1; export DUALCASE # for MKS sh
13469 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13472 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13473 # is contrary to our usage. Disable this feature.
13474 alias -g '${1+"$@"}'='"$@"'
13475 setopt NO_GLOB_SUBST
13477 case `(set -o) 2>/dev/null` in #(
13489 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13490 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13491 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13492 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13493 # Prefer a ksh shell builtin over an external printf program on Solaris,
13494 # but without wasting forks for bash or zsh.
13495 if test -z "$BASH_VERSION$ZSH_VERSION" \
13496 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13497 as_echo='print -r --'
13498 as_echo_n='print -rn --'
13499 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13500 as_echo='printf %s\n'
13501 as_echo_n='printf %s'
13503 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13504 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13505 as_echo_n='/usr/ucb/echo -n'
13507 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13508 as_echo_n_body='eval
13512 expr "X$arg" : "X\\(.*\\)$as_nl";
13513 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13515 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13517 export as_echo_n_body
13518 as_echo_n='sh -c $as_echo_n_body as_echo'
13520 export as_echo_body
13521 as_echo='sh -c $as_echo_body as_echo'
13524 # The user is always right.
13525 if test "${PATH_SEPARATOR+set}" != set; then
13527 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13528 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13535 # We need space, tab and new line, in precisely that order. Quoting is
13536 # there to prevent editors from complaining about space-tab.
13537 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13538 # splitting by setting IFS to empty value.)
13541 # Find who we are. Look in the path if we contain no directory separator.
13543 *[\\/]* ) as_myself=$0 ;;
13544 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13545 for as_dir in $PATH
13548 test -z "$as_dir" && as_dir=.
13549 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13555 # We did not find ourselves, most probably we were run as `sh COMMAND'
13556 # in which case we are not to be found in the path.
13557 if test "x$as_myself" = x; then
13560 if test ! -f "$as_myself"; then
13561 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13565 # Unset variables that we do not need and which cause bugs (e.g. in
13566 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13567 # suppresses any "Segmentation fault" message there. '((' could
13568 # trigger a bug in pdksh 5.2.14.
13569 for as_var in BASH_ENV ENV MAIL MAILPATH
13570 do eval test x\${$as_var+set} = xset \
13571 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13584 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13587 # as_fn_error ERROR [LINENO LOG_FD]
13588 # ---------------------------------
13589 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13590 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13591 # script with status $?, using 1 if that was 0.
13594 as_status=$?; test $as_status -eq 0 && as_status=1
13596 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13597 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13599 $as_echo "$as_me: error: $1" >&2
13600 as_fn_exit $as_status
13604 # as_fn_set_status STATUS
13605 # -----------------------
13606 # Set $? to STATUS, without forking.
13607 as_fn_set_status ()
13610 } # as_fn_set_status
13612 # as_fn_exit STATUS
13613 # -----------------
13614 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13618 as_fn_set_status $1
13624 # Portably unset VAR.
13627 { eval $1=; unset $1;}
13629 as_unset=as_fn_unset
13630 # as_fn_append VAR VALUE
13631 # ----------------------
13632 # Append the text in VALUE to the end of the definition contained in VAR. Take
13633 # advantage of any shell optimizations that allow amortized linear growth over
13634 # repeated appends, instead of the typical quadratic growth present in naive
13636 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13637 eval 'as_fn_append ()
13648 # as_fn_arith ARG...
13649 # ------------------
13650 # Perform arithmetic evaluation on the ARGs, and store the result in the
13651 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13652 # must be portable across $(()) and expr.
13653 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13654 eval 'as_fn_arith ()
13661 as_val=`expr "$@" || test $? -eq 1`
13666 if expr a : '\(a\)' >/dev/null 2>&1 &&
13667 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13673 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13674 as_basename=basename
13679 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13685 as_me=`$as_basename -- "$0" ||
13686 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13687 X"$0" : 'X\(//\)$' \| \
13688 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13690 sed '/^.*\/\([^/][^/]*\)\/*$/{
13704 # Avoid depending upon Character Ranges.
13705 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13706 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13707 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13708 as_cr_digits='0123456789'
13709 as_cr_alnum=$as_cr_Letters$as_cr_digits
13711 ECHO_C= ECHO_N= ECHO_T=
13712 case `echo -n x` in #(((((
13714 case `echo 'xy\c'` in
13715 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13717 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13724 rm -f conf$$ conf$$.exe conf$$.file
13725 if test -d conf$$.dir; then
13726 rm -f conf$$.dir/conf$$.file
13729 mkdir conf$$.dir 2>/dev/null
13731 if (echo >conf$$.file) 2>/dev/null; then
13732 if ln -s conf$$.file conf$$ 2>/dev/null; then
13734 # ... but there are two gotchas:
13735 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13736 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13737 # In both cases, we have to default to `cp -p'.
13738 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13740 elif ln conf$$.file conf$$ 2>/dev/null; then
13748 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13749 rmdir conf$$.dir 2>/dev/null
13754 # Create "$as_dir" as a directory, including parents if necessary.
13759 -*) as_dir=./$as_dir;;
13761 test -d "$as_dir" || eval $as_mkdir_p || {
13765 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13766 *) as_qdir=$as_dir;;
13768 as_dirs="'$as_qdir' $as_dirs"
13769 as_dir=`$as_dirname -- "$as_dir" ||
13770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13771 X"$as_dir" : 'X\(//\)[^/]' \| \
13772 X"$as_dir" : 'X\(//\)$' \| \
13773 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13774 $as_echo X"$as_dir" |
13775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13779 /^X\(\/\/\)[^/].*/{
13792 test -d "$as_dir" && break
13794 test -z "$as_dirs" || eval "mkdir $as_dirs"
13795 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13799 if mkdir -p . 2>/dev/null; then
13800 as_mkdir_p='mkdir -p "$as_dir"'
13802 test -d ./-p && rmdir ./-p
13806 if test -x / >/dev/null 2>&1; then
13807 as_test_x='test -x'
13809 if ls -dL / >/dev/null 2>&1; then
13816 if test -d "$1"; then
13822 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13823 ???[sx]*):;;*)false;;esac;fi
13827 as_executable_p=$as_test_x
13829 # Sed expression to map a string onto a valid CPP name.
13830 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13832 # Sed expression to map a string onto a valid variable name.
13833 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13837 ## ----------------------------------- ##
13838 ## Main body of $CONFIG_STATUS script. ##
13839 ## ----------------------------------- ##
13841 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13844 # Save the log message, to keep $0 and so on meaningful, and to
13845 # report actual input values of CONFIG_FILES etc. instead of their
13846 # values after options handling.
13848 This file was extended by $as_me, which was
13849 generated by GNU Autoconf 2.64. Invocation command line was
13851 CONFIG_FILES = $CONFIG_FILES
13852 CONFIG_HEADERS = $CONFIG_HEADERS
13853 CONFIG_LINKS = $CONFIG_LINKS
13854 CONFIG_COMMANDS = $CONFIG_COMMANDS
13857 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13862 case $ac_config_files in *"
13863 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13869 # Files that config.status was made for.
13870 config_files="$ac_config_files"
13874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13876 \`$as_me' instantiates files and other configuration actions
13877 from templates according to the current configuration. Unless the files
13878 and actions are specified as TAGs, all are instantiated by default.
13880 Usage: $0 [OPTION]... [TAG]...
13882 -h, --help print this help, then exit
13883 -V, --version print version number and configuration settings, then exit
13884 -q, --quiet, --silent
13885 do not print progress messages
13886 -d, --debug don't remove temporary files
13887 --recheck update $as_me by reconfiguring in the same conditions
13888 --file=FILE[:TEMPLATE]
13889 instantiate the configuration file FILE
13891 Configuration files:
13894 Report bugs to the package provider."
13897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13900 configured by $0, generated by GNU Autoconf 2.64,
13901 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13903 Copyright (C) 2009 Free Software Foundation, Inc.
13904 This config.status script is free software; the Free Software Foundation
13905 gives unlimited permission to copy, distribute and modify it."
13911 test -n "\$AWK" || AWK=awk
13914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13915 # The default lists apply if the user does not specify any file.
13921 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13922 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13933 # Handling of the options.
13934 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13936 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13937 $as_echo "$ac_cs_version"; exit ;;
13938 --debug | --debu | --deb | --de | --d | -d )
13940 --file | --fil | --fi | --f )
13943 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13945 as_fn_append CONFIG_FILES " '$ac_optarg'"
13946 ac_need_defaults=false;;
13947 --he | --h | --help | --hel | -h )
13948 $as_echo "$ac_cs_usage"; exit ;;
13949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13950 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13953 # This is an error.
13954 -*) as_fn_error "unrecognized option: \`$1'
13955 Try \`$0 --help' for more information." ;;
13957 *) as_fn_append ac_config_targets " $1"
13958 ac_need_defaults=false ;;
13964 ac_configure_extra_args=
13966 if $ac_cs_silent; then
13968 ac_configure_extra_args="$ac_configure_extra_args --silent"
13972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13973 if \$ac_cs_recheck; then
13974 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13976 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13977 CONFIG_SHELL='$SHELL'
13978 export CONFIG_SHELL
13983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13988 ## Running $as_me. ##
13994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13999 # Handling of arguments.
14000 for ac_config_target in $ac_config_targets
14002 case $ac_config_target in
14003 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14005 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14010 # If the user did not use the arguments to specify the items to instantiate,
14011 # then the envvar interface is used. Set only those that are not.
14012 # We use the long form for the default assignment because of an extremely
14013 # bizarre bug on SunOS 4.1.3.
14014 if $ac_need_defaults; then
14015 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14018 # Have a temporary directory for convenience. Make it in the build tree
14019 # simply because there is no reason against having it here, and in addition,
14020 # creating and moving files from /tmp can sometimes cause problems.
14021 # Hook for its removal unless debugging.
14022 # Note that there is a small window in which the directory will not be cleaned:
14023 # after its creation but before its name has been assigned to `$tmp'.
14027 trap 'exit_status=$?
14028 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14030 trap 'as_fn_exit 1' 1 2 13 15
14032 # Create a (secure) tmp directory for tmp files.
14035 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14036 test -n "$tmp" && test -d "$tmp"
14039 tmp=./conf$$-$RANDOM
14040 (umask 077 && mkdir "$tmp")
14041 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14043 # Set up the scripts for CONFIG_FILES section.
14044 # No need to generate them if there are no CONFIG_FILES.
14045 # This happens for instance with `./config.status config.h'.
14046 if test -n "$CONFIG_FILES"; then
14048 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14049 ac_cs_awk_getline=:
14050 ac_cs_awk_pipe_init=
14051 ac_cs_awk_read_file='
14052 while ((getline aline < (F[key])) > 0)
14055 ac_cs_awk_pipe_fini=
14057 ac_cs_awk_getline=false
14058 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14059 ac_cs_awk_read_file='
14061 print "cat " F[key] " &&"
14062 '$ac_cs_awk_pipe_init
14063 # The final `:' finishes the AND list.
14064 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14066 ac_cr=`echo X | tr X '\015'`
14067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14068 # But we know of no other shell where ac_cr would be empty at this
14069 # point, so we can use a bashism as a fallback.
14070 if test "x$ac_cr" = x; then
14071 eval ac_cr=\$\'\\r\'
14073 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14077 ac_cs_awk_cr=$ac_cr
14080 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14083 # Create commands to substitute file output variables.
14085 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14086 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14087 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14090 } >conf$$files.sh &&
14091 . ./conf$$files.sh ||
14092 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14093 rm -f conf$$files.sh
14096 echo "cat >conf$$subs.awk <<_ACEOF" &&
14097 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14099 } >conf$$subs.sh ||
14100 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14101 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14103 for ac_last_try in false false false false false :; do
14104 . ./conf$$subs.sh ||
14105 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14107 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14108 if test $ac_delim_n = $ac_delim_num; then
14110 elif $ac_last_try; then
14111 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14113 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14116 rm -f conf$$subs.sh
14118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14119 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14123 s/^/S["/; s/!.*/"]=/
14133 s/\(.\{148\}\).*/\1/
14135 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14140 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14147 s/\(.\{148\}\).*/\1/
14149 s/["\\]/\\&/g; s/^/"/; s/$/"/
14153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14158 ' <conf$$subs.awk | sed '
14163 ' >>$CONFIG_STATUS || ac_write_fail=1
14164 rm -f conf$$subs.awk
14165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14167 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14168 for (key in S) S_is_set[key] = 1
14170 \$ac_cs_awk_pipe_init
14174 nfields = split(line, field, "@")
14176 len = length(field[1])
14177 for (i = 2; i < nfields; i++) {
14179 keylen = length(key)
14180 if (S_is_set[key]) {
14182 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14183 len += length(value) + length(field[++i])
14188 if (nfields == 3 && !substed) {
14190 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14191 \$ac_cs_awk_read_file
14197 \$ac_cs_awk_pipe_fini
14200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14201 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14202 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14205 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14206 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14211 # trailing colons and then remove the whole line if VPATH becomes empty
14212 # (actually we leave an empty line to preserve line numbers).
14213 if test "x$srcdir" = x.; then
14214 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14215 s/:*\$(srcdir):*/:/
14216 s/:*\${srcdir}:*/:/
14218 s/^\([^=]*=[ ]*\):*/\1/
14224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14225 fi # test -n "$CONFIG_FILES"
14228 eval set X " :F $CONFIG_FILES "
14233 :[FHLC]) ac_mode=$ac_tag; continue;;
14235 case $ac_mode$ac_tag in
14237 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14238 :[FH]-) ac_tag=-:-;;
14239 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14256 -) ac_f="$tmp/stdin";;
14257 *) # Look for the file first in the build tree, then in the source tree
14258 # (if the path is not absolute). The absolute path cannot be DOS-style,
14259 # because $ac_f cannot contain `:'.
14263 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14265 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14267 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14268 as_fn_append ac_file_inputs " '$ac_f'"
14271 # Let's still pretend it is `configure' which instantiates (i.e., don't
14272 # use $as_me), people would be surprised to read:
14273 # /* config.h. Generated by config.status. */
14274 configure_input='Generated from '`
14275 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14277 if test x"$ac_file" != x-; then
14278 configure_input="$ac_file. $configure_input"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14280 $as_echo "$as_me: creating $ac_file" >&6;}
14282 # Neutralize special characters interpreted by sed in replacement strings.
14283 case $configure_input in #(
14284 *\&* | *\|* | *\\* )
14285 ac_sed_conf_input=`$as_echo "$configure_input" |
14286 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14287 *) ac_sed_conf_input=$configure_input;;
14291 *:-:* | *:-) cat >"$tmp/stdin" \
14292 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14297 ac_dir=`$as_dirname -- "$ac_file" ||
14298 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14299 X"$ac_file" : 'X\(//\)[^/]' \| \
14300 X"$ac_file" : 'X\(//\)$' \| \
14301 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14302 $as_echo X"$ac_file" |
14303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14307 /^X\(\/\/\)[^/].*/{
14320 as_dir="$ac_dir"; as_fn_mkdir_p
14324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14326 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14327 # A ".." for each directory in $ac_dir_suffix.
14328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14329 case $ac_top_builddir_sub in
14330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14334 ac_abs_top_builddir=$ac_pwd
14335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14336 # for backward compatibility:
14337 ac_top_builddir=$ac_top_build_prefix
14340 .) # We are building in place.
14342 ac_top_srcdir=$ac_top_builddir_sub
14343 ac_abs_top_srcdir=$ac_pwd ;;
14344 [\\/]* | ?:[\\/]* ) # Absolute name.
14345 ac_srcdir=$srcdir$ac_dir_suffix;
14346 ac_top_srcdir=$srcdir
14347 ac_abs_top_srcdir=$srcdir ;;
14348 *) # Relative name.
14349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14350 ac_top_srcdir=$ac_top_build_prefix$srcdir
14351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14363 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14364 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14369 # If the template does not know about datarootdir, expand it.
14370 # FIXME: This hack should be removed a few years after 2.60.
14371 ac_datarootdir_hack=; ac_datarootdir_seen=
14382 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14383 *datarootdir*) ac_datarootdir_seen=yes;;
14384 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14386 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14389 ac_datarootdir_hack='
14390 s&@datadir@&$datadir&g
14391 s&@docdir@&$docdir&g
14392 s&@infodir@&$infodir&g
14393 s&@localedir@&$localedir&g
14394 s&@mandir@&$mandir&g
14395 s&\\\${datarootdir}&$datarootdir&g' ;;
14399 # Neutralize VPATH when `$srcdir' = `.'.
14400 # Shell code in configure.ac might set extrasub.
14401 # FIXME: do we really want to maintain this feature?
14402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14403 ac_sed_extra="$ac_vpsub
14406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14409 s|@configure_input@|$ac_sed_conf_input|;t t
14410 s&@top_builddir@&$ac_top_builddir_sub&;t t
14411 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14412 s&@srcdir@&$ac_srcdir&;t t
14413 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14414 s&@top_srcdir@&$ac_top_srcdir&;t t
14415 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14416 s&@builddir@&$ac_builddir&;t t
14417 s&@abs_builddir@&$ac_abs_builddir&;t t
14418 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14419 s&@INSTALL@&$ac_INSTALL&;t t
14420 $ac_datarootdir_hack
14422 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14423 if $ac_cs_awk_getline; then
14424 $AWK -f "$tmp/subs.awk"
14426 $AWK -f "$tmp/subs.awk" | $SHELL
14428 || as_fn_error "could not create $ac_file" "$LINENO" 5
14430 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14431 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14432 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14434 which seems to be undefined. Please make sure it is defined." >&5
14435 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14436 which seems to be undefined. Please make sure it is defined." >&2;}
14440 -) cat "$tmp/out" && rm -f "$tmp/out";;
14441 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14443 || as_fn_error "could not create $ac_file" "$LINENO" 5
14455 ac_clean_files=$ac_clean_files_save
14457 test $ac_write_fail = 0 ||
14458 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14461 # configure is writing to config.log, and then calls config.status.
14462 # config.status does its own redirection, appending to config.log.
14463 # Unfortunately, on DOS this fails, as config.log is still kept open
14464 # by configure, so config.status won't be able to write to it; its
14465 # output is simply discarded. So we exec the FD to /dev/null,
14466 # effectively closing config.log, so it can be properly (re)opened and
14467 # appended to by config.status. When coming back to configure, we
14468 # need to make the FD available again.
14469 if test "$no_create" != yes; then
14471 ac_config_status_args=
14472 test "$silent" = yes &&
14473 ac_config_status_args="$ac_config_status_args --quiet"
14475 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14477 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14478 # would make configure fail if this is the last instruction.
14479 $ac_cs_success || as_fn_exit $?
14481 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14483 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}