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
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files='serialization_dependencies
741 enable_option_checking
746 enable_build_with_cxx
766 enable_ppl_version_check
771 enable_cloog_version_check
773 enable_stage1_languages
776 with_debug_prefix_map
779 enable_serial_configure
780 with_build_time_tools
781 enable_maintainer_mode
782 enable_stage1_checking
785 ac_precious_vars='build_alias
830 # Initialize some variables set by options.
832 ac_init_version=false
833 ac_unrecognized_opts=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name=s,x,x,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir='${exec_prefix}/bin'
859 sbindir='${exec_prefix}/sbin'
860 libexecdir='${exec_prefix}/libexec'
861 datarootdir='${prefix}/share'
862 datadir='${datarootdir}'
863 sysconfdir='${prefix}/etc'
864 sharedstatedir='${prefix}/com'
865 localstatedir='${prefix}/var'
866 includedir='${prefix}/include'
867 oldincludedir='/usr/include'
868 docdir='${datarootdir}/doc/${PACKAGE}'
869 infodir='${datarootdir}/info'
874 libdir='${exec_prefix}/lib'
875 localedir='${datarootdir}/locale'
876 mandir='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\$ac_option
890 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir | --bindir | --bindi | --bind | --bin | --bi)
902 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
905 -build | --build | --buil | --bui | --bu)
906 ac_prev=build_alias ;;
907 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
908 build_alias=$ac_optarg ;;
910 -cache-file | --cache-file | --cache-fil | --cache-fi \
911 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
912 ac_prev=cache_file ;;
913 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
914 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
915 cache_file=$ac_optarg ;;
918 cache_file=config.cache ;;
920 -datadir | --datadir | --datadi | --datad)
922 -datadir=* | --datadir=* | --datadi=* | --datad=*)
923 datadir=$ac_optarg ;;
925 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
926 | --dataroo | --dataro | --datar)
927 ac_prev=datarootdir ;;
928 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
929 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
930 datarootdir=$ac_optarg ;;
932 -disable-* | --disable-*)
933 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
936 as_fn_error "invalid feature name: $ac_useropt"
937 ac_useropt_orig=$ac_useropt
938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep=', ';;
946 eval enable_$ac_useropt=no ;;
948 -docdir | --docdir | --docdi | --doc | --do)
950 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
953 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
955 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
958 -enable-* | --enable-*)
959 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962 as_fn_error "invalid feature name: $ac_useropt"
963 ac_useropt_orig=$ac_useropt
964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep=', ';;
972 eval enable_$ac_useropt=\$ac_optarg ;;
974 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
975 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
976 | --exec | --exe | --ex)
977 ac_prev=exec_prefix ;;
978 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
979 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
980 | --exec=* | --exe=* | --ex=*)
981 exec_prefix=$ac_optarg ;;
983 -gas | --gas | --ga | --g)
984 # Obsolete; use --with-gas.
987 -help | --help | --hel | --he | -h)
989 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
990 ac_init_help=recursive ;;
991 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
992 ac_init_help=short ;;
994 -host | --host | --hos | --ho)
995 ac_prev=host_alias ;;
996 -host=* | --host=* | --hos=* | --ho=*)
997 host_alias=$ac_optarg ;;
999 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1001 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1003 htmldir=$ac_optarg ;;
1005 -includedir | --includedir | --includedi | --included | --include \
1006 | --includ | --inclu | --incl | --inc)
1007 ac_prev=includedir ;;
1008 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1009 | --includ=* | --inclu=* | --incl=* | --inc=*)
1010 includedir=$ac_optarg ;;
1012 -infodir | --infodir | --infodi | --infod | --info | --inf)
1014 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1015 infodir=$ac_optarg ;;
1017 -libdir | --libdir | --libdi | --libd)
1019 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1020 libdir=$ac_optarg ;;
1022 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1023 | --libexe | --libex | --libe)
1024 ac_prev=libexecdir ;;
1025 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1026 | --libexe=* | --libex=* | --libe=*)
1027 libexecdir=$ac_optarg ;;
1029 -localedir | --localedir | --localedi | --localed | --locale)
1030 ac_prev=localedir ;;
1031 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1032 localedir=$ac_optarg ;;
1034 -localstatedir | --localstatedir | --localstatedi | --localstated \
1035 | --localstate | --localstat | --localsta | --localst | --locals)
1036 ac_prev=localstatedir ;;
1037 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1038 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1039 localstatedir=$ac_optarg ;;
1041 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1043 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1044 mandir=$ac_optarg ;;
1046 -nfp | --nfp | --nf)
1047 # Obsolete; use --without-fp.
1050 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1051 | --no-cr | --no-c | -n)
1054 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1055 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1058 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1059 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1060 | --oldin | --oldi | --old | --ol | --o)
1061 ac_prev=oldincludedir ;;
1062 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1063 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1064 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1065 oldincludedir=$ac_optarg ;;
1067 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1069 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1070 prefix=$ac_optarg ;;
1072 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1073 | --program-pre | --program-pr | --program-p)
1074 ac_prev=program_prefix ;;
1075 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1076 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1077 program_prefix=$ac_optarg ;;
1079 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1080 | --program-suf | --program-su | --program-s)
1081 ac_prev=program_suffix ;;
1082 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1083 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1084 program_suffix=$ac_optarg ;;
1086 -program-transform-name | --program-transform-name \
1087 | --program-transform-nam | --program-transform-na \
1088 | --program-transform-n | --program-transform- \
1089 | --program-transform | --program-transfor \
1090 | --program-transfo | --program-transf \
1091 | --program-trans | --program-tran \
1092 | --progr-tra | --program-tr | --program-t)
1093 ac_prev=program_transform_name ;;
1094 -program-transform-name=* | --program-transform-name=* \
1095 | --program-transform-nam=* | --program-transform-na=* \
1096 | --program-transform-n=* | --program-transform-=* \
1097 | --program-transform=* | --program-transfor=* \
1098 | --program-transfo=* | --program-transf=* \
1099 | --program-trans=* | --program-tran=* \
1100 | --progr-tra=* | --program-tr=* | --program-t=*)
1101 program_transform_name=$ac_optarg ;;
1103 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1105 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1106 pdfdir=$ac_optarg ;;
1108 -psdir | --psdir | --psdi | --psd | --ps)
1110 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1114 | -silent | --silent | --silen | --sile | --sil)
1117 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1119 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1121 sbindir=$ac_optarg ;;
1123 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1124 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1125 | --sharedst | --shareds | --shared | --share | --shar \
1127 ac_prev=sharedstatedir ;;
1128 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1129 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1130 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1132 sharedstatedir=$ac_optarg ;;
1134 -site | --site | --sit)
1136 -site=* | --site=* | --sit=*)
1139 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1141 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1142 srcdir=$ac_optarg ;;
1144 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1145 | --syscon | --sysco | --sysc | --sys | --sy)
1146 ac_prev=sysconfdir ;;
1147 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1148 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1149 sysconfdir=$ac_optarg ;;
1151 -target | --target | --targe | --targ | --tar | --ta | --t)
1152 ac_prev=target_alias ;;
1153 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1154 target_alias=$ac_optarg ;;
1156 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1159 -version | --version | --versio | --versi | --vers | -V)
1160 ac_init_version=: ;;
1163 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1166 as_fn_error "invalid package name: $ac_useropt"
1167 ac_useropt_orig=$ac_useropt
1168 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1174 ac_unrecognized_sep=', ';;
1176 eval with_$ac_useropt=\$ac_optarg ;;
1178 -without-* | --without-*)
1179 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1182 as_fn_error "invalid package name: $ac_useropt"
1183 ac_useropt_orig=$ac_useropt
1184 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1190 ac_unrecognized_sep=', ';;
1192 eval with_$ac_useropt=no ;;
1195 # Obsolete; use --with-x.
1198 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1199 | --x-incl | --x-inc | --x-in | --x-i)
1200 ac_prev=x_includes ;;
1201 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1202 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1203 x_includes=$ac_optarg ;;
1205 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1206 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1207 ac_prev=x_libraries ;;
1208 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1209 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1210 x_libraries=$ac_optarg ;;
1212 -*) as_fn_error "unrecognized option: \`$ac_option'
1213 Try \`$0 --help' for more information."
1217 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1218 # Reject names that are not valid shell variable names.
1219 case $ac_envvar in #(
1220 '' | [0-9]* | *[!_$as_cr_alnum]* )
1221 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 eval $ac_envvar=\$ac_optarg
1224 export $ac_envvar ;;
1227 # FIXME: should be removed in autoconf 3.0.
1228 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1237 if test -n "$ac_prev"; then
1238 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1239 as_fn_error "missing argument to $ac_option"
1242 if test -n "$ac_unrecognized_opts"; then
1243 case $enable_option_checking in
1245 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1246 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 # Check all directory arguments for consistency.
1251 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1252 datadir sysconfdir sharedstatedir localstatedir includedir \
1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1254 libdir localedir mandir
1256 eval ac_val=\$$ac_var
1257 # Remove trailing slashes.
1260 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1261 eval $ac_var=\$ac_val;;
1263 # Be sure to have absolute directory names.
1265 [\\/$]* | ?:[\\/]* ) continue;;
1266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1268 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1271 # There might be people who depend on the old broken behavior: `$host'
1272 # used to hold the argument of --host etc.
1273 # FIXME: To remove some day.
1276 target=$target_alias
1278 # FIXME: To remove some day.
1279 if test "x$host_alias" != x; then
1280 if test "x$build_alias" = x; then
1281 cross_compiling=maybe
1282 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1283 If a cross compiler is detected then cross compile mode will be used." >&2
1284 elif test "x$build_alias" != "x$host_alias"; then
1290 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1292 test "$silent" = yes && exec 6>/dev/null
1295 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di=`ls -di .` &&
1297 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 as_fn_error "working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 as_fn_error "pwd does not report name of working directory"
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1341 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1353 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 as_fn_error "path to source, $srcdir, contains spaces"
1360 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1362 for ac_var in $ac_precious_vars; do
1363 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_${ac_var}_value=\$${ac_var}
1365 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures this package to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --program-prefix=PREFIX prepend PREFIX to installed program names
1435 --program-suffix=SUFFIX append SUFFIX to installed program names
1436 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1439 --build=BUILD configure for building on BUILD [guessed]
1440 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1441 --target=TARGET configure for building compilers for TARGET [HOST]
1445 if test -n "$ac_init_help"; then
1450 --disable-option-checking ignore unrecognized --enable/--with options
1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1453 --enable-gold[=ARG] build gold [ARG={both}[/{gold,ld}]]
1454 --enable-libada build libada directory
1455 --enable-libssp build libssp directory
1456 --enable-build-with-cxx build with C++ compiler instead of C compiler
1457 --disable-ppl-version-check disable check for PPL version
1458 --enable-cloog-backend[=BACKEND]
1459 set the CLooG BACKEND used to either isl, ppl or
1460 ppl-legacy (default)
1461 --disable-cloog-version-check
1462 disable check for CLooG version
1463 --enable-lto enable link time optimization support
1464 --enable-stage1-languages[=all] choose additional languages to build during
1465 stage1. Mostly useful for compiler development.
1466 --enable-objc-gc enable use of Boehm's garbage collector with the
1467 GNU Objective-C runtime
1468 --enable-bootstrap enable bootstrapping [yes if native build]
1469 --enable-serial-[{host,target,build}-]configure
1470 force sequential configuration of
1471 sub-packages for the host, target or build
1472 machine, or all sub-packages
1473 --enable-maintainer-mode enable make rules and dependencies not useful
1474 (and sometimes confusing) to the casual installer
1475 --enable-stage1-checking[=all] choose additional checking for stage1
1477 --enable-werror enable -Werror in bootstrap stage2 and later
1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1482 --with-build-libsubdir=DIR Directory where to find libraries for build system
1483 --with-mpc=PATH specify prefix directory for installed MPC package.
1484 Equivalent to --with-mpc-include=PATH/include
1485 plus --with-mpc-lib=PATH/lib
1486 --with-mpc-include=PATH
1487 specify directory for installed MPC include files
1488 --with-mpc-lib=PATH specify directory for the installed MPC library
1489 --with-mpfr-dir=PATH this option has been REMOVED
1490 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1491 Equivalent to --with-mpfr-include=PATH/include
1492 plus --with-mpfr-lib=PATH/lib
1493 --with-mpfr-include=PATH
1494 specify directory for installed MPFR include files
1495 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1496 --with-gmp-dir=PATH this option has been REMOVED
1497 --with-gmp=PATH specify prefix directory for the installed GMP package.
1498 Equivalent to --with-gmp-include=PATH/include
1499 plus --with-gmp-lib=PATH/lib
1500 --with-gmp-include=PATH specify directory for installed GMP include files
1501 --with-gmp-lib=PATH specify directory for the installed GMP library
1502 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1503 when linking with PPL
1504 --with-stage1-ldflags=FLAGS Linker flags for stage1
1505 -with-stage1-libs=LIBS Libraries for stage1
1506 --with-boot-libs=LIBS Libraries for stage2 and later
1507 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1508 --with-ppl=PATH Specify prefix directory for the installed PPL package
1509 Equivalent to --with-ppl-include=PATH/include
1510 plus --with-ppl-lib=PATH/lib
1511 --with-ppl-include=PATH Specify directory for installed PPL include files
1512 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1513 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1514 package. Equivalent to
1515 --with-cloog-include=PATH/include plus
1516 --with-cloog-lib=PATH/lib
1517 --with-cloog-include=PATH
1518 Specify directory for installed CLooG include files
1519 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1521 --with-build-sysroot=SYSROOT
1522 use sysroot as the system root during the build
1523 --with-debug-prefix-map='A=B C=D ...'
1524 map A to B, C to D ... in debug information
1525 --with-build-config='NAME NAME2...'
1526 Use config/NAME.mk build configuration
1527 --with-build-time-tools=PATH
1528 use given path to find target tools during the build
1530 Some influential environment variables:
1531 CC C compiler command
1532 CFLAGS C compiler flags
1533 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1534 nonstandard directory <lib dir>
1535 LIBS libraries to pass to the linker, e.g. -l<library>
1536 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1537 you have headers in a nonstandard directory <include dir>
1538 CXX C++ compiler command
1539 CXXFLAGS C++ compiler flags
1541 additional configure arguments for build directories
1543 additional configure arguments for host directories
1545 additional configure arguments for target directories
1548 DLLTOOL DLLTOOL for the host
1550 LIPO LIPO for the host
1552 RANLIB RANLIB for the host
1553 STRIP STRIP for the host
1554 WINDRES WINDRES for the host
1555 WINDMC WINDMC for the host
1556 OBJCOPY OBJCOPY for the host
1557 OBJDUMP OBJDUMP for the host
1567 GFORTRAN for the target
1575 DLLTOOL for the target
1583 OBJDUMP for the target
1585 RANLIB for the target
1587 STRIP for the target
1589 WINDRES for the target
1591 WINDMC for the target
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1596 Report bugs to the package provider.
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1626 .) # We are building in place.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1660 generated by GNU Autoconf 2.64
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_link LINENO
1750 # -----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext conftest$ac_exeext
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest$ac_exeext && {
1775 test "$cross_compiling" = yes ||
1776 $as_test_x conftest$ac_exeext
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1787 # interfere with the next link command; also delete a directory that is
1788 # left behind by Apple's compiler. We do this before executing the actions.
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 } # ac_fn_c_try_link
1794 cat >config.log <<_ACEOF
1795 This file contains any messages produced by compilers while
1796 running configure, to aid debugging if configure makes a mistake.
1798 It was created by $as_me, which was
1799 generated by GNU Autoconf 2.64. Invocation command line was
1811 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1812 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1813 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1814 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1815 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1817 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1818 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1820 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1821 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1822 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1823 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1824 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1825 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1826 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 $as_echo "PATH: $as_dir"
1851 # Keep a trace of the command line.
1852 # Strip out --no-create and --no-recursion so they do not pile up.
1853 # Strip out --silent because we don't want to record it for future runs.
1854 # Also quote any args containing shell meta-characters.
1855 # Make two passes to allow for proper duplicate-argument suppression.
1859 ac_must_keep_next=false
1865 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1867 | -silent | --silent | --silen | --sile | --sil)
1870 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1873 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1875 as_fn_append ac_configure_args1 " '$ac_arg'"
1876 if test $ac_must_keep_next = true; then
1877 ac_must_keep_next=false # Got value, back to normal.
1880 *=* | --config-cache | -C | -disable-* | --disable-* \
1881 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1882 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1883 | -with-* | --with-* | -without-* | --without-* | --x)
1884 case "$ac_configure_args0 " in
1885 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1888 -* ) ac_must_keep_next=true ;;
1891 as_fn_append ac_configure_args " '$ac_arg'"
1896 { ac_configure_args0=; unset ac_configure_args0;}
1897 { ac_configure_args1=; unset ac_configure_args1;}
1899 # When interrupted or exit'd, cleanup temporary files, and complete
1900 # config.log. We remove comments because anyway the quotes in there
1901 # would cause problems or look ugly.
1902 # WARNING: Use '\'' to represent an apostrophe within the trap.
1903 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1904 trap 'exit_status=$?
1905 # Save into config.log some information that might help in debugging.
1910 ## ---------------- ##
1911 ## Cache variables. ##
1912 ## ---------------- ##
1915 # The following way of writing the cache mishandles newlines in values,
1917 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1918 eval ac_val=\$$ac_var
1922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1926 _ | IFS | as_nl) ;; #(
1927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1928 *) { eval $ac_var=; unset $ac_var;} ;;
1933 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1934 *${as_nl}ac_space=\ *)
1936 "s/'\''/'\''\\\\'\'''\''/g;
1937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1948 ## ----------------- ##
1949 ## Output variables. ##
1950 ## ----------------- ##
1953 for ac_var in $ac_subst_vars
1955 eval ac_val=\$$ac_var
1957 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1959 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -n "$ac_subst_files"; then
1965 ## ------------------- ##
1966 ## File substitutions. ##
1967 ## ------------------- ##
1970 for ac_var in $ac_subst_files
1972 eval ac_val=\$$ac_var
1974 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1976 $as_echo "$ac_var='\''$ac_val'\''"
1981 if test -s confdefs.h; then
1991 test "$ac_signal" != 0 &&
1992 $as_echo "$as_me: caught signal $ac_signal"
1993 $as_echo "$as_me: exit $exit_status"
1995 rm -f core *.core core.conftest.* &&
1996 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1999 for ac_signal in 1 2 13 15; do
2000 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2004 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2005 rm -f -r conftest* confdefs.h
2007 $as_echo "/* confdefs.h */" > confdefs.h
2009 # Predefined preprocessor variables.
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_NAME "$PACKAGE_NAME"
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_STRING "$PACKAGE_STRING"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_URL "$PACKAGE_URL"
2036 # Let the site file select an alternate cache file if it wants to.
2037 # Prefer an explicitly selected file to automatically selected ones.
2040 if test -n "$CONFIG_SITE"; then
2041 ac_site_file1=$CONFIG_SITE
2042 elif test "x$prefix" != xNONE; then
2043 ac_site_file1=$prefix/share/config.site
2044 ac_site_file2=$prefix/etc/config.site
2046 ac_site_file1=$ac_default_prefix/share/config.site
2047 ac_site_file2=$ac_default_prefix/etc/config.site
2049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2051 test "x$ac_site_file" = xNONE && continue
2052 if test -r "$ac_site_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
2060 if test -r "$cache_file"; then
2061 # Some versions of bash will fail to source /dev/null (special
2062 # files actually), so we avoid doing that.
2063 if test -f "$cache_file"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2065 $as_echo "$as_me: loading cache $cache_file" >&6;}
2067 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2068 *) . "./$cache_file";;
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2073 $as_echo "$as_me: creating cache $cache_file" >&6;}
2077 # Check that the precious variables saved in the cache have kept the same
2079 ac_cache_corrupted=false
2080 for ac_var in $ac_precious_vars; do
2081 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2082 eval ac_new_set=\$ac_env_${ac_var}_set
2083 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2084 eval ac_new_val=\$ac_env_${ac_var}_value
2085 case $ac_old_set,$ac_new_set in
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2089 ac_cache_corrupted=: ;;
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2093 ac_cache_corrupted=: ;;
2096 if test "x$ac_old_val" != "x$ac_new_val"; then
2097 # differences in whitespace do not lead to failure.
2098 ac_old_val_w=`echo x $ac_old_val`
2099 ac_new_val_w=`echo x $ac_new_val`
2100 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2103 ac_cache_corrupted=:
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2107 eval $ac_var=\$ac_old_val
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2115 # Pass precious variables to config.status.
2116 if test "$ac_new_set" = set; then
2118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2119 *) ac_arg=$ac_var=$ac_new_val ;;
2121 case " $ac_configure_args " in
2122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2123 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2127 if $ac_cache_corrupted; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2132 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2134 ## -------------------- ##
2135 ## Main body of script. ##
2136 ## -------------------- ##
2139 ac_cpp='$CPP $CPPFLAGS'
2140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 # if PWD already has a value, it is probably wrong.
2154 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2156 # Export original configure arguments for use by sub-configures.
2157 # Quote arguments with shell meta charatcers.
2158 TOPLEVEL_CONFIGURE_ARGUMENTS=
2159 set -- "$progname" "$@"
2163 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2164 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2165 # if the argument is of the form -foo=baz, quote the baz part only
2166 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2169 # Add the quoted argument to the list.
2170 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2172 if test "$silent" = yes; then
2173 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2175 # Remove the initial space we just introduced and, as these will be
2176 # expanded by make, quote '$'.
2177 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2180 # Find the build, host, and target systems.
2182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2183 for ac_t in install-sh install.sh shtool; do
2184 if test -f "$ac_dir/$ac_t"; then
2186 ac_install_sh="$ac_aux_dir/$ac_t -c"
2191 if test -z "$ac_aux_dir"; then
2192 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2195 # These three variables are undocumented and unsupported,
2196 # and are intended to be withdrawn in a future Autoconf release.
2197 # They can cause serious problems if a builder's source tree is in a directory
2198 # whose full name contains unusual characters.
2199 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2200 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2201 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2204 # Make sure we can run config.sub.
2205 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2206 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2209 $as_echo_n "checking build system type... " >&6; }
2210 if test "${ac_cv_build+set}" = set; then :
2211 $as_echo_n "(cached) " >&6
2213 ac_build_alias=$build_alias
2214 test "x$ac_build_alias" = x &&
2215 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2216 test "x$ac_build_alias" = x &&
2217 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2218 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2219 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2223 $as_echo "$ac_cv_build" >&6; }
2224 case $ac_cv_build in
2226 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2229 ac_save_IFS=$IFS; IFS='-'
2235 # Remember, the first character of IFS is used to create $*,
2236 # except with old shells:
2239 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2242 case ${build_alias} in
2243 "") build_noncanonical=${build} ;;
2244 *) build_noncanonical=${build_alias} ;;
2249 case ${host_alias} in
2250 "") host_noncanonical=${build_noncanonical} ;;
2251 *) host_noncanonical=${host_alias} ;;
2256 case ${target_alias} in
2257 "") target_noncanonical=${host_noncanonical} ;;
2258 *) target_noncanonical=${target_alias} ;;
2264 test "$host_noncanonical" = "$target_noncanonical" &&
2265 test "$program_prefix$program_suffix$program_transform_name" = \
2267 program_transform_name=s,y,y,
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2270 $as_echo_n "checking host system type... " >&6; }
2271 if test "${ac_cv_host+set}" = set; then :
2272 $as_echo_n "(cached) " >&6
2274 if test "x$host_alias" = x; then
2275 ac_cv_host=$ac_cv_build
2277 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2278 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2283 $as_echo "$ac_cv_host" >&6; }
2286 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2289 ac_save_IFS=$IFS; IFS='-'
2295 # Remember, the first character of IFS is used to create $*,
2296 # except with old shells:
2299 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2303 $as_echo_n "checking target system type... " >&6; }
2304 if test "${ac_cv_target+set}" = set; then :
2305 $as_echo_n "(cached) " >&6
2307 if test "x$target_alias" = x; then
2308 ac_cv_target=$ac_cv_host
2310 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2311 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2316 $as_echo "$ac_cv_target" >&6; }
2317 case $ac_cv_target in
2319 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2321 target=$ac_cv_target
2322 ac_save_IFS=$IFS; IFS='-'
2328 # Remember, the first character of IFS is used to create $*,
2329 # except with old shells:
2332 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2335 # The aliases save the names the user supplied, while $host etc.
2336 # will get canonicalized.
2337 test -n "$target_alias" &&
2338 test "$program_prefix$program_suffix$program_transform_name" = \
2340 program_prefix=${target_alias}-
2342 test "$program_prefix" != NONE &&
2343 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2344 # Use a double $ so make ignores it.
2345 test "$program_suffix" != NONE &&
2346 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2347 # Double any \ or $.
2348 # By default was `s,x,x', remove it if useless.
2349 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2350 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2354 # Get 'install' or 'install-sh' and its variants.
2355 # Find a good install program. We prefer a C program (faster),
2356 # so one script is as good as another. But avoid the broken or
2357 # incompatible versions:
2358 # SysV /etc/install, /usr/sbin/install
2359 # SunOS /usr/etc/install
2360 # IRIX /sbin/install
2362 # AmigaOS /C/install, which installs bootblocks on floppy discs
2363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2366 # OS/2's system install, which has a completely different semantic
2367 # ./install, which can be erroneously created by make from ./install.sh.
2368 # Reject install programs that cannot install multiple files.
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2370 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2371 if test -z "$INSTALL"; then
2372 if test "${ac_cv_path_install+set}" = set; then :
2373 $as_echo_n "(cached) " >&6
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 # Account for people who put trailing slashes in PATH elements.
2381 case $as_dir/ in #((
2382 ./ | .// | /[cC]/* | \
2383 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2384 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2387 # OSF1 and SCO ODT 3.0 have their own names for install.
2388 # Don't use installbsd from OSF since it installs stuff as root
2390 for ac_prog in ginstall scoinst install; do
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2393 if test $ac_prog = install &&
2394 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395 # AIX install. It has an incompatible calling convention.
2397 elif test $ac_prog = install &&
2398 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399 # program-specific install script used by HP pwplus--don't use.
2402 rm -rf conftest.one conftest.two conftest.dir
2403 echo one > conftest.one
2404 echo two > conftest.two
2406 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2407 test -s conftest.one && test -s conftest.two &&
2408 test -s conftest.dir/conftest.one &&
2409 test -s conftest.dir/conftest.two
2411 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2424 rm -rf conftest.one conftest.two conftest.dir
2427 if test "${ac_cv_path_install+set}" = set; then
2428 INSTALL=$ac_cv_path_install
2430 # As a last resort, use the slow shell script. Don't cache a
2431 # value for INSTALL within a source directory, because that will
2432 # break other packages using the cache if that directory is
2433 # removed, or if the value is a relative name.
2434 INSTALL=$ac_install_sh
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2438 $as_echo "$INSTALL" >&6; }
2440 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441 # It thinks the first close brace ends the variable substitution.
2442 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2444 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2446 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2449 $as_echo_n "checking whether ln works... " >&6; }
2450 if test "${acx_cv_prog_LN+set}" = set; then :
2451 $as_echo_n "(cached) " >&6
2453 rm -f conftestdata_t
2454 echo >conftestdata_f
2455 if ln conftestdata_f conftestdata_t 2>/dev/null
2461 rm -f conftestdata_f conftestdata_t
2464 if test $acx_cv_prog_LN = no; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2467 $as_echo "no, using $LN" >&6; }
2469 LN="$acx_cv_prog_LN"
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2471 $as_echo "yes" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2475 $as_echo_n "checking whether ln -s works... " >&6; }
2477 if test "$LN_S" = "ln -s"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2479 $as_echo "yes" >&6; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2482 $as_echo "no, using $LN_S" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2486 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2487 if test "${ac_cv_path_SED+set}" = set; then :
2488 $as_echo_n "(cached) " >&6
2490 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2491 for ac_i in 1 2 3 4 5 6 7; do
2492 ac_script="$ac_script$as_nl$ac_script"
2494 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2495 { ac_script=; unset ac_script;}
2496 if test -z "$SED"; then
2497 ac_path_SED_found=false
2498 # Loop through the user's path and test for each of PROGNAME-LIST
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 for ac_prog in sed gsed; do
2505 for ac_exec_ext in '' $ac_executable_extensions; do
2506 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2507 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2508 # Check for GNU ac_path_SED and select it if it is found.
2509 # Check for GNU $ac_path_SED
2510 case `"$ac_path_SED" --version 2>&1` in
2512 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2515 $as_echo_n 0123456789 >"conftest.in"
2518 cat "conftest.in" "conftest.in" >"conftest.tmp"
2519 mv "conftest.tmp" "conftest.in"
2520 cp "conftest.in" "conftest.nl"
2521 $as_echo '' >> "conftest.nl"
2522 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2523 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2524 as_fn_arith $ac_count + 1 && ac_count=$as_val
2525 if test $ac_count -gt ${ac_path_SED_max-0}; then
2526 # Best one so far, save it but keep looking for a better one
2527 ac_cv_path_SED="$ac_path_SED"
2528 ac_path_SED_max=$ac_count
2530 # 10*(2^10) chars as input seems more than enough
2531 test $ac_count -gt 10 && break
2533 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2536 $ac_path_SED_found && break 3
2541 if test -z "$ac_cv_path_SED"; then
2542 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2550 $as_echo "$ac_cv_path_SED" >&6; }
2551 SED="$ac_cv_path_SED"
2554 for ac_prog in gawk mawk nawk awk
2556 # Extract the first word of "$ac_prog", so it can be a program name with args.
2557 set dummy $ac_prog; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if test "${ac_cv_prog_AWK+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$AWK"; then
2564 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir=.
2571 for ac_exec_ext in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 ac_cv_prog_AWK="$ac_prog"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 if test -n "$AWK"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2586 $as_echo "$AWK" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2593 test -n "$AWK" && break
2597 ### we might need to use some other shell than /bin/sh for running subshells
2598 ### If we are on Windows, search for the shell. This will permit people
2599 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2600 ### without also having to set CONFIG_SHELL. This code will work when
2601 ### using bash, which sets OSTYPE.
2604 if test x${CONFIG_SHELL} = x ; then
2605 if test ! -f /bin/sh ; then
2606 if test x${SHELL} != x && test -f ${SHELL} ; then
2607 CONFIG_SHELL=${SHELL}
2610 for prog in sh sh.exe bash bash.exe; do
2611 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
2612 for dir in $PATH; do
2613 test -z "$dir" && dir=.
2614 if test -f $dir/$prog; then
2615 CONFIG_SHELL=$dir/$prog
2621 test -n "${CONFIG_SHELL}" && break
2629 config_shell=${CONFIG_SHELL-/bin/sh}
2631 moveifchange=${srcdir}/move-if-change
2633 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2635 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2637 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2638 INSTALL="${srcpwd}/install-sh -c"
2641 # Set srcdir to "." if that's what it is.
2642 # This is important for multilib support.
2644 if test "${pwd}" = "${srcpwd}" ; then
2652 ### To add a new directory to the tree, first choose whether it is a target
2653 ### or a host dependent tool. Then put it into the appropriate list
2654 ### (library or tools, host or target), doing a dependency sort.
2656 # Subdirs will be configured in the order listed in build_configdirs,
2657 # configdirs, or target_configdirs; see the serialization section below.
2659 # Dependency sorting is only needed when *configuration* must be done in
2660 # a particular order. In all cases a dependency should be specified in
2661 # the Makefile, whether or not it's implicitly specified here.
2663 # Double entries in build_configdirs, configdirs, or target_configdirs may
2664 # cause circular dependencies and break everything horribly.
2666 # these library is used by various programs built for the build
2669 build_libs="build-libiberty"
2671 # these tools are built for the build environment
2672 build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2674 # these libraries are used by various programs built for the host environment
2676 host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2678 # these tools are built for the host environment
2679 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2680 # know that we are building the simulator.
2681 # binutils, gas and ld appear in that order because it makes sense to run
2682 # "make check" in that particular order.
2683 # If --enable-gold is used, "gold" may replace "ld".
2684 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"
2686 # libgcj represents the runtime libraries only used by gcj.
2687 libgcj="target-libffi \
2692 # these libraries are built for the target environment, and are built after
2693 # the host libraries and the host tools (which may be a cross compiler)
2695 target_libraries="target-libgcc \
2700 target-libstdc++-v3 \
2703 target-libquadmath \
2704 target-libgfortran \
2711 # these tools are built using the target libraries, and are intended to
2712 # run only in the target environment
2714 # note: any program that *uses* libraries that are in the "target_libraries"
2715 # list belongs in this list. those programs are also very likely
2716 # candidates for the "native_only" list which follows
2718 target_tools="target-examples target-groff target-gperf target-rda"
2720 ################################################################################
2722 ## All tools belong in one of the four categories, and are assigned above
2723 ## We assign ${configdirs} this way to remove all embedded newlines. This
2724 ## is important because configure will choke if they ever get through.
2725 ## ${configdirs} is directories we build using the host tools.
2726 ## ${target_configdirs} is directories we build using the target tools.
2727 configdirs=`echo ${host_libs} ${host_tools}`
2728 target_configdirs=`echo ${target_libraries} ${target_tools}`
2729 build_configdirs=`echo ${build_libs} ${build_tools}`
2733 ################################################################################
2735 srcname="gnu development package"
2737 # This gets set non-empty for some net releases of packages.
2740 # Define is_cross_compiler to save on calls to 'test'.
2742 if test x"${host}" = x"${target}" ; then
2743 is_cross_compiler=no
2745 is_cross_compiler=yes
2748 # Find the build and target subdir names.
2750 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2751 # have matching libraries, they should use host libraries: Makefile.tpl
2752 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2753 # However, they still use the build modules, because the corresponding
2754 # host modules (e.g. bison) are only built for the host when bootstrap
2756 # - build_subdir is where we find build modules, and never changes.
2757 # - build_libsubdir is where we find build libraries, and can be overridden.
2759 # Prefix 'build-' so this never conflicts with target_subdir.
2760 build_subdir="build-${build_noncanonical}"
2762 # Check whether --with-build-libsubdir was given.
2763 if test "${with_build_libsubdir+set}" = set; then :
2764 withval=$with_build_libsubdir; build_libsubdir="$withval"
2766 build_libsubdir="$build_subdir"
2769 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2770 if ( test $srcdir = . && test -d gcc ) \
2771 || test -d $srcdir/../host-${host_noncanonical}; then
2772 host_subdir="host-${host_noncanonical}"
2777 target_subdir=${target_noncanonical}
2779 # Be sure to cover against remnants of an in-tree build.
2780 if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2781 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2782 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2785 # Skipdirs are removed silently.
2787 # Noconfigdirs are removed loudly.
2791 # Make sure we don't let GNU ld be added if we didn't want it.
2792 if test x$with_gnu_ld = xno ; then
2794 noconfigdirs="$noconfigdirs ld gold"
2798 # Make sure we don't let GNU as be added if we didn't want it.
2799 if test x$with_gnu_as = xno ; then
2801 noconfigdirs="$noconfigdirs gas"
2805 # Make sure we don't let ZLIB be added if we didn't want it.
2806 if test x$with_system_zlib = xyes ; then
2807 use_included_zlib=no
2808 noconfigdirs="$noconfigdirs zlib"
2811 # some tools are so dependent upon X11 that if we're not building with X,
2812 # it's not even worth trying to configure, much less build, that tool.
2815 yes | "") ;; # the default value for this tree is that X11 is available
2817 skipdirs="${skipdirs} tk itcl libgui"
2818 # We won't be able to build gdbtk without X.
2821 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2824 # Some tools are only suitable for building in a "native" situation.
2825 # Remove these if host!=target.
2826 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"
2828 # Similarly, some are only suitable for cross toolchains.
2829 # Remove these if host=target.
2830 cross_only="target-libgloss target-newlib target-opcodes"
2832 case $is_cross_compiler in
2833 no) skipdirs="${skipdirs} ${cross_only}" ;;
2834 yes) skipdirs="${skipdirs} ${native_only}" ;;
2837 # If both --with-headers and --with-libs are specified, default to
2839 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2840 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2841 if test x"${with_newlib}" = x ; then
2846 # Recognize --with-newlib/--without-newlib.
2847 case ${with_newlib} in
2848 no) skipdirs="${skipdirs} target-newlib" ;;
2849 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2852 # Handle --enable-gold.
2853 # --enable-gold Build only gold
2854 # --disable-gold [default] Build only ld
2855 # --enable-gold=both Build both gold and ld, ld is default
2856 # --enable-gold=both/ld Same
2857 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
2859 # Check whether --enable-gold was given.
2860 if test "${enable_gold+set}" = set; then :
2861 enableval=$enable_gold; ENABLE_GOLD=$enableval
2866 case "${ENABLE_GOLD}" in
2867 yes|both|both/gold|both/ld)
2868 # Check for ELF target.
2871 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2872 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2873 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*)
2875 *-*-linux*aout* | *-*-linux*oldld*)
2883 if test "$is_elf" = "yes"; then
2884 # Check for target supported by gold.
2886 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2887 case "${ENABLE_GOLD}" in
2889 configdirs="$configdirs gold"
2892 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
2903 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
2907 # Configure extra directories which are host specific
2911 configdirs="$configdirs libtermcap" ;;
2914 # A target can indicate whether a language isn't supported for some reason.
2915 # Only spaces may be used in this macro; not newlines or tabs.
2916 unsupported_languages=
2918 # Remove more programs from consideration, based on the host or
2919 # target this usually means that a port of the program doesn't
2924 noconfigdirs="$noconfigdirs byacc"
2926 i[3456789]86-*-vsta)
2927 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2929 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
2930 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2933 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2935 i[3456789]86-*-mingw32*)
2936 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2937 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2939 i[3456789]86-*-beos*)
2940 noconfigdirs="$noconfigdirs tk itcl libgui gdb"
2943 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
2946 noconfigdirs="$noconfigdirs rcs"
2949 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2952 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2957 # Check whether --enable-libada was given.
2958 if test "${enable_libada+set}" = set; then :
2959 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2964 if test "${ENABLE_LIBADA}" != "yes" ; then
2965 noconfigdirs="$noconfigdirs gnattools"
2968 # Check whether --enable-libssp was given.
2969 if test "${enable_libssp+set}" = set; then :
2970 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2976 # Save it here so that, even in case of --enable-libgcj, if the Java
2977 # front-end isn't enabled, we still get libgcj disabled.
2978 libgcj_saved=$libgcj
2979 case $enable_libgcj in
2981 # If we reset it here, it won't get added to noconfigdirs in the
2982 # target-specific build rules, so it will be forcibly enabled
2983 # (unless the Java language itself isn't enabled).
2987 # Make sure we get it printed in the list of not supported target libs.
2988 # Don't disable libffi, though, other languages use it.
2989 noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
2994 # Disable libmudflap on some systems.
2995 if test x$enable_libmudflap = x ; then
2997 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
2998 # Enable libmudflap by default in GNU and friends.
3001 # Enable libmudflap by default in FreeBSD.
3004 # Disable it by default everywhere else.
3005 noconfigdirs="$noconfigdirs target-libmudflap"
3010 # Disable libgomp on non POSIX hosted systems.
3011 if test x$enable_libgomp = x ; then
3012 # Enable libgomp by default on hosted POSIX systems.
3014 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3016 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
3018 *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
3020 *-*-darwin* | *-*-aix*)
3023 noconfigdirs="$noconfigdirs target-libgomp"
3028 # Default libgloss CPU subdirectory.
3029 libgloss_dir="$target_cpu"
3033 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3036 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3037 noconfigdirs="$noconfigdirs sim target-rda"
3039 i[3456789]86-*-darwin*)
3040 noconfigdirs="$noconfigdirs ld gprof"
3041 noconfigdirs="$noconfigdirs sim target-rda"
3043 x86_64-*-darwin[912]*)
3044 noconfigdirs="$noconfigdirs ld gas gprof"
3045 noconfigdirs="$noconfigdirs sim target-rda"
3048 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3049 noconfigdirs="$noconfigdirs sim target-rda"
3050 noconfigdirs="$noconfigdirs ${libgcj}"
3052 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
3053 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3056 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3057 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
3058 && test -f /usr/local/include/gmp.h; then
3062 # Skip some stuff that's unsupported on some FreeBSD configurations.
3068 noconfigdirs="$noconfigdirs ${libgcj}"
3073 # Remove unsupported stuff on all kaOS configurations.
3074 skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3075 skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
3076 skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3077 noconfigdirs="$noconfigdirs target-libgloss"
3080 # Skip some stuff on all NetBSD configurations.
3081 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
3083 # Skip some stuff that's unsupported on some NetBSD configurations.
3085 i*86-*-netbsdelf*) ;;
3086 arm*-*-netbsdelf*) ;;
3088 noconfigdirs="$noconfigdirs ${libgcj}"
3093 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3096 skipdirs="${skipdirs} target-libiberty"
3097 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3099 # The tpf target doesn't support gdb yet.
3101 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3104 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3107 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3110 # ld works, but does not support shared libraries.
3111 # newlib is not 64 bit ready. I'm not sure about fileutils.
3112 # gas doesn't generate exception information.
3113 noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3116 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3119 # newlib is not 64 bit ready
3120 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3123 # newlib is not 64 bit ready
3124 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3127 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3130 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3132 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3133 noconfigdirs="$noconfigdirs ${libgcj}"
3134 noconfigdirs="$noconfigdirs target-examples"
3135 noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
3136 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3137 noconfigdirs="$noconfigdirs expect dejagnu"
3138 # the C++ libraries don't build on top of CE's C libraries
3139 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3140 noconfigdirs="$noconfigdirs target-newlib"
3142 *-*-cygwin*) ;; # keep gdb and readline
3143 *) noconfigdirs="$noconfigdirs gdb readline"
3149 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3153 arm-*-coff | strongarm-*-coff | xscale-*-coff)
3154 noconfigdirs="$noconfigdirs ${libgcj}"
3157 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
3158 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
3161 arm*-*-linux-gnueabi)
3162 noconfigdirs="$noconfigdirs target-qthreads"
3163 case ${with_newlib} in
3164 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3169 noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
3173 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3176 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3179 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3182 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3185 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3188 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3191 unsupported_languages="$unsupported_languages java"
3192 noconfigdirs="$noconfigdirs target-boehm-gc gdb"
3193 if test x${is_cross_compiler} != xno ; then
3194 target_configdirs="${target_configdirs} target-bsp target-cygmon"
3197 c4x-*-* | tic4x-*-*)
3198 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3200 c54x*-*-* | tic54x-*-*)
3201 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3204 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3206 cris-*-* | crisv32-*-*)
3207 unsupported_languages="$unsupported_languages java"
3210 unsupported_languages="$unsupported_languages fortran"
3211 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3213 noconfigdirs="$noconfigdirs target-boehm-gc";;
3215 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
3217 unsupported_languages="$unsupported_languages fortran"
3218 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3223 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3226 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3229 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3231 ep9312-*-elf | ep9312-*-coff)
3235 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3238 noconfigdirs="$noconfigdirs ${libgcj}"
3241 noconfigdirs="$noconfigdirs ${libgcj}"
3242 noconfigdirs="$noconfigdirs gprof"
3245 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3248 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3250 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3252 hppa*64*-*-linux* | parisc*64*-*-linux*)
3253 # In this case, it's because the hppa64-linux target is for
3254 # the kernel only at this point and has no libc, and thus no
3255 # headers, crt*.o, etc., all of which are needed by these.
3256 noconfigdirs="$noconfigdirs target-zlib"
3258 parisc*-*-linux* | hppa*-*-linux*)
3262 hppa*-*-openbsd* | \
3264 noconfigdirs="$noconfigdirs ${libgcj}"
3267 noconfigdirs="$noconfigdirs ld shellutils"
3273 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3274 # build on HP-UX 10.20.
3275 noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
3278 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3281 # No gdb support yet.
3282 noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb"
3285 # No gdb or ld support yet.
3286 noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3289 # No gdb or ld support yet.
3290 noconfigdirs="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3294 i[3456789]86-*-coff | i[3456789]86-*-elf)
3295 noconfigdirs="$noconfigdirs ${libgcj}"
3298 i[3456789]86-*-linux*)
3299 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3300 # not build java stuff by default.
3303 noconfigdirs="$noconfigdirs ${libgcj}";;
3306 # This section makes it possible to build newlib natively on linux.
3307 # If we are using a cross compiler then don't configure newlib.
3308 if test x${is_cross_compiler} != xno ; then
3309 noconfigdirs="$noconfigdirs target-newlib"
3311 noconfigdirs="$noconfigdirs target-libgloss"
3312 # If we are not using a cross compiler, do configure newlib.
3313 # Note however, that newlib will only be configured in this situation
3314 # if the --with-newlib option has been given, because otherwise
3315 # 'target-newlib' will appear in skipdirs.
3317 i[3456789]86-w64-mingw*)
3318 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3320 i[3456789]86-*-mingw*)
3321 target_configdirs="$target_configdirs target-winsup"
3322 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3325 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3328 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3329 noconfigdirs="$noconfigdirs target-gperf target-libgloss"
3330 # always build newlib if winsup directory is present.
3331 if test -d "$srcdir/winsup/cygwin"; then
3332 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3333 elif test -d "$srcdir/newlib"; then
3334 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3337 i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
3338 i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
3341 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3343 i[3456789]86-*-sco3.2v5*)
3344 # The linker does not yet know about weak symbols in COFF,
3345 # and is not configured to handle mixed ELF and COFF.
3346 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3348 i[3456789]86-*-sco*)
3349 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3351 i[3456789]86-*-solaris2*)
3352 noconfigdirs="$noconfigdirs target-libgloss"
3354 i[3456789]86-*-sysv4*)
3355 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3357 i[3456789]86-*-beos*)
3358 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3360 i[3456789]86-*-rdos*)
3361 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3364 noconfigdirs="$noconfigdirs ${libgcj}"
3366 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3367 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3368 libgloss_dir=m68hc11
3371 noconfigdirs="$noconfigdirs ${libgcj}"
3374 noconfigdirs="$noconfigdirs ${libgcj}"
3376 m68*-*-* | fido-*-*)
3380 # The EPOC C++ environment does not support exceptions or rtti,
3381 # and so building libstdc++-v3 tends not to always work.
3382 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3385 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3386 unsupported_languages="$unsupported_languages fortran java"
3389 noconfigdirs="$noconfigdirs ${libgcj}"
3392 noconfigdirs="$noconfigdirs ${libgcj}"
3395 noconfigdirs="$noconfigdirs sim"
3398 # copied from rs6000-*-* entry
3399 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3401 powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
3402 target_configdirs="$target_configdirs target-winsup"
3403 noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3404 # always build newlib.
3405 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3407 # This is temporary until we can link against shared libraries
3408 powerpcle-*-solaris*)
3409 noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3413 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3416 noconfigdirs="$noconfigdirs ${libgcj}"
3419 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
3423 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
3426 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3429 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3432 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3435 noconfigdirs="$noconfigdirs gprof target-libssp ${libgcj}"
3438 skipdirs="$skipdirs target-libiberty"
3439 noconfigdirs="$noconfigdirs ${libgcj}"
3440 if test x$with_newlib = xyes; then
3441 noconfigdirs="$noconfigdirs gprof"
3446 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3449 # Linking libjava exceeds command-line length limits on at least
3450 # IRIX 6.2, but not on IRIX 6.5.
3451 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3452 # <oldham@codesourcery.com>
3453 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3456 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3459 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3462 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3466 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3470 i[3456789]86-*-vsta) ;; # don't add gprof back in
3471 i[3456789]86-*-go32*) ;; # don't add gprof back in
3472 i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3473 *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3477 noconfigdirs="$noconfigdirs ${libgcj}" ;;
3479 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
3482 sparclet-*-aout* | sparc86x-*-*)
3486 noconfigdirs="$noconfigdirs ${libgcj}"
3489 noconfigdirs="$noconfigdirs ${libgcj}"
3493 noconfigdirs="$noconfigdirs ${libgcj}"
3497 noconfigdirs="$noconfigdirs ${libgcj}"
3498 if test x${is_cross_compiler} != xno ; then
3499 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3504 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
3505 noconfigdirs="$noconfigdirs ${libgcj}"
3507 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
3510 noconfigdirs="$noconfigdirs gdb sim ${libgcj}"
3513 noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3516 noconfigdirs="$noconfigdirs ${libgcj}"
3519 noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3522 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3525 noconfigdirs="$noconfigdirs ${libgcj}"
3528 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3530 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3531 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3534 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3537 noconfigdirs="$noconfigdirs ${libgcj}"
3541 # If we aren't building newlib, then don't build libgloss, since libgloss
3542 # depends upon some newlib header files.
3543 case "${noconfigdirs}" in
3544 *target-libgloss*) ;;
3545 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3548 # Work in distributions that contain no compiler tools, like Autoconf.
3550 host_makefile_frag=/dev/null
3551 if test -d ${srcdir}/config ; then
3554 # Avoid "too much defining" errors from HPUX compiler.
3555 tentative_cc="cc -Wp,-H256000"
3556 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3557 # If it's HP/UX ar, this should be harmless.
3561 tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3564 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3565 # chokes on bfd, the compiler won't let you assign integers to enums, and
3566 # other problems. Defining CC to gcc is a questionable way to say "don't use
3567 # the apollo compiler" (the preferred version of GCC could be called cc,
3568 # or whatever), but I'm not sure leaving CC as cc is any better...
3569 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3570 # Used to have BISON=yacc.
3574 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3577 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3578 tentative_cc="cc -Xa"
3579 host_makefile_frag="config/mh-cxux"
3581 m88k-motorola-sysv*)
3584 tentative_cc="cc -Wf,-XNg1000"
3585 host_makefile_frag="config/mh-decstation"
3588 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3589 tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
3590 host_makefile_frag="config/mh-necv4"
3593 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3594 # environment. Also bump switch table size so that cp-parse will
3595 # compile. Bump string length limit so linker builds.
3596 tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3599 host_makefile_frag="config/mh-sysv4"
3602 # This is for a MIPS running RISC/os 4.52C.
3604 # This is needed for GDB, but needs to be in the top-level make because
3605 # if a library is compiled with the bsd headers and gets linked with the
3606 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3607 # a different size).
3608 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3609 # known except to select the sysv environment. Could we use /proc instead?
3610 # These "sysv environments" and "bsd environments" often end up being a pain.
3612 # This is not part of CFLAGS because perhaps not all C compilers have this
3614 tentative_cc="cc -systype sysv"
3619 i[3456789]86-*-sysv5*)
3620 host_makefile_frag="config/mh-sysv5"
3622 i[3456789]86-*-dgux*)
3623 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3624 host_makefile_frag="config/mh-dgux386"
3626 i[3456789]86-ncr-sysv4.3*)
3627 # The MetaWare compiler will generate a copyright message unless you
3628 # turn it off by adding the -Hnocopyr flag.
3629 tentative_cc="cc -Hnocopyr"
3631 i[3456789]86-ncr-sysv4*)
3632 # for an NCR 3000 (i486/SVR4) system.
3633 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3634 # This compiler not only emits obnoxious copyright messages every time
3635 # you run it, but it chokes and dies on a whole bunch of GNU source
3636 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3637 tentative_cc="/usr/ccs/ATT/cc"
3638 host_makefile_frag="config/mh-ncr3000"
3640 i[3456789]86-*-sco3.2v5*)
3642 i[3456789]86-*-sco*)
3643 # The native C compiler botches some simple uses of const. Unfortunately,
3644 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3645 tentative_cc="cc -Dconst="
3646 host_makefile_frag="config/mh-sco"
3648 i[3456789]86-*-udk*)
3649 host_makefile_frag="config/mh-sysv5"
3651 i[3456789]86-*-solaris2*)
3652 host_makefile_frag="config/mh-sysv4"
3654 i[3456789]86-*-msdosdjgpp*)
3655 host_makefile_frag="config/mh-djgpp"
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3660 $as_echo_n "checking to see if cat works as expected... " >&6; }
3661 echo a >cygwin-cat-check
3662 if test `cat cygwin-cat-check` = a ; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3665 $as_echo "yes" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 as_fn_error "The cat command does not ignore carriage return characters.
3671 Please either mount the build directory in binary mode or run the following
3672 commands before running any configure script:
3678 host_makefile_frag="config/mh-cygwin"
3681 host_makefile_frag="config/mh-mingw"
3684 host_makefile_frag="config/mh-interix"
3687 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3691 host_makefile_frag="config/mh-solaris"
3694 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3695 # without overflowing the jump tables (-J says to use a 32 bit table)
3696 tentative_cc="cc -J"
3699 tentative_cc="cc -Wp,-H256000"
3700 host_makefile_frag="config/mh-pa-hpux10"
3702 hppa*-hp-hpux* | hppa*-*-hiux*)
3703 tentative_cc="cc -Wp,-H256000"
3704 host_makefile_frag="config/mh-pa"
3707 host_makefile_frag="config/mh-pa"
3709 *-hp-hpux* | *-*-hiux*)
3710 tentative_cc="cc -Wp,-H256000"
3713 # /bin/cc is less than useful for our purposes. Always use GCC
3714 tentative_cc="/usr/cygnus/progressive/bin/gcc"
3715 host_makefile_frag="config/mh-lynxrs6k"
3718 host_makefile_frag="config/mh-darwin"
3721 host_makefile_frag="config/mh-ppc-aix"
3724 host_makefile_frag="config/mh-ppc-aix"
3727 # /bin/cc is less than useful for our purposes. Always use GCC
3728 tentative_cc="/bin/gcc"
3731 host_makefile_frag="config/mh-sysv4"
3733 # This is placed last to prevent interfering with the cases above.
3735 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3736 host_makefile_frag="config/mh-x86omitfp"
3741 # If we aren't going to be using gcc, see if we can extract a definition
3742 # of CC from the fragment.
3743 # Actually, use the 'pre-extracted' version above.
3744 if test -z "${CC}" && test "${build}" = "${host}" ; then
3745 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
3747 for dir in $PATH; do
3748 test -z "$dir" && dir=.
3749 if test -f $dir/gcc; then
3755 if test -z "${found}" && test -n "${tentative_cc}" ; then
3760 if test "${build}" != "${host}" ; then
3761 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3762 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3763 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3764 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3765 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3766 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3767 GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
3768 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3769 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3770 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3771 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3772 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3773 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3775 AR_FOR_BUILD="\$(AR)"
3776 AS_FOR_BUILD="\$(AS)"
3777 CC_FOR_BUILD="\$(CC)"
3778 CXX_FOR_BUILD="\$(CXX)"
3779 GCJ_FOR_BUILD="\$(GCJ)"
3780 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3781 GOC_FOR_BUILD="\$(GOC)"
3782 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3783 LD_FOR_BUILD="\$(LD)"
3784 NM_FOR_BUILD="\$(NM)"
3785 RANLIB_FOR_BUILD="\$(RANLIB)"
3786 WINDRES_FOR_BUILD="\$(WINDRES)"
3787 WINDMC_FOR_BUILD="\$(WINDMC)"
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 if test -n "$ac_tool_prefix"; then
3796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3797 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3834 if test -z "$ac_cv_prog_CC"; then
3836 # Extract the first word of "gcc", so it can be a program name with args.
3837 set dummy gcc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3841 $as_echo_n "(cached) " >&6
3843 if test -n "$ac_ct_CC"; then
3844 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3853 ac_cv_prog_ac_ct_CC="gcc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 $as_echo "$ac_ct_CC" >&6; }
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3872 if test "x$ac_ct_CC" = x; then
3875 case $cross_compiling:$ac_tool_warned in
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3887 if test -z "$CC"; then
3888 if test -n "$ac_tool_prefix"; then
3889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3890 set dummy ${ac_tool_prefix}cc; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if test "${ac_cv_prog_CC+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$CC"; then
3897 ac_cv_prog_CC="$CC" # Let the user override the test.
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir=.
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3906 ac_cv_prog_CC="${ac_tool_prefix}cc"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 if test -n "$CC"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3919 $as_echo "$CC" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3928 if test -z "$CC"; then
3929 # Extract the first word of "cc", so it can be a program name with args.
3930 set dummy cc; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_CC+set}" = set; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3948 ac_prog_rejected=yes
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 if test $ac_prog_rejected = yes; then
3960 # We found a bogon in the path, so make sure we never use it.
3961 set dummy $ac_cv_prog_CC
3963 if test $# != 0; then
3964 # We chose a different compiler from the bogus one.
3965 # However, it has the same basename, so the bogon will be chosen
3966 # first if we set CC to just the basename; use the full file name.
3968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3974 if test -n "$CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3976 $as_echo "$CC" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 for ac_prog in cl.exe
3988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if test "${ac_cv_prog_CC+set}" = set; then :
3993 $as_echo_n "(cached) " >&6
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC="$CC" # Let the user override the test.
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 if test -n "$CC"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4018 $as_echo "$CC" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4025 test -n "$CC" && break
4028 if test -z "$CC"; then
4030 for ac_prog in cl.exe
4032 # Extract the first word of "$ac_prog", so it can be a program name with args.
4033 set dummy $ac_prog; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4039 if test -n "$ac_ct_CC"; then
4040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4049 ac_cv_prog_ac_ct_CC="$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4069 test -n "$ac_ct_CC" && break
4072 if test "x$ac_ct_CC" = x; then
4075 case $cross_compiling:$ac_tool_warned in
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4079 ac_tool_warned=yes ;;
4088 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error "no acceptable C compiler found in \$PATH
4091 See \`config.log' for more details." "$LINENO" 5; }
4093 # Provide some information about the compiler.
4094 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4097 for ac_option in --version -v -V -qversion; do
4098 { { ac_try="$ac_compiler $ac_option >&5"
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4107 if test -s conftest.err; then
4109 ... rest of stderr output deleted ...
4110 10q' conftest.err >conftest.er1
4111 cat conftest.er1 >&5
4112 rm -f conftest.er1 conftest.err
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4129 ac_clean_files_save=$ac_clean_files
4130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4131 # Try to create an executable without -o first, disregard a.out.
4132 # It will help us diagnose broken compilers, and finding out an intuition
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4135 $as_echo_n "checking for C compiler default output file name... " >&6; }
4136 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4138 # The possible output files:
4139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4142 for ac_file in $ac_files
4145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4151 if { { ac_try="$ac_link_default"
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link_default") 2>&5
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }; then :
4162 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4163 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4164 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4165 # so that the user can short-circuit this test for compilers unknown to
4167 for ac_file in $ac_files ''
4169 test -f "$ac_file" || continue
4171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4174 # We found the default executable, but exeext='' is most
4178 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4180 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4182 # We set ac_cv_exeext here because the later test for it is not
4183 # safe: cross compilers may not add the suffix if given an `-o'
4184 # argument, so we may need to know it at that point already.
4185 # Even if this section looks crufty: it has the advantage of
4192 test "$ac_cv_exeext" = no && ac_cv_exeext=
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4198 $as_echo "$ac_file" >&6; }
4199 if test -z "$ac_file"; then :
4200 $as_echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4205 { as_fn_set_status 77
4206 as_fn_error "C compiler cannot create executables
4207 See \`config.log' for more details." "$LINENO" 5; }; }
4209 ac_exeext=$ac_cv_exeext
4211 # Check that the compiler produces executables we can run. If not, either
4212 # the compiler is broken, or we cross compile.
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4214 $as_echo_n "checking whether the C compiler works... " >&6; }
4215 # If not cross compiling, check that we can run a simple program.
4216 if test "$cross_compiling" != yes; then
4217 if { ac_try='./$ac_file'
4218 { { case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_try") 2>&5
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }; }; then
4230 if test "$cross_compiling" = maybe; then
4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4235 as_fn_error "cannot run C compiled programs.
4236 If you meant to cross compile, use \`--host'.
4237 See \`config.log' for more details." "$LINENO" 5; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4244 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4245 ac_clean_files=$ac_clean_files_save
4246 # Check that the compiler produces executables we can run. If not, either
4247 # the compiler is broken, or we cross compile.
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4249 $as_echo_n "checking whether we are cross compiling... " >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4251 $as_echo "$cross_compiling" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4254 $as_echo_n "checking for suffix of executables... " >&6; }
4255 if { { ac_try="$ac_link"
4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
4262 (eval "$ac_link") 2>&5
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; }; then :
4266 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4267 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4268 # work properly (i.e., refer to `conftest.exe'), while it won't with
4270 for ac_file in conftest.exe conftest conftest.*; do
4271 test -f "$ac_file" || continue
4273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4274 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4282 as_fn_error "cannot compute suffix of executables: cannot compile and link
4283 See \`config.log' for more details." "$LINENO" 5; }
4285 rm -f conftest$ac_cv_exeext
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4287 $as_echo "$ac_cv_exeext" >&6; }
4289 rm -f conftest.$ac_ext
4290 EXEEXT=$ac_cv_exeext
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4293 $as_echo_n "checking for suffix of object files... " >&6; }
4294 if test "${ac_cv_objext+set}" = set; then :
4295 $as_echo_n "(cached) " >&6
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4308 rm -f conftest.o conftest.obj
4309 if { { ac_try="$ac_compile"
4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4315 $as_echo "$ac_try_echo"; } >&5
4316 (eval "$ac_compile") 2>&5
4318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4319 test $ac_status = 0; }; then :
4320 for ac_file in conftest.o conftest.obj conftest.*; do
4321 test -f "$ac_file" || continue;
4323 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4324 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4329 $as_echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4334 as_fn_error "cannot compute suffix of object files: cannot compile
4335 See \`config.log' for more details." "$LINENO" 5; }
4337 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4340 $as_echo "$ac_cv_objext" >&6; }
4341 OBJEXT=$ac_cv_objext
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4344 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4345 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4362 if ac_fn_c_try_compile "$LINENO"; then :
4367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4368 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4372 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4373 if test $ac_compiler_gnu = yes; then
4378 ac_test_CFLAGS=${CFLAGS+set}
4379 ac_save_CFLAGS=$CFLAGS
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4381 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4382 if test "${ac_cv_prog_cc_g+set}" = set; then :
4383 $as_echo_n "(cached) " >&6
4385 ac_save_c_werror_flag=$ac_c_werror_flag
4386 ac_c_werror_flag=yes
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4400 if ac_fn_c_try_compile "$LINENO"; then :
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4415 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_c_werror_flag=$ac_save_c_werror_flag
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4431 if ac_fn_c_try_compile "$LINENO"; then :
4434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 ac_c_werror_flag=$ac_save_c_werror_flag
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4442 $as_echo "$ac_cv_prog_cc_g" >&6; }
4443 if test "$ac_test_CFLAGS" = set; then
4444 CFLAGS=$ac_save_CFLAGS
4445 elif test $ac_cv_prog_cc_g = yes; then
4446 if test "$GCC" = yes; then
4452 if test "$GCC" = yes; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4459 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4460 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4461 $as_echo_n "(cached) " >&6
4463 ac_cv_prog_cc_c89=no
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4469 #include <sys/types.h>
4470 #include <sys/stat.h>
4471 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4472 struct buf { int x; };
4473 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4474 static char *e (p, i)
4480 static char *f (char * (*g) (char **, int), char **p, ...)
4485 s = g (p, va_arg (v,int));
4490 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4491 function prototypes and stuff, but not '\xHH' hex character constants.
4492 These don't provoke an error unfortunately, instead are silently treated
4493 as 'x'. The following induces an error, until -std is added to get
4494 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4495 array size at least. It's necessary to write '\x00'==0 to get something
4496 that's true only with -std. */
4497 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4499 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4500 inside strings and character constants. */
4502 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4504 int test (int i, double x);
4505 struct s1 {int (*f) (int a);};
4506 struct s2 {int (*f) (double a);};
4507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4518 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4519 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4521 CC="$ac_save_CC $ac_arg"
4522 if ac_fn_c_try_compile "$LINENO"; then :
4523 ac_cv_prog_cc_c89=$ac_arg
4525 rm -f core conftest.err conftest.$ac_objext
4526 test "x$ac_cv_prog_cc_c89" != "xno" && break
4528 rm -f conftest.$ac_ext
4533 case "x$ac_cv_prog_cc_c89" in
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4536 $as_echo "none needed" >&6; } ;;
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4539 $as_echo "unsupported" >&6; } ;;
4541 CC="$CC $ac_cv_prog_cc_c89"
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4543 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4545 if test "x$ac_cv_prog_cc_c89" != xno; then :
4550 ac_cpp='$CPP $CPPFLAGS'
4551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 ac_cpp='$CXXCPP $CPPFLAGS'
4557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4560 if test -z "$CXX"; then
4561 if test -n "$CCC"; then
4564 if test -n "$ac_tool_prefix"; then
4565 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if test "${ac_cv_prog_CXX+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -n "$CXX"; then
4575 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 if test -n "$CXX"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4597 $as_echo "$CXX" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4604 test -n "$CXX" && break
4607 if test -z "$CXX"; then
4609 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4611 # Extract the first word of "$ac_prog", so it can be a program name with args.
4612 set dummy $ac_prog; ac_word=$2
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614 $as_echo_n "checking for $ac_word... " >&6; }
4615 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -n "$ac_ct_CXX"; then
4619 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 ac_cv_prog_ac_ct_CXX="$ac_prog"
4629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4639 if test -n "$ac_ct_CXX"; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4641 $as_echo "$ac_ct_CXX" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4648 test -n "$ac_ct_CXX" && break
4651 if test "x$ac_ct_CXX" = x; then
4654 case $cross_compiling:$ac_tool_warned in
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4658 ac_tool_warned=yes ;;
4666 # Provide some information about the compiler.
4667 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4670 for ac_option in --version -v -V -qversion; do
4671 { { ac_try="$ac_compiler $ac_option >&5"
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4677 $as_echo "$ac_try_echo"; } >&5
4678 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4680 if test -s conftest.err; then
4682 ... rest of stderr output deleted ...
4683 10q' conftest.err >conftest.er1
4684 cat conftest.er1 >&5
4685 rm -f conftest.er1 conftest.err
4687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4688 test $ac_status = 0; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4692 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4693 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4694 $as_echo_n "(cached) " >&6
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4710 if ac_fn_cxx_try_compile "$LINENO"; then :
4715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4716 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4720 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4721 if test $ac_compiler_gnu = yes; then
4726 ac_test_CXXFLAGS=${CXXFLAGS+set}
4727 ac_save_CXXFLAGS=$CXXFLAGS
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4729 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4730 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4733 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4734 ac_cxx_werror_flag=yes
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4748 if ac_fn_cxx_try_compile "$LINENO"; then :
4749 ac_cv_prog_cxx_g=yes
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4763 if ac_fn_cxx_try_compile "$LINENO"; then :
4766 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4779 if ac_fn_cxx_try_compile "$LINENO"; then :
4780 ac_cv_prog_cxx_g=yes
4782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4787 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4790 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4791 if test "$ac_test_CXXFLAGS" = set; then
4792 CXXFLAGS=$ac_save_CXXFLAGS
4793 elif test $ac_cv_prog_cxx_g = yes; then
4794 if test "$GXX" = yes; then
4800 if test "$GXX" = yes; then
4807 ac_cpp='$CPP $CPPFLAGS'
4808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813 # We must set the default linker to the linker used by gcc for the correct
4814 # operation of libtool. If LD is not defined and we are using gcc, try to
4815 # set the LD default to the ld used by gcc.
4816 if test -z "$LD"; then
4817 if test "$GCC" = yes; then
4820 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4822 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4824 case $gcc_prog_ld in
4825 # Accept absolute paths.
4826 [\\/]* | [A-Za-z]:[\\/]*)
4827 LD="$gcc_prog_ld" ;;
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4837 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$GNATBIND"; then
4844 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 GNATBIND=$ac_cv_prog_GNATBIND
4864 if test -n "$GNATBIND"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4866 $as_echo "$GNATBIND" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4874 if test -z "$ac_cv_prog_GNATBIND"; then
4875 ac_ct_GNATBIND=$GNATBIND
4876 # Extract the first word of "gnatbind", so it can be a program name with args.
4877 set dummy gnatbind; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$ac_ct_GNATBIND"; then
4884 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4904 if test -n "$ac_ct_GNATBIND"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4906 $as_echo "$ac_ct_GNATBIND" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4912 if test "x$ac_ct_GNATBIND" = x; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4921 GNATBIND=$ac_ct_GNATBIND
4924 GNATBIND="$ac_cv_prog_GNATBIND"
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$GNATMAKE"; then
4936 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 GNATMAKE=$ac_cv_prog_GNATMAKE
4956 if test -n "$GNATMAKE"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4958 $as_echo "$GNATMAKE" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4966 if test -z "$ac_cv_prog_GNATMAKE"; then
4967 ac_ct_GNATMAKE=$GNATMAKE
4968 # Extract the first word of "gnatmake", so it can be a program name with args.
4969 set dummy gnatmake; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$ac_ct_GNATMAKE"; then
4976 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4996 if test -n "$ac_ct_GNATMAKE"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4998 $as_echo "$ac_ct_GNATMAKE" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5004 if test "x$ac_ct_GNATMAKE" = x; then
5007 case $cross_compiling:$ac_tool_warned in
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5011 ac_tool_warned=yes ;;
5013 GNATMAKE=$ac_ct_GNATMAKE
5016 GNATMAKE="$ac_cv_prog_GNATMAKE"
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5020 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5021 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5024 cat >conftest.adb <<EOF
5025 procedure conftest is begin null; end conftest;
5027 acx_cv_cc_gcc_supports_ada=no
5028 # There is a bug in old released versions of GCC which causes the
5029 # driver to exit successfully when the appropriate language module
5030 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5031 # Therefore we must check for the error message as well as an
5032 # unsuccessful exit.
5033 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5034 # given a .adb file, but produce no object file. So we must check
5035 # if an object file was really produced to guard against this.
5036 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5037 if test x"$errors" = x && test -f conftest.$ac_objext; then
5038 acx_cv_cc_gcc_supports_ada=yes
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5043 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5045 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5052 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5053 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5058 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5059 if cmp t1 t2 2 2 > /dev/null 2>&1; then
5060 if cmp t1 t2 1 1 > /dev/null 2>&1; then
5063 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
5066 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
5067 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
5070 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5077 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5078 do_compare="$gcc_cv_prog_cmp_skip"
5082 # See if we are building gcc with C++.
5083 # Check whether --enable-build-with-cxx was given.
5084 if test "${enable_build_with_cxx+set}" = set; then :
5085 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
5087 ENABLE_BUILD_WITH_CXX=no
5091 # Used for setting $lt_cv_objdir
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5093 $as_echo_n "checking for objdir... " >&6; }
5094 if test "${lt_cv_objdir+set}" = set; then :
5095 $as_echo_n "(cached) " >&6
5097 rm -f .libs 2>/dev/null
5098 mkdir .libs 2>/dev/null
5099 if test -d .libs; then
5102 # MS-DOS does not allow filenames that begin with a dot.
5105 rmdir .libs 2>/dev/null
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5108 $as_echo "$lt_cv_objdir" >&6; }
5109 objdir=$lt_cv_objdir
5115 cat >>confdefs.h <<_ACEOF
5116 #define LT_OBJDIR "$lt_cv_objdir/"
5121 # Check for GMP, MPFR and MPC
5122 gmplibs="-lmpc -lmpfr -lgmp"
5126 # Specify a location for mpc
5127 # check for this first so it ends up on the link line before mpfr.
5129 # Check whether --with-mpc was given.
5130 if test "${with_mpc+set}" = set; then :
5135 # Check whether --with-mpc-include was given.
5136 if test "${with_mpc_include+set}" = set; then :
5137 withval=$with_mpc_include;
5141 # Check whether --with-mpc-lib was given.
5142 if test "${with_mpc_lib+set}" = set; then :
5143 withval=$with_mpc_lib;
5147 if test "x$with_mpc" != x; then
5148 gmplibs="-L$with_mpc/lib $gmplibs"
5149 gmpinc="-I$with_mpc/include $gmpinc"
5151 if test "x$with_mpc_include" != x; then
5152 gmpinc="-I$with_mpc_include $gmpinc"
5154 if test "x$with_mpc_lib" != x; then
5155 gmplibs="-L$with_mpc_lib $gmplibs"
5157 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
5158 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5159 gmpinc='-I$$s/mpc/src '"$gmpinc"
5160 # Do not test the mpc 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 # Specify a location for mpfr
5168 # check for this first so it ends up on the link line before gmp.
5170 # Check whether --with-mpfr-dir was given.
5171 if test "${with_mpfr_dir+set}" = set; then :
5172 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5173 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5178 # Check whether --with-mpfr was given.
5179 if test "${with_mpfr+set}" = set; then :
5184 # Check whether --with-mpfr-include was given.
5185 if test "${with_mpfr_include+set}" = set; then :
5186 withval=$with_mpfr_include;
5190 # Check whether --with-mpfr-lib was given.
5191 if test "${with_mpfr_lib+set}" = set; then :
5192 withval=$with_mpfr_lib;
5196 if test "x$with_mpfr" != x; then
5197 gmplibs="-L$with_mpfr/lib $gmplibs"
5198 gmpinc="-I$with_mpfr/include $gmpinc"
5200 if test "x$with_mpfr_include" != x; then
5201 gmpinc="-I$with_mpfr_include $gmpinc"
5203 if test "x$with_mpfr_lib" != x; then
5204 gmplibs="-L$with_mpfr_lib $gmplibs"
5206 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5207 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5208 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5209 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5210 # Do not test the mpfr version. Assume that it is sufficient, since
5211 # it is in the source tree, and the library has not been built yet
5212 # but it would be included on the link line in the version check below
5213 # hence making the test fail.
5217 # Specify a location for gmp
5219 # Check whether --with-gmp-dir was given.
5220 if test "${with_gmp_dir+set}" = set; then :
5221 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5222 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5227 # Check whether --with-gmp was given.
5228 if test "${with_gmp+set}" = set; then :
5233 # Check whether --with-gmp-include was given.
5234 if test "${with_gmp_include+set}" = set; then :
5235 withval=$with_gmp_include;
5239 # Check whether --with-gmp-lib was given.
5240 if test "${with_gmp_lib+set}" = set; then :
5241 withval=$with_gmp_lib;
5246 if test "x$with_gmp" != x; then
5247 gmplibs="-L$with_gmp/lib $gmplibs"
5248 gmpinc="-I$with_gmp/include $gmpinc"
5250 if test "x$with_gmp_include" != x; then
5251 gmpinc="-I$with_gmp_include $gmpinc"
5253 if test "x$with_gmp_lib" != x; then
5254 gmplibs="-L$with_gmp_lib $gmplibs"
5256 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5257 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5258 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5259 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5260 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5261 # Do not test the gmp version. Assume that it is sufficient, since
5262 # it is in the source tree, and the library has not been built yet
5263 # but it would be included on the link line in the version check below
5264 # hence making the test fail.
5268 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5270 saved_CFLAGS="$CFLAGS"
5271 CFLAGS="$CFLAGS $gmpinc"
5272 # Check for the recommended and required versions of GMP.
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5274 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5283 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5284 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5285 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5293 if ac_fn_c_try_compile "$LINENO"; then :
5294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h. */
5301 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5302 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5303 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5311 if ac_fn_c_try_compile "$LINENO"; then :
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5313 $as_echo "yes" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5316 $as_echo "buggy but acceptable" >&6; }
5318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5321 $as_echo "no" >&6; }; have_gmp=no
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325 # If we have GMP, check the MPFR version.
5326 if test x"$have_gmp" = xyes; then
5327 # Check for the recommended and required versions of MPFR.
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5329 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5338 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5346 if ac_fn_c_try_compile "$LINENO"; then :
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5355 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5363 if ac_fn_c_try_compile "$LINENO"; then :
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5365 $as_echo "yes" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5368 $as_echo "buggy but acceptable" >&6; }
5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }; have_gmp=no
5375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 # Check for the MPC header version.
5379 if test x"$have_gmp" = xyes ; then
5380 # Check for the recommended and required versions of MPC.
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5382 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5390 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5398 if ac_fn_c_try_compile "$LINENO"; then :
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5406 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5414 if ac_fn_c_try_compile "$LINENO"; then :
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5416 $as_echo "yes" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5419 $as_echo "buggy but acceptable" >&6; }
5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }; have_gmp=no
5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429 # Now check the MPFR library.
5430 if test x"$have_gmp" = xyes; then
5432 LIBS="$LIBS $gmplibs"
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5434 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5448 mpfr_atan2 (n, n, x, GMP_RNDN);
5449 mpfr_erfc (n, x, GMP_RNDN);
5450 mpfr_subnormalize (x, t, GMP_RNDN);
5454 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5455 mpc_cosh (c, c, MPC_RNDNN);
5456 mpc_pow (c, c, c, MPC_RNDNN);
5457 mpc_acosh (c, c, MPC_RNDNN);
5464 if ac_fn_c_try_link "$LINENO"; then :
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5466 $as_echo "yes" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }; have_gmp=no
5471 rm -f core conftest.err conftest.$ac_objext \
5472 conftest$ac_exeext conftest.$ac_ext
5476 CFLAGS="$saved_CFLAGS"
5478 # The library versions listed in the error message below should match
5479 # the HARD-minimums enforced above.
5480 if test x$have_gmp != xyes; then
5481 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5482 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5483 their locations. Source code for these libraries can be found at
5484 their respective hosting sites as well as at
5485 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5486 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5487 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5488 make sure that you have installed both the libraries and the header
5489 files. They may be located in separate packages." "$LINENO" 5
5493 # Flags needed for both GMP, MPFR and/or MPC.
5500 # Allow host libstdc++ to be specified for static linking with PPL.
5502 # Check whether --with-host-libstdcxx was given.
5503 if test "${with_host_libstdcxx+set}" = set; then :
5504 withval=$with_host_libstdcxx;
5508 case $with_host_libstdcxx in
5510 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5514 # Linker flags to use for stage1 or when not boostrapping.
5516 # Check whether --with-stage1-ldflags was given.
5517 if test "${with_stage1_ldflags+set}" = set; then :
5518 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5521 stage1_ldflags=$withval
5529 # Libraries to use for stage1 or when not bootstrapping.
5531 # Check whether --with-stage1-libs was given.
5532 if test "${with_stage1_libs+set}" = set; then :
5533 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5536 stage1_libs=$withval
5539 stage1_libs=$with_host_libstdcxx
5544 # Libraries to use for stage2 and later builds. This defaults to the
5545 # argument passed to --with-host-libstdcxx.
5547 # Check whether --with-boot-libs was given.
5548 if test "${with_boot_libs+set}" = set; then :
5549 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5552 poststage1_libs=$withval
5555 poststage1_libs=$with_host_libstdcxx
5560 # Linker flags to use for stage2 and later builds.
5562 # Check whether --with-boot-ldflags was given.
5563 if test "${with_boot_ldflags+set}" = set; then :
5564 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5567 poststage1_ldflags=$withval
5571 # With --enable-build-with-cxx, default to linking libstdc++ and
5572 # libgcc statically. But if the user explicitly specified the
5573 # libraries to use, trust that they are doing what they want.
5574 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5575 poststage1_ldflags="-static-libstdc++ -static-libgcc"
5582 ppllibs=" -lppl_c -lppl -lgmpxx"
5586 # Check whether --with-ppl was given.
5587 if test "${with_ppl+set}" = set; then :
5592 # Check whether --with-ppl-include was given.
5593 if test "${with_ppl_include+set}" = set; then :
5594 withval=$with_ppl_include;
5598 # Check whether --with-ppl-lib was given.
5599 if test "${with_ppl_lib+set}" = set; then :
5600 withval=$with_ppl_lib;
5611 ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5612 pplinc="-I$with_ppl/include $pplinc"
5615 if test "x$with_ppl_include" != x; then
5616 pplinc="-I$with_ppl_include $pplinc"
5618 if test "x$with_ppl_lib" != x; then
5619 ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5621 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
5622 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5623 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5624 enable_ppl_version_check=no
5627 # Check whether --enable-ppl-version-check was given.
5628 if test "${enable_ppl_version_check+set}" = set; then :
5629 enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval
5631 ENABLE_PPL_CHECK=yes
5635 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5636 saved_CFLAGS="$CFLAGS"
5637 CFLAGS="$CFLAGS $pplinc $gmpinc"
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5639 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5647 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5655 if ac_fn_c_try_compile "$LINENO"; then :
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5657 $as_echo "yes" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }; ppllibs= ; pplinc= ; with_ppl=no
5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5663 CFLAGS="$saved_CFLAGS"
5666 # Flags needed for PPL
5675 # Check whether --with-cloog was given.
5676 if test "${with_cloog+set}" = set; then :
5677 withval=$with_cloog;
5681 # Check whether --with-cloog-include was given.
5682 if test "${with_cloog_include+set}" = set; then :
5683 withval=$with_cloog_include;
5687 # Check whether --with-cloog-lib was given.
5688 if test "${with_cloog_lib+set}" = set; then :
5689 withval=$with_cloog_lib;
5693 # Check whether --enable-cloog-backend was given.
5694 if test "${enable_cloog_backend+set}" = set; then :
5695 enableval=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5697 elif test "x${enableval}" = "xppl"; then
5700 cloog_backend=ppl-legacy
5703 cloog_backend=ppl-legacy
5706 # Check whether --enable-cloog-version-check was given.
5707 if test "${enable_cloog_version_check+set}" = set; then :
5708 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5710 ENABLE_CLOOG_CHECK=yes
5714 # Initialize clooglibs and clooginc.
5723 clooglibs="-L$with_cloog/lib"
5724 clooginc="-I$with_cloog/include"
5727 if test "x${with_cloog_include}" != x ; then
5728 clooginc="-I$with_cloog_include"
5730 if test "x${with_cloog_lib}" != x; then
5731 clooglibs="-L$with_cloog_lib"
5738 if test "x$with_ppl" = "xno"; then
5741 if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
5742 && test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
5743 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5744 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5746 if test "x$with_cloog" != "xno"; then
5750 _cloog_saved_CFLAGS=$CFLAGS
5751 _cloog_saved_CPPFLAGS=$CPPFLAGS
5752 _cloog_saved_LDFLAGS=$LDFLAGS
5753 _cloog_saved_LIBS=$LIBS
5755 _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG"
5757 CFLAGS="${CFLAGS} ${clooginc} ${gmpinc}"
5758 CPPFLAGS="${CPPFLAGS} ${_cloogorginc}"
5759 LDFLAGS="${LDFLAGS} ${clooglibs}"
5761 case $cloog_backend in
5763 CFLAGS="${CFLAGS} ${pplinc}"
5764 LDFLAGS="${LDFLAGS} ${ppllibs}"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5766 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5767 if test "${gcc_cv_cloog_type+set}" = set; then :
5768 $as_echo_n "(cached) " >&6
5770 LIBS="-lcloog ${_cloog_saved_LIBS}"
5771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5772 /* end confdefs.h. */
5773 #include "cloog/cloog.h"
5777 #ifndef CLOOG_PPL_BACKEND
5784 if ac_fn_c_try_link "$LINENO"; then :
5785 gcc_cv_cloog_type="PPL Legacy"
5787 gcc_cv_cloog_type=no
5789 rm -f core conftest.err conftest.$ac_objext \
5790 conftest$ac_exeext conftest.$ac_ext
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5793 $as_echo "$gcc_cv_cloog_type" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5797 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5798 if test "${gcc_cv_cloog_type+set}" = set; then :
5799 $as_echo_n "(cached) " >&6
5801 LIBS="-lcloog-isl ${_cloog_saved_LIBS}"
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5804 #include "cloog/cloog.h"
5813 if ac_fn_c_try_link "$LINENO"; then :
5814 gcc_cv_cloog_type="ISL"
5816 gcc_cv_cloog_type=no
5818 rm -f core conftest.err conftest.$ac_objext \
5819 conftest$ac_exeext conftest.$ac_ext
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5822 $as_echo "$gcc_cv_cloog_type" >&6; }
5825 CFLAGS="${CFLAGS} ${pplinc}"
5826 LDFLAGS="${LDFLAGS} ${ppllibs}"
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5828 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5829 if test "${gcc_cv_cloog_type+set}" = set; then :
5830 $as_echo_n "(cached) " >&6
5832 LIBS="-lcloog-ppl ${_cloog_saved_LIBS}"
5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5835 #include "cloog/cloog.h"
5836 #include "cloog/ppl/cloog.h"
5845 if ac_fn_c_try_link "$LINENO"; then :
5846 gcc_cv_cloog_type="PPL"
5848 gcc_cv_cloog_type=no
5850 rm -f core conftest.err conftest.$ac_objext \
5851 conftest$ac_exeext conftest.$ac_ext
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5854 $as_echo "$gcc_cv_cloog_type" >&6; }
5857 gcc_cv_cloog_type=""
5860 case $gcc_cv_cloog_type in
5862 clooginc="${clooginc}"
5863 clooglibs="${clooglibs} -lcloog"
5867 clooginc="${clooginc} ${_cloogorginc}"
5868 clooglibs="${clooglibs} -lcloog-isl"
5872 clooginc="${clooginc} ${_cloogorginc}"
5873 clooglibs="${clooglibs} -lcloog-ppl"
5883 LIBS=$_cloog_saved_LIBS
5884 CFLAGS=$_cloog_saved_CFLAGS
5885 CPPFLAGS=$_cloog_saved_CPPFLAGS
5886 LDFLAGS=$_cloog_saved_LDFLAGS
5892 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5893 _cloog_saved_CFLAGS=$CFLAGS
5894 _cloog_saved_LDFLAGS=$LDFLAGS
5896 CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5897 LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5899 if test "${cloog_org}" = yes ; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5901 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5902 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5903 $as_echo_n "(cached) " >&6
5905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5907 #include "cloog/cloog.h"
5911 #if CLOOG_VERSION_MAJOR != 0 \
5912 || CLOOG_VERSION_MINOR != 14 \
5913 || CLOOG_VERSION_REVISION < 0
5920 if ac_fn_c_try_compile "$LINENO"; then :
5921 gcc_cv_cloog_ct_0_14_0=yes
5923 gcc_cv_cloog_ct_0_14_0=no
5925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5928 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5929 elif test "${cloog_org}" = no ; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5931 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5932 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5933 $as_echo_n "(cached) " >&6
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5937 #include "cloog/cloog.h"
5941 #if CLOOG_VERSION_MAJOR != 0 \
5942 || CLOOG_VERSION_MINOR != 15 \
5943 || CLOOG_VERSION_REVISION < 5
5950 if ac_fn_c_try_compile "$LINENO"; then :
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5953 #include "cloog/cloog.h"
5957 #if CLOOG_VERSION_MAJOR != 0 \
5958 || CLOOG_VERSION_MINOR != 15 \
5959 || CLOOG_VERSION_REVISION < 9
5966 if ac_fn_c_try_compile "$LINENO"; then :
5967 gcc_cv_cloog_ct_0_15_5=yes
5969 gcc_cv_cloog_ct_0_15_5="buggy but acceptable"
5971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5973 gcc_cv_cloog_ct_0_15_5=no
5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5978 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
5981 CFLAGS=$_cloog_saved_CFLAGS
5982 LDFLAGS=$_cloog_saved_LDFLAGS
5991 if test "x${with_cloog}" != x \
5992 || test "x${with_cloog_include}" != x \
5993 || test "x${with_cloog_lib}" != x ; then
5994 graphite_requested=yes
5996 graphite_requested=no
6001 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6002 || test "${gcc_cv_cloog_rt_0_14_0}" = no \
6003 || test "${gcc_cv_cloog_ct_0_15_5}" = no; then
6008 if test "${graphite_requested}" = yes \
6009 && test "x${clooglibs}" = x \
6010 && test "x${clooginc}" = x ; then
6012 as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6018 # Check for LTO support.
6019 # Check whether --enable-lto was given.
6020 if test "${enable_lto+set}" = set; then :
6021 enableval=$enable_lto; enable_lto=$enableval
6023 enable_lto=yes; default_enable_lto=yes
6032 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
6033 *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
6034 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
6042 if test $target_elf = yes; then :
6043 # ELF platforms build the lto-plugin always.
6044 build_lto_plugin=yes
6047 if test x"$default_enable_lto" = x"yes" ; then
6049 *-apple-darwin* | *-cygwin* | *-mingw*) ;;
6050 # On other non-ELF platforms, LTO has yet to be validated.
6054 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6055 # It would also be nice to check the binutils support, but we don't
6056 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6057 # warn during gcc/ subconfigure; unless you're bootstrapping with
6058 # -flto it won't be needed until after installation anyway.
6060 *-cygwin* | *-mingw* | *-apple-darwin*) ;;
6061 *) if test x"$enable_lto" = x"yes"; then
6062 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
6067 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6068 # Build it unless LTO was explicitly disabled.
6070 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
6078 # By default, C is the only stage 1 language.
6079 stage1_languages=,c,
6081 # Target libraries that we bootstrap.
6082 bootstrap_target_libs=,target-libgcc,
6084 # Figure out what language subdirectories are present.
6085 # Look if the user specified --enable-languages="..."; if not, use
6086 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6088 # NB: embedded tabs in this IF block -- do not untabify
6089 if test -d ${srcdir}/gcc; then
6090 if test x"${enable_languages+set}" != xset; then
6091 if test x"${LANGUAGES+set}" = xset; then
6092 enable_languages="${LANGUAGES}"
6093 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
6095 enable_languages=all
6098 if test x"${enable_languages}" = x ||
6099 test x"${enable_languages}" = xyes;
6101 echo configure.in: --enable-languages needs at least one language argument 1>&2
6105 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6107 # 'f95' is the old name for the 'fortran' language. We issue a warning
6108 # and make the substitution.
6109 case ,${enable_languages}, in
6111 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
6112 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6116 # First scan to see if an enabled language requires some other language.
6117 # We assume that a given config-lang.in will list all the language
6118 # front ends it requires, even if some are required indirectly.
6119 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6120 case ${lang_frag} in
6122 # The odd quoting in the next line works around
6123 # an apparent bug in bash 1.12 on linux.
6124 ${srcdir}/gcc/[*]/config-lang.in) ;;
6126 # From the config-lang.in, get $language, $lang_requires, and
6127 # $lang_requires_boot_languages.
6130 lang_requires_boot_languages=
6132 for other in ${lang_requires} ${lang_requires_boot_languages}; do
6133 case ,${enable_languages}, in
6137 echo " \`$other' language required by \`$language'; enabling" 1>&2
6138 enable_languages="${enable_languages},${other}"
6142 for other in ${lang_requires_boot_languages} ; do
6143 if test "$other" != "c"; then
6144 case ,${enable_stage1_languages}, in
6148 case ,${enable_languages}, in
6150 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6151 enable_stage1_languages="$enable_stage1_languages,${other}"
6162 new_enable_languages=,c,
6164 # If LTO is enabled, add the LTO front end.
6165 extra_host_libiberty_configure_flags=
6166 if test "$enable_lto" = "yes" ; then
6167 case ,${enable_languages}, in
6169 *) enable_languages="${enable_languages},lto" ;;
6171 if test "${build_lto_plugin}" = "yes" ; then
6172 configdirs="$configdirs lto-plugin"
6173 extra_host_libiberty_configure_flags=--enable-shared
6178 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6179 potential_languages=,c,
6181 enabled_target_libs=
6182 disabled_target_libs=
6184 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6185 case ${lang_frag} in
6187 # The odd quoting in the next line works around
6188 # an apparent bug in bash 1.12 on linux.
6189 ${srcdir}/gcc/[*]/config-lang.in) ;;
6191 # From the config-lang.in, get $language, $target_libs,
6192 # $lang_dirs, $boot_language, and $build_by_default
6198 build_by_default=yes
6200 if test x${language} = x; then
6201 echo "${lang_frag} doesn't set \$language." 1>&2
6205 if test "$language" = "c++" \
6206 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6210 case ,${enable_languages}, in
6212 # Language was explicitly selected; include it.
6216 # 'all' was selected, select it if it is a default language
6217 add_this_lang=${build_by_default}
6224 # Disable languages that need other directories if these aren't available.
6225 for i in $subdir_requires; do
6226 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6227 case ,${enable_languages}, in
6229 # Specifically requested language; tell them.
6230 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6234 add_this_lang=unsupported
6239 # Disable Ada if no preexisting GNAT is available.
6240 case ,${enable_languages},:${language}:${have_gnat} in
6241 *,${language},*:ada:no)
6242 # Specifically requested language; tell them.
6243 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6247 add_this_lang=unsupported
6251 # Disable a language that is unsupported by the target.
6252 case " $unsupported_languages " in
6254 add_this_lang=unsupported
6258 case $add_this_lang in
6260 # Remove language-dependent dirs.
6261 disabled_target_libs="$disabled_target_libs $target_libs"
6262 noconfigdirs="$noconfigdirs $lang_dirs"
6265 # Remove language-dependent dirs; still show language as supported.
6266 disabled_target_libs="$disabled_target_libs $target_libs"
6267 noconfigdirs="$noconfigdirs $lang_dirs"
6268 potential_languages="${potential_languages}${language},"
6271 new_enable_languages="${new_enable_languages}${language},"
6272 potential_languages="${potential_languages}${language},"
6273 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6274 enabled_target_libs="$enabled_target_libs $target_libs"
6275 case "${boot_language}:,$enable_stage1_languages," in
6276 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6277 # Add to (comma-separated) list of stage 1 languages.
6278 case ",$stage1_languages," in
6279 *,$language,* | ,yes, | ,all,) ;;
6280 *) stage1_languages="${stage1_languages}${language}," ;;
6282 # We need to bootstrap any supporting libraries.
6283 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6292 # Add target libraries which are only needed for disabled languages
6294 if test -n "$disabled_target_libs"; then
6295 for dir in $disabled_target_libs; do
6296 case " $enabled_target_libs " in
6298 *) noconfigdirs="$noconfigdirs $dir" ;;
6303 # Check whether --enable-stage1-languages was given.
6304 if test "${enable_stage1_languages+set}" = set; then :
6305 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6307 # Set it to something that will have no effect in the loop below
6308 enable_stage1_languages=c ;;
6310 enable_stage1_languages=`echo $new_enable_languages | \
6311 sed -e "s/^,//" -e "s/,$//" ` ;;
6313 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6314 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6317 # Add "good" languages from enable_stage1_languages to stage1_languages,
6318 # while "bad" languages go in missing_languages. Leave no duplicates.
6319 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6320 case $potential_languages in
6322 case $stage1_languages in
6324 *) stage1_languages="$stage1_languages$i," ;;
6327 case $missing_languages in
6329 *) missing_languages="$missing_languages$i," ;;
6336 # Remove leading/trailing commas that were added for simplicity
6337 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6338 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6339 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6340 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6342 if test "x$missing_languages" != x; then
6344 The following requested languages could not be built: ${missing_languages}
6345 Supported languages are: ${potential_languages}" "$LINENO" 5
6347 if test "x$new_enable_languages" != "x$enable_languages"; then
6348 echo The following languages will be built: ${new_enable_languages}
6349 enable_languages="$new_enable_languages"
6353 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6356 # Handle --disable-<component> generically.
6357 for dir in $configdirs $build_configdirs $target_configdirs ; do
6358 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6359 varname=`echo $dirname | sed -e s/+/_/g`
6360 if eval test x\${enable_${varname}} "=" xno ; then
6361 noconfigdirs="$noconfigdirs $dir"
6365 # Check for Boehm's garbage collector
6366 # Check whether --enable-objc-gc was given.
6367 if test "${enable_objc_gc+set}" = set; then :
6368 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6369 *,objc,*:*:yes:*target-boehm-gc*)
6370 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6376 # Make sure we only build Boehm's garbage collector if required.
6377 case ,${enable_languages},:${enable_objc_gc} in
6379 # Keep target-boehm-gc if requested for Objective-C.
6382 # Otherwise remove target-boehm-gc depending on target-libjava.
6383 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6384 noconfigdirs="$noconfigdirs target-boehm-gc"
6389 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6390 # $build_configdirs and $target_configdirs.
6391 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6394 for dir in . $skipdirs $noconfigdirs ; do
6395 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6396 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6397 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6398 if test -r $srcdir/$dirname/configure ; then
6399 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6402 notsupp="$notsupp $dir"
6406 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6407 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6408 if test -r $srcdir/$dirname/configure ; then
6409 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6412 notsupp="$notsupp $dir"
6416 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6417 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6418 if test -r $srcdir/$dirname/configure ; then
6419 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6422 notsupp="$notsupp $dir"
6428 # Sometimes the tools are distributed with libiberty but with no other
6429 # libraries. In that case, we don't want to build target-libiberty.
6430 # Don't let libgcc imply libiberty either.
6431 if test -n "${target_configdirs}" ; then
6434 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6435 if test "$i" = "libgcc"; then
6436 libgcc=target-libgcc
6437 elif test "$i" != "libiberty" ; then
6438 if test -r $srcdir/$i/configure ; then
6444 if test -z "${others}" ; then
6445 target_configdirs=$libgcc
6449 # Quietly strip out all directories which aren't configurable in this tree.
6450 # This relies on all configurable subdirectories being autoconfiscated, which
6452 build_configdirs_all="$build_configdirs"
6454 for i in ${build_configdirs_all} ; do
6455 j=`echo $i | sed -e s/build-//g`
6456 if test -f ${srcdir}/$j/configure ; then
6457 build_configdirs="${build_configdirs} $i"
6461 configdirs_all="$configdirs"
6463 for i in ${configdirs_all} ; do
6464 if test -f ${srcdir}/$i/configure ; then
6465 configdirs="${configdirs} $i"
6469 target_configdirs_all="$target_configdirs"
6471 for i in ${target_configdirs_all} ; do
6472 j=`echo $i | sed -e s/target-//g`
6473 if test -f ${srcdir}/$j/configure ; then
6474 target_configdirs="${target_configdirs} $i"
6478 # Produce a warning message for the subdirs we can't configure.
6479 # This isn't especially interesting in the Cygnus tree, but in the individual
6480 # FSF releases, it's important to let people know when their machine isn't
6481 # supported by the one or two programs in a package.
6483 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6484 # If $appdirs is non-empty, at least one of those directories must still
6485 # be configured, or we error out. (E.g., if the gas release supports a
6486 # specified target in some subdirs but not the gas subdir, we shouldn't
6487 # pretend that all is well.)
6488 if test -n "$appdirs" ; then
6489 for dir in $appdirs ; do
6490 if test -r $dir/Makefile.in ; then
6491 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6495 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6501 if test -n "$appdirs" ; then
6502 echo "*** This configuration is not supported by this package." 1>&2
6506 # Okay, some application will build, or we don't care to check. Still
6507 # notify of subdirs not getting built.
6508 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6509 echo " ${notsupp}" 1>&2
6510 echo " (Any other directories should still work fine.)" 1>&2
6518 # To find our prefix, in gcc_cv_tool_prefix.
6520 # The user is always right.
6521 if test "${PATH_SEPARATOR+set}" != set; then
6522 echo "#! /bin/sh" >conf$$.sh
6523 echo "exit 0" >>conf$$.sh
6525 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6535 if test "x$exec_prefix" = xNONE; then
6536 if test "x$prefix" = xNONE; then
6537 gcc_cv_tool_prefix=$ac_default_prefix
6539 gcc_cv_tool_prefix=$prefix
6542 gcc_cv_tool_prefix=$exec_prefix
6545 # If there is no compiler in the tree, use the PATH only. In any
6546 # case, if there is no compiler in the tree nobody should use
6547 # AS_FOR_TARGET and LD_FOR_TARGET.
6548 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6549 gcc_version=`cat $srcdir/gcc/BASE-VER`
6550 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6551 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6552 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6553 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6554 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6555 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6560 if test x$build = x$target && test -n "$md_exec_prefix"; then
6561 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6569 # Check whether --with-build-sysroot was given.
6570 if test "${with_build_sysroot+set}" = set; then :
6571 withval=$with_build_sysroot; if test x"$withval" != x ; then
6572 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6575 SYSROOT_CFLAGS_FOR_TARGET=
6581 # Check whether --with-debug-prefix-map was given.
6582 if test "${with_debug_prefix_map+set}" = set; then :
6583 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6584 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6585 for debug_map in $withval; do
6586 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6590 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6595 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6596 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6597 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6598 # We want to ensure that TARGET libraries (which we know are built with
6599 # gcc) are built with "-O2 -g", so include those options when setting
6600 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6601 if test "x$CFLAGS_FOR_TARGET" = x; then
6602 CFLAGS_FOR_TARGET=$CFLAGS
6605 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6608 *" -g "* | *" -g3 "*) ;;
6609 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6614 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6615 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6616 case " $CXXFLAGS " in
6618 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6620 case " $CXXFLAGS " in
6621 *" -g "* | *" -g3 "*) ;;
6622 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6627 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6628 # the named directory are copied to $(tooldir)/sys-include.
6629 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6630 if test x${is_cross_compiler} = xno ; then
6631 echo 1>&2 '***' --with-headers is only supported when cross compiling
6634 if test x"${with_headers}" != xyes ; then
6635 x=${gcc_cv_tool_prefix}
6636 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6640 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6641 # the name directories are copied to $(tooldir)/lib. Multiple directories
6643 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6644 if test x${is_cross_compiler} = xno ; then
6645 echo 1>&2 '***' --with-libs is only supported when cross compiling
6648 if test x"${with_libs}" != xyes ; then
6649 # Copy the libraries in reverse order, so that files in the first named
6650 # library override files in subsequent libraries.
6651 x=${gcc_cv_tool_prefix}
6652 for l in ${with_libs}; do
6653 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6658 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6660 # This is done by determining whether or not the appropriate directory
6661 # is available, and by checking whether or not specific configurations
6662 # have requested that this magic not happen.
6664 # The command line options always override the explicit settings in
6665 # configure.in, and the settings in configure.in override this magic.
6667 # If the default for a toolchain is to use GNU as and ld, and you don't
6668 # want to do that, then you should use the --without-gnu-as and
6669 # --without-gnu-ld options for the configure script. Similarly, if
6670 # the default is to use the included zlib and you don't want to do that,
6671 # you should use the --with-system-zlib option for the configure script.
6673 if test x${use_gnu_as} = x &&
6674 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6676 extra_host_args="$extra_host_args --with-gnu-as"
6679 if test x${use_gnu_ld} = x &&
6680 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6682 extra_host_args="$extra_host_args --with-gnu-ld"
6685 if test x${use_included_zlib} = x &&
6686 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6689 with_system_zlib=yes
6690 extra_host_args="$extra_host_args --with-system-zlib"
6693 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6694 # can detect this case.
6696 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6698 extra_host_args="$extra_host_args --with-newlib"
6701 # Handle ${copy_dirs}
6702 set fnord ${copy_dirs}
6704 while test $# != 0 ; do
6705 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6708 echo Copying $1 to $2
6710 # Use the install script to create the directory and all required
6711 # parent directories.
6712 if test -d $2 ; then
6716 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6719 # Copy the directory, assuming we have tar.
6720 # FIXME: Should we use B in the second tar? Not all systems support it.
6721 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6723 # It is the responsibility of the user to correctly adjust all
6724 # symlinks. If somebody can figure out how to handle them correctly
6725 # here, feel free to add the code.
6732 # Determine a target-dependent exec_prefix that the installed
6733 # gcc will search in. Keep this list sorted by triplet, with
6734 # the *-*-osname triplets last.
6738 md_exec_prefix=/gnu/lib/gcc-lib
6740 i[34567]86-pc-msdosdjgpp*)
6741 md_exec_prefix=/dev/env/DJDIR/bin
6743 i[34567]86-*-sco3.2v5*)
6744 if test $with_gnu_as = yes; then
6745 md_exec_prefix=/usr/gnu/bin
6747 md_exec_prefix=/usr/ccs/bin/elf
6752 powerpc-*-chorusos* | \
6753 powerpc*-*-eabi* | \
6754 powerpc*-*-sysv* | \
6755 powerpc*-*-kaos* | \
6757 md_exec_prefix=/usr/ccs/bin
6762 md_exec_prefix=/usr/ccs/bin
6777 md_exec_prefix=/usr/ccs/bin
6781 extra_arflags_for_target=
6782 extra_nmflags_for_target=
6783 extra_ranlibflags_for_target=
6784 target_makefile_frag=/dev/null
6787 target_makefile_frag="config/mt-mep"
6790 target_makefile_frag="config/mt-spu"
6793 target_makefile_frag="config/mt-sde"
6795 mipsisa*-*-elfoabi*)
6796 target_makefile_frag="config/mt-mips-elfoabi"
6798 mips*-*-*linux* | mips*-*-gnu*)
6799 target_makefile_frag="config/mt-mips-gnu"
6802 target_makefile_frag="config/mt-netware"
6804 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6805 target_makefile_frag="config/mt-gnu"
6807 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6808 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6809 # commands to handle both 32-bit and 64-bit objects. These flags are
6810 # harmless if we're using GNU nm or ar.
6811 extra_arflags_for_target=" -X32_64"
6812 extra_nmflags_for_target=" -B -X32_64"
6815 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6816 extra_ranlibflags_for_target=" -c"
6818 mips*-*-pe | sh*-*-pe | *arm-wince-pe)
6819 target_makefile_frag="config/mt-wince"
6823 alphaieee_frag=/dev/null
6826 # This just makes sure to use the -mieee option to build target libs.
6827 # This should probably be set individually by each library.
6828 alphaieee_frag="config/mt-alphaieee"
6832 # If --enable-target-optspace always use -Os instead of -O2 to build
6833 # the target libraries, similarly if it is not specified, use -Os
6834 # on selected platforms.
6835 ospace_frag=/dev/null
6836 case "${enable_target_optspace}:${target}" in
6838 ospace_frag="config/mt-ospace"
6841 ospace_frag="config/mt-d30v"
6843 :m32r-* | :d10v-* | :fr30-*)
6844 ospace_frag="config/mt-ospace"
6849 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6853 # Default to using --with-stabs for certain targets.
6854 if test x${with_stabs} = x ; then
6858 mips*-*-* | alpha*-*-osf*)
6860 extra_host_args="${extra_host_args} --with-stabs"
6865 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6866 # them automatically.
6869 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6873 # Some systems (e.g., one of the i386-aix systems the gas testers are
6874 # using) don't handle "\$" correctly, so don't use it here.
6875 tooldir='${exec_prefix}'/${target_noncanonical}
6876 build_tooldir=${tooldir}
6878 # Create a .gdbinit file which runs the one in srcdir
6879 # and tells GDB to look there for source files.
6881 if test -r ${srcdir}/.gdbinit ; then
6884 *) cat > ./.gdbinit <<EOF
6888 source ${srcdir}/.gdbinit
6894 # Make sure that the compiler is able to generate an executable. If it
6895 # can't, we are probably in trouble. We don't care whether we can run the
6896 # executable--we might be using a cross compiler--we only care whether it
6897 # can be created. At this point the main configure script has set CC.
6899 echo "int main () { return 0; }" > conftest.c
6900 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6901 if test $? = 0 ; then
6902 if test -s conftest || test -s conftest.exe ; then
6908 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6909 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6916 # The Solaris /usr/ucb/cc compiler does not appear to work.
6918 sparc-sun-solaris2*)
6919 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
6920 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6922 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
6923 if test -d /opt/cygnus/bin ; then
6924 if test "$could_use" = "" ; then
6925 could_use="/opt/cygnus/bin"
6927 could_use="$could_use or /opt/cygnus/bin"
6930 if test "$could_use" = "" ; then
6931 echo "Warning: compilation may fail because you're using"
6932 echo "/usr/ucb/cc. You should change your PATH or CC "
6933 echo "variable and rerun configure."
6935 echo "Warning: compilation may fail because you're using"
6936 echo "/usr/ucb/cc, when you should use the C compiler from"
6937 echo "$could_use. You should change your"
6938 echo "PATH or CC variable and rerun configure."
6944 # Decide which environment variable is used to find dynamic libraries.
6946 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6947 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6948 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6949 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6952 # On systems where the dynamic library environment variable is PATH,
6953 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6954 # built executables to PATH.
6955 if test "$RPATH_ENVVAR" = PATH; then
6956 GCC_SHLIB_SUBDIR=/shlib
6961 # Record target_configdirs and the configure arguments for target and
6962 # build configuration in Makefile.
6963 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6964 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6966 # If we are building libgomp, bootstrap it.
6967 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
6968 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
6971 # Determine whether gdb needs tk/tcl or not.
6972 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6973 # and in that case we want gdb to be built without tk. Ugh!
6974 # In fact I believe gdb is the *only* package directly dependent on tk,
6975 # so we should be able to put the 'maybe's in unconditionally and
6976 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6977 # 100% sure that that's safe though.
6979 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6980 case "$enable_gdbtk" in
6984 GDB_TK="${gdb_tk}" ;;
6986 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6987 # distro. Eventually someone will fix this and move Insight, nee
6988 # gdbtk to a separate directory.
6989 if test -d ${srcdir}/gdb/gdbtk ; then
6996 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6997 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6999 # Strip out unwanted targets.
7001 # While at that, we remove Makefiles if we were started for recursive
7002 # configuration, so that the top-level Makefile reconfigures them,
7003 # like we used to do when configure itself was recursive.
7005 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7006 # but now we're fixing up the Makefile ourselves with the additional
7007 # commands passed to AC_CONFIG_FILES. Use separate variables
7008 # extrasub-{build,host,target} not because there is any reason to split
7009 # the substitutions up that way, but only to remain below the limit of
7010 # 99 commands in a script, for HP-UX sed.
7011 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7013 # Check whether --enable-bootstrap was given.
7014 if test "${enable_bootstrap+set}" = set; then :
7015 enableval=$enable_bootstrap;
7017 enable_bootstrap=default
7021 # Issue errors and warnings for invalid/strange bootstrap combinations.
7022 case "$configdirs" in
7023 *gcc*) have_compiler=yes ;;
7024 *) have_compiler=no ;;
7027 case "$have_compiler:$host:$target:$enable_bootstrap" in
7030 # Default behavior. Enable bootstrap if we have a compiler
7031 # and we are in a native configuration.
7032 yes:$build:$build:default)
7033 enable_bootstrap=yes ;;
7036 enable_bootstrap=no ;;
7038 # We have a compiler and we are in a native configuration, bootstrap is ok
7039 yes:$build:$build:yes)
7042 # Other configurations, but we have a compiler. Assume the user knows
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7046 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7049 # No compiler: if they passed --enable-bootstrap explicitly, fail
7051 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
7053 # Fail if wrong command line
7055 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
7059 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7062 as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7066 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7067 yes:yes:*\ gold\ *:*,c++,*) ;;
7068 yes:yes:*\ gold\ *:*)
7069 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7073 # Adjust the toplevel makefile according to whether bootstrap was selected.
7074 case $enable_bootstrap in
7076 bootstrap_suffix=bootstrap
7077 BUILD_CONFIG=bootstrap-debug
7080 bootstrap_suffix=no-bootstrap
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7086 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7089 # Check whether --with-build-config was given.
7090 if test "${with_build_config+set}" = set; then :
7091 withval=$with_build_config; case $with_build_config in
7092 yes) with_build_config= ;;
7093 no) with_build_config= BUILD_CONFIG= ;;
7098 if test "x${with_build_config}" != x; then
7099 BUILD_CONFIG=$with_build_config
7101 case $BUILD_CONFIG in
7103 if echo "int f (void) { return 0; }" > conftest.c &&
7104 ${CC} -c conftest.c &&
7105 mv conftest.o conftest.o.g0 &&
7106 ${CC} -c -g conftest.c &&
7107 mv conftest.o conftest.o.g &&
7108 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
7113 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7118 $as_echo "$BUILD_CONFIG" >&6; }
7122 for module in ${build_configdirs} ; do
7123 if test -z "${no_recursion}" \
7124 && test -f ${build_subdir}/${module}/Makefile; then
7125 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7126 rm -f ${build_subdir}/${module}/Makefile
7128 extrasub_build="$extrasub_build
7129 /^@if build-$module\$/d
7130 /^@endif build-$module\$/d
7131 /^@if build-$module-$bootstrap_suffix\$/d
7132 /^@endif build-$module-$bootstrap_suffix\$/d"
7135 for module in ${configdirs} ; do
7136 if test -z "${no_recursion}"; then
7137 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7138 if test -f ${file}; then
7139 echo 1>&2 "*** removing ${file} to force reconfigure"
7144 extrasub_host="$extrasub_host
7146 /^@endif $module\$/d
7147 /^@if $module-$bootstrap_suffix\$/d
7148 /^@endif $module-$bootstrap_suffix\$/d"
7151 for module in ${target_configdirs} ; do
7152 if test -z "${no_recursion}" \
7153 && test -f ${target_subdir}/${module}/Makefile; then
7154 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7155 rm -f ${target_subdir}/${module}/Makefile
7158 # We only bootstrap target libraries listed in bootstrap_target_libs.
7159 case $bootstrap_target_libs in
7160 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7161 *) target_bootstrap_suffix=no-bootstrap ;;
7164 extrasub_target="$extrasub_target
7165 /^@if target-$module\$/d
7166 /^@endif target-$module\$/d
7167 /^@if target-$module-$target_bootstrap_suffix\$/d
7168 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7171 # Do the final fixup along with target modules.
7172 extrasub_target="$extrasub_target
7173 /^@if /,/^@endif /d"
7175 # Create the serialization dependencies. This uses a temporary file.
7177 # Check whether --enable-serial-configure was given.
7178 if test "${enable_serial_configure+set}" = set; then :
7179 enableval=$enable_serial_configure;
7183 case ${enable_serial_configure} in
7185 enable_serial_build_configure=yes
7186 enable_serial_host_configure=yes
7187 enable_serial_target_configure=yes
7191 # These force 'configure's to be done one at a time, to avoid problems
7192 # with contention over a shared config.cache.
7194 echo '# serdep.tmp' > serdep.tmp
7196 test "x${enable_serial_build_configure}" = xyes &&
7197 for item in ${build_configdirs} ; do
7200 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7205 test "x${enable_serial_host_configure}" = xyes &&
7206 for item in ${configdirs} ; do
7209 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7214 test "x${enable_serial_target_configure}" = xyes &&
7215 for item in ${target_configdirs} ; do
7218 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7222 serialization_dependencies=serdep.tmp
7225 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7226 # target, nonopt, and variable assignments. These are the ones we
7227 # might not want to pass down to subconfigures. The exception being
7228 # --cache-file=/dev/null, which is used to turn off the use of cache
7229 # files altogether, and which should be passed on to subconfigures.
7230 # Also strip program-prefix, program-suffix, and program-transform-name,
7231 # so that we can pass down a consistent program-transform-name.
7235 eval "set -- $ac_configure_args"
7238 if test X"$skip_next" = X"yes"; then
7242 if test X"$keep_next" = X"yes"; then
7245 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7247 baseargs="$baseargs '$ac_arg'"
7252 # Handle separated arguments. Based on the logic generated by
7255 *=* | --config-cache | -C | -disable-* | --disable-* \
7256 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7257 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7258 | -with-* | --with-* | -without-* | --without-* | --x)
7270 --cache-file=/dev/null | \
7271 -cache-file=/dev/null )
7272 # Handled here to avoid the test to skip args below.
7273 baseargs="$baseargs '$ac_arg'"
7274 # Assert: $separate_arg should always be no.
7275 keep_next=$separate_arg
7291 -program-prefix* | \
7292 -program-suffix* | \
7293 -program-transform-name* )
7294 skip_next=$separate_arg
7298 # An option. Add it.
7301 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7303 baseargs="$baseargs '$ac_arg'"
7304 keep_next=$separate_arg
7307 # Either a variable assignment, or a nonopt (triplet). Don't
7308 # pass it down; let the Makefile handle this.
7313 # Remove the initial space we just introduced and, as these will be
7314 # expanded by make, quote '$'.
7315 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7317 # Add in --program-transform-name, after --program-prefix and
7318 # --program-suffix have been applied to it. Autoconf has already
7319 # doubled dollar signs and backslashes in program_transform_name; we want
7320 # the backslashes un-doubled, and then the entire thing wrapped in single
7321 # quotes, because this will be expanded first by make and then by the shell.
7322 # Also, because we want to override the logic in subdir configure scripts to
7323 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7324 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7325 ${program_transform_name}
7327 gcc_transform_name=`cat conftestsed.out`
7328 rm -f conftestsed.out
7329 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7330 if test "$silent" = yes; then
7331 baseargs="$baseargs --silent"
7333 baseargs="$baseargs --disable-option-checking"
7335 # Record and document user additions to sub configure arguments.
7340 # For the build-side libraries, we just need to pretend we're native,
7341 # and not use the same cache file. Multilibs are neither needed nor
7343 build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
7345 # For host modules, accept cache file option, or specification as blank.
7346 case "${cache_file}" in
7348 cache_file_option="" ;;
7349 /* | [A-Za-z]:[\\/]* ) # absolute path
7350 cache_file_option="--cache-file=${cache_file}" ;;
7352 cache_file_option="--cache-file=../${cache_file}" ;;
7355 # Host dirs don't like to share a cache file either, horribly enough.
7356 # This seems to be due to autoconf 2.5x stupidity.
7357 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7359 target_configargs="$target_configargs ${baseargs}"
7361 # Passing a --with-cross-host argument lets the target libraries know
7362 # whether they are being built with a cross-compiler or being built
7363 # native. However, it would be better to use other mechanisms to make the
7364 # sorts of decisions they want to make on this basis. Please consider
7365 # this option to be deprecated. FIXME.
7366 if test x${is_cross_compiler} = xyes ; then
7367 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7370 # Default to --enable-multilib.
7371 if test x${enable_multilib} = x ; then
7372 target_configargs="--enable-multilib ${target_configargs}"
7375 # Pass --with-newlib if appropriate. Note that target_configdirs has
7376 # changed from the earlier setting of with_newlib.
7377 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7378 target_configargs="--with-newlib ${target_configargs}"
7381 # Different target subdirs use different values of certain variables
7382 # (notably CXX). Worse, multilibs use *lots* of different values.
7383 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7384 # it doesn't automatically accept command-line overrides of them.
7385 # This means it's not safe for target subdirs to share a cache file,
7386 # which is disgusting, but there you have it. Hopefully this can be
7387 # fixed in future. It's still worthwhile to use a cache file for each
7388 # directory. I think.
7390 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7391 # We need to pass --target, as newer autoconf's requires consistency
7392 # for target_alias and gcc doesn't manage it consistently.
7393 target_configargs="--cache-file=./config.cache ${target_configargs}"
7396 case " $target_configdirs " in
7398 case " $target_configargs " in
7399 *" --with-newlib "*)
7402 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'
7406 # If we're not building GCC, don't discard standard headers.
7407 if test -d ${srcdir}/gcc; then
7408 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7410 if test "${build}" != "${host}"; then
7411 # On Canadian crosses, CC_FOR_TARGET will have already been set
7412 # by `configure', so we won't have an opportunity to add -Bgcc/
7413 # to it. This is right: we don't want to search that directory
7414 # for binaries, but we want the header files in there, so add
7416 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7418 # Someone might think of using the pre-installed headers on
7419 # Canadian crosses, in case the installed compiler is not fully
7420 # compatible with the compiler being built. In this case, it
7421 # would be better to flag an error than risking having
7422 # incompatible object files being constructed. We can't
7423 # guarantee that an error will be flagged, but let's hope the
7424 # compiler will do it, when presented with incompatible header
7429 case "${target}-${is_cross_compiler}" in
7430 i[3456789]86-*-linux*-no)
7431 # Here host == target, so we don't need to build gcc,
7432 # so we don't want to discard standard headers.
7433 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7436 # If we're building newlib, use its generic headers last, but search
7437 # for any libc-related directories first (so make it the last -B
7439 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7441 # If we're building libgloss, find the startup file, simulator library
7442 # and linker script.
7443 case " $target_configdirs " in
7445 # Look for startup file, simulator library and maybe linker script.
7446 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7447 # Look for libnosys.a in case the target needs it.
7448 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7449 # Most targets have the linker script in the source directory.
7450 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7461 x86_64-*mingw* | *-w64-mingw*)
7462 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7463 # however, use a symlink named 'mingw' in ${prefix} .
7464 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7467 # MinGW can't be handled as Cygwin above since it does not use newlib.
7468 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'
7472 # Allow the user to override the flags for
7473 # our build compiler if desired.
7474 if test x"${build}" = x"${host}" ; then
7475 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7476 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7477 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7480 # On Canadian crosses, we'll be searching the right directories for
7481 # the previously-installed cross compiler, so don't bother to add
7482 # flags for directories within the install tree of the compiler
7483 # being built; programs in there won't even run.
7484 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7485 # Search for pre-installed headers if nothing else fits.
7486 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7489 if test "x${use_gnu_ld}" = x &&
7490 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7491 # Arrange for us to find uninstalled linker scripts.
7492 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7495 # Search for other target-specific linker scripts and such.
7498 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7502 # Makefile fragments.
7503 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7505 eval fragval=\$$frag
7506 if test $fragval != /dev/null; then
7507 eval $frag=${srcdir}/$fragval
7515 # Miscellanea: directories, flags, etc.
7524 # Build module lists & subconfigure args.
7528 # Host module lists & subconfigure args.
7533 # Target module lists & subconfigure args.
7556 # Generate default definitions for YACC, M4, LEX and other programs that run
7557 # on the build machine. These are used if the Makefile can't locate these
7558 # programs in objdir.
7559 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7561 for ac_prog in 'bison -y' byacc yacc
7563 # Extract the first word of "$ac_prog", so it can be a program name with args.
7564 set dummy $ac_prog; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_YACC+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7570 if test -n "$YACC"; then
7571 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_YACC="$ac_prog"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 YACC=$ac_cv_prog_YACC
7591 if test -n "$YACC"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7593 $as_echo "$YACC" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7600 test -n "$YACC" && break
7602 test -n "$YACC" || YACC="$MISSING bison -y"
7604 case " $build_configdirs " in
7605 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7606 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7609 for ac_prog in bison
7611 # Extract the first word of "$ac_prog", so it can be a program name with args.
7612 set dummy $ac_prog; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if test "${ac_cv_prog_BISON+set}" = set; then :
7616 $as_echo_n "(cached) " >&6
7618 if test -n "$BISON"; then
7619 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7628 ac_cv_prog_BISON="$ac_prog"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 BISON=$ac_cv_prog_BISON
7639 if test -n "$BISON"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7641 $as_echo "$BISON" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7648 test -n "$BISON" && break
7650 test -n "$BISON" || BISON="$MISSING bison"
7652 case " $build_configdirs " in
7653 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7656 for ac_prog in gm4 gnum4 m4
7658 # Extract the first word of "$ac_prog", so it can be a program name with args.
7659 set dummy $ac_prog; ac_word=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661 $as_echo_n "checking for $ac_word... " >&6; }
7662 if test "${ac_cv_prog_M4+set}" = set; then :
7663 $as_echo_n "(cached) " >&6
7665 if test -n "$M4"; then
7666 ac_cv_prog_M4="$M4" # Let the user override the test.
7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672 test -z "$as_dir" && as_dir=.
7673 for ac_exec_ext in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_prog_M4="$ac_prog"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7686 if test -n "$M4"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7688 $as_echo "$M4" >&6; }
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7695 test -n "$M4" && break
7697 test -n "$M4" || M4="$MISSING m4"
7699 case " $build_configdirs " in
7700 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7703 for ac_prog in flex lex
7705 # Extract the first word of "$ac_prog", so it can be a program name with args.
7706 set dummy $ac_prog; ac_word=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708 $as_echo_n "checking for $ac_word... " >&6; }
7709 if test "${ac_cv_prog_LEX+set}" = set; then :
7710 $as_echo_n "(cached) " >&6
7712 if test -n "$LEX"; then
7713 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir=.
7720 for ac_exec_ext in '' $ac_executable_extensions; do
7721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7722 ac_cv_prog_LEX="$ac_prog"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 if test -n "$LEX"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7735 $as_echo "$LEX" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7742 test -n "$LEX" && break
7744 test -n "$LEX" || LEX="$MISSING flex"
7746 case " $build_configdirs " in
7747 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7748 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7753 # Extract the first word of "$ac_prog", so it can be a program name with args.
7754 set dummy $ac_prog; ac_word=$2
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756 $as_echo_n "checking for $ac_word... " >&6; }
7757 if test "${ac_cv_prog_FLEX+set}" = set; then :
7758 $as_echo_n "(cached) " >&6
7760 if test -n "$FLEX"; then
7761 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767 test -z "$as_dir" && as_dir=.
7768 for ac_exec_ext in '' $ac_executable_extensions; do
7769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7770 ac_cv_prog_FLEX="$ac_prog"
7771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 FLEX=$ac_cv_prog_FLEX
7781 if test -n "$FLEX"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7783 $as_echo "$FLEX" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7790 test -n "$FLEX" && break
7792 test -n "$FLEX" || FLEX="$MISSING flex"
7794 case " $build_configdirs " in
7795 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7798 for ac_prog in makeinfo
7800 # Extract the first word of "$ac_prog", so it can be a program name with args.
7801 set dummy $ac_prog; ac_word=$2
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803 $as_echo_n "checking for $ac_word... " >&6; }
7804 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7805 $as_echo_n "(cached) " >&6
7807 if test -n "$MAKEINFO"; then
7808 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7814 test -z "$as_dir" && as_dir=.
7815 for ac_exec_ext in '' $ac_executable_extensions; do
7816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7817 ac_cv_prog_MAKEINFO="$ac_prog"
7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 MAKEINFO=$ac_cv_prog_MAKEINFO
7828 if test -n "$MAKEINFO"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7830 $as_echo "$MAKEINFO" >&6; }
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7837 test -n "$MAKEINFO" && break
7839 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7841 case " $build_configdirs " in
7842 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7845 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7846 # higher, else we use the "missing" dummy.
7847 if ${MAKEINFO} --version \
7848 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7851 MAKEINFO="$MISSING makeinfo"
7857 # FIXME: expect and dejagnu may become build tools?
7859 for ac_prog in expect
7861 # Extract the first word of "$ac_prog", so it can be a program name with args.
7862 set dummy $ac_prog; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7868 if test -n "$EXPECT"; then
7869 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7878 ac_cv_prog_EXPECT="$ac_prog"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 EXPECT=$ac_cv_prog_EXPECT
7889 if test -n "$EXPECT"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7891 $as_echo "$EXPECT" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7898 test -n "$EXPECT" && break
7900 test -n "$EXPECT" || EXPECT="expect"
7902 case " $configdirs " in
7904 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7908 for ac_prog in runtest
7910 # Extract the first word of "$ac_prog", so it can be a program name with args.
7911 set dummy $ac_prog; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7915 $as_echo_n "(cached) " >&6
7917 if test -n "$RUNTEST"; then
7918 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7927 ac_cv_prog_RUNTEST="$ac_prog"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 RUNTEST=$ac_cv_prog_RUNTEST
7938 if test -n "$RUNTEST"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7940 $as_echo "$RUNTEST" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7947 test -n "$RUNTEST" && break
7949 test -n "$RUNTEST" || RUNTEST="runtest"
7951 case " $configdirs " in
7953 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7960 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7961 ncn_target_tool_prefix=
7962 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7966 if test -n "$AR"; then
7968 elif test -n "$ac_cv_prog_AR"; then
7972 if test -n "$ac_cv_prog_AR"; then
7973 for ncn_progname in ar; do
7974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7975 set dummy ${ncn_progname}; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if test "${ac_cv_prog_AR+set}" = set; then :
7979 $as_echo_n "(cached) " >&6
7981 if test -n "$AR"; then
7982 ac_cv_prog_AR="$AR" # Let the user override the test.
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_prog_AR="${ncn_progname}"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 if test -n "$AR"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8004 $as_echo "$AR" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8014 for ncn_progname in ar; do
8015 if test -n "$ncn_tool_prefix"; then
8016 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8017 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if test "${ac_cv_prog_AR+set}" = set; then :
8021 $as_echo_n "(cached) " >&6
8023 if test -n "$AR"; then
8024 ac_cv_prog_AR="$AR" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 if test -n "$AR"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8046 $as_echo "$AR" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8054 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8056 set dummy ${ncn_progname}; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if test "${ac_cv_prog_AR+set}" = set; then :
8060 $as_echo_n "(cached) " >&6
8062 if test -n "$AR"; then
8063 ac_cv_prog_AR="$AR" # Let the user override the test.
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8072 ac_cv_prog_AR="${ncn_progname}"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 if test -n "$AR"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8085 $as_echo "$AR" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8093 test -n "$ac_cv_prog_AR" && break
8096 if test -z "$ac_cv_prog_AR" ; then
8098 if test $build = $host ; then
8101 AR="${ncn_tool_prefix}$2"
8107 if test -n "$AS"; then
8109 elif test -n "$ac_cv_prog_AS"; then
8113 if test -n "$ac_cv_prog_AS"; then
8114 for ncn_progname in as; do
8115 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8116 set dummy ${ncn_progname}; ac_word=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118 $as_echo_n "checking for $ac_word... " >&6; }
8119 if test "${ac_cv_prog_AS+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8122 if test -n "$AS"; then
8123 ac_cv_prog_AS="$AS" # Let the user override the test.
8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8129 test -z "$as_dir" && as_dir=.
8130 for ac_exec_ext in '' $ac_executable_extensions; do
8131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8132 ac_cv_prog_AS="${ncn_progname}"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8143 if test -n "$AS"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8145 $as_echo "$AS" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8155 for ncn_progname in as; do
8156 if test -n "$ncn_tool_prefix"; then
8157 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8158 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8160 $as_echo_n "checking for $ac_word... " >&6; }
8161 if test "${ac_cv_prog_AS+set}" = set; then :
8162 $as_echo_n "(cached) " >&6
8164 if test -n "$AS"; then
8165 ac_cv_prog_AS="$AS" # Let the user override the test.
8167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171 test -z "$as_dir" && as_dir=.
8172 for ac_exec_ext in '' $ac_executable_extensions; do
8173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8174 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 if test -n "$AS"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8187 $as_echo "$AS" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8195 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8197 set dummy ${ncn_progname}; ac_word=$2
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8199 $as_echo_n "checking for $ac_word... " >&6; }
8200 if test "${ac_cv_prog_AS+set}" = set; then :
8201 $as_echo_n "(cached) " >&6
8203 if test -n "$AS"; then
8204 ac_cv_prog_AS="$AS" # Let the user override the test.
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8213 ac_cv_prog_AS="${ncn_progname}"
8214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8224 if test -n "$AS"; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8226 $as_echo "$AS" >&6; }
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8234 test -n "$ac_cv_prog_AS" && break
8237 if test -z "$ac_cv_prog_AS" ; then
8239 if test $build = $host ; then
8242 AS="${ncn_tool_prefix}$2"
8248 if test -n "$DLLTOOL"; then
8249 ac_cv_prog_DLLTOOL=$DLLTOOL
8250 elif test -n "$ac_cv_prog_DLLTOOL"; then
8251 DLLTOOL=$ac_cv_prog_DLLTOOL
8254 if test -n "$ac_cv_prog_DLLTOOL"; then
8255 for ncn_progname in dlltool; do
8256 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8257 set dummy ${ncn_progname}; ac_word=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8259 $as_echo_n "checking for $ac_word... " >&6; }
8260 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8261 $as_echo_n "(cached) " >&6
8263 if test -n "$DLLTOOL"; then
8264 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8273 ac_cv_prog_DLLTOOL="${ncn_progname}"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 DLLTOOL=$ac_cv_prog_DLLTOOL
8284 if test -n "$DLLTOOL"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8286 $as_echo "$DLLTOOL" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8296 for ncn_progname in dlltool; do
8297 if test -n "$ncn_tool_prefix"; then
8298 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8299 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301 $as_echo_n "checking for $ac_word... " >&6; }
8302 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8303 $as_echo_n "(cached) " >&6
8305 if test -n "$DLLTOOL"; then
8306 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8315 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8325 DLLTOOL=$ac_cv_prog_DLLTOOL
8326 if test -n "$DLLTOOL"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8328 $as_echo "$DLLTOOL" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8336 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8337 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8338 set dummy ${ncn_progname}; ac_word=$2
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8340 $as_echo_n "checking for $ac_word... " >&6; }
8341 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8342 $as_echo_n "(cached) " >&6
8344 if test -n "$DLLTOOL"; then
8345 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir=.
8352 for ac_exec_ext in '' $ac_executable_extensions; do
8353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8354 ac_cv_prog_DLLTOOL="${ncn_progname}"
8355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 DLLTOOL=$ac_cv_prog_DLLTOOL
8365 if test -n "$DLLTOOL"; then
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8367 $as_echo "$DLLTOOL" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370 $as_echo "no" >&6; }
8375 test -n "$ac_cv_prog_DLLTOOL" && break
8378 if test -z "$ac_cv_prog_DLLTOOL" ; then
8380 if test $build = $host ; then
8383 DLLTOOL="${ncn_tool_prefix}$2"
8389 if test -n "$LD"; then
8391 elif test -n "$ac_cv_prog_LD"; then
8395 if test -n "$ac_cv_prog_LD"; then
8396 for ncn_progname in ld; do
8397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8398 set dummy ${ncn_progname}; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if test "${ac_cv_prog_LD+set}" = set; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$LD"; then
8405 ac_cv_prog_LD="$LD" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_LD="${ncn_progname}"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8425 if test -n "$LD"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8427 $as_echo "$LD" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8437 for ncn_progname in ld; do
8438 if test -n "$ncn_tool_prefix"; then
8439 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8440 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8442 $as_echo_n "checking for $ac_word... " >&6; }
8443 if test "${ac_cv_prog_LD+set}" = set; then :
8444 $as_echo_n "(cached) " >&6
8446 if test -n "$LD"; then
8447 ac_cv_prog_LD="$LD" # Let the user override the test.
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8456 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8467 if test -n "$LD"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8469 $as_echo "$LD" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8477 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8479 set dummy ${ncn_progname}; ac_word=$2
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8481 $as_echo_n "checking for $ac_word... " >&6; }
8482 if test "${ac_cv_prog_LD+set}" = set; then :
8483 $as_echo_n "(cached) " >&6
8485 if test -n "$LD"; then
8486 ac_cv_prog_LD="$LD" # Let the user override the test.
8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir=.
8493 for ac_exec_ext in '' $ac_executable_extensions; do
8494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8495 ac_cv_prog_LD="${ncn_progname}"
8496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8506 if test -n "$LD"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8508 $as_echo "$LD" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8511 $as_echo "no" >&6; }
8516 test -n "$ac_cv_prog_LD" && break
8519 if test -z "$ac_cv_prog_LD" ; then
8521 if test $build = $host ; then
8524 LD="${ncn_tool_prefix}$2"
8530 if test -n "$LIPO"; then
8531 ac_cv_prog_LIPO=$LIPO
8532 elif test -n "$ac_cv_prog_LIPO"; then
8533 LIPO=$ac_cv_prog_LIPO
8536 if test -n "$ac_cv_prog_LIPO"; then
8537 for ncn_progname in lipo; do
8538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8539 set dummy ${ncn_progname}; ac_word=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if test "${ac_cv_prog_LIPO+set}" = set; then :
8543 $as_echo_n "(cached) " >&6
8545 if test -n "$LIPO"; then
8546 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir=.
8553 for ac_exec_ext in '' $ac_executable_extensions; do
8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555 ac_cv_prog_LIPO="${ncn_progname}"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565 LIPO=$ac_cv_prog_LIPO
8566 if test -n "$LIPO"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8568 $as_echo "$LIPO" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8571 $as_echo "no" >&6; }
8578 for ncn_progname in lipo; do
8579 if test -n "$ncn_tool_prefix"; then
8580 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8581 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8583 $as_echo_n "checking for $ac_word... " >&6; }
8584 if test "${ac_cv_prog_LIPO+set}" = set; then :
8585 $as_echo_n "(cached) " >&6
8587 if test -n "$LIPO"; then
8588 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8594 test -z "$as_dir" && as_dir=.
8595 for ac_exec_ext in '' $ac_executable_extensions; do
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8607 LIPO=$ac_cv_prog_LIPO
8608 if test -n "$LIPO"; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8610 $as_echo "$LIPO" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8613 $as_echo "no" >&6; }
8618 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8619 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8620 set dummy ${ncn_progname}; ac_word=$2
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8622 $as_echo_n "checking for $ac_word... " >&6; }
8623 if test "${ac_cv_prog_LIPO+set}" = set; then :
8624 $as_echo_n "(cached) " >&6
8626 if test -n "$LIPO"; then
8627 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633 test -z "$as_dir" && as_dir=.
8634 for ac_exec_ext in '' $ac_executable_extensions; do
8635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8636 ac_cv_prog_LIPO="${ncn_progname}"
8637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8646 LIPO=$ac_cv_prog_LIPO
8647 if test -n "$LIPO"; then
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8649 $as_echo "$LIPO" >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8652 $as_echo "no" >&6; }
8657 test -n "$ac_cv_prog_LIPO" && break
8660 if test -z "$ac_cv_prog_LIPO" ; then
8662 if test $build = $host ; then
8665 LIPO="${ncn_tool_prefix}$2"
8671 if test -n "$NM"; then
8673 elif test -n "$ac_cv_prog_NM"; then
8677 if test -n "$ac_cv_prog_NM"; then
8678 for ncn_progname in nm; do
8679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8680 set dummy ${ncn_progname}; ac_word=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8682 $as_echo_n "checking for $ac_word... " >&6; }
8683 if test "${ac_cv_prog_NM+set}" = set; then :
8684 $as_echo_n "(cached) " >&6
8686 if test -n "$NM"; then
8687 ac_cv_prog_NM="$NM" # Let the user override the test.
8689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 test -z "$as_dir" && as_dir=.
8694 for ac_exec_ext in '' $ac_executable_extensions; do
8695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8696 ac_cv_prog_NM="${ncn_progname}"
8697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8707 if test -n "$NM"; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8709 $as_echo "$NM" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8712 $as_echo "no" >&6; }
8719 for ncn_progname in nm; do
8720 if test -n "$ncn_tool_prefix"; then
8721 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8722 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724 $as_echo_n "checking for $ac_word... " >&6; }
8725 if test "${ac_cv_prog_NM+set}" = set; then :
8726 $as_echo_n "(cached) " >&6
8728 if test -n "$NM"; then
8729 ac_cv_prog_NM="$NM" # Let the user override the test.
8731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8735 test -z "$as_dir" && as_dir=.
8736 for ac_exec_ext in '' $ac_executable_extensions; do
8737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8738 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8749 if test -n "$NM"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8751 $as_echo "$NM" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 $as_echo "no" >&6; }
8759 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8760 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8761 set dummy ${ncn_progname}; ac_word=$2
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8763 $as_echo_n "checking for $ac_word... " >&6; }
8764 if test "${ac_cv_prog_NM+set}" = set; then :
8765 $as_echo_n "(cached) " >&6
8767 if test -n "$NM"; then
8768 ac_cv_prog_NM="$NM" # Let the user override the test.
8770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 test -z "$as_dir" && as_dir=.
8775 for ac_exec_ext in '' $ac_executable_extensions; do
8776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8777 ac_cv_prog_NM="${ncn_progname}"
8778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8788 if test -n "$NM"; then
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8790 $as_echo "$NM" >&6; }
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8793 $as_echo "no" >&6; }
8798 test -n "$ac_cv_prog_NM" && break
8801 if test -z "$ac_cv_prog_NM" ; then
8803 if test $build = $host ; then
8806 NM="${ncn_tool_prefix}$2"
8812 if test -n "$RANLIB"; then
8813 ac_cv_prog_RANLIB=$RANLIB
8814 elif test -n "$ac_cv_prog_RANLIB"; then
8815 RANLIB=$ac_cv_prog_RANLIB
8818 if test -n "$ac_cv_prog_RANLIB"; then
8819 for ncn_progname in ranlib; do
8820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8821 set dummy ${ncn_progname}; ac_word=$2
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8823 $as_echo_n "checking for $ac_word... " >&6; }
8824 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8825 $as_echo_n "(cached) " >&6
8827 if test -n "$RANLIB"; then
8828 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8834 test -z "$as_dir" && as_dir=.
8835 for ac_exec_ext in '' $ac_executable_extensions; do
8836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8837 ac_cv_prog_RANLIB="${ncn_progname}"
8838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8847 RANLIB=$ac_cv_prog_RANLIB
8848 if test -n "$RANLIB"; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8850 $as_echo "$RANLIB" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8853 $as_echo "no" >&6; }
8860 for ncn_progname in ranlib; do
8861 if test -n "$ncn_tool_prefix"; then
8862 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8863 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8865 $as_echo_n "checking for $ac_word... " >&6; }
8866 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8867 $as_echo_n "(cached) " >&6
8869 if test -n "$RANLIB"; then
8870 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8876 test -z "$as_dir" && as_dir=.
8877 for ac_exec_ext in '' $ac_executable_extensions; do
8878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8879 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8889 RANLIB=$ac_cv_prog_RANLIB
8890 if test -n "$RANLIB"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8892 $as_echo "$RANLIB" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8895 $as_echo "no" >&6; }
8900 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8902 set dummy ${ncn_progname}; ac_word=$2
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8904 $as_echo_n "checking for $ac_word... " >&6; }
8905 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8908 if test -n "$RANLIB"; then
8909 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915 test -z "$as_dir" && as_dir=.
8916 for ac_exec_ext in '' $ac_executable_extensions; do
8917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8918 ac_cv_prog_RANLIB="${ncn_progname}"
8919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 RANLIB=$ac_cv_prog_RANLIB
8929 if test -n "$RANLIB"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8931 $as_echo "$RANLIB" >&6; }
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 $as_echo "no" >&6; }
8939 test -n "$ac_cv_prog_RANLIB" && break
8942 if test -z "$ac_cv_prog_RANLIB" ; then
8948 if test -n "$STRIP"; then
8949 ac_cv_prog_STRIP=$STRIP
8950 elif test -n "$ac_cv_prog_STRIP"; then
8951 STRIP=$ac_cv_prog_STRIP
8954 if test -n "$ac_cv_prog_STRIP"; then
8955 for ncn_progname in strip; do
8956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8957 set dummy ${ncn_progname}; ac_word=$2
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8959 $as_echo_n "checking for $ac_word... " >&6; }
8960 if test "${ac_cv_prog_STRIP+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8963 if test -n "$STRIP"; then
8964 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8970 test -z "$as_dir" && as_dir=.
8971 for ac_exec_ext in '' $ac_executable_extensions; do
8972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8973 ac_cv_prog_STRIP="${ncn_progname}"
8974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8983 STRIP=$ac_cv_prog_STRIP
8984 if test -n "$STRIP"; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8986 $as_echo "$STRIP" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8996 for ncn_progname in strip; do
8997 if test -n "$ncn_tool_prefix"; then
8998 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8999 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9001 $as_echo_n "checking for $ac_word... " >&6; }
9002 if test "${ac_cv_prog_STRIP+set}" = set; then :
9003 $as_echo_n "(cached) " >&6
9005 if test -n "$STRIP"; then
9006 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9012 test -z "$as_dir" && as_dir=.
9013 for ac_exec_ext in '' $ac_executable_extensions; do
9014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9015 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9025 STRIP=$ac_cv_prog_STRIP
9026 if test -n "$STRIP"; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9028 $as_echo "$STRIP" >&6; }
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9036 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9038 set dummy ${ncn_progname}; ac_word=$2
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9040 $as_echo_n "checking for $ac_word... " >&6; }
9041 if test "${ac_cv_prog_STRIP+set}" = set; then :
9042 $as_echo_n "(cached) " >&6
9044 if test -n "$STRIP"; then
9045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir=.
9052 for ac_exec_ext in '' $ac_executable_extensions; do
9053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9054 ac_cv_prog_STRIP="${ncn_progname}"
9055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 STRIP=$ac_cv_prog_STRIP
9065 if test -n "$STRIP"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9067 $as_echo "$STRIP" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9070 $as_echo "no" >&6; }
9075 test -n "$ac_cv_prog_STRIP" && break
9078 if test -z "$ac_cv_prog_STRIP" ; then
9084 if test -n "$WINDRES"; then
9085 ac_cv_prog_WINDRES=$WINDRES
9086 elif test -n "$ac_cv_prog_WINDRES"; then
9087 WINDRES=$ac_cv_prog_WINDRES
9090 if test -n "$ac_cv_prog_WINDRES"; then
9091 for ncn_progname in windres; do
9092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9093 set dummy ${ncn_progname}; ac_word=$2
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9095 $as_echo_n "checking for $ac_word... " >&6; }
9096 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9097 $as_echo_n "(cached) " >&6
9099 if test -n "$WINDRES"; then
9100 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9106 test -z "$as_dir" && as_dir=.
9107 for ac_exec_ext in '' $ac_executable_extensions; do
9108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9109 ac_cv_prog_WINDRES="${ncn_progname}"
9110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9119 WINDRES=$ac_cv_prog_WINDRES
9120 if test -n "$WINDRES"; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9122 $as_echo "$WINDRES" >&6; }
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9125 $as_echo "no" >&6; }
9132 for ncn_progname in windres; do
9133 if test -n "$ncn_tool_prefix"; then
9134 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9135 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9137 $as_echo_n "checking for $ac_word... " >&6; }
9138 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9139 $as_echo_n "(cached) " >&6
9141 if test -n "$WINDRES"; then
9142 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9148 test -z "$as_dir" && as_dir=.
9149 for ac_exec_ext in '' $ac_executable_extensions; do
9150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9151 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9161 WINDRES=$ac_cv_prog_WINDRES
9162 if test -n "$WINDRES"; then
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9164 $as_echo "$WINDRES" >&6; }
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 $as_echo "no" >&6; }
9172 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9173 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9174 set dummy ${ncn_progname}; ac_word=$2
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176 $as_echo_n "checking for $ac_word... " >&6; }
9177 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9178 $as_echo_n "(cached) " >&6
9180 if test -n "$WINDRES"; then
9181 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 test -z "$as_dir" && as_dir=.
9188 for ac_exec_ext in '' $ac_executable_extensions; do
9189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9190 ac_cv_prog_WINDRES="${ncn_progname}"
9191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9200 WINDRES=$ac_cv_prog_WINDRES
9201 if test -n "$WINDRES"; then
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9203 $as_echo "$WINDRES" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9206 $as_echo "no" >&6; }
9211 test -n "$ac_cv_prog_WINDRES" && break
9214 if test -z "$ac_cv_prog_WINDRES" ; then
9216 if test $build = $host ; then
9219 WINDRES="${ncn_tool_prefix}$2"
9225 if test -n "$WINDMC"; then
9226 ac_cv_prog_WINDMC=$WINDMC
9227 elif test -n "$ac_cv_prog_WINDMC"; then
9228 WINDMC=$ac_cv_prog_WINDMC
9231 if test -n "$ac_cv_prog_WINDMC"; then
9232 for ncn_progname in windmc; do
9233 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9234 set dummy ${ncn_progname}; ac_word=$2
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 $as_echo_n "checking for $ac_word... " >&6; }
9237 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9238 $as_echo_n "(cached) " >&6
9240 if test -n "$WINDMC"; then
9241 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9247 test -z "$as_dir" && as_dir=.
9248 for ac_exec_ext in '' $ac_executable_extensions; do
9249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9250 ac_cv_prog_WINDMC="${ncn_progname}"
9251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9260 WINDMC=$ac_cv_prog_WINDMC
9261 if test -n "$WINDMC"; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9263 $as_echo "$WINDMC" >&6; }
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266 $as_echo "no" >&6; }
9273 for ncn_progname in windmc; do
9274 if test -n "$ncn_tool_prefix"; then
9275 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9276 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9278 $as_echo_n "checking for $ac_word... " >&6; }
9279 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9280 $as_echo_n "(cached) " >&6
9282 if test -n "$WINDMC"; then
9283 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289 test -z "$as_dir" && as_dir=.
9290 for ac_exec_ext in '' $ac_executable_extensions; do
9291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9292 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9302 WINDMC=$ac_cv_prog_WINDMC
9303 if test -n "$WINDMC"; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9305 $as_echo "$WINDMC" >&6; }
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9308 $as_echo "no" >&6; }
9313 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9315 set dummy ${ncn_progname}; ac_word=$2
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9317 $as_echo_n "checking for $ac_word... " >&6; }
9318 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9319 $as_echo_n "(cached) " >&6
9321 if test -n "$WINDMC"; then
9322 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir=.
9329 for ac_exec_ext in '' $ac_executable_extensions; do
9330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331 ac_cv_prog_WINDMC="${ncn_progname}"
9332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9341 WINDMC=$ac_cv_prog_WINDMC
9342 if test -n "$WINDMC"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9344 $as_echo "$WINDMC" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 $as_echo "no" >&6; }
9352 test -n "$ac_cv_prog_WINDMC" && break
9355 if test -z "$ac_cv_prog_WINDMC" ; then
9357 if test $build = $host ; then
9360 WINDMC="${ncn_tool_prefix}$2"
9366 if test -n "$OBJCOPY"; then
9367 ac_cv_prog_OBJCOPY=$OBJCOPY
9368 elif test -n "$ac_cv_prog_OBJCOPY"; then
9369 OBJCOPY=$ac_cv_prog_OBJCOPY
9372 if test -n "$ac_cv_prog_OBJCOPY"; then
9373 for ncn_progname in objcopy; do
9374 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9375 set dummy ${ncn_progname}; ac_word=$2
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9377 $as_echo_n "checking for $ac_word... " >&6; }
9378 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9379 $as_echo_n "(cached) " >&6
9381 if test -n "$OBJCOPY"; then
9382 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9388 test -z "$as_dir" && as_dir=.
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9391 ac_cv_prog_OBJCOPY="${ncn_progname}"
9392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9401 OBJCOPY=$ac_cv_prog_OBJCOPY
9402 if test -n "$OBJCOPY"; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9404 $as_echo "$OBJCOPY" >&6; }
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 $as_echo "no" >&6; }
9414 for ncn_progname in objcopy; do
9415 if test -n "$ncn_tool_prefix"; then
9416 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9417 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9419 $as_echo_n "checking for $ac_word... " >&6; }
9420 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9421 $as_echo_n "(cached) " >&6
9423 if test -n "$OBJCOPY"; then
9424 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9430 test -z "$as_dir" && as_dir=.
9431 for ac_exec_ext in '' $ac_executable_extensions; do
9432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9433 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9443 OBJCOPY=$ac_cv_prog_OBJCOPY
9444 if test -n "$OBJCOPY"; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9446 $as_echo "$OBJCOPY" >&6; }
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9449 $as_echo "no" >&6; }
9454 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9456 set dummy ${ncn_progname}; ac_word=$2
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9458 $as_echo_n "checking for $ac_word... " >&6; }
9459 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9460 $as_echo_n "(cached) " >&6
9462 if test -n "$OBJCOPY"; then
9463 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9469 test -z "$as_dir" && as_dir=.
9470 for ac_exec_ext in '' $ac_executable_extensions; do
9471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9472 ac_cv_prog_OBJCOPY="${ncn_progname}"
9473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9482 OBJCOPY=$ac_cv_prog_OBJCOPY
9483 if test -n "$OBJCOPY"; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9485 $as_echo "$OBJCOPY" >&6; }
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9488 $as_echo "no" >&6; }
9493 test -n "$ac_cv_prog_OBJCOPY" && break
9496 if test -z "$ac_cv_prog_OBJCOPY" ; then
9498 if test $build = $host ; then
9501 OBJCOPY="${ncn_tool_prefix}$2"
9507 if test -n "$OBJDUMP"; then
9508 ac_cv_prog_OBJDUMP=$OBJDUMP
9509 elif test -n "$ac_cv_prog_OBJDUMP"; then
9510 OBJDUMP=$ac_cv_prog_OBJDUMP
9513 if test -n "$ac_cv_prog_OBJDUMP"; then
9514 for ncn_progname in objdump; do
9515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9516 set dummy ${ncn_progname}; ac_word=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9518 $as_echo_n "checking for $ac_word... " >&6; }
9519 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9520 $as_echo_n "(cached) " >&6
9522 if test -n "$OBJDUMP"; then
9523 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 test -z "$as_dir" && as_dir=.
9530 for ac_exec_ext in '' $ac_executable_extensions; do
9531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9532 ac_cv_prog_OBJDUMP="${ncn_progname}"
9533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 OBJDUMP=$ac_cv_prog_OBJDUMP
9543 if test -n "$OBJDUMP"; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9545 $as_echo "$OBJDUMP" >&6; }
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9548 $as_echo "no" >&6; }
9555 for ncn_progname in objdump; do
9556 if test -n "$ncn_tool_prefix"; then
9557 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9558 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9560 $as_echo_n "checking for $ac_word... " >&6; }
9561 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9562 $as_echo_n "(cached) " >&6
9564 if test -n "$OBJDUMP"; then
9565 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9571 test -z "$as_dir" && as_dir=.
9572 for ac_exec_ext in '' $ac_executable_extensions; do
9573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9574 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9584 OBJDUMP=$ac_cv_prog_OBJDUMP
9585 if test -n "$OBJDUMP"; then
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9587 $as_echo "$OBJDUMP" >&6; }
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9590 $as_echo "no" >&6; }
9595 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9596 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9597 set dummy ${ncn_progname}; ac_word=$2
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9599 $as_echo_n "checking for $ac_word... " >&6; }
9600 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9601 $as_echo_n "(cached) " >&6
9603 if test -n "$OBJDUMP"; then
9604 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 test -z "$as_dir" && as_dir=.
9611 for ac_exec_ext in '' $ac_executable_extensions; do
9612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9613 ac_cv_prog_OBJDUMP="${ncn_progname}"
9614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9623 OBJDUMP=$ac_cv_prog_OBJDUMP
9624 if test -n "$OBJDUMP"; then
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9626 $as_echo "$OBJDUMP" >&6; }
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9629 $as_echo "no" >&6; }
9634 test -n "$ac_cv_prog_OBJDUMP" && break
9637 if test -z "$ac_cv_prog_OBJDUMP" ; then
9639 if test $build = $host ; then
9642 OBJDUMP="${ncn_tool_prefix}$2"
9653 # Check whether --with-build-time-tools was given.
9654 if test "${with_build_time_tools+set}" = set; then :
9655 withval=$with_build_time_tools; case x"$withval" in
9658 with_build_time_tools=
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9660 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9664 with_build_time_tools=
9670 if test -n "$CC_FOR_TARGET"; then
9671 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9672 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9673 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9676 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9677 for ncn_progname in cc gcc; do
9678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9679 set dummy ${ncn_progname}; ac_word=$2
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9681 $as_echo_n "checking for $ac_word... " >&6; }
9682 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9683 $as_echo_n "(cached) " >&6
9685 if test -n "$CC_FOR_TARGET"; then
9686 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9695 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9705 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9706 if test -n "$CC_FOR_TARGET"; then
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9708 $as_echo "$CC_FOR_TARGET" >&6; }
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9711 $as_echo "no" >&6; }
9718 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9719 for ncn_progname in cc gcc; do
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9721 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9722 if test -x $with_build_time_tools/${ncn_progname}; then
9723 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9725 $as_echo "yes" >&6; }
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9729 $as_echo "no" >&6; }
9734 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9735 for ncn_progname in cc gcc; do
9736 if test -n "$ncn_target_tool_prefix"; then
9737 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9738 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9740 $as_echo_n "checking for $ac_word... " >&6; }
9741 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9742 $as_echo_n "(cached) " >&6
9744 if test -n "$CC_FOR_TARGET"; then
9745 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9751 test -z "$as_dir" && as_dir=.
9752 for ac_exec_ext in '' $ac_executable_extensions; do
9753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9754 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9764 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9765 if test -n "$CC_FOR_TARGET"; then
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9767 $as_echo "$CC_FOR_TARGET" >&6; }
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9770 $as_echo "no" >&6; }
9775 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9777 set dummy ${ncn_progname}; ac_word=$2
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9779 $as_echo_n "checking for $ac_word... " >&6; }
9780 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9781 $as_echo_n "(cached) " >&6
9783 if test -n "$CC_FOR_TARGET"; then
9784 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9790 test -z "$as_dir" && as_dir=.
9791 for ac_exec_ext in '' $ac_executable_extensions; do
9792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9793 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9803 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9804 if test -n "$CC_FOR_TARGET"; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9806 $as_echo "$CC_FOR_TARGET" >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9809 $as_echo "no" >&6; }
9814 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9818 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9820 if test $build = $target ; then
9823 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9826 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9831 if test -n "$CXX_FOR_TARGET"; then
9832 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9833 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9834 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9837 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9838 for ncn_progname in c++ g++ cxx gxx; do
9839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9840 set dummy ${ncn_progname}; ac_word=$2
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9842 $as_echo_n "checking for $ac_word... " >&6; }
9843 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9844 $as_echo_n "(cached) " >&6
9846 if test -n "$CXX_FOR_TARGET"; then
9847 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9853 test -z "$as_dir" && as_dir=.
9854 for ac_exec_ext in '' $ac_executable_extensions; do
9855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9856 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9866 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9867 if test -n "$CXX_FOR_TARGET"; then
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9869 $as_echo "$CXX_FOR_TARGET" >&6; }
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9872 $as_echo "no" >&6; }
9879 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9880 for ncn_progname in c++ g++ cxx gxx; do
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9882 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9883 if test -x $with_build_time_tools/${ncn_progname}; then
9884 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9886 $as_echo "yes" >&6; }
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9890 $as_echo "no" >&6; }
9895 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9896 for ncn_progname in c++ g++ cxx gxx; do
9897 if test -n "$ncn_target_tool_prefix"; then
9898 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9899 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9901 $as_echo_n "checking for $ac_word... " >&6; }
9902 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9903 $as_echo_n "(cached) " >&6
9905 if test -n "$CXX_FOR_TARGET"; then
9906 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9912 test -z "$as_dir" && as_dir=.
9913 for ac_exec_ext in '' $ac_executable_extensions; do
9914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9915 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9926 if test -n "$CXX_FOR_TARGET"; then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9928 $as_echo "$CXX_FOR_TARGET" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9931 $as_echo "no" >&6; }
9936 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9938 set dummy ${ncn_progname}; ac_word=$2
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9940 $as_echo_n "checking for $ac_word... " >&6; }
9941 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9942 $as_echo_n "(cached) " >&6
9944 if test -n "$CXX_FOR_TARGET"; then
9945 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir=.
9952 for ac_exec_ext in '' $ac_executable_extensions; do
9953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9954 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9964 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9965 if test -n "$CXX_FOR_TARGET"; then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9967 $as_echo "$CXX_FOR_TARGET" >&6; }
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9970 $as_echo "no" >&6; }
9975 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9979 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9980 set dummy c++ g++ cxx gxx
9981 if test $build = $target ; then
9984 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9987 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9992 if test -n "$GCC_FOR_TARGET"; then
9993 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9994 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9995 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9998 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9999 for ncn_progname in gcc; do
10000 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10001 set dummy ${ncn_progname}; ac_word=$2
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10003 $as_echo_n "checking for $ac_word... " >&6; }
10004 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10005 $as_echo_n "(cached) " >&6
10007 if test -n "$GCC_FOR_TARGET"; then
10008 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10011 for as_dir in $PATH
10014 test -z "$as_dir" && as_dir=.
10015 for ac_exec_ext in '' $ac_executable_extensions; do
10016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10017 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10027 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10028 if test -n "$GCC_FOR_TARGET"; then
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10030 $as_echo "$GCC_FOR_TARGET" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10033 $as_echo "no" >&6; }
10040 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10041 for ncn_progname in gcc; do
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10043 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10044 if test -x $with_build_time_tools/${ncn_progname}; then
10045 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10047 $as_echo "yes" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 $as_echo "no" >&6; }
10056 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10057 for ncn_progname in gcc; do
10058 if test -n "$ncn_target_tool_prefix"; then
10059 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10060 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10062 $as_echo_n "checking for $ac_word... " >&6; }
10063 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10064 $as_echo_n "(cached) " >&6
10066 if test -n "$GCC_FOR_TARGET"; then
10067 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10070 for as_dir in $PATH
10073 test -z "$as_dir" && as_dir=.
10074 for ac_exec_ext in '' $ac_executable_extensions; do
10075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10076 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10086 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10087 if test -n "$GCC_FOR_TARGET"; then
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10089 $as_echo "$GCC_FOR_TARGET" >&6; }
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10092 $as_echo "no" >&6; }
10097 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10099 set dummy ${ncn_progname}; ac_word=$2
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10101 $as_echo_n "checking for $ac_word... " >&6; }
10102 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10103 $as_echo_n "(cached) " >&6
10105 if test -n "$GCC_FOR_TARGET"; then
10106 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 for as_dir in $PATH
10112 test -z "$as_dir" && as_dir=.
10113 for ac_exec_ext in '' $ac_executable_extensions; do
10114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10125 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10126 if test -n "$GCC_FOR_TARGET"; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10128 $as_echo "$GCC_FOR_TARGET" >&6; }
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10131 $as_echo "no" >&6; }
10136 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10140 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10141 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10143 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10148 if test -n "$GCJ_FOR_TARGET"; then
10149 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10150 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10151 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10154 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10155 for ncn_progname in gcj; do
10156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10157 set dummy ${ncn_progname}; ac_word=$2
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10159 $as_echo_n "checking for $ac_word... " >&6; }
10160 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10161 $as_echo_n "(cached) " >&6
10163 if test -n "$GCJ_FOR_TARGET"; then
10164 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10167 for as_dir in $PATH
10170 test -z "$as_dir" && as_dir=.
10171 for ac_exec_ext in '' $ac_executable_extensions; do
10172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10173 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10183 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10184 if test -n "$GCJ_FOR_TARGET"; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10186 $as_echo "$GCJ_FOR_TARGET" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10189 $as_echo "no" >&6; }
10196 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10197 for ncn_progname in gcj; do
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10199 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10200 if test -x $with_build_time_tools/${ncn_progname}; then
10201 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10203 $as_echo "yes" >&6; }
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10207 $as_echo "no" >&6; }
10212 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10213 for ncn_progname in gcj; do
10214 if test -n "$ncn_target_tool_prefix"; then
10215 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10216 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10218 $as_echo_n "checking for $ac_word... " >&6; }
10219 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10220 $as_echo_n "(cached) " >&6
10222 if test -n "$GCJ_FOR_TARGET"; then
10223 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10226 for as_dir in $PATH
10229 test -z "$as_dir" && as_dir=.
10230 for ac_exec_ext in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10243 if test -n "$GCJ_FOR_TARGET"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10245 $as_echo "$GCJ_FOR_TARGET" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10253 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10255 set dummy ${ncn_progname}; ac_word=$2
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10257 $as_echo_n "checking for $ac_word... " >&6; }
10258 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10259 $as_echo_n "(cached) " >&6
10261 if test -n "$GCJ_FOR_TARGET"; then
10262 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10265 for as_dir in $PATH
10268 test -z "$as_dir" && as_dir=.
10269 for ac_exec_ext in '' $ac_executable_extensions; do
10270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10271 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10281 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10282 if test -n "$GCJ_FOR_TARGET"; then
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10284 $as_echo "$GCJ_FOR_TARGET" >&6; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10287 $as_echo "no" >&6; }
10292 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10296 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10298 if test $build = $target ; then
10299 GCJ_FOR_TARGET="$2"
10301 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10304 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10309 if test -n "$GFORTRAN_FOR_TARGET"; then
10310 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10311 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10312 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10315 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10316 for ncn_progname in gfortran; do
10317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10318 set dummy ${ncn_progname}; ac_word=$2
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10320 $as_echo_n "checking for $ac_word... " >&6; }
10321 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10322 $as_echo_n "(cached) " >&6
10324 if test -n "$GFORTRAN_FOR_TARGET"; then
10325 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10328 for as_dir in $PATH
10331 test -z "$as_dir" && as_dir=.
10332 for ac_exec_ext in '' $ac_executable_extensions; do
10333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10334 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10344 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10345 if test -n "$GFORTRAN_FOR_TARGET"; then
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10347 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350 $as_echo "no" >&6; }
10357 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10358 for ncn_progname in gfortran; do
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10360 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10361 if test -x $with_build_time_tools/${ncn_progname}; then
10362 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10364 $as_echo "yes" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10368 $as_echo "no" >&6; }
10373 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10374 for ncn_progname in gfortran; do
10375 if test -n "$ncn_target_tool_prefix"; then
10376 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10377 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10379 $as_echo_n "checking for $ac_word... " >&6; }
10380 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10381 $as_echo_n "(cached) " >&6
10383 if test -n "$GFORTRAN_FOR_TARGET"; then
10384 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10387 for as_dir in $PATH
10390 test -z "$as_dir" && as_dir=.
10391 for ac_exec_ext in '' $ac_executable_extensions; do
10392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10393 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10403 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10404 if test -n "$GFORTRAN_FOR_TARGET"; then
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10406 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10409 $as_echo "no" >&6; }
10414 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10416 set dummy ${ncn_progname}; ac_word=$2
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10418 $as_echo_n "checking for $ac_word... " >&6; }
10419 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10420 $as_echo_n "(cached) " >&6
10422 if test -n "$GFORTRAN_FOR_TARGET"; then
10423 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10426 for as_dir in $PATH
10429 test -z "$as_dir" && as_dir=.
10430 for ac_exec_ext in '' $ac_executable_extensions; do
10431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10432 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10442 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10443 if test -n "$GFORTRAN_FOR_TARGET"; then
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10445 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10448 $as_echo "no" >&6; }
10453 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10457 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10459 if test $build = $target ; then
10460 GFORTRAN_FOR_TARGET="$2"
10462 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10465 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10470 if test -n "$GOC_FOR_TARGET"; then
10471 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10472 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10473 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10476 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10477 for ncn_progname in gccgo; do
10478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10479 set dummy ${ncn_progname}; ac_word=$2
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 $as_echo_n "checking for $ac_word... " >&6; }
10482 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10483 $as_echo_n "(cached) " >&6
10485 if test -n "$GOC_FOR_TARGET"; then
10486 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10489 for as_dir in $PATH
10492 test -z "$as_dir" && as_dir=.
10493 for ac_exec_ext in '' $ac_executable_extensions; do
10494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10495 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10505 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10506 if test -n "$GOC_FOR_TARGET"; then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10508 $as_echo "$GOC_FOR_TARGET" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 $as_echo "no" >&6; }
10518 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10519 for ncn_progname in gccgo; do
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10521 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10522 if test -x $with_build_time_tools/${ncn_progname}; then
10523 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10525 $as_echo "yes" >&6; }
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10529 $as_echo "no" >&6; }
10534 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10535 for ncn_progname in gccgo; do
10536 if test -n "$ncn_target_tool_prefix"; then
10537 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10538 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540 $as_echo_n "checking for $ac_word... " >&6; }
10541 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10542 $as_echo_n "(cached) " >&6
10544 if test -n "$GOC_FOR_TARGET"; then
10545 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548 for as_dir in $PATH
10551 test -z "$as_dir" && as_dir=.
10552 for ac_exec_ext in '' $ac_executable_extensions; do
10553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10554 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10564 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10565 if test -n "$GOC_FOR_TARGET"; then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10567 $as_echo "$GOC_FOR_TARGET" >&6; }
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10570 $as_echo "no" >&6; }
10575 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10577 set dummy ${ncn_progname}; ac_word=$2
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10579 $as_echo_n "checking for $ac_word... " >&6; }
10580 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10581 $as_echo_n "(cached) " >&6
10583 if test -n "$GOC_FOR_TARGET"; then
10584 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10587 for as_dir in $PATH
10590 test -z "$as_dir" && as_dir=.
10591 for ac_exec_ext in '' $ac_executable_extensions; do
10592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10593 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10603 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10604 if test -n "$GOC_FOR_TARGET"; then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10606 $as_echo "$GOC_FOR_TARGET" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10609 $as_echo "no" >&6; }
10614 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10618 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10620 if test $build = $target ; then
10621 GOC_FOR_TARGET="$2"
10623 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10626 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10631 cat > conftest.c << \EOF
10636 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10637 have_gcc_for_target=yes
10639 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10640 have_gcc_for_target=no
10647 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10648 if test -n "$with_build_time_tools"; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
10650 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
10651 if test -x $with_build_time_tools/ar; then
10652 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10653 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
10655 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10658 $as_echo "no" >&6; }
10660 elif test $build != $host && test $have_gcc_for_target = yes; then
10661 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10662 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10663 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10666 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10667 # Extract the first word of "ar", so it can be a program name with args.
10668 set dummy ar; ac_word=$2
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10670 $as_echo_n "checking for $ac_word... " >&6; }
10671 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10672 $as_echo_n "(cached) " >&6
10674 case $AR_FOR_TARGET in
10676 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10680 for as_dir in $gcc_cv_tool_dirs
10683 test -z "$as_dir" && as_dir=.
10684 for ac_exec_ext in '' $ac_executable_extensions; do
10685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10686 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10697 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10698 if test -n "$AR_FOR_TARGET"; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10700 $as_echo "$AR_FOR_TARGET" >&6; }
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10703 $as_echo "no" >&6; }
10708 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10711 if test -n "$AR_FOR_TARGET"; then
10712 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10713 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10714 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10717 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10718 for ncn_progname in ar; do
10719 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10720 set dummy ${ncn_progname}; ac_word=$2
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10722 $as_echo_n "checking for $ac_word... " >&6; }
10723 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10724 $as_echo_n "(cached) " >&6
10726 if test -n "$AR_FOR_TARGET"; then
10727 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10730 for as_dir in $PATH
10733 test -z "$as_dir" && as_dir=.
10734 for ac_exec_ext in '' $ac_executable_extensions; do
10735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10736 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10746 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10747 if test -n "$AR_FOR_TARGET"; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10749 $as_echo "$AR_FOR_TARGET" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10752 $as_echo "no" >&6; }
10759 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10760 for ncn_progname in ar; do
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10762 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10763 if test -x $with_build_time_tools/${ncn_progname}; then
10764 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10766 $as_echo "yes" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 $as_echo "no" >&6; }
10775 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10776 for ncn_progname in ar; do
10777 if test -n "$ncn_target_tool_prefix"; then
10778 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10779 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10781 $as_echo_n "checking for $ac_word... " >&6; }
10782 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10783 $as_echo_n "(cached) " >&6
10785 if test -n "$AR_FOR_TARGET"; then
10786 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789 for as_dir in $PATH
10792 test -z "$as_dir" && as_dir=.
10793 for ac_exec_ext in '' $ac_executable_extensions; do
10794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10795 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10805 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10806 if test -n "$AR_FOR_TARGET"; then
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10808 $as_echo "$AR_FOR_TARGET" >&6; }
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10811 $as_echo "no" >&6; }
10816 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10818 set dummy ${ncn_progname}; ac_word=$2
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10820 $as_echo_n "checking for $ac_word... " >&6; }
10821 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10822 $as_echo_n "(cached) " >&6
10824 if test -n "$AR_FOR_TARGET"; then
10825 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10828 for as_dir in $PATH
10831 test -z "$as_dir" && as_dir=.
10832 for ac_exec_ext in '' $ac_executable_extensions; do
10833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10834 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10844 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10845 if test -n "$AR_FOR_TARGET"; then
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10847 $as_echo "$AR_FOR_TARGET" >&6; }
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10850 $as_echo "no" >&6; }
10855 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10859 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10861 if test $build = $target ; then
10864 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10867 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10871 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10877 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10878 if test -n "$with_build_time_tools"; then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10880 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10881 if test -x $with_build_time_tools/as; then
10882 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10883 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10885 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10888 $as_echo "no" >&6; }
10890 elif test $build != $host && test $have_gcc_for_target = yes; then
10891 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10892 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10893 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10896 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10897 # Extract the first word of "as", so it can be a program name with args.
10898 set dummy as; ac_word=$2
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10900 $as_echo_n "checking for $ac_word... " >&6; }
10901 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10904 case $AS_FOR_TARGET in
10906 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10910 for as_dir in $gcc_cv_tool_dirs
10913 test -z "$as_dir" && as_dir=.
10914 for ac_exec_ext in '' $ac_executable_extensions; do
10915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10916 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10927 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10928 if test -n "$AS_FOR_TARGET"; then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10930 $as_echo "$AS_FOR_TARGET" >&6; }
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10933 $as_echo "no" >&6; }
10938 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10941 if test -n "$AS_FOR_TARGET"; then
10942 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10943 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10944 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10947 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10948 for ncn_progname in as; do
10949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10950 set dummy ${ncn_progname}; ac_word=$2
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10952 $as_echo_n "checking for $ac_word... " >&6; }
10953 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10954 $as_echo_n "(cached) " >&6
10956 if test -n "$AS_FOR_TARGET"; then
10957 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10960 for as_dir in $PATH
10963 test -z "$as_dir" && as_dir=.
10964 for ac_exec_ext in '' $ac_executable_extensions; do
10965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10966 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10976 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10977 if test -n "$AS_FOR_TARGET"; then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10979 $as_echo "$AS_FOR_TARGET" >&6; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10982 $as_echo "no" >&6; }
10989 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10990 for ncn_progname in as; do
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10992 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10993 if test -x $with_build_time_tools/${ncn_progname}; then
10994 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10996 $as_echo "yes" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11000 $as_echo "no" >&6; }
11005 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11006 for ncn_progname in as; do
11007 if test -n "$ncn_target_tool_prefix"; then
11008 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11009 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11011 $as_echo_n "checking for $ac_word... " >&6; }
11012 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11013 $as_echo_n "(cached) " >&6
11015 if test -n "$AS_FOR_TARGET"; then
11016 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11025 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11036 if test -n "$AS_FOR_TARGET"; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11038 $as_echo "$AS_FOR_TARGET" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11046 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11048 set dummy ${ncn_progname}; ac_word=$2
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11050 $as_echo_n "checking for $ac_word... " >&6; }
11051 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11052 $as_echo_n "(cached) " >&6
11054 if test -n "$AS_FOR_TARGET"; then
11055 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11058 for as_dir in $PATH
11061 test -z "$as_dir" && as_dir=.
11062 for ac_exec_ext in '' $ac_executable_extensions; do
11063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11064 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11074 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11075 if test -n "$AS_FOR_TARGET"; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11077 $as_echo "$AS_FOR_TARGET" >&6; }
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11080 $as_echo "no" >&6; }
11085 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11089 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11091 if test $build = $target ; then
11094 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11097 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11101 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11107 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11108 if test -n "$with_build_time_tools"; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11110 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11111 if test -x $with_build_time_tools/dlltool; then
11112 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11113 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11115 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11118 $as_echo "no" >&6; }
11120 elif test $build != $host && test $have_gcc_for_target = yes; then
11121 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11122 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11123 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11126 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11127 # Extract the first word of "dlltool", so it can be a program name with args.
11128 set dummy dlltool; ac_word=$2
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11130 $as_echo_n "checking for $ac_word... " >&6; }
11131 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11132 $as_echo_n "(cached) " >&6
11134 case $DLLTOOL_FOR_TARGET in
11136 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11140 for as_dir in $gcc_cv_tool_dirs
11143 test -z "$as_dir" && as_dir=.
11144 for ac_exec_ext in '' $ac_executable_extensions; do
11145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11146 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11157 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11158 if test -n "$DLLTOOL_FOR_TARGET"; then
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11160 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11163 $as_echo "no" >&6; }
11168 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11171 if test -n "$DLLTOOL_FOR_TARGET"; then
11172 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11173 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11174 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11177 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11178 for ncn_progname in dlltool; do
11179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11180 set dummy ${ncn_progname}; ac_word=$2
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11182 $as_echo_n "checking for $ac_word... " >&6; }
11183 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11184 $as_echo_n "(cached) " >&6
11186 if test -n "$DLLTOOL_FOR_TARGET"; then
11187 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11190 for as_dir in $PATH
11193 test -z "$as_dir" && as_dir=.
11194 for ac_exec_ext in '' $ac_executable_extensions; do
11195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11196 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11206 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11207 if test -n "$DLLTOOL_FOR_TARGET"; then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11209 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11212 $as_echo "no" >&6; }
11219 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11220 for ncn_progname in dlltool; do
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11222 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11223 if test -x $with_build_time_tools/${ncn_progname}; then
11224 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11226 $as_echo "yes" >&6; }
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11230 $as_echo "no" >&6; }
11235 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11236 for ncn_progname in dlltool; do
11237 if test -n "$ncn_target_tool_prefix"; then
11238 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11239 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11241 $as_echo_n "checking for $ac_word... " >&6; }
11242 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11243 $as_echo_n "(cached) " >&6
11245 if test -n "$DLLTOOL_FOR_TARGET"; then
11246 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11249 for as_dir in $PATH
11252 test -z "$as_dir" && as_dir=.
11253 for ac_exec_ext in '' $ac_executable_extensions; do
11254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11255 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11265 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11266 if test -n "$DLLTOOL_FOR_TARGET"; then
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11268 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11271 $as_echo "no" >&6; }
11276 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11278 set dummy ${ncn_progname}; ac_word=$2
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11280 $as_echo_n "checking for $ac_word... " >&6; }
11281 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11282 $as_echo_n "(cached) " >&6
11284 if test -n "$DLLTOOL_FOR_TARGET"; then
11285 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11288 for as_dir in $PATH
11291 test -z "$as_dir" && as_dir=.
11292 for ac_exec_ext in '' $ac_executable_extensions; do
11293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11294 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11304 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11305 if test -n "$DLLTOOL_FOR_TARGET"; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11307 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11310 $as_echo "no" >&6; }
11315 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11319 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11321 if test $build = $target ; then
11322 DLLTOOL_FOR_TARGET="$2"
11324 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11327 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11331 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11337 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11338 if test -n "$with_build_time_tools"; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11340 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11341 if test -x $with_build_time_tools/ld; then
11342 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11343 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11345 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11348 $as_echo "no" >&6; }
11350 elif test $build != $host && test $have_gcc_for_target = yes; then
11351 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11352 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11353 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11356 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11357 # Extract the first word of "ld", so it can be a program name with args.
11358 set dummy ld; ac_word=$2
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11360 $as_echo_n "checking for $ac_word... " >&6; }
11361 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11362 $as_echo_n "(cached) " >&6
11364 case $LD_FOR_TARGET in
11366 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11370 for as_dir in $gcc_cv_tool_dirs
11373 test -z "$as_dir" && as_dir=.
11374 for ac_exec_ext in '' $ac_executable_extensions; do
11375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11376 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11388 if test -n "$LD_FOR_TARGET"; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11390 $as_echo "$LD_FOR_TARGET" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11398 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11401 if test -n "$LD_FOR_TARGET"; then
11402 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11403 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11404 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11407 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11408 for ncn_progname in ld; do
11409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11410 set dummy ${ncn_progname}; ac_word=$2
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11412 $as_echo_n "checking for $ac_word... " >&6; }
11413 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11416 if test -n "$LD_FOR_TARGET"; then
11417 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11420 for as_dir in $PATH
11423 test -z "$as_dir" && as_dir=.
11424 for ac_exec_ext in '' $ac_executable_extensions; do
11425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11426 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11436 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11437 if test -n "$LD_FOR_TARGET"; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11439 $as_echo "$LD_FOR_TARGET" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11442 $as_echo "no" >&6; }
11449 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11450 for ncn_progname in ld; do
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11452 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11453 if test -x $with_build_time_tools/${ncn_progname}; then
11454 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11456 $as_echo "yes" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11460 $as_echo "no" >&6; }
11465 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11466 for ncn_progname in ld; do
11467 if test -n "$ncn_target_tool_prefix"; then
11468 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11469 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11471 $as_echo_n "checking for $ac_word... " >&6; }
11472 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11473 $as_echo_n "(cached) " >&6
11475 if test -n "$LD_FOR_TARGET"; then
11476 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11479 for as_dir in $PATH
11482 test -z "$as_dir" && as_dir=.
11483 for ac_exec_ext in '' $ac_executable_extensions; do
11484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11485 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11495 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11496 if test -n "$LD_FOR_TARGET"; then
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11498 $as_echo "$LD_FOR_TARGET" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11501 $as_echo "no" >&6; }
11506 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11508 set dummy ${ncn_progname}; ac_word=$2
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11510 $as_echo_n "checking for $ac_word... " >&6; }
11511 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11512 $as_echo_n "(cached) " >&6
11514 if test -n "$LD_FOR_TARGET"; then
11515 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11518 for as_dir in $PATH
11521 test -z "$as_dir" && as_dir=.
11522 for ac_exec_ext in '' $ac_executable_extensions; do
11523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11524 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11535 if test -n "$LD_FOR_TARGET"; then
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11537 $as_echo "$LD_FOR_TARGET" >&6; }
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11540 $as_echo "no" >&6; }
11545 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11549 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11551 if test $build = $target ; then
11554 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11557 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11561 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11567 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11568 if test -n "$with_build_time_tools"; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
11570 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
11571 if test -x $with_build_time_tools/lipo; then
11572 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11573 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
11575 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11578 $as_echo "no" >&6; }
11580 elif test $build != $host && test $have_gcc_for_target = yes; then
11581 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11582 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11583 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11586 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11587 # Extract the first word of "lipo", so it can be a program name with args.
11588 set dummy lipo; ac_word=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11590 $as_echo_n "checking for $ac_word... " >&6; }
11591 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11594 case $LIPO_FOR_TARGET in
11596 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11600 for as_dir in $gcc_cv_tool_dirs
11603 test -z "$as_dir" && as_dir=.
11604 for ac_exec_ext in '' $ac_executable_extensions; do
11605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11606 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11617 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11618 if test -n "$LIPO_FOR_TARGET"; then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11620 $as_echo "$LIPO_FOR_TARGET" >&6; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11628 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11631 if test -n "$LIPO_FOR_TARGET"; then
11632 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11633 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11634 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11637 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11638 for ncn_progname in lipo; do
11639 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11640 set dummy ${ncn_progname}; ac_word=$2
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11642 $as_echo_n "checking for $ac_word... " >&6; }
11643 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11644 $as_echo_n "(cached) " >&6
11646 if test -n "$LIPO_FOR_TARGET"; then
11647 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11650 for as_dir in $PATH
11653 test -z "$as_dir" && as_dir=.
11654 for ac_exec_ext in '' $ac_executable_extensions; do
11655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11656 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11666 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11667 if test -n "$LIPO_FOR_TARGET"; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11669 $as_echo "$LIPO_FOR_TARGET" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11672 $as_echo "no" >&6; }
11679 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11680 for ncn_progname in lipo; do
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11682 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11683 if test -x $with_build_time_tools/${ncn_progname}; then
11684 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11686 $as_echo "yes" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11695 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11696 for ncn_progname in lipo; do
11697 if test -n "$ncn_target_tool_prefix"; then
11698 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11699 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11701 $as_echo_n "checking for $ac_word... " >&6; }
11702 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11703 $as_echo_n "(cached) " >&6
11705 if test -n "$LIPO_FOR_TARGET"; then
11706 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11709 for as_dir in $PATH
11712 test -z "$as_dir" && as_dir=.
11713 for ac_exec_ext in '' $ac_executable_extensions; do
11714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11715 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11725 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11726 if test -n "$LIPO_FOR_TARGET"; then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11728 $as_echo "$LIPO_FOR_TARGET" >&6; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11731 $as_echo "no" >&6; }
11736 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11738 set dummy ${ncn_progname}; ac_word=$2
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11740 $as_echo_n "checking for $ac_word... " >&6; }
11741 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11742 $as_echo_n "(cached) " >&6
11744 if test -n "$LIPO_FOR_TARGET"; then
11745 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11748 for as_dir in $PATH
11751 test -z "$as_dir" && as_dir=.
11752 for ac_exec_ext in '' $ac_executable_extensions; do
11753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11754 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11764 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11765 if test -n "$LIPO_FOR_TARGET"; then
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11767 $as_echo "$LIPO_FOR_TARGET" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770 $as_echo "no" >&6; }
11775 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11779 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11781 if test $build = $target ; then
11782 LIPO_FOR_TARGET="$2"
11784 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11787 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11791 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11797 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11798 if test -n "$with_build_time_tools"; then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
11800 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
11801 if test -x $with_build_time_tools/nm; then
11802 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11803 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
11805 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11810 elif test $build != $host && test $have_gcc_for_target = yes; then
11811 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11812 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11813 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11816 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11817 # Extract the first word of "nm", so it can be a program name with args.
11818 set dummy nm; ac_word=$2
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11820 $as_echo_n "checking for $ac_word... " >&6; }
11821 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11822 $as_echo_n "(cached) " >&6
11824 case $NM_FOR_TARGET in
11826 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11830 for as_dir in $gcc_cv_tool_dirs
11833 test -z "$as_dir" && as_dir=.
11834 for ac_exec_ext in '' $ac_executable_extensions; do
11835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11836 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11847 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11848 if test -n "$NM_FOR_TARGET"; then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11850 $as_echo "$NM_FOR_TARGET" >&6; }
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11858 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11861 if test -n "$NM_FOR_TARGET"; then
11862 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11863 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11864 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11867 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11868 for ncn_progname in nm; do
11869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11870 set dummy ${ncn_progname}; ac_word=$2
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11872 $as_echo_n "checking for $ac_word... " >&6; }
11873 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11874 $as_echo_n "(cached) " >&6
11876 if test -n "$NM_FOR_TARGET"; then
11877 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11880 for as_dir in $PATH
11883 test -z "$as_dir" && as_dir=.
11884 for ac_exec_ext in '' $ac_executable_extensions; do
11885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11886 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11897 if test -n "$NM_FOR_TARGET"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11899 $as_echo "$NM_FOR_TARGET" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11909 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11910 for ncn_progname in nm; do
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11912 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11913 if test -x $with_build_time_tools/${ncn_progname}; then
11914 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11916 $as_echo "yes" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11925 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11926 for ncn_progname in nm; do
11927 if test -n "$ncn_target_tool_prefix"; then
11928 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11929 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11933 $as_echo_n "(cached) " >&6
11935 if test -n "$NM_FOR_TARGET"; then
11936 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11939 for as_dir in $PATH
11942 test -z "$as_dir" && as_dir=.
11943 for ac_exec_ext in '' $ac_executable_extensions; do
11944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11945 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11956 if test -n "$NM_FOR_TARGET"; then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11958 $as_echo "$NM_FOR_TARGET" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961 $as_echo "no" >&6; }
11966 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11968 set dummy ${ncn_progname}; ac_word=$2
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11970 $as_echo_n "checking for $ac_word... " >&6; }
11971 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11972 $as_echo_n "(cached) " >&6
11974 if test -n "$NM_FOR_TARGET"; then
11975 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11978 for as_dir in $PATH
11981 test -z "$as_dir" && as_dir=.
11982 for ac_exec_ext in '' $ac_executable_extensions; do
11983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11984 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11995 if test -n "$NM_FOR_TARGET"; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11997 $as_echo "$NM_FOR_TARGET" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12000 $as_echo "no" >&6; }
12005 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12009 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12011 if test $build = $target ; then
12014 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12017 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12021 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12027 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12028 if test -n "$with_build_time_tools"; then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
12030 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
12031 if test -x $with_build_time_tools/objdump; then
12032 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12033 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12035 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12040 elif test $build != $host && test $have_gcc_for_target = yes; then
12041 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12042 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12043 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12046 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12047 # Extract the first word of "objdump", so it can be a program name with args.
12048 set dummy objdump; ac_word=$2
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12050 $as_echo_n "checking for $ac_word... " >&6; }
12051 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12052 $as_echo_n "(cached) " >&6
12054 case $OBJDUMP_FOR_TARGET in
12056 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $gcc_cv_tool_dirs
12063 test -z "$as_dir" && as_dir=.
12064 for ac_exec_ext in '' $ac_executable_extensions; do
12065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12066 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12078 if test -n "$OBJDUMP_FOR_TARGET"; then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12080 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12083 $as_echo "no" >&6; }
12088 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12091 if test -n "$OBJDUMP_FOR_TARGET"; then
12092 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12093 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12094 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12097 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12098 for ncn_progname in objdump; do
12099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12100 set dummy ${ncn_progname}; ac_word=$2
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12102 $as_echo_n "checking for $ac_word... " >&6; }
12103 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12104 $as_echo_n "(cached) " >&6
12106 if test -n "$OBJDUMP_FOR_TARGET"; then
12107 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12116 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12127 if test -n "$OBJDUMP_FOR_TARGET"; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12129 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 $as_echo "no" >&6; }
12139 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12140 for ncn_progname in objdump; do
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12142 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12143 if test -x $with_build_time_tools/${ncn_progname}; then
12144 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146 $as_echo "yes" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12155 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12156 for ncn_progname in objdump; do
12157 if test -n "$ncn_target_tool_prefix"; then
12158 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12159 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12161 $as_echo_n "checking for $ac_word... " >&6; }
12162 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12163 $as_echo_n "(cached) " >&6
12165 if test -n "$OBJDUMP_FOR_TARGET"; then
12166 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12169 for as_dir in $PATH
12172 test -z "$as_dir" && as_dir=.
12173 for ac_exec_ext in '' $ac_executable_extensions; do
12174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12175 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12185 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12186 if test -n "$OBJDUMP_FOR_TARGET"; then
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12188 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12196 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12197 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12198 set dummy ${ncn_progname}; ac_word=$2
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12200 $as_echo_n "checking for $ac_word... " >&6; }
12201 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12202 $as_echo_n "(cached) " >&6
12204 if test -n "$OBJDUMP_FOR_TARGET"; then
12205 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12208 for as_dir in $PATH
12211 test -z "$as_dir" && as_dir=.
12212 for ac_exec_ext in '' $ac_executable_extensions; do
12213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12214 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12224 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12225 if test -n "$OBJDUMP_FOR_TARGET"; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12227 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 $as_echo "no" >&6; }
12235 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12239 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12241 if test $build = $target ; then
12242 OBJDUMP_FOR_TARGET="$2"
12244 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12247 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12251 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12257 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12258 if test -n "$with_build_time_tools"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12260 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12261 if test -x $with_build_time_tools/ranlib; then
12262 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12263 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12265 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12268 $as_echo "no" >&6; }
12270 elif test $build != $host && test $have_gcc_for_target = yes; then
12271 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12272 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12273 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12276 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12277 # Extract the first word of "ranlib", so it can be a program name with args.
12278 set dummy ranlib; ac_word=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12280 $as_echo_n "checking for $ac_word... " >&6; }
12281 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12282 $as_echo_n "(cached) " >&6
12284 case $RANLIB_FOR_TARGET in
12286 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290 for as_dir in $gcc_cv_tool_dirs
12293 test -z "$as_dir" && as_dir=.
12294 for ac_exec_ext in '' $ac_executable_extensions; do
12295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12296 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12308 if test -n "$RANLIB_FOR_TARGET"; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12310 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313 $as_echo "no" >&6; }
12318 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12321 if test -n "$RANLIB_FOR_TARGET"; then
12322 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12323 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12324 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12327 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12328 for ncn_progname in ranlib; do
12329 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12330 set dummy ${ncn_progname}; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12332 $as_echo_n "checking for $ac_word... " >&6; }
12333 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12334 $as_echo_n "(cached) " >&6
12336 if test -n "$RANLIB_FOR_TARGET"; then
12337 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12343 test -z "$as_dir" && as_dir=.
12344 for ac_exec_ext in '' $ac_executable_extensions; do
12345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12346 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12356 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12357 if test -n "$RANLIB_FOR_TARGET"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12359 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12369 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12370 for ncn_progname in ranlib; do
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12372 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12373 if test -x $with_build_time_tools/${ncn_progname}; then
12374 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12376 $as_echo "yes" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12380 $as_echo "no" >&6; }
12385 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12386 for ncn_progname in ranlib; do
12387 if test -n "$ncn_target_tool_prefix"; then
12388 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12389 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12391 $as_echo_n "checking for $ac_word... " >&6; }
12392 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12393 $as_echo_n "(cached) " >&6
12395 if test -n "$RANLIB_FOR_TARGET"; then
12396 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12399 for as_dir in $PATH
12402 test -z "$as_dir" && as_dir=.
12403 for ac_exec_ext in '' $ac_executable_extensions; do
12404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12405 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12415 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12416 if test -n "$RANLIB_FOR_TARGET"; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12418 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12426 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12428 set dummy ${ncn_progname}; ac_word=$2
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12430 $as_echo_n "checking for $ac_word... " >&6; }
12431 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12432 $as_echo_n "(cached) " >&6
12434 if test -n "$RANLIB_FOR_TARGET"; then
12435 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12438 for as_dir in $PATH
12441 test -z "$as_dir" && as_dir=.
12442 for ac_exec_ext in '' $ac_executable_extensions; do
12443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12444 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12454 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12455 if test -n "$RANLIB_FOR_TARGET"; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12457 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460 $as_echo "no" >&6; }
12465 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12469 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12471 if test $build = $target ; then
12472 RANLIB_FOR_TARGET="$2"
12474 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12477 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12481 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12487 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12488 if test -n "$with_build_time_tools"; then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
12490 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
12491 if test -x $with_build_time_tools/strip; then
12492 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12493 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
12495 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12498 $as_echo "no" >&6; }
12500 elif test $build != $host && test $have_gcc_for_target = yes; then
12501 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12502 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12503 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12506 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12507 # Extract the first word of "strip", so it can be a program name with args.
12508 set dummy strip; ac_word=$2
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12510 $as_echo_n "checking for $ac_word... " >&6; }
12511 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12512 $as_echo_n "(cached) " >&6
12514 case $STRIP_FOR_TARGET in
12516 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12520 for as_dir in $gcc_cv_tool_dirs
12523 test -z "$as_dir" && as_dir=.
12524 for ac_exec_ext in '' $ac_executable_extensions; do
12525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12526 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12537 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12538 if test -n "$STRIP_FOR_TARGET"; then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12540 $as_echo "$STRIP_FOR_TARGET" >&6; }
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12543 $as_echo "no" >&6; }
12548 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12551 if test -n "$STRIP_FOR_TARGET"; then
12552 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12553 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12554 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12557 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12558 for ncn_progname in strip; do
12559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12560 set dummy ${ncn_progname}; ac_word=$2
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12562 $as_echo_n "checking for $ac_word... " >&6; }
12563 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12564 $as_echo_n "(cached) " >&6
12566 if test -n "$STRIP_FOR_TARGET"; then
12567 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12570 for as_dir in $PATH
12573 test -z "$as_dir" && as_dir=.
12574 for ac_exec_ext in '' $ac_executable_extensions; do
12575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12576 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12586 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12587 if test -n "$STRIP_FOR_TARGET"; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12589 $as_echo "$STRIP_FOR_TARGET" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592 $as_echo "no" >&6; }
12599 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12600 for ncn_progname in strip; do
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12602 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12603 if test -x $with_build_time_tools/${ncn_progname}; then
12604 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12606 $as_echo "yes" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12610 $as_echo "no" >&6; }
12615 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12616 for ncn_progname in strip; do
12617 if test -n "$ncn_target_tool_prefix"; then
12618 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12619 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12621 $as_echo_n "checking for $ac_word... " >&6; }
12622 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12623 $as_echo_n "(cached) " >&6
12625 if test -n "$STRIP_FOR_TARGET"; then
12626 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12629 for as_dir in $PATH
12632 test -z "$as_dir" && as_dir=.
12633 for ac_exec_ext in '' $ac_executable_extensions; do
12634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12635 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12645 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12646 if test -n "$STRIP_FOR_TARGET"; then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12648 $as_echo "$STRIP_FOR_TARGET" >&6; }
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12651 $as_echo "no" >&6; }
12656 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12658 set dummy ${ncn_progname}; ac_word=$2
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12660 $as_echo_n "checking for $ac_word... " >&6; }
12661 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12662 $as_echo_n "(cached) " >&6
12664 if test -n "$STRIP_FOR_TARGET"; then
12665 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12668 for as_dir in $PATH
12671 test -z "$as_dir" && as_dir=.
12672 for ac_exec_ext in '' $ac_executable_extensions; do
12673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12674 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12684 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12685 if test -n "$STRIP_FOR_TARGET"; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12687 $as_echo "$STRIP_FOR_TARGET" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12690 $as_echo "no" >&6; }
12695 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12699 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12701 if test $build = $target ; then
12702 STRIP_FOR_TARGET="$2"
12704 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12707 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12711 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12717 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12718 if test -n "$with_build_time_tools"; then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
12720 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
12721 if test -x $with_build_time_tools/windres; then
12722 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12723 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12725 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12728 $as_echo "no" >&6; }
12730 elif test $build != $host && test $have_gcc_for_target = yes; then
12731 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12732 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12733 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12736 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12737 # Extract the first word of "windres", so it can be a program name with args.
12738 set dummy windres; ac_word=$2
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12740 $as_echo_n "checking for $ac_word... " >&6; }
12741 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12742 $as_echo_n "(cached) " >&6
12744 case $WINDRES_FOR_TARGET in
12746 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12750 for as_dir in $gcc_cv_tool_dirs
12753 test -z "$as_dir" && as_dir=.
12754 for ac_exec_ext in '' $ac_executable_extensions; do
12755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12756 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12767 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12768 if test -n "$WINDRES_FOR_TARGET"; then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12770 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12773 $as_echo "no" >&6; }
12778 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12781 if test -n "$WINDRES_FOR_TARGET"; then
12782 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12783 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12784 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12787 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12788 for ncn_progname in windres; do
12789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12790 set dummy ${ncn_progname}; ac_word=$2
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12792 $as_echo_n "checking for $ac_word... " >&6; }
12793 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12794 $as_echo_n "(cached) " >&6
12796 if test -n "$WINDRES_FOR_TARGET"; then
12797 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12800 for as_dir in $PATH
12803 test -z "$as_dir" && as_dir=.
12804 for ac_exec_ext in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12817 if test -n "$WINDRES_FOR_TARGET"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12819 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12829 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12830 for ncn_progname in windres; do
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12832 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12833 if test -x $with_build_time_tools/${ncn_progname}; then
12834 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12836 $as_echo "yes" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12845 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12846 for ncn_progname in windres; do
12847 if test -n "$ncn_target_tool_prefix"; then
12848 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12849 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12851 $as_echo_n "checking for $ac_word... " >&6; }
12852 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12853 $as_echo_n "(cached) " >&6
12855 if test -n "$WINDRES_FOR_TARGET"; then
12856 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12859 for as_dir in $PATH
12862 test -z "$as_dir" && as_dir=.
12863 for ac_exec_ext in '' $ac_executable_extensions; do
12864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12865 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12875 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12876 if test -n "$WINDRES_FOR_TARGET"; then
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12878 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12881 $as_echo "no" >&6; }
12886 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12888 set dummy ${ncn_progname}; ac_word=$2
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12890 $as_echo_n "checking for $ac_word... " >&6; }
12891 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12892 $as_echo_n "(cached) " >&6
12894 if test -n "$WINDRES_FOR_TARGET"; then
12895 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12898 for as_dir in $PATH
12901 test -z "$as_dir" && as_dir=.
12902 for ac_exec_ext in '' $ac_executable_extensions; do
12903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12904 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12914 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12915 if test -n "$WINDRES_FOR_TARGET"; then
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12917 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12920 $as_echo "no" >&6; }
12925 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12929 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12931 if test $build = $target ; then
12932 WINDRES_FOR_TARGET="$2"
12934 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12937 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12941 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12947 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12948 if test -n "$with_build_time_tools"; then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12950 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12951 if test -x $with_build_time_tools/windmc; then
12952 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12953 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12955 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12960 elif test $build != $host && test $have_gcc_for_target = yes; then
12961 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12962 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12963 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12966 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12967 # Extract the first word of "windmc", so it can be a program name with args.
12968 set dummy windmc; ac_word=$2
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12970 $as_echo_n "checking for $ac_word... " >&6; }
12971 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12972 $as_echo_n "(cached) " >&6
12974 case $WINDMC_FOR_TARGET in
12976 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12980 for as_dir in $gcc_cv_tool_dirs
12983 test -z "$as_dir" && as_dir=.
12984 for ac_exec_ext in '' $ac_executable_extensions; do
12985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12986 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12997 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12998 if test -n "$WINDMC_FOR_TARGET"; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13000 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13003 $as_echo "no" >&6; }
13008 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13011 if test -n "$WINDMC_FOR_TARGET"; then
13012 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13013 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13014 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13017 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13018 for ncn_progname in windmc; do
13019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13020 set dummy ${ncn_progname}; ac_word=$2
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13022 $as_echo_n "checking for $ac_word... " >&6; }
13023 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13024 $as_echo_n "(cached) " >&6
13026 if test -n "$WINDMC_FOR_TARGET"; then
13027 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13030 for as_dir in $PATH
13033 test -z "$as_dir" && as_dir=.
13034 for ac_exec_ext in '' $ac_executable_extensions; do
13035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13036 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13046 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13047 if test -n "$WINDMC_FOR_TARGET"; then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13049 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13052 $as_echo "no" >&6; }
13059 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13060 for ncn_progname in windmc; do
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13062 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13063 if test -x $with_build_time_tools/${ncn_progname}; then
13064 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13066 $as_echo "yes" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13070 $as_echo "no" >&6; }
13075 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13076 for ncn_progname in windmc; do
13077 if test -n "$ncn_target_tool_prefix"; then
13078 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13079 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13081 $as_echo_n "checking for $ac_word... " >&6; }
13082 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13083 $as_echo_n "(cached) " >&6
13085 if test -n "$WINDMC_FOR_TARGET"; then
13086 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13089 for as_dir in $PATH
13092 test -z "$as_dir" && as_dir=.
13093 for ac_exec_ext in '' $ac_executable_extensions; do
13094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13095 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13105 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13106 if test -n "$WINDMC_FOR_TARGET"; then
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13108 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13111 $as_echo "no" >&6; }
13116 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13117 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13118 set dummy ${ncn_progname}; ac_word=$2
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13120 $as_echo_n "checking for $ac_word... " >&6; }
13121 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13122 $as_echo_n "(cached) " >&6
13124 if test -n "$WINDMC_FOR_TARGET"; then
13125 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13128 for as_dir in $PATH
13131 test -z "$as_dir" && as_dir=.
13132 for ac_exec_ext in '' $ac_executable_extensions; do
13133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13134 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13144 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13145 if test -n "$WINDMC_FOR_TARGET"; then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13147 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13150 $as_echo "no" >&6; }
13155 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13159 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13161 if test $build = $target ; then
13162 WINDMC_FOR_TARGET="$2"
13164 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13167 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13171 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13175 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13178 $as_echo_n "checking where to find the target ar... " >&6; }
13179 if test "x${build}" != "x${host}" ; then
13180 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13181 # We already found the complete path
13182 ac_dir=`dirname $AR_FOR_TARGET`
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13184 $as_echo "pre-installed in $ac_dir" >&6; }
13186 # Canadian cross, just use what we found
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13188 $as_echo "pre-installed" >&6; }
13192 case " ${configdirs} " in
13197 if test $ok = yes; then
13198 # An in-tree tool is available and we can use it
13199 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13201 $as_echo "just compiled" >&6; }
13202 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13203 # We already found the complete path
13204 ac_dir=`dirname $AR_FOR_TARGET`
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13206 $as_echo "pre-installed in $ac_dir" >&6; }
13207 elif test "x$target" = "x$host"; then
13208 # We can use an host tool
13209 AR_FOR_TARGET='$(AR)'
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13211 $as_echo "host tool" >&6; }
13213 # We need a cross tool
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13215 $as_echo "pre-installed" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13220 $as_echo_n "checking where to find the target as... " >&6; }
13221 if test "x${build}" != "x${host}" ; then
13222 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13223 # We already found the complete path
13224 ac_dir=`dirname $AS_FOR_TARGET`
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13226 $as_echo "pre-installed in $ac_dir" >&6; }
13228 # Canadian cross, just use what we found
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13230 $as_echo "pre-installed" >&6; }
13234 case " ${configdirs} " in
13239 if test $ok = yes; then
13240 # An in-tree tool is available and we can use it
13241 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13243 $as_echo "just compiled" >&6; }
13244 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13245 # We already found the complete path
13246 ac_dir=`dirname $AS_FOR_TARGET`
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13248 $as_echo "pre-installed in $ac_dir" >&6; }
13249 elif test "x$target" = "x$host"; then
13250 # We can use an host tool
13251 AS_FOR_TARGET='$(AS)'
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13253 $as_echo "host tool" >&6; }
13255 # We need a cross tool
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13257 $as_echo "pre-installed" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
13262 $as_echo_n "checking where to find the target cc... " >&6; }
13263 if test "x${build}" != "x${host}" ; then
13264 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13265 # We already found the complete path
13266 ac_dir=`dirname $CC_FOR_TARGET`
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13268 $as_echo "pre-installed in $ac_dir" >&6; }
13270 # Canadian cross, just use what we found
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13272 $as_echo "pre-installed" >&6; }
13276 case " ${configdirs} " in
13281 if test $ok = yes; then
13282 # An in-tree tool is available and we can use it
13283 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13285 $as_echo "just compiled" >&6; }
13286 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13287 # We already found the complete path
13288 ac_dir=`dirname $CC_FOR_TARGET`
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13290 $as_echo "pre-installed in $ac_dir" >&6; }
13291 elif test "x$target" = "x$host"; then
13292 # We can use an host tool
13293 CC_FOR_TARGET='$(CC)'
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13295 $as_echo "host tool" >&6; }
13297 # We need a cross tool
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13299 $as_echo "pre-installed" >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
13304 $as_echo_n "checking where to find the target c++... " >&6; }
13305 if test "x${build}" != "x${host}" ; then
13306 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13307 # We already found the complete path
13308 ac_dir=`dirname $CXX_FOR_TARGET`
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13310 $as_echo "pre-installed in $ac_dir" >&6; }
13312 # Canadian cross, just use what we found
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13314 $as_echo "pre-installed" >&6; }
13318 case " ${configdirs} " in
13322 case ,${enable_languages}, in
13326 if test $ok = yes; then
13327 # An in-tree tool is available and we can use it
13328 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'
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13330 $as_echo "just compiled" >&6; }
13331 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13332 # We already found the complete path
13333 ac_dir=`dirname $CXX_FOR_TARGET`
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13335 $as_echo "pre-installed in $ac_dir" >&6; }
13336 elif test "x$target" = "x$host"; then
13337 # We can use an host tool
13338 CXX_FOR_TARGET='$(CXX)'
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13340 $as_echo "host tool" >&6; }
13342 # We need a cross tool
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13344 $as_echo "pre-installed" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
13349 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
13350 if test "x${build}" != "x${host}" ; then
13351 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13352 # We already found the complete path
13353 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13355 $as_echo "pre-installed in $ac_dir" >&6; }
13357 # Canadian cross, just use what we found
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13359 $as_echo "pre-installed" >&6; }
13363 case " ${configdirs} " in
13367 case ,${enable_languages}, in
13371 if test $ok = yes; then
13372 # An in-tree tool is available and we can use it
13373 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'
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13375 $as_echo "just compiled" >&6; }
13376 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13377 # We already found the complete path
13378 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13380 $as_echo "pre-installed in $ac_dir" >&6; }
13381 elif test "x$target" = "x$host"; then
13382 # We can use an host tool
13383 RAW_CXX_FOR_TARGET='$(CXX)'
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13385 $as_echo "host tool" >&6; }
13387 # We need a cross tool
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13389 $as_echo "pre-installed" >&6; }
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
13394 $as_echo_n "checking where to find the target dlltool... " >&6; }
13395 if test "x${build}" != "x${host}" ; then
13396 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13397 # We already found the complete path
13398 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13400 $as_echo "pre-installed in $ac_dir" >&6; }
13402 # Canadian cross, just use what we found
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13404 $as_echo "pre-installed" >&6; }
13408 case " ${configdirs} " in
13413 if test $ok = yes; then
13414 # An in-tree tool is available and we can use it
13415 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13417 $as_echo "just compiled" >&6; }
13418 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13419 # We already found the complete path
13420 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13422 $as_echo "pre-installed in $ac_dir" >&6; }
13423 elif test "x$target" = "x$host"; then
13424 # We can use an host tool
13425 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13427 $as_echo "host tool" >&6; }
13429 # We need a cross tool
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13431 $as_echo "pre-installed" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
13436 $as_echo_n "checking where to find the target gcc... " >&6; }
13437 if test "x${build}" != "x${host}" ; then
13438 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13439 # We already found the complete path
13440 ac_dir=`dirname $GCC_FOR_TARGET`
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13442 $as_echo "pre-installed in $ac_dir" >&6; }
13444 # Canadian cross, just use what we found
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13446 $as_echo "pre-installed" >&6; }
13450 case " ${configdirs} " in
13455 if test $ok = yes; then
13456 # An in-tree tool is available and we can use it
13457 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13459 $as_echo "just compiled" >&6; }
13460 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13461 # We already found the complete path
13462 ac_dir=`dirname $GCC_FOR_TARGET`
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13464 $as_echo "pre-installed in $ac_dir" >&6; }
13465 elif test "x$target" = "x$host"; then
13466 # We can use an host tool
13467 GCC_FOR_TARGET='$()'
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13469 $as_echo "host tool" >&6; }
13471 # We need a cross tool
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13473 $as_echo "pre-installed" >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
13478 $as_echo_n "checking where to find the target gcj... " >&6; }
13479 if test "x${build}" != "x${host}" ; then
13480 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13481 # We already found the complete path
13482 ac_dir=`dirname $GCJ_FOR_TARGET`
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13484 $as_echo "pre-installed in $ac_dir" >&6; }
13486 # Canadian cross, just use what we found
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13488 $as_echo "pre-installed" >&6; }
13492 case " ${configdirs} " in
13496 case ,${enable_languages}, in
13500 if test $ok = yes; then
13501 # An in-tree tool is available and we can use it
13502 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13504 $as_echo "just compiled" >&6; }
13505 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13506 # We already found the complete path
13507 ac_dir=`dirname $GCJ_FOR_TARGET`
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13509 $as_echo "pre-installed in $ac_dir" >&6; }
13510 elif test "x$target" = "x$host"; then
13511 # We can use an host tool
13512 GCJ_FOR_TARGET='$(GCJ)'
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13514 $as_echo "host tool" >&6; }
13516 # We need a cross tool
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13518 $as_echo "pre-installed" >&6; }
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
13523 $as_echo_n "checking where to find the target gfortran... " >&6; }
13524 if test "x${build}" != "x${host}" ; then
13525 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13526 # We already found the complete path
13527 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13529 $as_echo "pre-installed in $ac_dir" >&6; }
13531 # Canadian cross, just use what we found
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13533 $as_echo "pre-installed" >&6; }
13537 case " ${configdirs} " in
13541 case ,${enable_languages}, in
13545 if test $ok = yes; then
13546 # An in-tree tool is available and we can use it
13547 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13549 $as_echo "just compiled" >&6; }
13550 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13551 # We already found the complete path
13552 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13554 $as_echo "pre-installed in $ac_dir" >&6; }
13555 elif test "x$target" = "x$host"; then
13556 # We can use an host tool
13557 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13559 $as_echo "host tool" >&6; }
13561 # We need a cross tool
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13563 $as_echo "pre-installed" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
13568 $as_echo_n "checking where to find the target gccgo... " >&6; }
13569 if test "x${build}" != "x${host}" ; then
13570 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13571 # We already found the complete path
13572 ac_dir=`dirname $GOC_FOR_TARGET`
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13574 $as_echo "pre-installed in $ac_dir" >&6; }
13576 # Canadian cross, just use what we found
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13578 $as_echo "pre-installed" >&6; }
13582 case " ${configdirs} " in
13586 case ,${enable_languages}, in
13590 if test $ok = yes; then
13591 # An in-tree tool is available and we can use it
13592 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13594 $as_echo "just compiled" >&6; }
13595 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13596 # We already found the complete path
13597 ac_dir=`dirname $GOC_FOR_TARGET`
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13599 $as_echo "pre-installed in $ac_dir" >&6; }
13600 elif test "x$target" = "x$host"; then
13601 # We can use an host tool
13602 GOC_FOR_TARGET='$(GOC)'
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13604 $as_echo "host tool" >&6; }
13606 # We need a cross tool
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13608 $as_echo "pre-installed" >&6; }
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
13613 $as_echo_n "checking where to find the target ld... " >&6; }
13614 if test "x${build}" != "x${host}" ; then
13615 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13616 # We already found the complete path
13617 ac_dir=`dirname $LD_FOR_TARGET`
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13619 $as_echo "pre-installed in $ac_dir" >&6; }
13621 # Canadian cross, just use what we found
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13623 $as_echo "pre-installed" >&6; }
13627 case " ${configdirs} " in
13632 if test $ok = yes; then
13633 # An in-tree tool is available and we can use it
13634 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13636 $as_echo "just compiled" >&6; }
13637 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13638 # We already found the complete path
13639 ac_dir=`dirname $LD_FOR_TARGET`
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13641 $as_echo "pre-installed in $ac_dir" >&6; }
13642 elif test "x$target" = "x$host"; then
13643 # We can use an host tool
13644 LD_FOR_TARGET='$(LD)'
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13646 $as_echo "host tool" >&6; }
13648 # We need a cross tool
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13650 $as_echo "pre-installed" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
13655 $as_echo_n "checking where to find the target lipo... " >&6; }
13656 if test "x${build}" != "x${host}" ; then
13657 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13658 # We already found the complete path
13659 ac_dir=`dirname $LIPO_FOR_TARGET`
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13661 $as_echo "pre-installed in $ac_dir" >&6; }
13663 # Canadian cross, just use what we found
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13665 $as_echo "pre-installed" >&6; }
13668 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13669 # We already found the complete path
13670 ac_dir=`dirname $LIPO_FOR_TARGET`
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13672 $as_echo "pre-installed in $ac_dir" >&6; }
13673 elif test "x$target" = "x$host"; then
13674 # We can use an host tool
13675 LIPO_FOR_TARGET='$(LIPO)'
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13677 $as_echo "host tool" >&6; }
13679 # We need a cross tool
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13681 $as_echo "pre-installed" >&6; }
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
13686 $as_echo_n "checking where to find the target nm... " >&6; }
13687 if test "x${build}" != "x${host}" ; then
13688 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13689 # We already found the complete path
13690 ac_dir=`dirname $NM_FOR_TARGET`
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13692 $as_echo "pre-installed in $ac_dir" >&6; }
13694 # Canadian cross, just use what we found
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13696 $as_echo "pre-installed" >&6; }
13700 case " ${configdirs} " in
13705 if test $ok = yes; then
13706 # An in-tree tool is available and we can use it
13707 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13709 $as_echo "just compiled" >&6; }
13710 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13711 # We already found the complete path
13712 ac_dir=`dirname $NM_FOR_TARGET`
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13714 $as_echo "pre-installed in $ac_dir" >&6; }
13715 elif test "x$target" = "x$host"; then
13716 # We can use an host tool
13717 NM_FOR_TARGET='$(NM)'
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13719 $as_echo "host tool" >&6; }
13721 # We need a cross tool
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13723 $as_echo "pre-installed" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
13728 $as_echo_n "checking where to find the target objdump... " >&6; }
13729 if test "x${build}" != "x${host}" ; then
13730 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13731 # We already found the complete path
13732 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13734 $as_echo "pre-installed in $ac_dir" >&6; }
13736 # Canadian cross, just use what we found
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13738 $as_echo "pre-installed" >&6; }
13742 case " ${configdirs} " in
13747 if test $ok = yes; then
13748 # An in-tree tool is available and we can use it
13749 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13751 $as_echo "just compiled" >&6; }
13752 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13753 # We already found the complete path
13754 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13756 $as_echo "pre-installed in $ac_dir" >&6; }
13757 elif test "x$target" = "x$host"; then
13758 # We can use an host tool
13759 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13761 $as_echo "host tool" >&6; }
13763 # We need a cross tool
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13765 $as_echo "pre-installed" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
13770 $as_echo_n "checking where to find the target ranlib... " >&6; }
13771 if test "x${build}" != "x${host}" ; then
13772 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13773 # We already found the complete path
13774 ac_dir=`dirname $RANLIB_FOR_TARGET`
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13776 $as_echo "pre-installed in $ac_dir" >&6; }
13778 # Canadian cross, just use what we found
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13780 $as_echo "pre-installed" >&6; }
13784 case " ${configdirs} " in
13789 if test $ok = yes; then
13790 # An in-tree tool is available and we can use it
13791 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13793 $as_echo "just compiled" >&6; }
13794 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13795 # We already found the complete path
13796 ac_dir=`dirname $RANLIB_FOR_TARGET`
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13798 $as_echo "pre-installed in $ac_dir" >&6; }
13799 elif test "x$target" = "x$host"; then
13800 # We can use an host tool
13801 RANLIB_FOR_TARGET='$(RANLIB)'
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13803 $as_echo "host tool" >&6; }
13805 # We need a cross tool
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13807 $as_echo "pre-installed" >&6; }
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
13812 $as_echo_n "checking where to find the target strip... " >&6; }
13813 if test "x${build}" != "x${host}" ; then
13814 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13815 # We already found the complete path
13816 ac_dir=`dirname $STRIP_FOR_TARGET`
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13818 $as_echo "pre-installed in $ac_dir" >&6; }
13820 # Canadian cross, just use what we found
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13822 $as_echo "pre-installed" >&6; }
13826 case " ${configdirs} " in
13831 if test $ok = yes; then
13832 # An in-tree tool is available and we can use it
13833 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13835 $as_echo "just compiled" >&6; }
13836 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13837 # We already found the complete path
13838 ac_dir=`dirname $STRIP_FOR_TARGET`
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13840 $as_echo "pre-installed in $ac_dir" >&6; }
13841 elif test "x$target" = "x$host"; then
13842 # We can use an host tool
13843 STRIP_FOR_TARGET='$(STRIP)'
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13845 $as_echo "host tool" >&6; }
13847 # We need a cross tool
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13849 $as_echo "pre-installed" >&6; }
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
13854 $as_echo_n "checking where to find the target windres... " >&6; }
13855 if test "x${build}" != "x${host}" ; then
13856 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13857 # We already found the complete path
13858 ac_dir=`dirname $WINDRES_FOR_TARGET`
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13860 $as_echo "pre-installed in $ac_dir" >&6; }
13862 # Canadian cross, just use what we found
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13864 $as_echo "pre-installed" >&6; }
13868 case " ${configdirs} " in
13873 if test $ok = yes; then
13874 # An in-tree tool is available and we can use it
13875 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13877 $as_echo "just compiled" >&6; }
13878 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13879 # We already found the complete path
13880 ac_dir=`dirname $WINDRES_FOR_TARGET`
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13882 $as_echo "pre-installed in $ac_dir" >&6; }
13883 elif test "x$target" = "x$host"; then
13884 # We can use an host tool
13885 WINDRES_FOR_TARGET='$(WINDRES)'
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13887 $as_echo "host tool" >&6; }
13889 # We need a cross tool
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13891 $as_echo "pre-installed" >&6; }
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13896 $as_echo_n "checking where to find the target windmc... " >&6; }
13897 if test "x${build}" != "x${host}" ; then
13898 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13899 # We already found the complete path
13900 ac_dir=`dirname $WINDMC_FOR_TARGET`
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13902 $as_echo "pre-installed in $ac_dir" >&6; }
13904 # Canadian cross, just use what we found
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13906 $as_echo "pre-installed" >&6; }
13910 case " ${configdirs} " in
13915 if test $ok = yes; then
13916 # An in-tree tool is available and we can use it
13917 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13919 $as_echo "just compiled" >&6; }
13920 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13921 # We already found the complete path
13922 ac_dir=`dirname $WINDMC_FOR_TARGET`
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13924 $as_echo "pre-installed in $ac_dir" >&6; }
13925 elif test "x$target" = "x$host"; then
13926 # We can use an host tool
13927 WINDMC_FOR_TARGET='$(WINDMC)'
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13929 $as_echo "host tool" >&6; }
13931 # We need a cross tool
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13933 $as_echo "pre-installed" >&6; }
13941 # Certain tools may need extra flags.
13942 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13943 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13944 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13946 # When building target libraries, except in a Canadian cross, we use
13947 # the same toolchain as the compiler we just built.
13948 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13949 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13950 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13951 if test $host = $build; then
13952 case " $configdirs " in
13954 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13955 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13956 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13966 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13967 # Check whether --enable-maintainer-mode was given.
13968 if test "${enable_maintainer_mode+set}" = set; then :
13969 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13971 USE_MAINTAINER_MODE=no
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13975 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13978 if test "$USE_MAINTAINER_MODE" = yes; then
13979 MAINTAINER_MODE_TRUE=
13980 MAINTAINER_MODE_FALSE='#'
13982 MAINTAINER_MODE_TRUE='#'
13983 MAINTAINER_MODE_FALSE=
13985 MAINT=$MAINTAINER_MODE_TRUE
13987 # ---------------------
13988 # GCC bootstrap support
13989 # ---------------------
13991 # Stage specific cflags for build.
13996 yes) stage1_cflags="-g -Wa,-J" ;;
13997 *) stage1_cflags="-g -J" ;;
14001 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14002 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14003 saved_CFLAGS="$CFLAGS"
14005 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14006 CFLAGS="$CFLAGS -fkeep-inline-functions"
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
14008 $as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14012 #if (__GNUC__ < 3) \
14013 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14014 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14015 #error http://gcc.gnu.org/PR29382
14026 if ac_fn_c_try_compile "$LINENO"; then :
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14028 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14035 CFLAGS="$saved_CFLAGS"
14040 # Enable --enable-checking in stage1 of the compiler.
14041 # Check whether --enable-stage1-checking was given.
14042 if test "${enable_stage1_checking+set}" = set; then :
14043 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14045 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
14046 stage1_checking=--enable-checking=yes,types
14048 stage1_checking=--enable-checking=$enable_checking,types
14054 # Enable -Werror in bootstrap stage2 and later.
14055 # Check whether --enable-werror was given.
14056 if test "${enable_werror+set}" = set; then :
14057 enableval=$enable_werror;
14059 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14066 case ${enable_werror} in
14067 yes) stage2_werror_flag="--enable-werror-always" ;;
14068 *) stage2_werror_flag="" ;;
14072 # Specify what files to not compare during bootstrap.
14074 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
14076 hppa*64*-*-hpux*) ;;
14077 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
14079 case " $configdirs " in
14080 *" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
14084 ac_config_files="$ac_config_files Makefile"
14086 cat >confcache <<\_ACEOF
14087 # This file is a shell script that caches the results of configure
14088 # tests run on this system so they can be shared between configure
14089 # scripts and configure runs, see configure's option --config-cache.
14090 # It is not useful on other systems. If it contains results you don't
14091 # want to keep, you may remove or edit it.
14093 # config.status only pays attention to the cache file if you give it
14094 # the --recheck option to rerun configure.
14096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14098 # following values.
14102 # The following way of writing the cache mishandles newlines in values,
14103 # but we know of no workaround that is simple, portable, and efficient.
14104 # So, we kill variables containing newlines.
14105 # Ultrix sh set writes to stderr and can't be redirected directly,
14106 # and sets the high bit in the cache file unless we assign to the vars.
14108 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14109 eval ac_val=\$$ac_var
14113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14117 _ | IFS | as_nl) ;; #(
14118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14119 *) { eval $ac_var=; unset $ac_var;} ;;
14125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14126 *${as_nl}ac_space=\ *)
14127 # `set' does not quote correctly, so add quotes: double-quote
14128 # substitution turns \\\\ into \\, and sed turns \\ into \.
14131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14134 # `set' quotes correctly as required by POSIX, so do not add quotes.
14135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14149 if test -w "$cache_file"; then
14150 test "x$cache_file" != "x/dev/null" &&
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14152 $as_echo "$as_me: updating cache $cache_file" >&6;}
14153 cat confcache >$cache_file
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14161 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14162 # Let make expand exec_prefix.
14163 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14165 # Transform confdefs.h into DEFS.
14166 # Protect against shell expansion while executing Makefile rules.
14167 # Protect against Makefile macro expansion.
14169 # If the first sed substitution is executed (which looks for macros that
14170 # take arguments), then branch to the quote section. Otherwise,
14171 # look for a macro that doesn't take arguments.
14181 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14183 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14187 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14200 DEFS=`sed -n "$ac_script" confdefs.h`
14205 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14206 # 1. Remove the extension, and $U if already installed.
14207 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14208 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14209 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14210 # will be set to the directory where LIBOBJS objects are built.
14211 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14212 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14214 LIBOBJS=$ac_libobjs
14216 LTLIBOBJS=$ac_ltlibobjs
14220 : ${CONFIG_STATUS=./config.status}
14222 ac_clean_files_save=$ac_clean_files
14223 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14225 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14227 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14229 # Generated by $as_me.
14230 # Run this file to recreate the current configuration.
14231 # Compiler output produced by configure, useful for debugging
14232 # configure, is in config.log if it exists.
14235 ac_cs_recheck=false
14238 SHELL=\${CONFIG_SHELL-$SHELL}
14241 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14242 ## -------------------- ##
14243 ## M4sh Initialization. ##
14244 ## -------------------- ##
14246 # Be more Bourne compatible
14247 DUALCASE=1; export DUALCASE # for MKS sh
14248 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14251 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14252 # is contrary to our usage. Disable this feature.
14253 alias -g '${1+"$@"}'='"$@"'
14254 setopt NO_GLOB_SUBST
14256 case `(set -o) 2>/dev/null` in #(
14268 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14269 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14270 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14272 # Prefer a ksh shell builtin over an external printf program on Solaris,
14273 # but without wasting forks for bash or zsh.
14274 if test -z "$BASH_VERSION$ZSH_VERSION" \
14275 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14276 as_echo='print -r --'
14277 as_echo_n='print -rn --'
14278 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14279 as_echo='printf %s\n'
14280 as_echo_n='printf %s'
14282 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14283 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14284 as_echo_n='/usr/ucb/echo -n'
14286 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14287 as_echo_n_body='eval
14291 expr "X$arg" : "X\\(.*\\)$as_nl";
14292 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14294 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14296 export as_echo_n_body
14297 as_echo_n='sh -c $as_echo_n_body as_echo'
14299 export as_echo_body
14300 as_echo='sh -c $as_echo_body as_echo'
14303 # The user is always right.
14304 if test "${PATH_SEPARATOR+set}" != set; then
14306 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14307 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14314 # We need space, tab and new line, in precisely that order. Quoting is
14315 # there to prevent editors from complaining about space-tab.
14316 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14317 # splitting by setting IFS to empty value.)
14320 # Find who we are. Look in the path if we contain no directory separator.
14322 *[\\/]* ) as_myself=$0 ;;
14323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14324 for as_dir in $PATH
14327 test -z "$as_dir" && as_dir=.
14328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14334 # We did not find ourselves, most probably we were run as `sh COMMAND'
14335 # in which case we are not to be found in the path.
14336 if test "x$as_myself" = x; then
14339 if test ! -f "$as_myself"; then
14340 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14344 # Unset variables that we do not need and which cause bugs (e.g. in
14345 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14346 # suppresses any "Segmentation fault" message there. '((' could
14347 # trigger a bug in pdksh 5.2.14.
14348 for as_var in BASH_ENV ENV MAIL MAILPATH
14349 do eval test x\${$as_var+set} = xset \
14350 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14363 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14366 # as_fn_error ERROR [LINENO LOG_FD]
14367 # ---------------------------------
14368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14370 # script with status $?, using 1 if that was 0.
14373 as_status=$?; test $as_status -eq 0 && as_status=1
14375 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14378 $as_echo "$as_me: error: $1" >&2
14379 as_fn_exit $as_status
14383 # as_fn_set_status STATUS
14384 # -----------------------
14385 # Set $? to STATUS, without forking.
14386 as_fn_set_status ()
14389 } # as_fn_set_status
14391 # as_fn_exit STATUS
14392 # -----------------
14393 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14397 as_fn_set_status $1
14403 # Portably unset VAR.
14406 { eval $1=; unset $1;}
14408 as_unset=as_fn_unset
14409 # as_fn_append VAR VALUE
14410 # ----------------------
14411 # Append the text in VALUE to the end of the definition contained in VAR. Take
14412 # advantage of any shell optimizations that allow amortized linear growth over
14413 # repeated appends, instead of the typical quadratic growth present in naive
14415 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14416 eval 'as_fn_append ()
14427 # as_fn_arith ARG...
14428 # ------------------
14429 # Perform arithmetic evaluation on the ARGs, and store the result in the
14430 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14431 # must be portable across $(()) and expr.
14432 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14433 eval 'as_fn_arith ()
14440 as_val=`expr "$@" || test $? -eq 1`
14445 if expr a : '\(a\)' >/dev/null 2>&1 &&
14446 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14452 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14453 as_basename=basename
14458 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14464 as_me=`$as_basename -- "$0" ||
14465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14466 X"$0" : 'X\(//\)$' \| \
14467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14469 sed '/^.*\/\([^/][^/]*\)\/*$/{
14483 # Avoid depending upon Character Ranges.
14484 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14485 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14486 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14487 as_cr_digits='0123456789'
14488 as_cr_alnum=$as_cr_Letters$as_cr_digits
14490 ECHO_C= ECHO_N= ECHO_T=
14491 case `echo -n x` in #(((((
14493 case `echo 'xy\c'` in
14494 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14496 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14503 rm -f conf$$ conf$$.exe conf$$.file
14504 if test -d conf$$.dir; then
14505 rm -f conf$$.dir/conf$$.file
14508 mkdir conf$$.dir 2>/dev/null
14510 if (echo >conf$$.file) 2>/dev/null; then
14511 if ln -s conf$$.file conf$$ 2>/dev/null; then
14513 # ... but there are two gotchas:
14514 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14515 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14516 # In both cases, we have to default to `cp -p'.
14517 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14519 elif ln conf$$.file conf$$ 2>/dev/null; then
14527 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14528 rmdir conf$$.dir 2>/dev/null
14533 # Create "$as_dir" as a directory, including parents if necessary.
14538 -*) as_dir=./$as_dir;;
14540 test -d "$as_dir" || eval $as_mkdir_p || {
14544 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14545 *) as_qdir=$as_dir;;
14547 as_dirs="'$as_qdir' $as_dirs"
14548 as_dir=`$as_dirname -- "$as_dir" ||
14549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14550 X"$as_dir" : 'X\(//\)[^/]' \| \
14551 X"$as_dir" : 'X\(//\)$' \| \
14552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14553 $as_echo X"$as_dir" |
14554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14558 /^X\(\/\/\)[^/].*/{
14571 test -d "$as_dir" && break
14573 test -z "$as_dirs" || eval "mkdir $as_dirs"
14574 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14578 if mkdir -p . 2>/dev/null; then
14579 as_mkdir_p='mkdir -p "$as_dir"'
14581 test -d ./-p && rmdir ./-p
14585 if test -x / >/dev/null 2>&1; then
14586 as_test_x='test -x'
14588 if ls -dL / >/dev/null 2>&1; then
14595 if test -d "$1"; then
14601 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14602 ???[sx]*):;;*)false;;esac;fi
14606 as_executable_p=$as_test_x
14608 # Sed expression to map a string onto a valid CPP name.
14609 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14611 # Sed expression to map a string onto a valid variable name.
14612 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14616 ## ----------------------------------- ##
14617 ## Main body of $CONFIG_STATUS script. ##
14618 ## ----------------------------------- ##
14620 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14623 # Save the log message, to keep $0 and so on meaningful, and to
14624 # report actual input values of CONFIG_FILES etc. instead of their
14625 # values after options handling.
14627 This file was extended by $as_me, which was
14628 generated by GNU Autoconf 2.64. Invocation command line was
14630 CONFIG_FILES = $CONFIG_FILES
14631 CONFIG_HEADERS = $CONFIG_HEADERS
14632 CONFIG_LINKS = $CONFIG_LINKS
14633 CONFIG_COMMANDS = $CONFIG_COMMANDS
14636 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14641 case $ac_config_files in *"
14642 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14648 # Files that config.status was made for.
14649 config_files="$ac_config_files"
14653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14655 \`$as_me' instantiates files and other configuration actions
14656 from templates according to the current configuration. Unless the files
14657 and actions are specified as TAGs, all are instantiated by default.
14659 Usage: $0 [OPTION]... [TAG]...
14661 -h, --help print this help, then exit
14662 -V, --version print version number and configuration settings, then exit
14663 -q, --quiet, --silent
14664 do not print progress messages
14665 -d, --debug don't remove temporary files
14666 --recheck update $as_me by reconfiguring in the same conditions
14667 --file=FILE[:TEMPLATE]
14668 instantiate the configuration file FILE
14670 Configuration files:
14673 Report bugs to the package provider."
14676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14679 configured by $0, generated by GNU Autoconf 2.64,
14680 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14682 Copyright (C) 2009 Free Software Foundation, Inc.
14683 This config.status script is free software; the Free Software Foundation
14684 gives unlimited permission to copy, distribute and modify it."
14690 test -n "\$AWK" || AWK=awk
14693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14694 # The default lists apply if the user does not specify any file.
14700 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14712 # Handling of the options.
14713 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14716 $as_echo "$ac_cs_version"; exit ;;
14717 --debug | --debu | --deb | --de | --d | -d )
14719 --file | --fil | --fi | --f )
14722 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14724 as_fn_append CONFIG_FILES " '$ac_optarg'"
14725 ac_need_defaults=false;;
14726 --he | --h | --help | --hel | -h )
14727 $as_echo "$ac_cs_usage"; exit ;;
14728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14729 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14732 # This is an error.
14733 -*) as_fn_error "unrecognized option: \`$1'
14734 Try \`$0 --help' for more information." ;;
14736 *) as_fn_append ac_config_targets " $1"
14737 ac_need_defaults=false ;;
14743 ac_configure_extra_args=
14745 if $ac_cs_silent; then
14747 ac_configure_extra_args="$ac_configure_extra_args --silent"
14751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14752 if \$ac_cs_recheck; then
14753 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14755 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14756 CONFIG_SHELL='$SHELL'
14757 export CONFIG_SHELL
14762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14766 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14767 ## Running $as_me. ##
14773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14777 extrasub_build="$extrasub_build"
14778 extrasub_host="$extrasub_host"
14779 extrasub_target="$extrasub_target"
14783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14785 # Handling of arguments.
14786 for ac_config_target in $ac_config_targets
14788 case $ac_config_target in
14789 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14791 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14796 # If the user did not use the arguments to specify the items to instantiate,
14797 # then the envvar interface is used. Set only those that are not.
14798 # We use the long form for the default assignment because of an extremely
14799 # bizarre bug on SunOS 4.1.3.
14800 if $ac_need_defaults; then
14801 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14804 # Have a temporary directory for convenience. Make it in the build tree
14805 # simply because there is no reason against having it here, and in addition,
14806 # creating and moving files from /tmp can sometimes cause problems.
14807 # Hook for its removal unless debugging.
14808 # Note that there is a small window in which the directory will not be cleaned:
14809 # after its creation but before its name has been assigned to `$tmp'.
14813 trap 'exit_status=$?
14814 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14816 trap 'as_fn_exit 1' 1 2 13 15
14818 # Create a (secure) tmp directory for tmp files.
14821 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14822 test -n "$tmp" && test -d "$tmp"
14825 tmp=./conf$$-$RANDOM
14826 (umask 077 && mkdir "$tmp")
14827 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14829 # Set up the scripts for CONFIG_FILES section.
14830 # No need to generate them if there are no CONFIG_FILES.
14831 # This happens for instance with `./config.status config.h'.
14832 if test -n "$CONFIG_FILES"; then
14834 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14835 ac_cs_awk_getline=:
14836 ac_cs_awk_pipe_init=
14837 ac_cs_awk_read_file='
14838 while ((getline aline < (F[key])) > 0)
14841 ac_cs_awk_pipe_fini=
14843 ac_cs_awk_getline=false
14844 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14845 ac_cs_awk_read_file='
14847 print "cat " F[key] " &&"
14848 '$ac_cs_awk_pipe_init
14849 # The final `:' finishes the AND list.
14850 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14852 ac_cr=`echo X | tr X '\015'`
14853 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14854 # But we know of no other shell where ac_cr would be empty at this
14855 # point, so we can use a bashism as a fallback.
14856 if test "x$ac_cr" = x; then
14857 eval ac_cr=\$\'\\r\'
14859 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14860 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14863 ac_cs_awk_cr=$ac_cr
14866 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14869 # Create commands to substitute file output variables.
14871 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14872 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14873 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14876 } >conf$$files.sh &&
14877 . ./conf$$files.sh ||
14878 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14879 rm -f conf$$files.sh
14882 echo "cat >conf$$subs.awk <<_ACEOF" &&
14883 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14885 } >conf$$subs.sh ||
14886 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14887 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14889 for ac_last_try in false false false false false :; do
14890 . ./conf$$subs.sh ||
14891 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14893 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14894 if test $ac_delim_n = $ac_delim_num; then
14896 elif $ac_last_try; then
14897 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14899 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14902 rm -f conf$$subs.sh
14904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14905 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14909 s/^/S["/; s/!.*/"]=/
14919 s/\(.\{148\}\).*/\1/
14921 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14926 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14933 s/\(.\{148\}\).*/\1/
14935 s/["\\]/\\&/g; s/^/"/; s/$/"/
14939 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14944 ' <conf$$subs.awk | sed '
14949 ' >>$CONFIG_STATUS || ac_write_fail=1
14950 rm -f conf$$subs.awk
14951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14953 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14954 for (key in S) S_is_set[key] = 1
14956 \$ac_cs_awk_pipe_init
14960 nfields = split(line, field, "@")
14962 len = length(field[1])
14963 for (i = 2; i < nfields; i++) {
14965 keylen = length(key)
14966 if (S_is_set[key]) {
14968 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14969 len += length(value) + length(field[++i])
14974 if (nfields == 3 && !substed) {
14976 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14977 \$ac_cs_awk_read_file
14983 \$ac_cs_awk_pipe_fini
14986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14987 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14988 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14991 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14992 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14995 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14997 # trailing colons and then remove the whole line if VPATH becomes empty
14998 # (actually we leave an empty line to preserve line numbers).
14999 if test "x$srcdir" = x.; then
15000 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15001 s/:*\$(srcdir):*/:/
15002 s/:*\${srcdir}:*/:/
15004 s/^\([^=]*=[ ]*\):*/\1/
15010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15011 fi # test -n "$CONFIG_FILES"
15014 eval set X " :F $CONFIG_FILES "
15019 :[FHLC]) ac_mode=$ac_tag; continue;;
15021 case $ac_mode$ac_tag in
15023 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15024 :[FH]-) ac_tag=-:-;;
15025 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15042 -) ac_f="$tmp/stdin";;
15043 *) # Look for the file first in the build tree, then in the source tree
15044 # (if the path is not absolute). The absolute path cannot be DOS-style,
15045 # because $ac_f cannot contain `:'.
15049 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15051 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15053 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15054 as_fn_append ac_file_inputs " '$ac_f'"
15057 # Let's still pretend it is `configure' which instantiates (i.e., don't
15058 # use $as_me), people would be surprised to read:
15059 # /* config.h. Generated by config.status. */
15060 configure_input='Generated from '`
15061 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15063 if test x"$ac_file" != x-; then
15064 configure_input="$ac_file. $configure_input"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15066 $as_echo "$as_me: creating $ac_file" >&6;}
15068 # Neutralize special characters interpreted by sed in replacement strings.
15069 case $configure_input in #(
15070 *\&* | *\|* | *\\* )
15071 ac_sed_conf_input=`$as_echo "$configure_input" |
15072 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15073 *) ac_sed_conf_input=$configure_input;;
15077 *:-:* | *:-) cat >"$tmp/stdin" \
15078 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15083 ac_dir=`$as_dirname -- "$ac_file" ||
15084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15085 X"$ac_file" : 'X\(//\)[^/]' \| \
15086 X"$ac_file" : 'X\(//\)$' \| \
15087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15088 $as_echo X"$ac_file" |
15089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15093 /^X\(\/\/\)[^/].*/{
15106 as_dir="$ac_dir"; as_fn_mkdir_p
15110 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15112 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15113 # A ".." for each directory in $ac_dir_suffix.
15114 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15115 case $ac_top_builddir_sub in
15116 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15117 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15120 ac_abs_top_builddir=$ac_pwd
15121 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15122 # for backward compatibility:
15123 ac_top_builddir=$ac_top_build_prefix
15126 .) # We are building in place.
15128 ac_top_srcdir=$ac_top_builddir_sub
15129 ac_abs_top_srcdir=$ac_pwd ;;
15130 [\\/]* | ?:[\\/]* ) # Absolute name.
15131 ac_srcdir=$srcdir$ac_dir_suffix;
15132 ac_top_srcdir=$srcdir
15133 ac_abs_top_srcdir=$srcdir ;;
15134 *) # Relative name.
15135 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15136 ac_top_srcdir=$ac_top_build_prefix$srcdir
15137 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15139 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15149 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15150 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15155 # If the template does not know about datarootdir, expand it.
15156 # FIXME: This hack should be removed a few years after 2.60.
15157 ac_datarootdir_hack=; ac_datarootdir_seen=
15168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15169 *datarootdir*) ac_datarootdir_seen=yes;;
15170 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15175 ac_datarootdir_hack='
15176 s&@datadir@&$datadir&g
15177 s&@docdir@&$docdir&g
15178 s&@infodir@&$infodir&g
15179 s&@localedir@&$localedir&g
15180 s&@mandir@&$mandir&g
15181 s&\\\${datarootdir}&$datarootdir&g' ;;
15185 # Neutralize VPATH when `$srcdir' = `.'.
15186 # Shell code in configure.ac might set extrasub.
15187 # FIXME: do we really want to maintain this feature?
15188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15189 ac_sed_extra="$ac_vpsub
15192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15195 s|@configure_input@|$ac_sed_conf_input|;t t
15196 s&@top_builddir@&$ac_top_builddir_sub&;t t
15197 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15198 s&@srcdir@&$ac_srcdir&;t t
15199 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15200 s&@top_srcdir@&$ac_top_srcdir&;t t
15201 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15202 s&@builddir@&$ac_builddir&;t t
15203 s&@abs_builddir@&$ac_abs_builddir&;t t
15204 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15205 s&@INSTALL@&$ac_INSTALL&;t t
15206 $ac_datarootdir_hack
15208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15209 if $ac_cs_awk_getline; then
15210 $AWK -f "$tmp/subs.awk"
15212 $AWK -f "$tmp/subs.awk" | $SHELL
15214 || as_fn_error "could not create $ac_file" "$LINENO" 5
15216 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15217 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15218 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15220 which seems to be undefined. Please make sure it is defined." >&5
15221 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15222 which seems to be undefined. Please make sure it is defined." >&2;}
15226 -) cat "$tmp/out" && rm -f "$tmp/out";;
15227 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15229 || as_fn_error "could not create $ac_file" "$LINENO" 5
15237 case $ac_file$ac_mode in
15238 "Makefile":F) sed "$extrasub_build" Makefile |
15239 sed "$extrasub_host" |
15240 sed "$extrasub_target" > mf$$
15241 mv -f mf$$ Makefile ;;
15249 ac_clean_files=$ac_clean_files_save
15251 test $ac_write_fail = 0 ||
15252 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15255 # configure is writing to config.log, and then calls config.status.
15256 # config.status does its own redirection, appending to config.log.
15257 # Unfortunately, on DOS this fails, as config.log is still kept open
15258 # by configure, so config.status won't be able to write to it; its
15259 # output is simply discarded. So we exec the FD to /dev/null,
15260 # effectively closing config.log, so it can be properly (re)opened and
15261 # appended to by config.status. When coming back to configure, we
15262 # need to make the FD available again.
15263 if test "$no_create" != yes; then
15265 ac_config_status_args=
15266 test "$silent" = yes &&
15267 ac_config_status_args="$ac_config_status_args --quiet"
15269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15272 # would make configure fail if this is the last instruction.
15273 $ac_cs_success || as_fn_exit $?
15275 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15277 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}