2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
554 ac_unique_file="move-if-change"
555 enable_option_checking=no
556 ac_subst_vars='LTLIBOBJS
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 isl: The cloog.org isl backend
1460 ppl-legacy: The legacy ppl backend - default
1461 ppl: The cloog.org ppl backend
1462 --disable-cloog-version-check
1463 disable check for CLooG version
1464 --enable-lto enable link time optimization support
1465 --enable-stage1-languages[=all] choose additional languages to build during
1466 stage1. Mostly useful for compiler development.
1467 --enable-objc-gc enable use of Boehm's garbage collector with the
1468 GNU Objective-C runtime
1469 --enable-bootstrap enable bootstrapping [yes if native build]
1470 --enable-serial-[{host,target,build}-]configure
1471 force sequential configuration of
1472 sub-packages for the host, target or build
1473 machine, or all sub-packages
1474 --enable-maintainer-mode enable make rules and dependencies not useful
1475 (and sometimes confusing) to the casual installer
1476 --enable-stage1-checking[=all] choose additional checking for stage1
1478 --enable-werror enable -Werror in bootstrap stage2 and later
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --with-build-libsubdir=DIR Directory where to find libraries for build system
1484 --with-mpc=PATH specify prefix directory for installed MPC package.
1485 Equivalent to --with-mpc-include=PATH/include
1486 plus --with-mpc-lib=PATH/lib
1487 --with-mpc-include=PATH
1488 specify directory for installed MPC include files
1489 --with-mpc-lib=PATH specify directory for the installed MPC library
1490 --with-mpfr-dir=PATH this option has been REMOVED
1491 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1492 Equivalent to --with-mpfr-include=PATH/include
1493 plus --with-mpfr-lib=PATH/lib
1494 --with-mpfr-include=PATH
1495 specify directory for installed MPFR include files
1496 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1497 --with-gmp-dir=PATH this option has been REMOVED
1498 --with-gmp=PATH specify prefix directory for the installed GMP package.
1499 Equivalent to --with-gmp-include=PATH/include
1500 plus --with-gmp-lib=PATH/lib
1501 --with-gmp-include=PATH specify directory for installed GMP include files
1502 --with-gmp-lib=PATH specify directory for the installed GMP library
1503 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1504 when linking with PPL
1505 --with-stage1-ldflags=FLAGS Linker flags for stage1
1506 -with-stage1-libs=LIBS Libraries for stage1
1507 --with-boot-libs=LIBS Libraries for stage2 and later
1508 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1509 --with-ppl=PATH Specify prefix directory for the installed PPL package
1510 Equivalent to --with-ppl-include=PATH/include
1511 plus --with-ppl-lib=PATH/lib
1512 --with-ppl-include=PATH Specify directory for installed PPL include files
1513 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1514 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1515 package. Equivalent to
1516 --with-cloog-include=PATH/include plus
1517 --with-cloog-lib=PATH/lib
1518 --with-cloog-include=PATH
1519 Specify directory for installed CLooG include files
1520 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1522 --with-build-sysroot=SYSROOT
1523 use sysroot as the system root during the build
1524 --with-debug-prefix-map='A=B C=D ...'
1525 map A to B, C to D ... in debug information
1526 --with-build-config='NAME NAME2...'
1527 Use config/NAME.mk build configuration
1528 --with-build-time-tools=PATH
1529 use given path to find target tools during the build
1531 Some influential environment variables:
1532 CC C compiler command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1535 nonstandard directory <lib dir>
1536 LIBS libraries to pass to the linker, e.g. -l<library>
1537 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1538 you have headers in a nonstandard directory <include dir>
1539 CXX C++ compiler command
1540 CXXFLAGS C++ compiler flags
1542 additional configure arguments for build directories
1544 additional configure arguments for host directories
1546 additional configure arguments for target directories
1549 DLLTOOL DLLTOOL for the host
1551 LIPO LIPO for the host
1553 RANLIB RANLIB for the host
1554 STRIP STRIP for the host
1555 WINDRES WINDRES for the host
1556 WINDMC WINDMC for the host
1557 OBJCOPY OBJCOPY for the host
1558 OBJDUMP OBJDUMP for the host
1568 GFORTRAN for the target
1576 DLLTOOL for the target
1584 OBJDUMP for the target
1586 RANLIB for the target
1588 STRIP for the target
1590 WINDRES for the target
1592 WINDMC for the target
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to the package provider.
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1627 .) # We are building in place.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1661 generated by GNU Autoconf 2.64
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1710 } # ac_fn_c_try_compile
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_cxx_try_compile
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext conftest$ac_exeext
1757 if { { ac_try="$ac_link"
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest$ac_exeext && {
1776 test "$cross_compiling" = yes ||
1777 $as_test_x conftest$ac_exeext
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 # interfere with the next link command; also delete a directory that is
1789 # left behind by Apple's compiler. We do this before executing the actions.
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 } # ac_fn_c_try_link
1795 cat >config.log <<_ACEOF
1796 This file contains any messages produced by compilers while
1797 running configure, to aid debugging if configure makes a mistake.
1799 It was created by $as_me, which was
1800 generated by GNU Autoconf 2.64. Invocation command line was
1812 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1813 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1814 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1815 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1816 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1818 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1819 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1821 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1822 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1823 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1824 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1825 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1826 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1827 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir=.
1836 $as_echo "PATH: $as_dir"
1852 # Keep a trace of the command line.
1853 # Strip out --no-create and --no-recursion so they do not pile up.
1854 # Strip out --silent because we don't want to record it for future runs.
1855 # Also quote any args containing shell meta-characters.
1856 # Make two passes to allow for proper duplicate-argument suppression.
1860 ac_must_keep_next=false
1866 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1868 | -silent | --silent | --silen | --sile | --sil)
1871 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1874 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1876 as_fn_append ac_configure_args1 " '$ac_arg'"
1877 if test $ac_must_keep_next = true; then
1878 ac_must_keep_next=false # Got value, back to normal.
1881 *=* | --config-cache | -C | -disable-* | --disable-* \
1882 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1883 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1884 | -with-* | --with-* | -without-* | --without-* | --x)
1885 case "$ac_configure_args0 " in
1886 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1889 -* ) ac_must_keep_next=true ;;
1892 as_fn_append ac_configure_args " '$ac_arg'"
1897 { ac_configure_args0=; unset ac_configure_args0;}
1898 { ac_configure_args1=; unset ac_configure_args1;}
1900 # When interrupted or exit'd, cleanup temporary files, and complete
1901 # config.log. We remove comments because anyway the quotes in there
1902 # would cause problems or look ugly.
1903 # WARNING: Use '\'' to represent an apostrophe within the trap.
1904 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1905 trap 'exit_status=$?
1906 # Save into config.log some information that might help in debugging.
1911 ## ---------------- ##
1912 ## Cache variables. ##
1913 ## ---------------- ##
1916 # The following way of writing the cache mishandles newlines in values,
1918 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1919 eval ac_val=\$$ac_var
1923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1927 _ | IFS | as_nl) ;; #(
1928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1929 *) { eval $ac_var=; unset $ac_var;} ;;
1934 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1935 *${as_nl}ac_space=\ *)
1937 "s/'\''/'\''\\\\'\'''\''/g;
1938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1949 ## ----------------- ##
1950 ## Output variables. ##
1951 ## ----------------- ##
1954 for ac_var in $ac_subst_vars
1956 eval ac_val=\$$ac_var
1958 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1960 $as_echo "$ac_var='\''$ac_val'\''"
1964 if test -n "$ac_subst_files"; then
1966 ## ------------------- ##
1967 ## File substitutions. ##
1968 ## ------------------- ##
1971 for ac_var in $ac_subst_files
1973 eval ac_val=\$$ac_var
1975 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1977 $as_echo "$ac_var='\''$ac_val'\''"
1982 if test -s confdefs.h; then
1992 test "$ac_signal" != 0 &&
1993 $as_echo "$as_me: caught signal $ac_signal"
1994 $as_echo "$as_me: exit $exit_status"
1996 rm -f core *.core core.conftest.* &&
1997 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2000 for ac_signal in 1 2 13 15; do
2001 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2005 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2006 rm -f -r conftest* confdefs.h
2008 $as_echo "/* confdefs.h */" > confdefs.h
2010 # Predefined preprocessor variables.
2012 cat >>confdefs.h <<_ACEOF
2013 #define PACKAGE_NAME "$PACKAGE_NAME"
2016 cat >>confdefs.h <<_ACEOF
2017 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2020 cat >>confdefs.h <<_ACEOF
2021 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2024 cat >>confdefs.h <<_ACEOF
2025 #define PACKAGE_STRING "$PACKAGE_STRING"
2028 cat >>confdefs.h <<_ACEOF
2029 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_URL "$PACKAGE_URL"
2037 # Let the site file select an alternate cache file if it wants to.
2038 # Prefer an explicitly selected file to automatically selected ones.
2041 if test -n "$CONFIG_SITE"; then
2042 ac_site_file1=$CONFIG_SITE
2043 elif test "x$prefix" != xNONE; then
2044 ac_site_file1=$prefix/share/config.site
2045 ac_site_file2=$prefix/etc/config.site
2047 ac_site_file1=$ac_default_prefix/share/config.site
2048 ac_site_file2=$ac_default_prefix/etc/config.site
2050 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2052 test "x$ac_site_file" = xNONE && continue
2053 if test -r "$ac_site_file"; then
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2055 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2056 sed 's/^/| /' "$ac_site_file" >&5
2061 if test -r "$cache_file"; then
2062 # Some versions of bash will fail to source /dev/null (special
2063 # files actually), so we avoid doing that.
2064 if test -f "$cache_file"; then
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2066 $as_echo "$as_me: loading cache $cache_file" >&6;}
2068 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2069 *) . "./$cache_file";;
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2074 $as_echo "$as_me: creating cache $cache_file" >&6;}
2078 # Check that the precious variables saved in the cache have kept the same
2080 ac_cache_corrupted=false
2081 for ac_var in $ac_precious_vars; do
2082 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2083 eval ac_new_set=\$ac_env_${ac_var}_set
2084 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2085 eval ac_new_val=\$ac_env_${ac_var}_value
2086 case $ac_old_set,$ac_new_set in
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2089 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2090 ac_cache_corrupted=: ;;
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2093 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2094 ac_cache_corrupted=: ;;
2097 if test "x$ac_old_val" != "x$ac_new_val"; then
2098 # differences in whitespace do not lead to failure.
2099 ac_old_val_w=`echo x $ac_old_val`
2100 ac_new_val_w=`echo x $ac_new_val`
2101 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2103 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2104 ac_cache_corrupted=:
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2107 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2108 eval $ac_var=\$ac_old_val
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2111 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2113 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2116 # Pass precious variables to config.status.
2117 if test "$ac_new_set" = set; then
2119 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2120 *) ac_arg=$ac_var=$ac_new_val ;;
2122 case " $ac_configure_args " in
2123 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2124 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2128 if $ac_cache_corrupted; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2132 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2133 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2135 ## -------------------- ##
2136 ## Main body of script. ##
2137 ## -------------------- ##
2140 ac_cpp='$CPP $CPPFLAGS'
2141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2154 # if PWD already has a value, it is probably wrong.
2155 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2157 # Export original configure arguments for use by sub-configures.
2158 # Quote arguments with shell meta charatcers.
2159 TOPLEVEL_CONFIGURE_ARGUMENTS=
2160 set -- "$progname" "$@"
2164 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2165 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2166 # if the argument is of the form -foo=baz, quote the baz part only
2167 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2170 # Add the quoted argument to the list.
2171 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2173 if test "$silent" = yes; then
2174 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2176 # Remove the initial space we just introduced and, as these will be
2177 # expanded by make, quote '$'.
2178 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2181 # Find the build, host, and target systems.
2183 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2184 for ac_t in install-sh install.sh shtool; do
2185 if test -f "$ac_dir/$ac_t"; then
2187 ac_install_sh="$ac_aux_dir/$ac_t -c"
2192 if test -z "$ac_aux_dir"; then
2193 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2196 # These three variables are undocumented and unsupported,
2197 # and are intended to be withdrawn in a future Autoconf release.
2198 # They can cause serious problems if a builder's source tree is in a directory
2199 # whose full name contains unusual characters.
2200 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2201 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2202 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2205 # Make sure we can run config.sub.
2206 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2207 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2210 $as_echo_n "checking build system type... " >&6; }
2211 if test "${ac_cv_build+set}" = set; then :
2212 $as_echo_n "(cached) " >&6
2214 ac_build_alias=$build_alias
2215 test "x$ac_build_alias" = x &&
2216 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2217 test "x$ac_build_alias" = x &&
2218 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2219 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2220 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2224 $as_echo "$ac_cv_build" >&6; }
2225 case $ac_cv_build in
2227 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2230 ac_save_IFS=$IFS; IFS='-'
2236 # Remember, the first character of IFS is used to create $*,
2237 # except with old shells:
2240 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2243 case ${build_alias} in
2244 "") build_noncanonical=${build} ;;
2245 *) build_noncanonical=${build_alias} ;;
2250 case ${host_alias} in
2251 "") host_noncanonical=${build_noncanonical} ;;
2252 *) host_noncanonical=${host_alias} ;;
2257 case ${target_alias} in
2258 "") target_noncanonical=${host_noncanonical} ;;
2259 *) target_noncanonical=${target_alias} ;;
2265 test "$host_noncanonical" = "$target_noncanonical" &&
2266 test "$program_prefix$program_suffix$program_transform_name" = \
2268 program_transform_name=s,y,y,
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2271 $as_echo_n "checking host system type... " >&6; }
2272 if test "${ac_cv_host+set}" = set; then :
2273 $as_echo_n "(cached) " >&6
2275 if test "x$host_alias" = x; then
2276 ac_cv_host=$ac_cv_build
2278 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2279 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2284 $as_echo "$ac_cv_host" >&6; }
2287 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2290 ac_save_IFS=$IFS; IFS='-'
2296 # Remember, the first character of IFS is used to create $*,
2297 # except with old shells:
2300 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2304 $as_echo_n "checking target system type... " >&6; }
2305 if test "${ac_cv_target+set}" = set; then :
2306 $as_echo_n "(cached) " >&6
2308 if test "x$target_alias" = x; then
2309 ac_cv_target=$ac_cv_host
2311 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2312 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2317 $as_echo "$ac_cv_target" >&6; }
2318 case $ac_cv_target in
2320 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2322 target=$ac_cv_target
2323 ac_save_IFS=$IFS; IFS='-'
2329 # Remember, the first character of IFS is used to create $*,
2330 # except with old shells:
2333 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2336 # The aliases save the names the user supplied, while $host etc.
2337 # will get canonicalized.
2338 test -n "$target_alias" &&
2339 test "$program_prefix$program_suffix$program_transform_name" = \
2341 program_prefix=${target_alias}-
2343 test "$program_prefix" != NONE &&
2344 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2345 # Use a double $ so make ignores it.
2346 test "$program_suffix" != NONE &&
2347 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2348 # Double any \ or $.
2349 # By default was `s,x,x', remove it if useless.
2350 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2351 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2355 # Get 'install' or 'install-sh' and its variants.
2356 # Find a good install program. We prefer a C program (faster),
2357 # so one script is as good as another. But avoid the broken or
2358 # incompatible versions:
2359 # SysV /etc/install, /usr/sbin/install
2360 # SunOS /usr/etc/install
2361 # IRIX /sbin/install
2363 # AmigaOS /C/install, which installs bootblocks on floppy discs
2364 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2365 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2366 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2367 # OS/2's system install, which has a completely different semantic
2368 # ./install, which can be erroneously created by make from ./install.sh.
2369 # Reject install programs that cannot install multiple files.
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2371 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2372 if test -z "$INSTALL"; then
2373 if test "${ac_cv_path_install+set}" = set; then :
2374 $as_echo_n "(cached) " >&6
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 # Account for people who put trailing slashes in PATH elements.
2382 case $as_dir/ in #((
2383 ./ | .// | /[cC]/* | \
2384 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2385 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2388 # OSF1 and SCO ODT 3.0 have their own names for install.
2389 # Don't use installbsd from OSF since it installs stuff as root
2391 for ac_prog in ginstall scoinst install; do
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2394 if test $ac_prog = install &&
2395 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2396 # AIX install. It has an incompatible calling convention.
2398 elif test $ac_prog = install &&
2399 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2400 # program-specific install script used by HP pwplus--don't use.
2403 rm -rf conftest.one conftest.two conftest.dir
2404 echo one > conftest.one
2405 echo two > conftest.two
2407 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2408 test -s conftest.one && test -s conftest.two &&
2409 test -s conftest.dir/conftest.one &&
2410 test -s conftest.dir/conftest.two
2412 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2425 rm -rf conftest.one conftest.two conftest.dir
2428 if test "${ac_cv_path_install+set}" = set; then
2429 INSTALL=$ac_cv_path_install
2431 # As a last resort, use the slow shell script. Don't cache a
2432 # value for INSTALL within a source directory, because that will
2433 # break other packages using the cache if that directory is
2434 # removed, or if the value is a relative name.
2435 INSTALL=$ac_install_sh
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2439 $as_echo "$INSTALL" >&6; }
2441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2442 # It thinks the first close brace ends the variable substitution.
2443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2447 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2450 $as_echo_n "checking whether ln works... " >&6; }
2451 if test "${acx_cv_prog_LN+set}" = set; then :
2452 $as_echo_n "(cached) " >&6
2454 rm -f conftestdata_t
2455 echo >conftestdata_f
2456 if ln conftestdata_f conftestdata_t 2>/dev/null
2462 rm -f conftestdata_f conftestdata_t
2465 if test $acx_cv_prog_LN = no; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2468 $as_echo "no, using $LN" >&6; }
2470 LN="$acx_cv_prog_LN"
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2472 $as_echo "yes" >&6; }
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2476 $as_echo_n "checking whether ln -s works... " >&6; }
2478 if test "$LN_S" = "ln -s"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2480 $as_echo "yes" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2483 $as_echo "no, using $LN_S" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2487 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2488 if test "${ac_cv_path_SED+set}" = set; then :
2489 $as_echo_n "(cached) " >&6
2491 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2492 for ac_i in 1 2 3 4 5 6 7; do
2493 ac_script="$ac_script$as_nl$ac_script"
2495 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2496 { ac_script=; unset ac_script;}
2497 if test -z "$SED"; then
2498 ac_path_SED_found=false
2499 # Loop through the user's path and test for each of PROGNAME-LIST
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir=.
2505 for ac_prog in sed gsed; do
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2508 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2509 # Check for GNU ac_path_SED and select it if it is found.
2510 # Check for GNU $ac_path_SED
2511 case `"$ac_path_SED" --version 2>&1` in
2513 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2516 $as_echo_n 0123456789 >"conftest.in"
2519 cat "conftest.in" "conftest.in" >"conftest.tmp"
2520 mv "conftest.tmp" "conftest.in"
2521 cp "conftest.in" "conftest.nl"
2522 $as_echo '' >> "conftest.nl"
2523 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2524 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2525 as_fn_arith $ac_count + 1 && ac_count=$as_val
2526 if test $ac_count -gt ${ac_path_SED_max-0}; then
2527 # Best one so far, save it but keep looking for a better one
2528 ac_cv_path_SED="$ac_path_SED"
2529 ac_path_SED_max=$ac_count
2531 # 10*(2^10) chars as input seems more than enough
2532 test $ac_count -gt 10 && break
2534 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2537 $ac_path_SED_found && break 3
2542 if test -z "$ac_cv_path_SED"; then
2543 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2551 $as_echo "$ac_cv_path_SED" >&6; }
2552 SED="$ac_cv_path_SED"
2555 for ac_prog in gawk mawk nawk awk
2557 # Extract the first word of "$ac_prog", so it can be a program name with args.
2558 set dummy $ac_prog; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if test "${ac_cv_prog_AWK+set}" = set; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$AWK"; then
2565 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_AWK="$ac_prog"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test -n "$AWK"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2587 $as_echo "$AWK" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2594 test -n "$AWK" && break
2598 ### we might need to use some other shell than /bin/sh for running subshells
2599 ### If we are on Windows, search for the shell. This will permit people
2600 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2601 ### without also having to set CONFIG_SHELL. This code will work when
2602 ### using bash, which sets OSTYPE.
2605 if test x${CONFIG_SHELL} = x ; then
2606 if test ! -f /bin/sh ; then
2607 if test x${SHELL} != x && test -f ${SHELL} ; then
2608 CONFIG_SHELL=${SHELL}
2611 for prog in sh sh.exe bash bash.exe; do
2612 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
2613 for dir in $PATH; do
2614 test -z "$dir" && dir=.
2615 if test -f $dir/$prog; then
2616 CONFIG_SHELL=$dir/$prog
2622 test -n "${CONFIG_SHELL}" && break
2630 config_shell=${CONFIG_SHELL-/bin/sh}
2632 moveifchange=${srcdir}/move-if-change
2634 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2636 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2638 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2639 INSTALL="${srcpwd}/install-sh -c"
2642 # Set srcdir to "." if that's what it is.
2643 # This is important for multilib support.
2645 if test "${pwd}" = "${srcpwd}" ; then
2653 ### To add a new directory to the tree, first choose whether it is a target
2654 ### or a host dependent tool. Then put it into the appropriate list
2655 ### (library or tools, host or target), doing a dependency sort.
2657 # Subdirs will be configured in the order listed in build_configdirs,
2658 # configdirs, or target_configdirs; see the serialization section below.
2660 # Dependency sorting is only needed when *configuration* must be done in
2661 # a particular order. In all cases a dependency should be specified in
2662 # the Makefile, whether or not it's implicitly specified here.
2664 # Double entries in build_configdirs, configdirs, or target_configdirs may
2665 # cause circular dependencies and break everything horribly.
2667 # these library is used by various programs built for the build
2670 build_libs="build-libiberty"
2672 # these tools are built for the build environment
2673 build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2675 # these libraries are used by various programs built for the host environment
2677 host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2679 # these tools are built for the host environment
2680 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2681 # know that we are building the simulator.
2682 # binutils, gas and ld appear in that order because it makes sense to run
2683 # "make check" in that particular order.
2684 # If --enable-gold is used, "gold" may replace "ld".
2685 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"
2687 # libgcj represents the runtime libraries only used by gcj.
2688 libgcj="target-libffi \
2693 # these libraries are built for the target environment, and are built after
2694 # the host libraries and the host tools (which may be a cross compiler)
2696 target_libraries="target-libgcc \
2701 target-libstdc++-v3 \
2704 target-libquadmath \
2705 target-libgfortran \
2712 # these tools are built using the target libraries, and are intended to
2713 # run only in the target environment
2715 # note: any program that *uses* libraries that are in the "target_libraries"
2716 # list belongs in this list. those programs are also very likely
2717 # candidates for the "native_only" list which follows
2719 target_tools="target-examples target-groff target-gperf target-rda"
2721 ################################################################################
2723 ## All tools belong in one of the four categories, and are assigned above
2724 ## We assign ${configdirs} this way to remove all embedded newlines. This
2725 ## is important because configure will choke if they ever get through.
2726 ## ${configdirs} is directories we build using the host tools.
2727 ## ${target_configdirs} is directories we build using the target tools.
2728 configdirs=`echo ${host_libs} ${host_tools}`
2729 target_configdirs=`echo ${target_libraries} ${target_tools}`
2730 build_configdirs=`echo ${build_libs} ${build_tools}`
2734 ################################################################################
2736 srcname="gnu development package"
2738 # This gets set non-empty for some net releases of packages.
2741 # Define is_cross_compiler to save on calls to 'test'.
2743 if test x"${host}" = x"${target}" ; then
2744 is_cross_compiler=no
2746 is_cross_compiler=yes
2749 # Find the build and target subdir names.
2751 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2752 # have matching libraries, they should use host libraries: Makefile.tpl
2753 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2754 # However, they still use the build modules, because the corresponding
2755 # host modules (e.g. bison) are only built for the host when bootstrap
2757 # - build_subdir is where we find build modules, and never changes.
2758 # - build_libsubdir is where we find build libraries, and can be overridden.
2760 # Prefix 'build-' so this never conflicts with target_subdir.
2761 build_subdir="build-${build_noncanonical}"
2763 # Check whether --with-build-libsubdir was given.
2764 if test "${with_build_libsubdir+set}" = set; then :
2765 withval=$with_build_libsubdir; build_libsubdir="$withval"
2767 build_libsubdir="$build_subdir"
2770 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2771 if ( test $srcdir = . && test -d gcc ) \
2772 || test -d $srcdir/../host-${host_noncanonical}; then
2773 host_subdir="host-${host_noncanonical}"
2778 target_subdir=${target_noncanonical}
2780 # Be sure to cover against remnants of an in-tree build.
2781 if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2782 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2783 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2786 # Skipdirs are removed silently.
2788 # Noconfigdirs are removed loudly.
2792 # Make sure we don't let GNU ld be added if we didn't want it.
2793 if test x$with_gnu_ld = xno ; then
2795 noconfigdirs="$noconfigdirs ld gold"
2799 # Make sure we don't let GNU as be added if we didn't want it.
2800 if test x$with_gnu_as = xno ; then
2802 noconfigdirs="$noconfigdirs gas"
2806 # Make sure we don't let ZLIB be added if we didn't want it.
2807 if test x$with_system_zlib = xyes ; then
2808 use_included_zlib=no
2809 noconfigdirs="$noconfigdirs zlib"
2812 # some tools are so dependent upon X11 that if we're not building with X,
2813 # it's not even worth trying to configure, much less build, that tool.
2816 yes | "") ;; # the default value for this tree is that X11 is available
2818 skipdirs="${skipdirs} tk itcl libgui"
2819 # We won't be able to build gdbtk without X.
2822 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2825 # Some tools are only suitable for building in a "native" situation.
2826 # Remove these if host!=target.
2827 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"
2829 # Similarly, some are only suitable for cross toolchains.
2830 # Remove these if host=target.
2831 cross_only="target-libgloss target-newlib target-opcodes"
2833 case $is_cross_compiler in
2834 no) skipdirs="${skipdirs} ${cross_only}" ;;
2835 yes) skipdirs="${skipdirs} ${native_only}" ;;
2838 # If both --with-headers and --with-libs are specified, default to
2840 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2841 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2842 if test x"${with_newlib}" = x ; then
2847 # Recognize --with-newlib/--without-newlib.
2848 case ${with_newlib} in
2849 no) skipdirs="${skipdirs} target-newlib" ;;
2850 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2853 # Handle --enable-gold.
2854 # --enable-gold Build only gold
2855 # --disable-gold [default] Build only ld
2856 # --enable-gold=both Build both gold and ld, ld is default
2857 # --enable-gold=both/ld Same
2858 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
2860 # Check whether --enable-gold was given.
2861 if test "${enable_gold+set}" = set; then :
2862 enableval=$enable_gold; ENABLE_GOLD=$enableval
2867 case "${ENABLE_GOLD}" in
2868 yes|both|both/gold|both/ld)
2869 # Check for ELF target.
2872 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2873 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2874 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*)
2876 *-*-linux*aout* | *-*-linux*oldld*)
2884 if test "$is_elf" = "yes"; then
2885 # Check for target supported by gold.
2887 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2888 case "${ENABLE_GOLD}" in
2890 configdirs="$configdirs gold"
2893 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
2904 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
2908 # Configure extra directories which are host specific
2912 configdirs="$configdirs libtermcap" ;;
2915 # A target can indicate whether a language isn't supported for some reason.
2916 # Only spaces may be used in this macro; not newlines or tabs.
2917 unsupported_languages=
2919 # Remove more programs from consideration, based on the host or
2920 # target this usually means that a port of the program doesn't
2925 noconfigdirs="$noconfigdirs byacc"
2927 i[3456789]86-*-vsta)
2928 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2930 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
2931 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2934 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2936 i[3456789]86-*-mingw32*)
2937 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2938 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2940 i[3456789]86-*-beos*)
2941 noconfigdirs="$noconfigdirs tk itcl libgui gdb"
2944 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
2947 noconfigdirs="$noconfigdirs rcs"
2950 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2953 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2958 # Check whether --enable-libada was given.
2959 if test "${enable_libada+set}" = set; then :
2960 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2965 if test "${ENABLE_LIBADA}" != "yes" ; then
2966 noconfigdirs="$noconfigdirs gnattools"
2969 # Check whether --enable-libssp was given.
2970 if test "${enable_libssp+set}" = set; then :
2971 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2977 # Save it here so that, even in case of --enable-libgcj, if the Java
2978 # front-end isn't enabled, we still get libgcj disabled.
2979 libgcj_saved=$libgcj
2980 case $enable_libgcj in
2982 # If we reset it here, it won't get added to noconfigdirs in the
2983 # target-specific build rules, so it will be forcibly enabled
2984 # (unless the Java language itself isn't enabled).
2988 # Make sure we get it printed in the list of not supported target libs.
2989 noconfigdirs="$noconfigdirs ${libgcj}"
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"
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
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 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6182 case ${lang_frag} in
6184 # The odd quoting in the next line works around
6185 # an apparent bug in bash 1.12 on linux.
6186 ${srcdir}/gcc/[*]/config-lang.in) ;;
6188 # From the config-lang.in, get $language, $target_libs,
6189 # $lang_dirs, $boot_language, and $build_by_default
6195 build_by_default=yes
6197 if test x${language} = x; then
6198 echo "${lang_frag} doesn't set \$language." 1>&2
6202 if test "$language" = "c++" \
6203 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6207 case ,${enable_languages}, in
6209 # Language was explicitly selected; include it.
6213 # 'all' was selected, select it if it is a default language
6214 add_this_lang=${build_by_default}
6221 # Disable languages that need other directories if these aren't available.
6222 for i in $subdir_requires; do
6223 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6224 case ,${enable_languages}, in
6226 # Specifically requested language; tell them.
6227 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6231 add_this_lang=unsupported
6236 # Disable Ada if no preexisting GNAT is available.
6237 case ,${enable_languages},:${language}:${have_gnat} in
6238 *,${language},*:ada:no)
6239 # Specifically requested language; tell them.
6240 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6244 add_this_lang=unsupported
6248 # Disable a language that is unsupported by the target.
6249 case " $unsupported_languages " in
6251 add_this_lang=unsupported
6255 case $add_this_lang in
6257 # Remove language-dependent dirs.
6258 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6261 # Remove language-dependent dirs; still show language as supported.
6262 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6263 potential_languages="${potential_languages}${language},"
6266 new_enable_languages="${new_enable_languages}${language},"
6267 potential_languages="${potential_languages}${language},"
6268 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6269 case "${boot_language}:,$enable_stage1_languages," in
6270 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6271 # Add to (comma-separated) list of stage 1 languages.
6272 case ",$stage1_languages," in
6273 *,$language,* | ,yes, | ,all,) ;;
6274 *) stage1_languages="${stage1_languages}${language}," ;;
6276 # We need to bootstrap any supporting libraries.
6277 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6286 # Check whether --enable-stage1-languages was given.
6287 if test "${enable_stage1_languages+set}" = set; then :
6288 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6290 # Set it to something that will have no effect in the loop below
6291 enable_stage1_languages=c ;;
6293 enable_stage1_languages=`echo $new_enable_languages | \
6294 sed -e "s/^,//" -e "s/,$//" ` ;;
6296 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6297 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6300 # Add "good" languages from enable_stage1_languages to stage1_languages,
6301 # while "bad" languages go in missing_languages. Leave no duplicates.
6302 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6303 case $potential_languages in
6305 case $stage1_languages in
6307 *) stage1_languages="$stage1_languages$i," ;;
6310 case $missing_languages in
6312 *) missing_languages="$missing_languages$i," ;;
6319 # Remove leading/trailing commas that were added for simplicity
6320 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6321 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6322 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6323 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6325 if test "x$missing_languages" != x; then
6327 The following requested languages could not be built: ${missing_languages}
6328 Supported languages are: ${potential_languages}" "$LINENO" 5
6330 if test "x$new_enable_languages" != "x$enable_languages"; then
6331 echo The following languages will be built: ${new_enable_languages}
6332 enable_languages="$new_enable_languages"
6336 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6339 # Handle --disable-<component> generically.
6340 for dir in $configdirs $build_configdirs $target_configdirs ; do
6341 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6342 varname=`echo $dirname | sed -e s/+/_/g`
6343 if eval test x\${enable_${varname}} "=" xno ; then
6344 noconfigdirs="$noconfigdirs $dir"
6348 # Check for Boehm's garbage collector
6349 # Check whether --enable-objc-gc was given.
6350 if test "${enable_objc_gc+set}" = set; then :
6351 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6352 *,objc,*:*:yes:*target-boehm-gc*)
6353 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6359 # Make sure we only build Boehm's garbage collector if required.
6360 case ,${enable_languages},:${enable_objc_gc} in
6362 # Keep target-boehm-gc if requested for Objective-C.
6365 # Otherwise remove target-boehm-gc depending on target-libjava.
6366 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6367 noconfigdirs="$noconfigdirs target-boehm-gc"
6372 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6373 # $build_configdirs and $target_configdirs.
6374 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6377 for dir in . $skipdirs $noconfigdirs ; do
6378 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6379 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6380 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6381 if test -r $srcdir/$dirname/configure ; then
6382 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6385 notsupp="$notsupp $dir"
6389 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6390 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6391 if test -r $srcdir/$dirname/configure ; then
6392 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6395 notsupp="$notsupp $dir"
6399 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6400 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6401 if test -r $srcdir/$dirname/configure ; then
6402 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6405 notsupp="$notsupp $dir"
6411 # Sometimes the tools are distributed with libiberty but with no other
6412 # libraries. In that case, we don't want to build target-libiberty.
6413 # Don't let libgcc imply libiberty either.
6414 if test -n "${target_configdirs}" ; then
6417 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6418 if test "$i" = "libgcc"; then
6419 libgcc=target-libgcc
6420 elif test "$i" != "libiberty" ; then
6421 if test -r $srcdir/$i/configure ; then
6427 if test -z "${others}" ; then
6428 target_configdirs=$libgcc
6432 # Quietly strip out all directories which aren't configurable in this tree.
6433 # This relies on all configurable subdirectories being autoconfiscated, which
6435 build_configdirs_all="$build_configdirs"
6437 for i in ${build_configdirs_all} ; do
6438 j=`echo $i | sed -e s/build-//g`
6439 if test -f ${srcdir}/$j/configure ; then
6440 build_configdirs="${build_configdirs} $i"
6444 configdirs_all="$configdirs"
6446 for i in ${configdirs_all} ; do
6447 if test -f ${srcdir}/$i/configure ; then
6448 configdirs="${configdirs} $i"
6452 target_configdirs_all="$target_configdirs"
6454 for i in ${target_configdirs_all} ; do
6455 j=`echo $i | sed -e s/target-//g`
6456 if test -f ${srcdir}/$j/configure ; then
6457 target_configdirs="${target_configdirs} $i"
6461 # Produce a warning message for the subdirs we can't configure.
6462 # This isn't especially interesting in the Cygnus tree, but in the individual
6463 # FSF releases, it's important to let people know when their machine isn't
6464 # supported by the one or two programs in a package.
6466 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6467 # If $appdirs is non-empty, at least one of those directories must still
6468 # be configured, or we error out. (E.g., if the gas release supports a
6469 # specified target in some subdirs but not the gas subdir, we shouldn't
6470 # pretend that all is well.)
6471 if test -n "$appdirs" ; then
6472 for dir in $appdirs ; do
6473 if test -r $dir/Makefile.in ; then
6474 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6478 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6484 if test -n "$appdirs" ; then
6485 echo "*** This configuration is not supported by this package." 1>&2
6489 # Okay, some application will build, or we don't care to check. Still
6490 # notify of subdirs not getting built.
6491 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6492 echo " ${notsupp}" 1>&2
6493 echo " (Any other directories should still work fine.)" 1>&2
6501 # To find our prefix, in gcc_cv_tool_prefix.
6503 # The user is always right.
6504 if test "${PATH_SEPARATOR+set}" != set; then
6505 echo "#! /bin/sh" >conf$$.sh
6506 echo "exit 0" >>conf$$.sh
6508 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6518 if test "x$exec_prefix" = xNONE; then
6519 if test "x$prefix" = xNONE; then
6520 gcc_cv_tool_prefix=$ac_default_prefix
6522 gcc_cv_tool_prefix=$prefix
6525 gcc_cv_tool_prefix=$exec_prefix
6528 # If there is no compiler in the tree, use the PATH only. In any
6529 # case, if there is no compiler in the tree nobody should use
6530 # AS_FOR_TARGET and LD_FOR_TARGET.
6531 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6532 gcc_version=`cat $srcdir/gcc/BASE-VER`
6533 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6534 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6535 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6536 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6537 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6538 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6543 if test x$build = x$target && test -n "$md_exec_prefix"; then
6544 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6552 # Check whether --with-build-sysroot was given.
6553 if test "${with_build_sysroot+set}" = set; then :
6554 withval=$with_build_sysroot; if test x"$withval" != x ; then
6555 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6558 SYSROOT_CFLAGS_FOR_TARGET=
6564 # Check whether --with-debug-prefix-map was given.
6565 if test "${with_debug_prefix_map+set}" = set; then :
6566 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6567 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6568 for debug_map in $withval; do
6569 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6573 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6578 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6579 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6580 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6581 # We want to ensure that TARGET libraries (which we know are built with
6582 # gcc) are built with "-O2 -g", so include those options when setting
6583 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6584 if test "x$CFLAGS_FOR_TARGET" = x; then
6585 CFLAGS_FOR_TARGET=$CFLAGS
6588 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6591 *" -g "* | *" -g3 "*) ;;
6592 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6597 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6598 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6599 case " $CXXFLAGS " in
6601 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6603 case " $CXXFLAGS " in
6604 *" -g "* | *" -g3 "*) ;;
6605 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6610 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6611 # the named directory are copied to $(tooldir)/sys-include.
6612 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6613 if test x${is_cross_compiler} = xno ; then
6614 echo 1>&2 '***' --with-headers is only supported when cross compiling
6617 if test x"${with_headers}" != xyes ; then
6618 x=${gcc_cv_tool_prefix}
6619 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6623 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6624 # the name directories are copied to $(tooldir)/lib. Multiple directories
6626 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6627 if test x${is_cross_compiler} = xno ; then
6628 echo 1>&2 '***' --with-libs is only supported when cross compiling
6631 if test x"${with_libs}" != xyes ; then
6632 # Copy the libraries in reverse order, so that files in the first named
6633 # library override files in subsequent libraries.
6634 x=${gcc_cv_tool_prefix}
6635 for l in ${with_libs}; do
6636 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6641 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6643 # This is done by determining whether or not the appropriate directory
6644 # is available, and by checking whether or not specific configurations
6645 # have requested that this magic not happen.
6647 # The command line options always override the explicit settings in
6648 # configure.in, and the settings in configure.in override this magic.
6650 # If the default for a toolchain is to use GNU as and ld, and you don't
6651 # want to do that, then you should use the --without-gnu-as and
6652 # --without-gnu-ld options for the configure script. Similarly, if
6653 # the default is to use the included zlib and you don't want to do that,
6654 # you should use the --with-system-zlib option for the configure script.
6656 if test x${use_gnu_as} = x &&
6657 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6659 extra_host_args="$extra_host_args --with-gnu-as"
6662 if test x${use_gnu_ld} = x &&
6663 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6665 extra_host_args="$extra_host_args --with-gnu-ld"
6668 if test x${use_included_zlib} = x &&
6669 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6672 with_system_zlib=yes
6673 extra_host_args="$extra_host_args --with-system-zlib"
6676 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6677 # can detect this case.
6679 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6681 extra_host_args="$extra_host_args --with-newlib"
6684 # Handle ${copy_dirs}
6685 set fnord ${copy_dirs}
6687 while test $# != 0 ; do
6688 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6691 echo Copying $1 to $2
6693 # Use the install script to create the directory and all required
6694 # parent directories.
6695 if test -d $2 ; then
6699 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6702 # Copy the directory, assuming we have tar.
6703 # FIXME: Should we use B in the second tar? Not all systems support it.
6704 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6706 # It is the responsibility of the user to correctly adjust all
6707 # symlinks. If somebody can figure out how to handle them correctly
6708 # here, feel free to add the code.
6715 # Determine a target-dependent exec_prefix that the installed
6716 # gcc will search in. Keep this list sorted by triplet, with
6717 # the *-*-osname triplets last.
6721 md_exec_prefix=/gnu/lib/gcc-lib
6723 i[34567]86-pc-msdosdjgpp*)
6724 md_exec_prefix=/dev/env/DJDIR/bin
6726 i[34567]86-*-sco3.2v5*)
6727 if test $with_gnu_as = yes; then
6728 md_exec_prefix=/usr/gnu/bin
6730 md_exec_prefix=/usr/ccs/bin/elf
6735 powerpc-*-chorusos* | \
6736 powerpc*-*-eabi* | \
6737 powerpc*-*-sysv* | \
6738 powerpc*-*-kaos* | \
6740 md_exec_prefix=/usr/ccs/bin
6745 md_exec_prefix=/usr/ccs/bin
6760 md_exec_prefix=/usr/ccs/bin
6764 extra_arflags_for_target=
6765 extra_nmflags_for_target=
6766 extra_ranlibflags_for_target=
6767 target_makefile_frag=/dev/null
6770 target_makefile_frag="config/mt-mep"
6773 target_makefile_frag="config/mt-spu"
6776 target_makefile_frag="config/mt-sde"
6778 mipsisa*-*-elfoabi*)
6779 target_makefile_frag="config/mt-mips-elfoabi"
6781 mips*-*-*linux* | mips*-*-gnu*)
6782 target_makefile_frag="config/mt-mips-gnu"
6785 target_makefile_frag="config/mt-netware"
6787 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6788 target_makefile_frag="config/mt-gnu"
6790 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6791 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6792 # commands to handle both 32-bit and 64-bit objects. These flags are
6793 # harmless if we're using GNU nm or ar.
6794 extra_arflags_for_target=" -X32_64"
6795 extra_nmflags_for_target=" -B -X32_64"
6798 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6799 extra_ranlibflags_for_target=" -c"
6801 mips*-*-pe | sh*-*-pe | *arm-wince-pe)
6802 target_makefile_frag="config/mt-wince"
6806 alphaieee_frag=/dev/null
6809 # This just makes sure to use the -mieee option to build target libs.
6810 # This should probably be set individually by each library.
6811 alphaieee_frag="config/mt-alphaieee"
6815 # If --enable-target-optspace always use -Os instead of -O2 to build
6816 # the target libraries, similarly if it is not specified, use -Os
6817 # on selected platforms.
6818 ospace_frag=/dev/null
6819 case "${enable_target_optspace}:${target}" in
6821 ospace_frag="config/mt-ospace"
6824 ospace_frag="config/mt-d30v"
6826 :m32r-* | :d10v-* | :fr30-*)
6827 ospace_frag="config/mt-ospace"
6832 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6836 # Default to using --with-stabs for certain targets.
6837 if test x${with_stabs} = x ; then
6841 mips*-*-* | alpha*-*-osf*)
6843 extra_host_args="${extra_host_args} --with-stabs"
6848 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6849 # them automatically.
6852 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6856 # Some systems (e.g., one of the i386-aix systems the gas testers are
6857 # using) don't handle "\$" correctly, so don't use it here.
6858 tooldir='${exec_prefix}'/${target_noncanonical}
6859 build_tooldir=${tooldir}
6861 # Create a .gdbinit file which runs the one in srcdir
6862 # and tells GDB to look there for source files.
6864 if test -r ${srcdir}/.gdbinit ; then
6867 *) cat > ./.gdbinit <<EOF
6871 source ${srcdir}/.gdbinit
6877 # Make sure that the compiler is able to generate an executable. If it
6878 # can't, we are probably in trouble. We don't care whether we can run the
6879 # executable--we might be using a cross compiler--we only care whether it
6880 # can be created. At this point the main configure script has set CC.
6882 echo "int main () { return 0; }" > conftest.c
6883 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6884 if test $? = 0 ; then
6885 if test -s conftest || test -s conftest.exe ; then
6891 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6892 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6899 # The Solaris /usr/ucb/cc compiler does not appear to work.
6901 sparc-sun-solaris2*)
6902 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
6903 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6905 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
6906 if test -d /opt/cygnus/bin ; then
6907 if test "$could_use" = "" ; then
6908 could_use="/opt/cygnus/bin"
6910 could_use="$could_use or /opt/cygnus/bin"
6913 if test "$could_use" = "" ; then
6914 echo "Warning: compilation may fail because you're using"
6915 echo "/usr/ucb/cc. You should change your PATH or CC "
6916 echo "variable and rerun configure."
6918 echo "Warning: compilation may fail because you're using"
6919 echo "/usr/ucb/cc, when you should use the C compiler from"
6920 echo "$could_use. You should change your"
6921 echo "PATH or CC variable and rerun configure."
6927 # Decide which environment variable is used to find dynamic libraries.
6929 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6930 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6931 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6932 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6935 # On systems where the dynamic library environment variable is PATH,
6936 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6937 # built executables to PATH.
6938 if test "$RPATH_ENVVAR" = PATH; then
6939 GCC_SHLIB_SUBDIR=/shlib
6944 # Record target_configdirs and the configure arguments for target and
6945 # build configuration in Makefile.
6946 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6947 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6949 # If we are building libgomp, bootstrap it.
6950 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
6951 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
6954 # Determine whether gdb needs tk/tcl or not.
6955 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6956 # and in that case we want gdb to be built without tk. Ugh!
6957 # In fact I believe gdb is the *only* package directly dependent on tk,
6958 # so we should be able to put the 'maybe's in unconditionally and
6959 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6960 # 100% sure that that's safe though.
6962 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6963 case "$enable_gdbtk" in
6967 GDB_TK="${gdb_tk}" ;;
6969 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6970 # distro. Eventually someone will fix this and move Insight, nee
6971 # gdbtk to a separate directory.
6972 if test -d ${srcdir}/gdb/gdbtk ; then
6979 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6980 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6982 # Strip out unwanted targets.
6984 # While at that, we remove Makefiles if we were started for recursive
6985 # configuration, so that the top-level Makefile reconfigures them,
6986 # like we used to do when configure itself was recursive.
6988 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6989 # but now we're fixing up the Makefile ourselves with the additional
6990 # commands passed to AC_CONFIG_FILES. Use separate variables
6991 # extrasub-{build,host,target} not because there is any reason to split
6992 # the substitutions up that way, but only to remain below the limit of
6993 # 99 commands in a script, for HP-UX sed.
6994 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6996 # Check whether --enable-bootstrap was given.
6997 if test "${enable_bootstrap+set}" = set; then :
6998 enableval=$enable_bootstrap;
7000 enable_bootstrap=default
7004 # Issue errors and warnings for invalid/strange bootstrap combinations.
7005 case "$configdirs" in
7006 *gcc*) have_compiler=yes ;;
7007 *) have_compiler=no ;;
7010 case "$have_compiler:$host:$target:$enable_bootstrap" in
7013 # Default behavior. Enable bootstrap if we have a compiler
7014 # and we are in a native configuration.
7015 yes:$build:$build:default)
7016 enable_bootstrap=yes ;;
7019 enable_bootstrap=no ;;
7021 # We have a compiler and we are in a native configuration, bootstrap is ok
7022 yes:$build:$build:yes)
7025 # Other configurations, but we have a compiler. Assume the user knows
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7029 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7032 # No compiler: if they passed --enable-bootstrap explicitly, fail
7034 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
7036 # Fail if wrong command line
7038 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
7042 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7045 as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7049 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7050 yes:yes:*\ gold\ *:*,c++,*) ;;
7051 yes:yes:*\ gold\ *:*)
7052 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7056 # Adjust the toplevel makefile according to whether bootstrap was selected.
7057 case $enable_bootstrap in
7059 bootstrap_suffix=bootstrap
7060 BUILD_CONFIG=bootstrap-debug
7063 bootstrap_suffix=no-bootstrap
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7069 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7072 # Check whether --with-build-config was given.
7073 if test "${with_build_config+set}" = set; then :
7074 withval=$with_build_config; case $with_build_config in
7075 yes) with_build_config= ;;
7076 no) with_build_config= BUILD_CONFIG= ;;
7081 if test "x${with_build_config}" != x; then
7082 BUILD_CONFIG=$with_build_config
7084 case $BUILD_CONFIG in
7086 if echo "int f (void) { return 0; }" > conftest.c &&
7087 ${CC} -c conftest.c &&
7088 mv conftest.o conftest.o.g0 &&
7089 ${CC} -c -g conftest.c &&
7090 mv conftest.o conftest.o.g &&
7091 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
7096 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7101 $as_echo "$BUILD_CONFIG" >&6; }
7105 for module in ${build_configdirs} ; do
7106 if test -z "${no_recursion}" \
7107 && test -f ${build_subdir}/${module}/Makefile; then
7108 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7109 rm -f ${build_subdir}/${module}/Makefile
7111 extrasub_build="$extrasub_build
7112 /^@if build-$module\$/d
7113 /^@endif build-$module\$/d
7114 /^@if build-$module-$bootstrap_suffix\$/d
7115 /^@endif build-$module-$bootstrap_suffix\$/d"
7118 for module in ${configdirs} ; do
7119 if test -z "${no_recursion}"; then
7120 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7121 if test -f ${file}; then
7122 echo 1>&2 "*** removing ${file} to force reconfigure"
7127 extrasub_host="$extrasub_host
7129 /^@endif $module\$/d
7130 /^@if $module-$bootstrap_suffix\$/d
7131 /^@endif $module-$bootstrap_suffix\$/d"
7134 for module in ${target_configdirs} ; do
7135 if test -z "${no_recursion}" \
7136 && test -f ${target_subdir}/${module}/Makefile; then
7137 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7138 rm -f ${target_subdir}/${module}/Makefile
7141 # We only bootstrap target libraries listed in bootstrap_target_libs.
7142 case $bootstrap_target_libs in
7143 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7144 *) target_bootstrap_suffix=no-bootstrap ;;
7147 extrasub_target="$extrasub_target
7148 /^@if target-$module\$/d
7149 /^@endif target-$module\$/d
7150 /^@if target-$module-$target_bootstrap_suffix\$/d
7151 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7154 # Do the final fixup along with target modules.
7155 extrasub_target="$extrasub_target
7156 /^@if /,/^@endif /d"
7158 # Create the serialization dependencies. This uses a temporary file.
7160 # Check whether --enable-serial-configure was given.
7161 if test "${enable_serial_configure+set}" = set; then :
7162 enableval=$enable_serial_configure;
7166 case ${enable_serial_configure} in
7168 enable_serial_build_configure=yes
7169 enable_serial_host_configure=yes
7170 enable_serial_target_configure=yes
7174 # These force 'configure's to be done one at a time, to avoid problems
7175 # with contention over a shared config.cache.
7177 echo '# serdep.tmp' > serdep.tmp
7179 test "x${enable_serial_build_configure}" = xyes &&
7180 for item in ${build_configdirs} ; do
7183 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7188 test "x${enable_serial_host_configure}" = xyes &&
7189 for item in ${configdirs} ; do
7192 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7197 test "x${enable_serial_target_configure}" = xyes &&
7198 for item in ${target_configdirs} ; do
7201 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7205 serialization_dependencies=serdep.tmp
7208 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7209 # target, nonopt, and variable assignments. These are the ones we
7210 # might not want to pass down to subconfigures. The exception being
7211 # --cache-file=/dev/null, which is used to turn off the use of cache
7212 # files altogether, and which should be passed on to subconfigures.
7213 # Also strip program-prefix, program-suffix, and program-transform-name,
7214 # so that we can pass down a consistent program-transform-name.
7218 eval "set -- $ac_configure_args"
7221 if test X"$skip_next" = X"yes"; then
7225 if test X"$keep_next" = X"yes"; then
7228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7230 baseargs="$baseargs '$ac_arg'"
7235 # Handle separated arguments. Based on the logic generated by
7238 *=* | --config-cache | -C | -disable-* | --disable-* \
7239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7241 | -with-* | --with-* | -without-* | --without-* | --x)
7253 --cache-file=/dev/null | \
7254 -cache-file=/dev/null )
7255 # Handled here to avoid the test to skip args below.
7256 baseargs="$baseargs '$ac_arg'"
7257 # Assert: $separate_arg should always be no.
7258 keep_next=$separate_arg
7274 -program-prefix* | \
7275 -program-suffix* | \
7276 -program-transform-name* )
7277 skip_next=$separate_arg
7281 # An option. Add it.
7284 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7286 baseargs="$baseargs '$ac_arg'"
7287 keep_next=$separate_arg
7290 # Either a variable assignment, or a nonopt (triplet). Don't
7291 # pass it down; let the Makefile handle this.
7296 # Remove the initial space we just introduced and, as these will be
7297 # expanded by make, quote '$'.
7298 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7300 # Add in --program-transform-name, after --program-prefix and
7301 # --program-suffix have been applied to it. Autoconf has already
7302 # doubled dollar signs and backslashes in program_transform_name; we want
7303 # the backslashes un-doubled, and then the entire thing wrapped in single
7304 # quotes, because this will be expanded first by make and then by the shell.
7305 # Also, because we want to override the logic in subdir configure scripts to
7306 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7307 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7308 ${program_transform_name}
7310 gcc_transform_name=`cat conftestsed.out`
7311 rm -f conftestsed.out
7312 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7313 if test "$silent" = yes; then
7314 baseargs="$baseargs --silent"
7316 baseargs="$baseargs --disable-option-checking"
7318 # Record and document user additions to sub configure arguments.
7323 # For the build-side libraries, we just need to pretend we're native,
7324 # and not use the same cache file. Multilibs are neither needed nor
7326 build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
7328 # For host modules, accept cache file option, or specification as blank.
7329 case "${cache_file}" in
7331 cache_file_option="" ;;
7332 /* | [A-Za-z]:[\\/]* ) # absolute path
7333 cache_file_option="--cache-file=${cache_file}" ;;
7335 cache_file_option="--cache-file=../${cache_file}" ;;
7338 # Host dirs don't like to share a cache file either, horribly enough.
7339 # This seems to be due to autoconf 2.5x stupidity.
7340 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7342 target_configargs="$target_configargs ${baseargs}"
7344 # Passing a --with-cross-host argument lets the target libraries know
7345 # whether they are being built with a cross-compiler or being built
7346 # native. However, it would be better to use other mechanisms to make the
7347 # sorts of decisions they want to make on this basis. Please consider
7348 # this option to be deprecated. FIXME.
7349 if test x${is_cross_compiler} = xyes ; then
7350 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7353 # Default to --enable-multilib.
7354 if test x${enable_multilib} = x ; then
7355 target_configargs="--enable-multilib ${target_configargs}"
7358 # Pass --with-newlib if appropriate. Note that target_configdirs has
7359 # changed from the earlier setting of with_newlib.
7360 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7361 target_configargs="--with-newlib ${target_configargs}"
7364 # Different target subdirs use different values of certain variables
7365 # (notably CXX). Worse, multilibs use *lots* of different values.
7366 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7367 # it doesn't automatically accept command-line overrides of them.
7368 # This means it's not safe for target subdirs to share a cache file,
7369 # which is disgusting, but there you have it. Hopefully this can be
7370 # fixed in future. It's still worthwhile to use a cache file for each
7371 # directory. I think.
7373 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7374 # We need to pass --target, as newer autoconf's requires consistency
7375 # for target_alias and gcc doesn't manage it consistently.
7376 target_configargs="--cache-file=./config.cache ${target_configargs}"
7379 case " $target_configdirs " in
7381 case " $target_configargs " in
7382 *" --with-newlib "*)
7385 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'
7389 # If we're not building GCC, don't discard standard headers.
7390 if test -d ${srcdir}/gcc; then
7391 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7393 if test "${build}" != "${host}"; then
7394 # On Canadian crosses, CC_FOR_TARGET will have already been set
7395 # by `configure', so we won't have an opportunity to add -Bgcc/
7396 # to it. This is right: we don't want to search that directory
7397 # for binaries, but we want the header files in there, so add
7399 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7401 # Someone might think of using the pre-installed headers on
7402 # Canadian crosses, in case the installed compiler is not fully
7403 # compatible with the compiler being built. In this case, it
7404 # would be better to flag an error than risking having
7405 # incompatible object files being constructed. We can't
7406 # guarantee that an error will be flagged, but let's hope the
7407 # compiler will do it, when presented with incompatible header
7412 case "${target}-${is_cross_compiler}" in
7413 i[3456789]86-*-linux*-no)
7414 # Here host == target, so we don't need to build gcc,
7415 # so we don't want to discard standard headers.
7416 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7419 # If we're building newlib, use its generic headers last, but search
7420 # for any libc-related directories first (so make it the last -B
7422 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7424 # If we're building libgloss, find the startup file, simulator library
7425 # and linker script.
7426 case " $target_configdirs " in
7428 # Look for startup file, simulator library and maybe linker script.
7429 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7430 # Look for libnosys.a in case the target needs it.
7431 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7432 # Most targets have the linker script in the source directory.
7433 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7444 x86_64-*mingw* | *-w64-mingw*)
7445 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7446 # however, use a symlink named 'mingw' in ${prefix} .
7447 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7450 # MinGW can't be handled as Cygwin above since it does not use newlib.
7451 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'
7455 # Allow the user to override the flags for
7456 # our build compiler if desired.
7457 if test x"${build}" = x"${host}" ; then
7458 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7459 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7460 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7463 # On Canadian crosses, we'll be searching the right directories for
7464 # the previously-installed cross compiler, so don't bother to add
7465 # flags for directories within the install tree of the compiler
7466 # being built; programs in there won't even run.
7467 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7468 # Search for pre-installed headers if nothing else fits.
7469 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7472 if test "x${use_gnu_ld}" = x &&
7473 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7474 # Arrange for us to find uninstalled linker scripts.
7475 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7478 # Search for other target-specific linker scripts and such.
7481 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7485 # Makefile fragments.
7486 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7488 eval fragval=\$$frag
7489 if test $fragval != /dev/null; then
7490 eval $frag=${srcdir}/$fragval
7498 # Miscellanea: directories, flags, etc.
7507 # Build module lists & subconfigure args.
7511 # Host module lists & subconfigure args.
7516 # Target module lists & subconfigure args.
7539 # Generate default definitions for YACC, M4, LEX and other programs that run
7540 # on the build machine. These are used if the Makefile can't locate these
7541 # programs in objdir.
7542 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7544 for ac_prog in 'bison -y' byacc yacc
7546 # Extract the first word of "$ac_prog", so it can be a program name with args.
7547 set dummy $ac_prog; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if test "${ac_cv_prog_YACC+set}" = set; then :
7551 $as_echo_n "(cached) " >&6
7553 if test -n "$YACC"; then
7554 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7563 ac_cv_prog_YACC="$ac_prog"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 YACC=$ac_cv_prog_YACC
7574 if test -n "$YACC"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7576 $as_echo "$YACC" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7583 test -n "$YACC" && break
7585 test -n "$YACC" || YACC="$MISSING bison -y"
7587 case " $build_configdirs " in
7588 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7589 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7592 for ac_prog in bison
7594 # Extract the first word of "$ac_prog", so it can be a program name with args.
7595 set dummy $ac_prog; ac_word=$2
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597 $as_echo_n "checking for $ac_word... " >&6; }
7598 if test "${ac_cv_prog_BISON+set}" = set; then :
7599 $as_echo_n "(cached) " >&6
7601 if test -n "$BISON"; then
7602 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir=.
7609 for ac_exec_ext in '' $ac_executable_extensions; do
7610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 ac_cv_prog_BISON="$ac_prog"
7612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 BISON=$ac_cv_prog_BISON
7622 if test -n "$BISON"; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7624 $as_echo "$BISON" >&6; }
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627 $as_echo "no" >&6; }
7631 test -n "$BISON" && break
7633 test -n "$BISON" || BISON="$MISSING bison"
7635 case " $build_configdirs " in
7636 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7639 for ac_prog in gm4 gnum4 m4
7641 # Extract the first word of "$ac_prog", so it can be a program name with args.
7642 set dummy $ac_prog; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_M4+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7648 if test -n "$M4"; then
7649 ac_cv_prog_M4="$M4" # Let the user override the test.
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_M4="$ac_prog"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 if test -n "$M4"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7671 $as_echo "$M4" >&6; }
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7678 test -n "$M4" && break
7680 test -n "$M4" || M4="$MISSING m4"
7682 case " $build_configdirs " in
7683 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7686 for ac_prog in flex lex
7688 # Extract the first word of "$ac_prog", so it can be a program name with args.
7689 set dummy $ac_prog; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if test "${ac_cv_prog_LEX+set}" = set; then :
7693 $as_echo_n "(cached) " >&6
7695 if test -n "$LEX"; then
7696 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7705 ac_cv_prog_LEX="$ac_prog"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 if test -n "$LEX"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7718 $as_echo "$LEX" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7725 test -n "$LEX" && break
7727 test -n "$LEX" || LEX="$MISSING flex"
7729 case " $build_configdirs " in
7730 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7731 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7736 # Extract the first word of "$ac_prog", so it can be a program name with args.
7737 set dummy $ac_prog; ac_word=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if test "${ac_cv_prog_FLEX+set}" = set; then :
7741 $as_echo_n "(cached) " >&6
7743 if test -n "$FLEX"; then
7744 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753 ac_cv_prog_FLEX="$ac_prog"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 FLEX=$ac_cv_prog_FLEX
7764 if test -n "$FLEX"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7766 $as_echo "$FLEX" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7773 test -n "$FLEX" && break
7775 test -n "$FLEX" || FLEX="$MISSING flex"
7777 case " $build_configdirs " in
7778 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7781 for ac_prog in makeinfo
7783 # Extract the first word of "$ac_prog", so it can be a program name with args.
7784 set dummy $ac_prog; ac_word=$2
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7786 $as_echo_n "checking for $ac_word... " >&6; }
7787 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7788 $as_echo_n "(cached) " >&6
7790 if test -n "$MAKEINFO"; then
7791 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir=.
7798 for ac_exec_ext in '' $ac_executable_extensions; do
7799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7800 ac_cv_prog_MAKEINFO="$ac_prog"
7801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810 MAKEINFO=$ac_cv_prog_MAKEINFO
7811 if test -n "$MAKEINFO"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7813 $as_echo "$MAKEINFO" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7820 test -n "$MAKEINFO" && break
7822 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7824 case " $build_configdirs " in
7825 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7828 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7829 # higher, else we use the "missing" dummy.
7830 if ${MAKEINFO} --version \
7831 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7834 MAKEINFO="$MISSING makeinfo"
7840 # FIXME: expect and dejagnu may become build tools?
7842 for ac_prog in expect
7844 # Extract the first word of "$ac_prog", so it can be a program name with args.
7845 set dummy $ac_prog; ac_word=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847 $as_echo_n "checking for $ac_word... " >&6; }
7848 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7849 $as_echo_n "(cached) " >&6
7851 if test -n "$EXPECT"; then
7852 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7861 ac_cv_prog_EXPECT="$ac_prog"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 EXPECT=$ac_cv_prog_EXPECT
7872 if test -n "$EXPECT"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7874 $as_echo "$EXPECT" >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877 $as_echo "no" >&6; }
7881 test -n "$EXPECT" && break
7883 test -n "$EXPECT" || EXPECT="expect"
7885 case " $configdirs " in
7887 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7891 for ac_prog in runtest
7893 # Extract the first word of "$ac_prog", so it can be a program name with args.
7894 set dummy $ac_prog; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896 $as_echo_n "checking for $ac_word... " >&6; }
7897 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7900 if test -n "$RUNTEST"; then
7901 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7910 ac_cv_prog_RUNTEST="$ac_prog"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920 RUNTEST=$ac_cv_prog_RUNTEST
7921 if test -n "$RUNTEST"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7923 $as_echo "$RUNTEST" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 $as_echo "no" >&6; }
7930 test -n "$RUNTEST" && break
7932 test -n "$RUNTEST" || RUNTEST="runtest"
7934 case " $configdirs " in
7936 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7943 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7944 ncn_target_tool_prefix=
7945 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7949 if test -n "$AR"; then
7951 elif test -n "$ac_cv_prog_AR"; then
7955 if test -n "$ac_cv_prog_AR"; then
7956 for ncn_progname in ar; do
7957 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7958 set dummy ${ncn_progname}; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if test "${ac_cv_prog_AR+set}" = set; then :
7962 $as_echo_n "(cached) " >&6
7964 if test -n "$AR"; then
7965 ac_cv_prog_AR="$AR" # Let the user override the test.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7974 ac_cv_prog_AR="${ncn_progname}"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 if test -n "$AR"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7987 $as_echo "$AR" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7997 for ncn_progname in ar; do
7998 if test -n "$ncn_tool_prefix"; then
7999 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8000 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if test "${ac_cv_prog_AR+set}" = set; then :
8004 $as_echo_n "(cached) " >&6
8006 if test -n "$AR"; then
8007 ac_cv_prog_AR="$AR" # Let the user override the test.
8009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8013 test -z "$as_dir" && as_dir=.
8014 for ac_exec_ext in '' $ac_executable_extensions; do
8015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8016 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 if test -n "$AR"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8029 $as_echo "$AR" >&6; }
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8037 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8039 set dummy ${ncn_progname}; ac_word=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 $as_echo_n "checking for $ac_word... " >&6; }
8042 if test "${ac_cv_prog_AR+set}" = set; then :
8043 $as_echo_n "(cached) " >&6
8045 if test -n "$AR"; then
8046 ac_cv_prog_AR="$AR" # Let the user override the test.
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8055 ac_cv_prog_AR="${ncn_progname}"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8066 if test -n "$AR"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8068 $as_echo "$AR" >&6; }
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8076 test -n "$ac_cv_prog_AR" && break
8079 if test -z "$ac_cv_prog_AR" ; then
8081 if test $build = $host ; then
8084 AR="${ncn_tool_prefix}$2"
8090 if test -n "$AS"; then
8092 elif test -n "$ac_cv_prog_AS"; then
8096 if test -n "$ac_cv_prog_AS"; then
8097 for ncn_progname in as; do
8098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8099 set dummy ${ncn_progname}; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if test "${ac_cv_prog_AS+set}" = set; then :
8103 $as_echo_n "(cached) " >&6
8105 if test -n "$AS"; then
8106 ac_cv_prog_AS="$AS" # Let the user override the test.
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8115 ac_cv_prog_AS="${ncn_progname}"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 if test -n "$AS"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8128 $as_echo "$AS" >&6; }
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8138 for ncn_progname in as; do
8139 if test -n "$ncn_tool_prefix"; then
8140 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8141 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 $as_echo_n "checking for $ac_word... " >&6; }
8144 if test "${ac_cv_prog_AS+set}" = set; then :
8145 $as_echo_n "(cached) " >&6
8147 if test -n "$AS"; then
8148 ac_cv_prog_AS="$AS" # Let the user override the test.
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8157 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 if test -n "$AS"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8170 $as_echo "$AS" >&6; }
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8178 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8180 set dummy ${ncn_progname}; ac_word=$2
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8182 $as_echo_n "checking for $ac_word... " >&6; }
8183 if test "${ac_cv_prog_AS+set}" = set; then :
8184 $as_echo_n "(cached) " >&6
8186 if test -n "$AS"; then
8187 ac_cv_prog_AS="$AS" # Let the user override the test.
8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 test -z "$as_dir" && as_dir=.
8194 for ac_exec_ext in '' $ac_executable_extensions; do
8195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8196 ac_cv_prog_AS="${ncn_progname}"
8197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8207 if test -n "$AS"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8209 $as_echo "$AS" >&6; }
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212 $as_echo "no" >&6; }
8217 test -n "$ac_cv_prog_AS" && break
8220 if test -z "$ac_cv_prog_AS" ; then
8222 if test $build = $host ; then
8225 AS="${ncn_tool_prefix}$2"
8231 if test -n "$DLLTOOL"; then
8232 ac_cv_prog_DLLTOOL=$DLLTOOL
8233 elif test -n "$ac_cv_prog_DLLTOOL"; then
8234 DLLTOOL=$ac_cv_prog_DLLTOOL
8237 if test -n "$ac_cv_prog_DLLTOOL"; then
8238 for ncn_progname in dlltool; do
8239 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8240 set dummy ${ncn_progname}; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8246 if test -n "$DLLTOOL"; then
8247 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8256 ac_cv_prog_DLLTOOL="${ncn_progname}"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 DLLTOOL=$ac_cv_prog_DLLTOOL
8267 if test -n "$DLLTOOL"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8269 $as_echo "$DLLTOOL" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8279 for ncn_progname in dlltool; do
8280 if test -n "$ncn_tool_prefix"; then
8281 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8282 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8284 $as_echo_n "checking for $ac_word... " >&6; }
8285 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8286 $as_echo_n "(cached) " >&6
8288 if test -n "$DLLTOOL"; then
8289 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8295 test -z "$as_dir" && as_dir=.
8296 for ac_exec_ext in '' $ac_executable_extensions; do
8297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8298 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 DLLTOOL=$ac_cv_prog_DLLTOOL
8309 if test -n "$DLLTOOL"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8311 $as_echo "$DLLTOOL" >&6; }
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8319 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8321 set dummy ${ncn_progname}; ac_word=$2
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8323 $as_echo_n "checking for $ac_word... " >&6; }
8324 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8325 $as_echo_n "(cached) " >&6
8327 if test -n "$DLLTOOL"; then
8328 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8334 test -z "$as_dir" && as_dir=.
8335 for ac_exec_ext in '' $ac_executable_extensions; do
8336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8337 ac_cv_prog_DLLTOOL="${ncn_progname}"
8338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 DLLTOOL=$ac_cv_prog_DLLTOOL
8348 if test -n "$DLLTOOL"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8350 $as_echo "$DLLTOOL" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8358 test -n "$ac_cv_prog_DLLTOOL" && break
8361 if test -z "$ac_cv_prog_DLLTOOL" ; then
8363 if test $build = $host ; then
8366 DLLTOOL="${ncn_tool_prefix}$2"
8372 if test -n "$LD"; then
8374 elif test -n "$ac_cv_prog_LD"; then
8378 if test -n "$ac_cv_prog_LD"; then
8379 for ncn_progname in ld; do
8380 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8381 set dummy ${ncn_progname}; ac_word=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if test "${ac_cv_prog_LD+set}" = set; then :
8385 $as_echo_n "(cached) " >&6
8387 if test -n "$LD"; then
8388 ac_cv_prog_LD="$LD" # Let the user override the test.
8390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 test -z "$as_dir" && as_dir=.
8395 for ac_exec_ext in '' $ac_executable_extensions; do
8396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8397 ac_cv_prog_LD="${ncn_progname}"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8408 if test -n "$LD"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8410 $as_echo "$LD" >&6; }
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8420 for ncn_progname in ld; do
8421 if test -n "$ncn_tool_prefix"; then
8422 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8423 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8425 $as_echo_n "checking for $ac_word... " >&6; }
8426 if test "${ac_cv_prog_LD+set}" = set; then :
8427 $as_echo_n "(cached) " >&6
8429 if test -n "$LD"; then
8430 ac_cv_prog_LD="$LD" # Let the user override the test.
8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436 test -z "$as_dir" && as_dir=.
8437 for ac_exec_ext in '' $ac_executable_extensions; do
8438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8439 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8450 if test -n "$LD"; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8452 $as_echo "$LD" >&6; }
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8455 $as_echo "no" >&6; }
8460 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8462 set dummy ${ncn_progname}; ac_word=$2
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8464 $as_echo_n "checking for $ac_word... " >&6; }
8465 if test "${ac_cv_prog_LD+set}" = set; then :
8466 $as_echo_n "(cached) " >&6
8468 if test -n "$LD"; then
8469 ac_cv_prog_LD="$LD" # Let the user override the test.
8471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475 test -z "$as_dir" && as_dir=.
8476 for ac_exec_ext in '' $ac_executable_extensions; do
8477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8478 ac_cv_prog_LD="${ncn_progname}"
8479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8489 if test -n "$LD"; then
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8491 $as_echo "$LD" >&6; }
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8494 $as_echo "no" >&6; }
8499 test -n "$ac_cv_prog_LD" && break
8502 if test -z "$ac_cv_prog_LD" ; then
8504 if test $build = $host ; then
8507 LD="${ncn_tool_prefix}$2"
8513 if test -n "$LIPO"; then
8514 ac_cv_prog_LIPO=$LIPO
8515 elif test -n "$ac_cv_prog_LIPO"; then
8516 LIPO=$ac_cv_prog_LIPO
8519 if test -n "$ac_cv_prog_LIPO"; then
8520 for ncn_progname in lipo; do
8521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8522 set dummy ${ncn_progname}; ac_word=$2
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8524 $as_echo_n "checking for $ac_word... " >&6; }
8525 if test "${ac_cv_prog_LIPO+set}" = set; then :
8526 $as_echo_n "(cached) " >&6
8528 if test -n "$LIPO"; then
8529 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 test -z "$as_dir" && as_dir=.
8536 for ac_exec_ext in '' $ac_executable_extensions; do
8537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8538 ac_cv_prog_LIPO="${ncn_progname}"
8539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 LIPO=$ac_cv_prog_LIPO
8549 if test -n "$LIPO"; then
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8551 $as_echo "$LIPO" >&6; }
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8554 $as_echo "no" >&6; }
8561 for ncn_progname in lipo; do
8562 if test -n "$ncn_tool_prefix"; then
8563 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8564 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8566 $as_echo_n "checking for $ac_word... " >&6; }
8567 if test "${ac_cv_prog_LIPO+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8570 if test -n "$LIPO"; then
8571 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8577 test -z "$as_dir" && as_dir=.
8578 for ac_exec_ext in '' $ac_executable_extensions; do
8579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8580 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8590 LIPO=$ac_cv_prog_LIPO
8591 if test -n "$LIPO"; then
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8593 $as_echo "$LIPO" >&6; }
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8596 $as_echo "no" >&6; }
8601 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8603 set dummy ${ncn_progname}; ac_word=$2
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8605 $as_echo_n "checking for $ac_word... " >&6; }
8606 if test "${ac_cv_prog_LIPO+set}" = set; then :
8607 $as_echo_n "(cached) " >&6
8609 if test -n "$LIPO"; then
8610 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8616 test -z "$as_dir" && as_dir=.
8617 for ac_exec_ext in '' $ac_executable_extensions; do
8618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8619 ac_cv_prog_LIPO="${ncn_progname}"
8620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8629 LIPO=$ac_cv_prog_LIPO
8630 if test -n "$LIPO"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8632 $as_echo "$LIPO" >&6; }
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8640 test -n "$ac_cv_prog_LIPO" && break
8643 if test -z "$ac_cv_prog_LIPO" ; then
8645 if test $build = $host ; then
8648 LIPO="${ncn_tool_prefix}$2"
8654 if test -n "$NM"; then
8656 elif test -n "$ac_cv_prog_NM"; then
8660 if test -n "$ac_cv_prog_NM"; then
8661 for ncn_progname in nm; do
8662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8663 set dummy ${ncn_progname}; ac_word=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if test "${ac_cv_prog_NM+set}" = set; then :
8667 $as_echo_n "(cached) " >&6
8669 if test -n "$NM"; then
8670 ac_cv_prog_NM="$NM" # Let the user override the test.
8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676 test -z "$as_dir" && as_dir=.
8677 for ac_exec_ext in '' $ac_executable_extensions; do
8678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8679 ac_cv_prog_NM="${ncn_progname}"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8690 if test -n "$NM"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8692 $as_echo "$NM" >&6; }
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8702 for ncn_progname in nm; do
8703 if test -n "$ncn_tool_prefix"; then
8704 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8705 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if test "${ac_cv_prog_NM+set}" = set; then :
8709 $as_echo_n "(cached) " >&6
8711 if test -n "$NM"; then
8712 ac_cv_prog_NM="$NM" # Let the user override the test.
8714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8718 test -z "$as_dir" && as_dir=.
8719 for ac_exec_ext in '' $ac_executable_extensions; do
8720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8721 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732 if test -n "$NM"; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8734 $as_echo "$NM" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8737 $as_echo "no" >&6; }
8742 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8744 set dummy ${ncn_progname}; ac_word=$2
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8746 $as_echo_n "checking for $ac_word... " >&6; }
8747 if test "${ac_cv_prog_NM+set}" = set; then :
8748 $as_echo_n "(cached) " >&6
8750 if test -n "$NM"; then
8751 ac_cv_prog_NM="$NM" # Let the user override the test.
8753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir=.
8758 for ac_exec_ext in '' $ac_executable_extensions; do
8759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8760 ac_cv_prog_NM="${ncn_progname}"
8761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 if test -n "$NM"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8773 $as_echo "$NM" >&6; }
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8776 $as_echo "no" >&6; }
8781 test -n "$ac_cv_prog_NM" && break
8784 if test -z "$ac_cv_prog_NM" ; then
8786 if test $build = $host ; then
8789 NM="${ncn_tool_prefix}$2"
8795 if test -n "$RANLIB"; then
8796 ac_cv_prog_RANLIB=$RANLIB
8797 elif test -n "$ac_cv_prog_RANLIB"; then
8798 RANLIB=$ac_cv_prog_RANLIB
8801 if test -n "$ac_cv_prog_RANLIB"; then
8802 for ncn_progname in ranlib; do
8803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8804 set dummy ${ncn_progname}; ac_word=$2
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8806 $as_echo_n "checking for $ac_word... " >&6; }
8807 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8808 $as_echo_n "(cached) " >&6
8810 if test -n "$RANLIB"; then
8811 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8817 test -z "$as_dir" && as_dir=.
8818 for ac_exec_ext in '' $ac_executable_extensions; do
8819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8820 ac_cv_prog_RANLIB="${ncn_progname}"
8821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8830 RANLIB=$ac_cv_prog_RANLIB
8831 if test -n "$RANLIB"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8833 $as_echo "$RANLIB" >&6; }
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8836 $as_echo "no" >&6; }
8843 for ncn_progname in ranlib; do
8844 if test -n "$ncn_tool_prefix"; then
8845 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8846 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8848 $as_echo_n "checking for $ac_word... " >&6; }
8849 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8850 $as_echo_n "(cached) " >&6
8852 if test -n "$RANLIB"; then
8853 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8859 test -z "$as_dir" && as_dir=.
8860 for ac_exec_ext in '' $ac_executable_extensions; do
8861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8862 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8872 RANLIB=$ac_cv_prog_RANLIB
8873 if test -n "$RANLIB"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8875 $as_echo "$RANLIB" >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8883 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8885 set dummy ${ncn_progname}; ac_word=$2
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8887 $as_echo_n "checking for $ac_word... " >&6; }
8888 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8889 $as_echo_n "(cached) " >&6
8891 if test -n "$RANLIB"; then
8892 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8898 test -z "$as_dir" && as_dir=.
8899 for ac_exec_ext in '' $ac_executable_extensions; do
8900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8901 ac_cv_prog_RANLIB="${ncn_progname}"
8902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8911 RANLIB=$ac_cv_prog_RANLIB
8912 if test -n "$RANLIB"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8914 $as_echo "$RANLIB" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8917 $as_echo "no" >&6; }
8922 test -n "$ac_cv_prog_RANLIB" && break
8925 if test -z "$ac_cv_prog_RANLIB" ; then
8931 if test -n "$STRIP"; then
8932 ac_cv_prog_STRIP=$STRIP
8933 elif test -n "$ac_cv_prog_STRIP"; then
8934 STRIP=$ac_cv_prog_STRIP
8937 if test -n "$ac_cv_prog_STRIP"; then
8938 for ncn_progname in strip; do
8939 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8940 set dummy ${ncn_progname}; ac_word=$2
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8942 $as_echo_n "checking for $ac_word... " >&6; }
8943 if test "${ac_cv_prog_STRIP+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8946 if test -n "$STRIP"; then
8947 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953 test -z "$as_dir" && as_dir=.
8954 for ac_exec_ext in '' $ac_executable_extensions; do
8955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8956 ac_cv_prog_STRIP="${ncn_progname}"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8966 STRIP=$ac_cv_prog_STRIP
8967 if test -n "$STRIP"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8969 $as_echo "$STRIP" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8979 for ncn_progname in strip; do
8980 if test -n "$ncn_tool_prefix"; then
8981 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8982 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8984 $as_echo_n "checking for $ac_word... " >&6; }
8985 if test "${ac_cv_prog_STRIP+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8988 if test -n "$STRIP"; then
8989 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8995 test -z "$as_dir" && as_dir=.
8996 for ac_exec_ext in '' $ac_executable_extensions; do
8997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8998 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008 STRIP=$ac_cv_prog_STRIP
9009 if test -n "$STRIP"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9011 $as_echo "$STRIP" >&6; }
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9019 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9021 set dummy ${ncn_progname}; ac_word=$2
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9023 $as_echo_n "checking for $ac_word... " >&6; }
9024 if test "${ac_cv_prog_STRIP+set}" = set; then :
9025 $as_echo_n "(cached) " >&6
9027 if test -n "$STRIP"; then
9028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9034 test -z "$as_dir" && as_dir=.
9035 for ac_exec_ext in '' $ac_executable_extensions; do
9036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9037 ac_cv_prog_STRIP="${ncn_progname}"
9038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9047 STRIP=$ac_cv_prog_STRIP
9048 if test -n "$STRIP"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9050 $as_echo "$STRIP" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9058 test -n "$ac_cv_prog_STRIP" && break
9061 if test -z "$ac_cv_prog_STRIP" ; then
9067 if test -n "$WINDRES"; then
9068 ac_cv_prog_WINDRES=$WINDRES
9069 elif test -n "$ac_cv_prog_WINDRES"; then
9070 WINDRES=$ac_cv_prog_WINDRES
9073 if test -n "$ac_cv_prog_WINDRES"; then
9074 for ncn_progname in windres; do
9075 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9076 set dummy ${ncn_progname}; ac_word=$2
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9078 $as_echo_n "checking for $ac_word... " >&6; }
9079 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9082 if test -n "$WINDRES"; then
9083 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9089 test -z "$as_dir" && as_dir=.
9090 for ac_exec_ext in '' $ac_executable_extensions; do
9091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9092 ac_cv_prog_WINDRES="${ncn_progname}"
9093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9102 WINDRES=$ac_cv_prog_WINDRES
9103 if test -n "$WINDRES"; then
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9105 $as_echo "$WINDRES" >&6; }
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108 $as_echo "no" >&6; }
9115 for ncn_progname in windres; do
9116 if test -n "$ncn_tool_prefix"; then
9117 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9118 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9120 $as_echo_n "checking for $ac_word... " >&6; }
9121 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9122 $as_echo_n "(cached) " >&6
9124 if test -n "$WINDRES"; then
9125 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9134 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9144 WINDRES=$ac_cv_prog_WINDRES
9145 if test -n "$WINDRES"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9147 $as_echo "$WINDRES" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9150 $as_echo "no" >&6; }
9155 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9157 set dummy ${ncn_progname}; ac_word=$2
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9159 $as_echo_n "checking for $ac_word... " >&6; }
9160 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9161 $as_echo_n "(cached) " >&6
9163 if test -n "$WINDRES"; then
9164 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9170 test -z "$as_dir" && as_dir=.
9171 for ac_exec_ext in '' $ac_executable_extensions; do
9172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9173 ac_cv_prog_WINDRES="${ncn_progname}"
9174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9183 WINDRES=$ac_cv_prog_WINDRES
9184 if test -n "$WINDRES"; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9186 $as_echo "$WINDRES" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9194 test -n "$ac_cv_prog_WINDRES" && break
9197 if test -z "$ac_cv_prog_WINDRES" ; then
9199 if test $build = $host ; then
9202 WINDRES="${ncn_tool_prefix}$2"
9208 if test -n "$WINDMC"; then
9209 ac_cv_prog_WINDMC=$WINDMC
9210 elif test -n "$ac_cv_prog_WINDMC"; then
9211 WINDMC=$ac_cv_prog_WINDMC
9214 if test -n "$ac_cv_prog_WINDMC"; then
9215 for ncn_progname in windmc; do
9216 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9217 set dummy ${ncn_progname}; ac_word=$2
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9219 $as_echo_n "checking for $ac_word... " >&6; }
9220 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9221 $as_echo_n "(cached) " >&6
9223 if test -n "$WINDMC"; then
9224 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 test -z "$as_dir" && as_dir=.
9231 for ac_exec_ext in '' $ac_executable_extensions; do
9232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9233 ac_cv_prog_WINDMC="${ncn_progname}"
9234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9243 WINDMC=$ac_cv_prog_WINDMC
9244 if test -n "$WINDMC"; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9246 $as_echo "$WINDMC" >&6; }
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 $as_echo "no" >&6; }
9256 for ncn_progname in windmc; do
9257 if test -n "$ncn_tool_prefix"; then
9258 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9259 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 $as_echo_n "checking for $ac_word... " >&6; }
9262 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9263 $as_echo_n "(cached) " >&6
9265 if test -n "$WINDMC"; then
9266 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9272 test -z "$as_dir" && as_dir=.
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9275 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9285 WINDMC=$ac_cv_prog_WINDMC
9286 if test -n "$WINDMC"; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9288 $as_echo "$WINDMC" >&6; }
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9291 $as_echo "no" >&6; }
9296 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9297 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9298 set dummy ${ncn_progname}; ac_word=$2
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300 $as_echo_n "checking for $ac_word... " >&6; }
9301 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9302 $as_echo_n "(cached) " >&6
9304 if test -n "$WINDMC"; then
9305 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9311 test -z "$as_dir" && as_dir=.
9312 for ac_exec_ext in '' $ac_executable_extensions; do
9313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9314 ac_cv_prog_WINDMC="${ncn_progname}"
9315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9324 WINDMC=$ac_cv_prog_WINDMC
9325 if test -n "$WINDMC"; then
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9327 $as_echo "$WINDMC" >&6; }
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330 $as_echo "no" >&6; }
9335 test -n "$ac_cv_prog_WINDMC" && break
9338 if test -z "$ac_cv_prog_WINDMC" ; then
9340 if test $build = $host ; then
9343 WINDMC="${ncn_tool_prefix}$2"
9349 if test -n "$OBJCOPY"; then
9350 ac_cv_prog_OBJCOPY=$OBJCOPY
9351 elif test -n "$ac_cv_prog_OBJCOPY"; then
9352 OBJCOPY=$ac_cv_prog_OBJCOPY
9355 if test -n "$ac_cv_prog_OBJCOPY"; then
9356 for ncn_progname in objcopy; do
9357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9358 set dummy ${ncn_progname}; ac_word=$2
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9360 $as_echo_n "checking for $ac_word... " >&6; }
9361 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9362 $as_echo_n "(cached) " >&6
9364 if test -n "$OBJCOPY"; then
9365 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9371 test -z "$as_dir" && as_dir=.
9372 for ac_exec_ext in '' $ac_executable_extensions; do
9373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9374 ac_cv_prog_OBJCOPY="${ncn_progname}"
9375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9384 OBJCOPY=$ac_cv_prog_OBJCOPY
9385 if test -n "$OBJCOPY"; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9387 $as_echo "$OBJCOPY" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390 $as_echo "no" >&6; }
9397 for ncn_progname in objcopy; do
9398 if test -n "$ncn_tool_prefix"; then
9399 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9400 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9402 $as_echo_n "checking for $ac_word... " >&6; }
9403 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9404 $as_echo_n "(cached) " >&6
9406 if test -n "$OBJCOPY"; then
9407 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9413 test -z "$as_dir" && as_dir=.
9414 for ac_exec_ext in '' $ac_executable_extensions; do
9415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9416 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 OBJCOPY=$ac_cv_prog_OBJCOPY
9427 if test -n "$OBJCOPY"; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9429 $as_echo "$OBJCOPY" >&6; }
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9432 $as_echo "no" >&6; }
9437 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9438 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9439 set dummy ${ncn_progname}; ac_word=$2
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9441 $as_echo_n "checking for $ac_word... " >&6; }
9442 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9443 $as_echo_n "(cached) " >&6
9445 if test -n "$OBJCOPY"; then
9446 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9452 test -z "$as_dir" && as_dir=.
9453 for ac_exec_ext in '' $ac_executable_extensions; do
9454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9455 ac_cv_prog_OBJCOPY="${ncn_progname}"
9456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9465 OBJCOPY=$ac_cv_prog_OBJCOPY
9466 if test -n "$OBJCOPY"; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9468 $as_echo "$OBJCOPY" >&6; }
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9471 $as_echo "no" >&6; }
9476 test -n "$ac_cv_prog_OBJCOPY" && break
9479 if test -z "$ac_cv_prog_OBJCOPY" ; then
9481 if test $build = $host ; then
9484 OBJCOPY="${ncn_tool_prefix}$2"
9490 if test -n "$OBJDUMP"; then
9491 ac_cv_prog_OBJDUMP=$OBJDUMP
9492 elif test -n "$ac_cv_prog_OBJDUMP"; then
9493 OBJDUMP=$ac_cv_prog_OBJDUMP
9496 if test -n "$ac_cv_prog_OBJDUMP"; then
9497 for ncn_progname in objdump; do
9498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9499 set dummy ${ncn_progname}; ac_word=$2
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9501 $as_echo_n "checking for $ac_word... " >&6; }
9502 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9503 $as_echo_n "(cached) " >&6
9505 if test -n "$OBJDUMP"; then
9506 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9512 test -z "$as_dir" && as_dir=.
9513 for ac_exec_ext in '' $ac_executable_extensions; do
9514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9515 ac_cv_prog_OBJDUMP="${ncn_progname}"
9516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9525 OBJDUMP=$ac_cv_prog_OBJDUMP
9526 if test -n "$OBJDUMP"; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9528 $as_echo "$OBJDUMP" >&6; }
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9531 $as_echo "no" >&6; }
9538 for ncn_progname in objdump; do
9539 if test -n "$ncn_tool_prefix"; then
9540 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9541 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9543 $as_echo_n "checking for $ac_word... " >&6; }
9544 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9545 $as_echo_n "(cached) " >&6
9547 if test -n "$OBJDUMP"; then
9548 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9554 test -z "$as_dir" && as_dir=.
9555 for ac_exec_ext in '' $ac_executable_extensions; do
9556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9557 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9567 OBJDUMP=$ac_cv_prog_OBJDUMP
9568 if test -n "$OBJDUMP"; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9570 $as_echo "$OBJDUMP" >&6; }
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 $as_echo "no" >&6; }
9578 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9579 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9580 set dummy ${ncn_progname}; ac_word=$2
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 $as_echo_n "checking for $ac_word... " >&6; }
9583 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9584 $as_echo_n "(cached) " >&6
9586 if test -n "$OBJDUMP"; then
9587 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9593 test -z "$as_dir" && as_dir=.
9594 for ac_exec_ext in '' $ac_executable_extensions; do
9595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9596 ac_cv_prog_OBJDUMP="${ncn_progname}"
9597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9606 OBJDUMP=$ac_cv_prog_OBJDUMP
9607 if test -n "$OBJDUMP"; then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9609 $as_echo "$OBJDUMP" >&6; }
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612 $as_echo "no" >&6; }
9617 test -n "$ac_cv_prog_OBJDUMP" && break
9620 if test -z "$ac_cv_prog_OBJDUMP" ; then
9622 if test $build = $host ; then
9625 OBJDUMP="${ncn_tool_prefix}$2"
9636 # Check whether --with-build-time-tools was given.
9637 if test "${with_build_time_tools+set}" = set; then :
9638 withval=$with_build_time_tools; case x"$withval" in
9641 with_build_time_tools=
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9643 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9647 with_build_time_tools=
9653 if test -n "$CC_FOR_TARGET"; then
9654 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9655 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9656 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9659 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9660 for ncn_progname in cc gcc; do
9661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9662 set dummy ${ncn_progname}; ac_word=$2
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 $as_echo_n "checking for $ac_word... " >&6; }
9665 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9666 $as_echo_n "(cached) " >&6
9668 if test -n "$CC_FOR_TARGET"; then
9669 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9678 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9688 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9689 if test -n "$CC_FOR_TARGET"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9691 $as_echo "$CC_FOR_TARGET" >&6; }
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 $as_echo "no" >&6; }
9701 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9702 for ncn_progname in cc gcc; do
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9704 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9705 if test -x $with_build_time_tools/${ncn_progname}; then
9706 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9708 $as_echo "yes" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 $as_echo "no" >&6; }
9717 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9718 for ncn_progname in cc gcc; do
9719 if test -n "$ncn_target_tool_prefix"; then
9720 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9721 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9723 $as_echo_n "checking for $ac_word... " >&6; }
9724 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9725 $as_echo_n "(cached) " >&6
9727 if test -n "$CC_FOR_TARGET"; then
9728 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9737 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9748 if test -n "$CC_FOR_TARGET"; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9750 $as_echo "$CC_FOR_TARGET" >&6; }
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9753 $as_echo "no" >&6; }
9758 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9759 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9760 set dummy ${ncn_progname}; ac_word=$2
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9762 $as_echo_n "checking for $ac_word... " >&6; }
9763 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9764 $as_echo_n "(cached) " >&6
9766 if test -n "$CC_FOR_TARGET"; then
9767 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9773 test -z "$as_dir" && as_dir=.
9774 for ac_exec_ext in '' $ac_executable_extensions; do
9775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9776 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9787 if test -n "$CC_FOR_TARGET"; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9789 $as_echo "$CC_FOR_TARGET" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9792 $as_echo "no" >&6; }
9797 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9801 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9803 if test $build = $target ; then
9806 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9809 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9814 if test -n "$CXX_FOR_TARGET"; then
9815 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9816 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9817 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9820 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9821 for ncn_progname in c++ g++ cxx gxx; do
9822 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9823 set dummy ${ncn_progname}; ac_word=$2
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9825 $as_echo_n "checking for $ac_word... " >&6; }
9826 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9827 $as_echo_n "(cached) " >&6
9829 if test -n "$CXX_FOR_TARGET"; then
9830 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9836 test -z "$as_dir" && as_dir=.
9837 for ac_exec_ext in '' $ac_executable_extensions; do
9838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9839 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9849 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9850 if test -n "$CXX_FOR_TARGET"; then
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9852 $as_echo "$CXX_FOR_TARGET" >&6; }
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9855 $as_echo "no" >&6; }
9862 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9863 for ncn_progname in c++ g++ cxx gxx; do
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9865 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9866 if test -x $with_build_time_tools/${ncn_progname}; then
9867 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9869 $as_echo "yes" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9873 $as_echo "no" >&6; }
9878 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9879 for ncn_progname in c++ g++ cxx gxx; do
9880 if test -n "$ncn_target_tool_prefix"; then
9881 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9882 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9884 $as_echo_n "checking for $ac_word... " >&6; }
9885 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9886 $as_echo_n "(cached) " >&6
9888 if test -n "$CXX_FOR_TARGET"; then
9889 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9895 test -z "$as_dir" && as_dir=.
9896 for ac_exec_ext in '' $ac_executable_extensions; do
9897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9898 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9908 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9909 if test -n "$CXX_FOR_TARGET"; then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9911 $as_echo "$CXX_FOR_TARGET" >&6; }
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9914 $as_echo "no" >&6; }
9919 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9920 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9921 set dummy ${ncn_progname}; ac_word=$2
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9923 $as_echo_n "checking for $ac_word... " >&6; }
9924 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9925 $as_echo_n "(cached) " >&6
9927 if test -n "$CXX_FOR_TARGET"; then
9928 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9934 test -z "$as_dir" && as_dir=.
9935 for ac_exec_ext in '' $ac_executable_extensions; do
9936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9937 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9947 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9948 if test -n "$CXX_FOR_TARGET"; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9950 $as_echo "$CXX_FOR_TARGET" >&6; }
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9953 $as_echo "no" >&6; }
9958 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9962 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9963 set dummy c++ g++ cxx gxx
9964 if test $build = $target ; then
9967 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9970 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9975 if test -n "$GCC_FOR_TARGET"; then
9976 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9977 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9978 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9981 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9982 for ncn_progname in gcc; do
9983 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9984 set dummy ${ncn_progname}; ac_word=$2
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9986 $as_echo_n "checking for $ac_word... " >&6; }
9987 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9988 $as_echo_n "(cached) " >&6
9990 if test -n "$GCC_FOR_TARGET"; then
9991 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9997 test -z "$as_dir" && as_dir=.
9998 for ac_exec_ext in '' $ac_executable_extensions; do
9999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10000 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10010 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10011 if test -n "$GCC_FOR_TARGET"; then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10013 $as_echo "$GCC_FOR_TARGET" >&6; }
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10016 $as_echo "no" >&6; }
10023 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10024 for ncn_progname in gcc; do
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10026 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10027 if test -x $with_build_time_tools/${ncn_progname}; then
10028 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10030 $as_echo "yes" >&6; }
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10034 $as_echo "no" >&6; }
10039 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10040 for ncn_progname in gcc; do
10041 if test -n "$ncn_target_tool_prefix"; then
10042 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10043 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10045 $as_echo_n "checking for $ac_word... " >&6; }
10046 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10047 $as_echo_n "(cached) " >&6
10049 if test -n "$GCC_FOR_TARGET"; then
10050 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10053 for as_dir in $PATH
10056 test -z "$as_dir" && as_dir=.
10057 for ac_exec_ext in '' $ac_executable_extensions; do
10058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10059 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10069 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10070 if test -n "$GCC_FOR_TARGET"; then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10072 $as_echo "$GCC_FOR_TARGET" >&6; }
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10075 $as_echo "no" >&6; }
10080 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10082 set dummy ${ncn_progname}; ac_word=$2
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10084 $as_echo_n "checking for $ac_word... " >&6; }
10085 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10086 $as_echo_n "(cached) " >&6
10088 if test -n "$GCC_FOR_TARGET"; then
10089 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10092 for as_dir in $PATH
10095 test -z "$as_dir" && as_dir=.
10096 for ac_exec_ext in '' $ac_executable_extensions; do
10097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10098 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10108 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10109 if test -n "$GCC_FOR_TARGET"; then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10111 $as_echo "$GCC_FOR_TARGET" >&6; }
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10114 $as_echo "no" >&6; }
10119 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10123 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10124 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10126 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10131 if test -n "$GCJ_FOR_TARGET"; then
10132 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10133 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10134 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10137 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10138 for ncn_progname in gcj; do
10139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10140 set dummy ${ncn_progname}; ac_word=$2
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10142 $as_echo_n "checking for $ac_word... " >&6; }
10143 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10144 $as_echo_n "(cached) " >&6
10146 if test -n "$GCJ_FOR_TARGET"; then
10147 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10150 for as_dir in $PATH
10153 test -z "$as_dir" && as_dir=.
10154 for ac_exec_ext in '' $ac_executable_extensions; do
10155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10156 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10167 if test -n "$GCJ_FOR_TARGET"; then
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10169 $as_echo "$GCJ_FOR_TARGET" >&6; }
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10172 $as_echo "no" >&6; }
10179 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10180 for ncn_progname in gcj; do
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10182 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10183 if test -x $with_build_time_tools/${ncn_progname}; then
10184 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10186 $as_echo "yes" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10190 $as_echo "no" >&6; }
10195 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10196 for ncn_progname in gcj; do
10197 if test -n "$ncn_target_tool_prefix"; then
10198 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10199 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10201 $as_echo_n "checking for $ac_word... " >&6; }
10202 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10203 $as_echo_n "(cached) " >&6
10205 if test -n "$GCJ_FOR_TARGET"; then
10206 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in $PATH
10212 test -z "$as_dir" && as_dir=.
10213 for ac_exec_ext in '' $ac_executable_extensions; do
10214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10225 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10226 if test -n "$GCJ_FOR_TARGET"; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10228 $as_echo "$GCJ_FOR_TARGET" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10231 $as_echo "no" >&6; }
10236 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10238 set dummy ${ncn_progname}; ac_word=$2
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10240 $as_echo_n "checking for $ac_word... " >&6; }
10241 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10242 $as_echo_n "(cached) " >&6
10244 if test -n "$GCJ_FOR_TARGET"; then
10245 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10248 for as_dir in $PATH
10251 test -z "$as_dir" && as_dir=.
10252 for ac_exec_ext in '' $ac_executable_extensions; do
10253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10254 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10264 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10265 if test -n "$GCJ_FOR_TARGET"; then
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10267 $as_echo "$GCJ_FOR_TARGET" >&6; }
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10270 $as_echo "no" >&6; }
10275 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10279 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10281 if test $build = $target ; then
10282 GCJ_FOR_TARGET="$2"
10284 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10287 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10292 if test -n "$GFORTRAN_FOR_TARGET"; then
10293 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10294 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10295 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10298 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10299 for ncn_progname in gfortran; do
10300 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10301 set dummy ${ncn_progname}; ac_word=$2
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10303 $as_echo_n "checking for $ac_word... " >&6; }
10304 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10305 $as_echo_n "(cached) " >&6
10307 if test -n "$GFORTRAN_FOR_TARGET"; then
10308 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10311 for as_dir in $PATH
10314 test -z "$as_dir" && as_dir=.
10315 for ac_exec_ext in '' $ac_executable_extensions; do
10316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10317 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10327 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10328 if test -n "$GFORTRAN_FOR_TARGET"; then
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10330 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10333 $as_echo "no" >&6; }
10340 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10341 for ncn_progname in gfortran; do
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10343 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10344 if test -x $with_build_time_tools/${ncn_progname}; then
10345 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10347 $as_echo "yes" >&6; }
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10351 $as_echo "no" >&6; }
10356 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10357 for ncn_progname in gfortran; do
10358 if test -n "$ncn_target_tool_prefix"; then
10359 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10360 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10362 $as_echo_n "checking for $ac_word... " >&6; }
10363 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10364 $as_echo_n "(cached) " >&6
10366 if test -n "$GFORTRAN_FOR_TARGET"; then
10367 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $PATH
10373 test -z "$as_dir" && as_dir=.
10374 for ac_exec_ext in '' $ac_executable_extensions; do
10375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10376 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10386 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10387 if test -n "$GFORTRAN_FOR_TARGET"; then
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10389 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 $as_echo "no" >&6; }
10397 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10399 set dummy ${ncn_progname}; ac_word=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10401 $as_echo_n "checking for $ac_word... " >&6; }
10402 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10403 $as_echo_n "(cached) " >&6
10405 if test -n "$GFORTRAN_FOR_TARGET"; then
10406 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $PATH
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10415 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10425 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10426 if test -n "$GFORTRAN_FOR_TARGET"; then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10428 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10431 $as_echo "no" >&6; }
10436 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10440 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10442 if test $build = $target ; then
10443 GFORTRAN_FOR_TARGET="$2"
10445 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10448 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10453 if test -n "$GOC_FOR_TARGET"; then
10454 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10455 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10456 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10459 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10460 for ncn_progname in gccgo; do
10461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10462 set dummy ${ncn_progname}; ac_word=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10466 $as_echo_n "(cached) " >&6
10468 if test -n "$GOC_FOR_TARGET"; then
10469 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10472 for as_dir in $PATH
10475 test -z "$as_dir" && as_dir=.
10476 for ac_exec_ext in '' $ac_executable_extensions; do
10477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10478 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10488 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10489 if test -n "$GOC_FOR_TARGET"; then
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10491 $as_echo "$GOC_FOR_TARGET" >&6; }
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10494 $as_echo "no" >&6; }
10501 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10502 for ncn_progname in gccgo; do
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10504 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10505 if test -x $with_build_time_tools/${ncn_progname}; then
10506 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10508 $as_echo "yes" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10517 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10518 for ncn_progname in gccgo; do
10519 if test -n "$ncn_target_tool_prefix"; then
10520 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10521 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10523 $as_echo_n "checking for $ac_word... " >&6; }
10524 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10525 $as_echo_n "(cached) " >&6
10527 if test -n "$GOC_FOR_TARGET"; then
10528 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10531 for as_dir in $PATH
10534 test -z "$as_dir" && as_dir=.
10535 for ac_exec_ext in '' $ac_executable_extensions; do
10536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10537 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10547 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10548 if test -n "$GOC_FOR_TARGET"; then
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10550 $as_echo "$GOC_FOR_TARGET" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10553 $as_echo "no" >&6; }
10558 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10560 set dummy ${ncn_progname}; ac_word=$2
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10562 $as_echo_n "checking for $ac_word... " >&6; }
10563 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10564 $as_echo_n "(cached) " >&6
10566 if test -n "$GOC_FOR_TARGET"; then
10567 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10570 for as_dir in $PATH
10573 test -z "$as_dir" && as_dir=.
10574 for ac_exec_ext in '' $ac_executable_extensions; do
10575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10576 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10587 if test -n "$GOC_FOR_TARGET"; then
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10589 $as_echo "$GOC_FOR_TARGET" >&6; }
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 $as_echo "no" >&6; }
10597 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10601 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10603 if test $build = $target ; then
10604 GOC_FOR_TARGET="$2"
10606 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10609 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10614 cat > conftest.c << \EOF
10619 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10620 have_gcc_for_target=yes
10622 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10623 have_gcc_for_target=no
10630 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10631 if test -n "$with_build_time_tools"; then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
10633 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
10634 if test -x $with_build_time_tools/ar; then
10635 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10636 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
10638 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10641 $as_echo "no" >&6; }
10643 elif test $build != $host && test $have_gcc_for_target = yes; then
10644 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10645 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10646 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10649 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10650 # Extract the first word of "ar", so it can be a program name with args.
10651 set dummy ar; ac_word=$2
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10653 $as_echo_n "checking for $ac_word... " >&6; }
10654 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10655 $as_echo_n "(cached) " >&6
10657 case $AR_FOR_TARGET in
10659 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10663 for as_dir in $gcc_cv_tool_dirs
10666 test -z "$as_dir" && as_dir=.
10667 for ac_exec_ext in '' $ac_executable_extensions; do
10668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10669 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10680 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10681 if test -n "$AR_FOR_TARGET"; then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10683 $as_echo "$AR_FOR_TARGET" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10686 $as_echo "no" >&6; }
10691 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10694 if test -n "$AR_FOR_TARGET"; then
10695 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10696 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10697 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10700 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10701 for ncn_progname in ar; do
10702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10703 set dummy ${ncn_progname}; ac_word=$2
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10705 $as_echo_n "checking for $ac_word... " >&6; }
10706 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10707 $as_echo_n "(cached) " >&6
10709 if test -n "$AR_FOR_TARGET"; then
10710 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10713 for as_dir in $PATH
10716 test -z "$as_dir" && as_dir=.
10717 for ac_exec_ext in '' $ac_executable_extensions; do
10718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10719 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10729 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10730 if test -n "$AR_FOR_TARGET"; then
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10732 $as_echo "$AR_FOR_TARGET" >&6; }
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10735 $as_echo "no" >&6; }
10742 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10743 for ncn_progname in ar; do
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10745 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10746 if test -x $with_build_time_tools/${ncn_progname}; then
10747 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10749 $as_echo "yes" >&6; }
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10753 $as_echo "no" >&6; }
10758 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10759 for ncn_progname in ar; do
10760 if test -n "$ncn_target_tool_prefix"; then
10761 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10762 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10764 $as_echo_n "checking for $ac_word... " >&6; }
10765 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10766 $as_echo_n "(cached) " >&6
10768 if test -n "$AR_FOR_TARGET"; then
10769 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10772 for as_dir in $PATH
10775 test -z "$as_dir" && as_dir=.
10776 for ac_exec_ext in '' $ac_executable_extensions; do
10777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10778 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10788 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10789 if test -n "$AR_FOR_TARGET"; then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10791 $as_echo "$AR_FOR_TARGET" >&6; }
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10794 $as_echo "no" >&6; }
10799 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10801 set dummy ${ncn_progname}; ac_word=$2
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10803 $as_echo_n "checking for $ac_word... " >&6; }
10804 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10805 $as_echo_n "(cached) " >&6
10807 if test -n "$AR_FOR_TARGET"; then
10808 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10811 for as_dir in $PATH
10814 test -z "$as_dir" && as_dir=.
10815 for ac_exec_ext in '' $ac_executable_extensions; do
10816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10817 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10827 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10828 if test -n "$AR_FOR_TARGET"; then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10830 $as_echo "$AR_FOR_TARGET" >&6; }
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10833 $as_echo "no" >&6; }
10838 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10842 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10844 if test $build = $target ; then
10847 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10850 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10854 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10860 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10861 if test -n "$with_build_time_tools"; then
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10863 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10864 if test -x $with_build_time_tools/as; then
10865 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10866 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10868 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10871 $as_echo "no" >&6; }
10873 elif test $build != $host && test $have_gcc_for_target = yes; then
10874 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10875 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10876 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10879 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10880 # Extract the first word of "as", so it can be a program name with args.
10881 set dummy as; ac_word=$2
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10883 $as_echo_n "checking for $ac_word... " >&6; }
10884 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10885 $as_echo_n "(cached) " >&6
10887 case $AS_FOR_TARGET in
10889 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10893 for as_dir in $gcc_cv_tool_dirs
10896 test -z "$as_dir" && as_dir=.
10897 for ac_exec_ext in '' $ac_executable_extensions; do
10898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10899 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10910 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10911 if test -n "$AS_FOR_TARGET"; then
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10913 $as_echo "$AS_FOR_TARGET" >&6; }
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10916 $as_echo "no" >&6; }
10921 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10924 if test -n "$AS_FOR_TARGET"; then
10925 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10926 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10927 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10930 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10931 for ncn_progname in as; do
10932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10933 set dummy ${ncn_progname}; ac_word=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10935 $as_echo_n "checking for $ac_word... " >&6; }
10936 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10937 $as_echo_n "(cached) " >&6
10939 if test -n "$AS_FOR_TARGET"; then
10940 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10943 for as_dir in $PATH
10946 test -z "$as_dir" && as_dir=.
10947 for ac_exec_ext in '' $ac_executable_extensions; do
10948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10949 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10959 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10960 if test -n "$AS_FOR_TARGET"; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10962 $as_echo "$AS_FOR_TARGET" >&6; }
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10965 $as_echo "no" >&6; }
10972 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10973 for ncn_progname in as; do
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10975 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10976 if test -x $with_build_time_tools/${ncn_progname}; then
10977 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10979 $as_echo "yes" >&6; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983 $as_echo "no" >&6; }
10988 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10989 for ncn_progname in as; do
10990 if test -n "$ncn_target_tool_prefix"; then
10991 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10992 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10994 $as_echo_n "checking for $ac_word... " >&6; }
10995 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10996 $as_echo_n "(cached) " >&6
10998 if test -n "$AS_FOR_TARGET"; then
10999 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11002 for as_dir in $PATH
11005 test -z "$as_dir" && as_dir=.
11006 for ac_exec_ext in '' $ac_executable_extensions; do
11007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11008 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11018 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11019 if test -n "$AS_FOR_TARGET"; then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11021 $as_echo "$AS_FOR_TARGET" >&6; }
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11024 $as_echo "no" >&6; }
11029 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11031 set dummy ${ncn_progname}; ac_word=$2
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11033 $as_echo_n "checking for $ac_word... " >&6; }
11034 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11035 $as_echo_n "(cached) " >&6
11037 if test -n "$AS_FOR_TARGET"; then
11038 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11041 for as_dir in $PATH
11044 test -z "$as_dir" && as_dir=.
11045 for ac_exec_ext in '' $ac_executable_extensions; do
11046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11047 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11057 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11058 if test -n "$AS_FOR_TARGET"; then
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11060 $as_echo "$AS_FOR_TARGET" >&6; }
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063 $as_echo "no" >&6; }
11068 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11072 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11074 if test $build = $target ; then
11077 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11080 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11084 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11090 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11091 if test -n "$with_build_time_tools"; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11093 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11094 if test -x $with_build_time_tools/dlltool; then
11095 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11096 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11098 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11101 $as_echo "no" >&6; }
11103 elif test $build != $host && test $have_gcc_for_target = yes; then
11104 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11105 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11106 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11109 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11110 # Extract the first word of "dlltool", so it can be a program name with args.
11111 set dummy dlltool; ac_word=$2
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11113 $as_echo_n "checking for $ac_word... " >&6; }
11114 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11115 $as_echo_n "(cached) " >&6
11117 case $DLLTOOL_FOR_TARGET in
11119 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11123 for as_dir in $gcc_cv_tool_dirs
11126 test -z "$as_dir" && as_dir=.
11127 for ac_exec_ext in '' $ac_executable_extensions; do
11128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11129 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11140 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11141 if test -n "$DLLTOOL_FOR_TARGET"; then
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11143 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11146 $as_echo "no" >&6; }
11151 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11154 if test -n "$DLLTOOL_FOR_TARGET"; then
11155 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11156 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11157 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11160 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11161 for ncn_progname in dlltool; do
11162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11163 set dummy ${ncn_progname}; ac_word=$2
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11165 $as_echo_n "checking for $ac_word... " >&6; }
11166 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11167 $as_echo_n "(cached) " >&6
11169 if test -n "$DLLTOOL_FOR_TARGET"; then
11170 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11173 for as_dir in $PATH
11176 test -z "$as_dir" && as_dir=.
11177 for ac_exec_ext in '' $ac_executable_extensions; do
11178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11179 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11189 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11190 if test -n "$DLLTOOL_FOR_TARGET"; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11192 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11195 $as_echo "no" >&6; }
11202 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11203 for ncn_progname in dlltool; do
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11205 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11206 if test -x $with_build_time_tools/${ncn_progname}; then
11207 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11209 $as_echo "yes" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11213 $as_echo "no" >&6; }
11218 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11219 for ncn_progname in dlltool; do
11220 if test -n "$ncn_target_tool_prefix"; then
11221 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11222 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224 $as_echo_n "checking for $ac_word... " >&6; }
11225 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11226 $as_echo_n "(cached) " >&6
11228 if test -n "$DLLTOOL_FOR_TARGET"; then
11229 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11232 for as_dir in $PATH
11235 test -z "$as_dir" && as_dir=.
11236 for ac_exec_ext in '' $ac_executable_extensions; do
11237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11248 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11249 if test -n "$DLLTOOL_FOR_TARGET"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11251 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11254 $as_echo "no" >&6; }
11259 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11260 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11261 set dummy ${ncn_progname}; ac_word=$2
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11263 $as_echo_n "checking for $ac_word... " >&6; }
11264 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11265 $as_echo_n "(cached) " >&6
11267 if test -n "$DLLTOOL_FOR_TARGET"; then
11268 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271 for as_dir in $PATH
11274 test -z "$as_dir" && as_dir=.
11275 for ac_exec_ext in '' $ac_executable_extensions; do
11276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11277 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11287 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11288 if test -n "$DLLTOOL_FOR_TARGET"; then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11290 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11293 $as_echo "no" >&6; }
11298 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11302 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11304 if test $build = $target ; then
11305 DLLTOOL_FOR_TARGET="$2"
11307 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11310 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11314 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11320 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11321 if test -n "$with_build_time_tools"; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11323 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11324 if test -x $with_build_time_tools/ld; then
11325 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11326 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11328 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11331 $as_echo "no" >&6; }
11333 elif test $build != $host && test $have_gcc_for_target = yes; then
11334 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11335 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11336 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11339 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11340 # Extract the first word of "ld", so it can be a program name with args.
11341 set dummy ld; ac_word=$2
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11343 $as_echo_n "checking for $ac_word... " >&6; }
11344 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11347 case $LD_FOR_TARGET in
11349 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $gcc_cv_tool_dirs
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11359 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11370 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11371 if test -n "$LD_FOR_TARGET"; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11373 $as_echo "$LD_FOR_TARGET" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11376 $as_echo "no" >&6; }
11381 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11384 if test -n "$LD_FOR_TARGET"; then
11385 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11386 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11387 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11390 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11391 for ncn_progname in ld; do
11392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11393 set dummy ${ncn_progname}; ac_word=$2
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11395 $as_echo_n "checking for $ac_word... " >&6; }
11396 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11397 $as_echo_n "(cached) " >&6
11399 if test -n "$LD_FOR_TARGET"; then
11400 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403 for as_dir in $PATH
11406 test -z "$as_dir" && as_dir=.
11407 for ac_exec_ext in '' $ac_executable_extensions; do
11408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11409 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11419 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11420 if test -n "$LD_FOR_TARGET"; then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11422 $as_echo "$LD_FOR_TARGET" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11425 $as_echo "no" >&6; }
11432 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11433 for ncn_progname in ld; do
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11435 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11436 if test -x $with_build_time_tools/${ncn_progname}; then
11437 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11439 $as_echo "yes" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 $as_echo "no" >&6; }
11448 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11449 for ncn_progname in ld; do
11450 if test -n "$ncn_target_tool_prefix"; then
11451 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11452 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11454 $as_echo_n "checking for $ac_word... " >&6; }
11455 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11456 $as_echo_n "(cached) " >&6
11458 if test -n "$LD_FOR_TARGET"; then
11459 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11462 for as_dir in $PATH
11465 test -z "$as_dir" && as_dir=.
11466 for ac_exec_ext in '' $ac_executable_extensions; do
11467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11468 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11478 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11479 if test -n "$LD_FOR_TARGET"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11481 $as_echo "$LD_FOR_TARGET" >&6; }
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11484 $as_echo "no" >&6; }
11489 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11491 set dummy ${ncn_progname}; ac_word=$2
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11493 $as_echo_n "checking for $ac_word... " >&6; }
11494 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11495 $as_echo_n "(cached) " >&6
11497 if test -n "$LD_FOR_TARGET"; then
11498 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11507 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11517 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11518 if test -n "$LD_FOR_TARGET"; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11520 $as_echo "$LD_FOR_TARGET" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11523 $as_echo "no" >&6; }
11528 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11532 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11534 if test $build = $target ; then
11537 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11540 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11544 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11550 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11551 if test -n "$with_build_time_tools"; then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
11553 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
11554 if test -x $with_build_time_tools/lipo; then
11555 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11556 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
11558 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11561 $as_echo "no" >&6; }
11563 elif test $build != $host && test $have_gcc_for_target = yes; then
11564 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11565 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11566 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11569 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11570 # Extract the first word of "lipo", so it can be a program name with args.
11571 set dummy lipo; ac_word=$2
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11573 $as_echo_n "checking for $ac_word... " >&6; }
11574 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11575 $as_echo_n "(cached) " >&6
11577 case $LIPO_FOR_TARGET in
11579 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11583 for as_dir in $gcc_cv_tool_dirs
11586 test -z "$as_dir" && as_dir=.
11587 for ac_exec_ext in '' $ac_executable_extensions; do
11588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11589 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11600 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11601 if test -n "$LIPO_FOR_TARGET"; then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11603 $as_echo "$LIPO_FOR_TARGET" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11606 $as_echo "no" >&6; }
11611 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11614 if test -n "$LIPO_FOR_TARGET"; then
11615 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11616 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11617 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11620 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11621 for ncn_progname in lipo; do
11622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11623 set dummy ${ncn_progname}; ac_word=$2
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11625 $as_echo_n "checking for $ac_word... " >&6; }
11626 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11629 if test -n "$LIPO_FOR_TARGET"; then
11630 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11633 for as_dir in $PATH
11636 test -z "$as_dir" && as_dir=.
11637 for ac_exec_ext in '' $ac_executable_extensions; do
11638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11639 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11649 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11650 if test -n "$LIPO_FOR_TARGET"; then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11652 $as_echo "$LIPO_FOR_TARGET" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11655 $as_echo "no" >&6; }
11662 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11663 for ncn_progname in lipo; do
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11665 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11666 if test -x $with_build_time_tools/${ncn_progname}; then
11667 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11669 $as_echo "yes" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11673 $as_echo "no" >&6; }
11678 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11679 for ncn_progname in lipo; do
11680 if test -n "$ncn_target_tool_prefix"; then
11681 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11682 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11684 $as_echo_n "checking for $ac_word... " >&6; }
11685 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11686 $as_echo_n "(cached) " >&6
11688 if test -n "$LIPO_FOR_TARGET"; then
11689 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11692 for as_dir in $PATH
11695 test -z "$as_dir" && as_dir=.
11696 for ac_exec_ext in '' $ac_executable_extensions; do
11697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11698 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11708 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11709 if test -n "$LIPO_FOR_TARGET"; then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11711 $as_echo "$LIPO_FOR_TARGET" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11714 $as_echo "no" >&6; }
11719 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11721 set dummy ${ncn_progname}; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11725 $as_echo_n "(cached) " >&6
11727 if test -n "$LIPO_FOR_TARGET"; then
11728 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11731 for as_dir in $PATH
11734 test -z "$as_dir" && as_dir=.
11735 for ac_exec_ext in '' $ac_executable_extensions; do
11736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11737 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11747 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11748 if test -n "$LIPO_FOR_TARGET"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11750 $as_echo "$LIPO_FOR_TARGET" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11758 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11762 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11764 if test $build = $target ; then
11765 LIPO_FOR_TARGET="$2"
11767 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11770 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11774 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11780 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11781 if test -n "$with_build_time_tools"; then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
11783 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
11784 if test -x $with_build_time_tools/nm; then
11785 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11786 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
11788 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11791 $as_echo "no" >&6; }
11793 elif test $build != $host && test $have_gcc_for_target = yes; then
11794 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11795 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11796 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11799 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11800 # Extract the first word of "nm", so it can be a program name with args.
11801 set dummy nm; ac_word=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 $as_echo_n "checking for $ac_word... " >&6; }
11804 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11805 $as_echo_n "(cached) " >&6
11807 case $NM_FOR_TARGET in
11809 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $gcc_cv_tool_dirs
11816 test -z "$as_dir" && as_dir=.
11817 for ac_exec_ext in '' $ac_executable_extensions; do
11818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11819 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11831 if test -n "$NM_FOR_TARGET"; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11833 $as_echo "$NM_FOR_TARGET" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11836 $as_echo "no" >&6; }
11841 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11844 if test -n "$NM_FOR_TARGET"; then
11845 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11846 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11847 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11850 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11851 for ncn_progname in nm; do
11852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11853 set dummy ${ncn_progname}; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11855 $as_echo_n "checking for $ac_word... " >&6; }
11856 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11857 $as_echo_n "(cached) " >&6
11859 if test -n "$NM_FOR_TARGET"; then
11860 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11863 for as_dir in $PATH
11866 test -z "$as_dir" && as_dir=.
11867 for ac_exec_ext in '' $ac_executable_extensions; do
11868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11869 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11879 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11880 if test -n "$NM_FOR_TARGET"; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11882 $as_echo "$NM_FOR_TARGET" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11885 $as_echo "no" >&6; }
11892 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11893 for ncn_progname in nm; do
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11895 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11896 if test -x $with_build_time_tools/${ncn_progname}; then
11897 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11903 $as_echo "no" >&6; }
11908 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11909 for ncn_progname in nm; do
11910 if test -n "$ncn_target_tool_prefix"; then
11911 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11912 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11914 $as_echo_n "checking for $ac_word... " >&6; }
11915 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11916 $as_echo_n "(cached) " >&6
11918 if test -n "$NM_FOR_TARGET"; then
11919 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11922 for as_dir in $PATH
11925 test -z "$as_dir" && as_dir=.
11926 for ac_exec_ext in '' $ac_executable_extensions; do
11927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11928 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11938 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11939 if test -n "$NM_FOR_TARGET"; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11941 $as_echo "$NM_FOR_TARGET" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944 $as_echo "no" >&6; }
11949 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11951 set dummy ${ncn_progname}; ac_word=$2
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11953 $as_echo_n "checking for $ac_word... " >&6; }
11954 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11955 $as_echo_n "(cached) " >&6
11957 if test -n "$NM_FOR_TARGET"; then
11958 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11961 for as_dir in $PATH
11964 test -z "$as_dir" && as_dir=.
11965 for ac_exec_ext in '' $ac_executable_extensions; do
11966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11967 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11977 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11978 if test -n "$NM_FOR_TARGET"; then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11980 $as_echo "$NM_FOR_TARGET" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11988 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11992 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11994 if test $build = $target ; then
11997 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12000 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12004 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12010 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12011 if test -n "$with_build_time_tools"; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
12013 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
12014 if test -x $with_build_time_tools/objdump; then
12015 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12016 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12018 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12023 elif test $build != $host && test $have_gcc_for_target = yes; then
12024 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12025 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12026 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12029 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12030 # Extract the first word of "objdump", so it can be a program name with args.
12031 set dummy objdump; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12033 $as_echo_n "checking for $ac_word... " >&6; }
12034 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12035 $as_echo_n "(cached) " >&6
12037 case $OBJDUMP_FOR_TARGET in
12039 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $gcc_cv_tool_dirs
12046 test -z "$as_dir" && as_dir=.
12047 for ac_exec_ext in '' $ac_executable_extensions; do
12048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12049 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12060 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12061 if test -n "$OBJDUMP_FOR_TARGET"; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12063 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066 $as_echo "no" >&6; }
12071 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12074 if test -n "$OBJDUMP_FOR_TARGET"; then
12075 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12076 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12077 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12080 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12081 for ncn_progname in objdump; do
12082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12083 set dummy ${ncn_progname}; ac_word=$2
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12085 $as_echo_n "checking for $ac_word... " >&6; }
12086 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12087 $as_echo_n "(cached) " >&6
12089 if test -n "$OBJDUMP_FOR_TARGET"; then
12090 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12093 for as_dir in $PATH
12096 test -z "$as_dir" && as_dir=.
12097 for ac_exec_ext in '' $ac_executable_extensions; do
12098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12099 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12109 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12110 if test -n "$OBJDUMP_FOR_TARGET"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12112 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12122 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12123 for ncn_progname in objdump; do
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12125 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12126 if test -x $with_build_time_tools/${ncn_progname}; then
12127 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12129 $as_echo "yes" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12138 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12139 for ncn_progname in objdump; do
12140 if test -n "$ncn_target_tool_prefix"; then
12141 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12142 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12144 $as_echo_n "checking for $ac_word... " >&6; }
12145 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12146 $as_echo_n "(cached) " >&6
12148 if test -n "$OBJDUMP_FOR_TARGET"; then
12149 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12152 for as_dir in $PATH
12155 test -z "$as_dir" && as_dir=.
12156 for ac_exec_ext in '' $ac_executable_extensions; do
12157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12158 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12168 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12169 if test -n "$OBJDUMP_FOR_TARGET"; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12171 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174 $as_echo "no" >&6; }
12179 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12181 set dummy ${ncn_progname}; ac_word=$2
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12183 $as_echo_n "checking for $ac_word... " >&6; }
12184 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12185 $as_echo_n "(cached) " >&6
12187 if test -n "$OBJDUMP_FOR_TARGET"; then
12188 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12197 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12207 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12208 if test -n "$OBJDUMP_FOR_TARGET"; then
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12210 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12213 $as_echo "no" >&6; }
12218 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12222 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12224 if test $build = $target ; then
12225 OBJDUMP_FOR_TARGET="$2"
12227 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12230 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12234 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12240 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12241 if test -n "$with_build_time_tools"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12243 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12244 if test -x $with_build_time_tools/ranlib; then
12245 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12246 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12248 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12251 $as_echo "no" >&6; }
12253 elif test $build != $host && test $have_gcc_for_target = yes; then
12254 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12255 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12256 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12259 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12260 # Extract the first word of "ranlib", so it can be a program name with args.
12261 set dummy ranlib; ac_word=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12263 $as_echo_n "checking for $ac_word... " >&6; }
12264 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12265 $as_echo_n "(cached) " >&6
12267 case $RANLIB_FOR_TARGET in
12269 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12273 for as_dir in $gcc_cv_tool_dirs
12276 test -z "$as_dir" && as_dir=.
12277 for ac_exec_ext in '' $ac_executable_extensions; do
12278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12279 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12290 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12291 if test -n "$RANLIB_FOR_TARGET"; then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12293 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12296 $as_echo "no" >&6; }
12301 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12304 if test -n "$RANLIB_FOR_TARGET"; then
12305 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12306 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12307 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12310 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12311 for ncn_progname in ranlib; do
12312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12313 set dummy ${ncn_progname}; ac_word=$2
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12315 $as_echo_n "checking for $ac_word... " >&6; }
12316 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12317 $as_echo_n "(cached) " >&6
12319 if test -n "$RANLIB_FOR_TARGET"; then
12320 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12323 for as_dir in $PATH
12326 test -z "$as_dir" && as_dir=.
12327 for ac_exec_ext in '' $ac_executable_extensions; do
12328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12329 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12339 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12340 if test -n "$RANLIB_FOR_TARGET"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12342 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345 $as_echo "no" >&6; }
12352 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12353 for ncn_progname in ranlib; do
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12355 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12356 if test -x $with_build_time_tools/${ncn_progname}; then
12357 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12359 $as_echo "yes" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12363 $as_echo "no" >&6; }
12368 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12369 for ncn_progname in ranlib; do
12370 if test -n "$ncn_target_tool_prefix"; then
12371 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12372 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12374 $as_echo_n "checking for $ac_word... " >&6; }
12375 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12376 $as_echo_n "(cached) " >&6
12378 if test -n "$RANLIB_FOR_TARGET"; then
12379 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12382 for as_dir in $PATH
12385 test -z "$as_dir" && as_dir=.
12386 for ac_exec_ext in '' $ac_executable_extensions; do
12387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12388 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12398 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12399 if test -n "$RANLIB_FOR_TARGET"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12401 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12404 $as_echo "no" >&6; }
12409 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12411 set dummy ${ncn_progname}; ac_word=$2
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12413 $as_echo_n "checking for $ac_word... " >&6; }
12414 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12415 $as_echo_n "(cached) " >&6
12417 if test -n "$RANLIB_FOR_TARGET"; then
12418 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12421 for as_dir in $PATH
12424 test -z "$as_dir" && as_dir=.
12425 for ac_exec_ext in '' $ac_executable_extensions; do
12426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12427 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12438 if test -n "$RANLIB_FOR_TARGET"; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12440 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12448 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12452 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12454 if test $build = $target ; then
12455 RANLIB_FOR_TARGET="$2"
12457 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12460 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12464 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12470 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12471 if test -n "$with_build_time_tools"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
12473 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
12474 if test -x $with_build_time_tools/strip; then
12475 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12476 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
12478 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12483 elif test $build != $host && test $have_gcc_for_target = yes; then
12484 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12485 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12486 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12489 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12490 # Extract the first word of "strip", so it can be a program name with args.
12491 set dummy strip; ac_word=$2
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12493 $as_echo_n "checking for $ac_word... " >&6; }
12494 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12495 $as_echo_n "(cached) " >&6
12497 case $STRIP_FOR_TARGET in
12499 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12503 for as_dir in $gcc_cv_tool_dirs
12506 test -z "$as_dir" && as_dir=.
12507 for ac_exec_ext in '' $ac_executable_extensions; do
12508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12509 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12520 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12521 if test -n "$STRIP_FOR_TARGET"; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12523 $as_echo "$STRIP_FOR_TARGET" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12526 $as_echo "no" >&6; }
12531 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12534 if test -n "$STRIP_FOR_TARGET"; then
12535 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12536 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12537 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12540 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12541 for ncn_progname in strip; do
12542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12543 set dummy ${ncn_progname}; ac_word=$2
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12545 $as_echo_n "checking for $ac_word... " >&6; }
12546 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12547 $as_echo_n "(cached) " >&6
12549 if test -n "$STRIP_FOR_TARGET"; then
12550 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12553 for as_dir in $PATH
12556 test -z "$as_dir" && as_dir=.
12557 for ac_exec_ext in '' $ac_executable_extensions; do
12558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12559 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12569 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12570 if test -n "$STRIP_FOR_TARGET"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12572 $as_echo "$STRIP_FOR_TARGET" >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12575 $as_echo "no" >&6; }
12582 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12583 for ncn_progname in strip; do
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12585 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12586 if test -x $with_build_time_tools/${ncn_progname}; then
12587 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12589 $as_echo "yes" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12593 $as_echo "no" >&6; }
12598 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12599 for ncn_progname in strip; do
12600 if test -n "$ncn_target_tool_prefix"; then
12601 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12602 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12604 $as_echo_n "checking for $ac_word... " >&6; }
12605 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12606 $as_echo_n "(cached) " >&6
12608 if test -n "$STRIP_FOR_TARGET"; then
12609 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12612 for as_dir in $PATH
12615 test -z "$as_dir" && as_dir=.
12616 for ac_exec_ext in '' $ac_executable_extensions; do
12617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12618 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12628 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12629 if test -n "$STRIP_FOR_TARGET"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12631 $as_echo "$STRIP_FOR_TARGET" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12639 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12641 set dummy ${ncn_progname}; ac_word=$2
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12643 $as_echo_n "checking for $ac_word... " >&6; }
12644 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12645 $as_echo_n "(cached) " >&6
12647 if test -n "$STRIP_FOR_TARGET"; then
12648 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12651 for as_dir in $PATH
12654 test -z "$as_dir" && as_dir=.
12655 for ac_exec_ext in '' $ac_executable_extensions; do
12656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12657 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12667 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12668 if test -n "$STRIP_FOR_TARGET"; then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12670 $as_echo "$STRIP_FOR_TARGET" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12678 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12682 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12684 if test $build = $target ; then
12685 STRIP_FOR_TARGET="$2"
12687 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12690 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12694 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12700 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12701 if test -n "$with_build_time_tools"; then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
12703 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
12704 if test -x $with_build_time_tools/windres; then
12705 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12706 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12708 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12713 elif test $build != $host && test $have_gcc_for_target = yes; then
12714 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12715 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12716 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12719 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12720 # Extract the first word of "windres", so it can be a program name with args.
12721 set dummy windres; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12723 $as_echo_n "checking for $ac_word... " >&6; }
12724 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12725 $as_echo_n "(cached) " >&6
12727 case $WINDRES_FOR_TARGET in
12729 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12733 for as_dir in $gcc_cv_tool_dirs
12736 test -z "$as_dir" && as_dir=.
12737 for ac_exec_ext in '' $ac_executable_extensions; do
12738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12739 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12750 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12751 if test -n "$WINDRES_FOR_TARGET"; then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12753 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12756 $as_echo "no" >&6; }
12761 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12764 if test -n "$WINDRES_FOR_TARGET"; then
12765 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12766 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12767 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12770 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12771 for ncn_progname in windres; do
12772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12773 set dummy ${ncn_progname}; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12777 $as_echo_n "(cached) " >&6
12779 if test -n "$WINDRES_FOR_TARGET"; then
12780 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12799 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12800 if test -n "$WINDRES_FOR_TARGET"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12802 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12805 $as_echo "no" >&6; }
12812 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12813 for ncn_progname in windres; do
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12815 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12816 if test -x $with_build_time_tools/${ncn_progname}; then
12817 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12819 $as_echo "yes" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12823 $as_echo "no" >&6; }
12828 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12829 for ncn_progname in windres; do
12830 if test -n "$ncn_target_tool_prefix"; then
12831 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12832 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12834 $as_echo_n "checking for $ac_word... " >&6; }
12835 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12836 $as_echo_n "(cached) " >&6
12838 if test -n "$WINDRES_FOR_TARGET"; then
12839 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12842 for as_dir in $PATH
12845 test -z "$as_dir" && as_dir=.
12846 for ac_exec_ext in '' $ac_executable_extensions; do
12847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12848 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12859 if test -n "$WINDRES_FOR_TARGET"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12861 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12869 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12871 set dummy ${ncn_progname}; ac_word=$2
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12873 $as_echo_n "checking for $ac_word... " >&6; }
12874 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12875 $as_echo_n "(cached) " >&6
12877 if test -n "$WINDRES_FOR_TARGET"; then
12878 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12881 for as_dir in $PATH
12884 test -z "$as_dir" && as_dir=.
12885 for ac_exec_ext in '' $ac_executable_extensions; do
12886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12887 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12897 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12898 if test -n "$WINDRES_FOR_TARGET"; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12900 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12903 $as_echo "no" >&6; }
12908 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12912 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12914 if test $build = $target ; then
12915 WINDRES_FOR_TARGET="$2"
12917 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12920 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12924 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12930 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12931 if test -n "$with_build_time_tools"; then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12933 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12934 if test -x $with_build_time_tools/windmc; then
12935 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12936 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12938 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12943 elif test $build != $host && test $have_gcc_for_target = yes; then
12944 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12945 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12946 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12949 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12950 # Extract the first word of "windmc", so it can be a program name with args.
12951 set dummy windmc; ac_word=$2
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12953 $as_echo_n "checking for $ac_word... " >&6; }
12954 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12955 $as_echo_n "(cached) " >&6
12957 case $WINDMC_FOR_TARGET in
12959 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $gcc_cv_tool_dirs
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12969 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12980 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12981 if test -n "$WINDMC_FOR_TARGET"; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12983 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12986 $as_echo "no" >&6; }
12991 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12994 if test -n "$WINDMC_FOR_TARGET"; then
12995 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12996 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12997 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13000 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13001 for ncn_progname in windmc; do
13002 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13003 set dummy ${ncn_progname}; ac_word=$2
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13005 $as_echo_n "checking for $ac_word... " >&6; }
13006 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13007 $as_echo_n "(cached) " >&6
13009 if test -n "$WINDMC_FOR_TARGET"; then
13010 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13019 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13030 if test -n "$WINDMC_FOR_TARGET"; then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13032 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13035 $as_echo "no" >&6; }
13042 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13043 for ncn_progname in windmc; do
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13045 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13046 if test -x $with_build_time_tools/${ncn_progname}; then
13047 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13049 $as_echo "yes" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13058 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13059 for ncn_progname in windmc; do
13060 if test -n "$ncn_target_tool_prefix"; then
13061 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13062 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13064 $as_echo_n "checking for $ac_word... " >&6; }
13065 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13066 $as_echo_n "(cached) " >&6
13068 if test -n "$WINDMC_FOR_TARGET"; then
13069 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13072 for as_dir in $PATH
13075 test -z "$as_dir" && as_dir=.
13076 for ac_exec_ext in '' $ac_executable_extensions; do
13077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13078 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13088 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13089 if test -n "$WINDMC_FOR_TARGET"; then
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13091 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13094 $as_echo "no" >&6; }
13099 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13101 set dummy ${ncn_progname}; ac_word=$2
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13103 $as_echo_n "checking for $ac_word... " >&6; }
13104 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13105 $as_echo_n "(cached) " >&6
13107 if test -n "$WINDMC_FOR_TARGET"; then
13108 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13111 for as_dir in $PATH
13114 test -z "$as_dir" && as_dir=.
13115 for ac_exec_ext in '' $ac_executable_extensions; do
13116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13117 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13127 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13128 if test -n "$WINDMC_FOR_TARGET"; then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13130 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13133 $as_echo "no" >&6; }
13138 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13142 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13144 if test $build = $target ; then
13145 WINDMC_FOR_TARGET="$2"
13147 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13150 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13154 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13158 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13161 $as_echo_n "checking where to find the target ar... " >&6; }
13162 if test "x${build}" != "x${host}" ; then
13163 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13164 # We already found the complete path
13165 ac_dir=`dirname $AR_FOR_TARGET`
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13167 $as_echo "pre-installed in $ac_dir" >&6; }
13169 # Canadian cross, just use what we found
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13171 $as_echo "pre-installed" >&6; }
13175 case " ${configdirs} " in
13180 if test $ok = yes; then
13181 # An in-tree tool is available and we can use it
13182 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13184 $as_echo "just compiled" >&6; }
13185 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13186 # We already found the complete path
13187 ac_dir=`dirname $AR_FOR_TARGET`
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13189 $as_echo "pre-installed in $ac_dir" >&6; }
13190 elif test "x$target" = "x$host"; then
13191 # We can use an host tool
13192 AR_FOR_TARGET='$(AR)'
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13194 $as_echo "host tool" >&6; }
13196 # We need a cross tool
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13198 $as_echo "pre-installed" >&6; }
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13203 $as_echo_n "checking where to find the target as... " >&6; }
13204 if test "x${build}" != "x${host}" ; then
13205 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13206 # We already found the complete path
13207 ac_dir=`dirname $AS_FOR_TARGET`
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13209 $as_echo "pre-installed in $ac_dir" >&6; }
13211 # Canadian cross, just use what we found
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13213 $as_echo "pre-installed" >&6; }
13217 case " ${configdirs} " in
13222 if test $ok = yes; then
13223 # An in-tree tool is available and we can use it
13224 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13226 $as_echo "just compiled" >&6; }
13227 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13228 # We already found the complete path
13229 ac_dir=`dirname $AS_FOR_TARGET`
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13231 $as_echo "pre-installed in $ac_dir" >&6; }
13232 elif test "x$target" = "x$host"; then
13233 # We can use an host tool
13234 AS_FOR_TARGET='$(AS)'
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13236 $as_echo "host tool" >&6; }
13238 # We need a cross tool
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13240 $as_echo "pre-installed" >&6; }
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
13245 $as_echo_n "checking where to find the target cc... " >&6; }
13246 if test "x${build}" != "x${host}" ; then
13247 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13248 # We already found the complete path
13249 ac_dir=`dirname $CC_FOR_TARGET`
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13251 $as_echo "pre-installed in $ac_dir" >&6; }
13253 # Canadian cross, just use what we found
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13255 $as_echo "pre-installed" >&6; }
13259 case " ${configdirs} " in
13264 if test $ok = yes; then
13265 # An in-tree tool is available and we can use it
13266 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13268 $as_echo "just compiled" >&6; }
13269 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13270 # We already found the complete path
13271 ac_dir=`dirname $CC_FOR_TARGET`
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13273 $as_echo "pre-installed in $ac_dir" >&6; }
13274 elif test "x$target" = "x$host"; then
13275 # We can use an host tool
13276 CC_FOR_TARGET='$(CC)'
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13278 $as_echo "host tool" >&6; }
13280 # We need a cross tool
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13282 $as_echo "pre-installed" >&6; }
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
13287 $as_echo_n "checking where to find the target c++... " >&6; }
13288 if test "x${build}" != "x${host}" ; then
13289 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13290 # We already found the complete path
13291 ac_dir=`dirname $CXX_FOR_TARGET`
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13293 $as_echo "pre-installed in $ac_dir" >&6; }
13295 # Canadian cross, just use what we found
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13297 $as_echo "pre-installed" >&6; }
13301 case " ${configdirs} " in
13305 case ,${enable_languages}, in
13309 if test $ok = yes; then
13310 # An in-tree tool is available and we can use it
13311 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'
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13313 $as_echo "just compiled" >&6; }
13314 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13315 # We already found the complete path
13316 ac_dir=`dirname $CXX_FOR_TARGET`
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13318 $as_echo "pre-installed in $ac_dir" >&6; }
13319 elif test "x$target" = "x$host"; then
13320 # We can use an host tool
13321 CXX_FOR_TARGET='$(CXX)'
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13323 $as_echo "host tool" >&6; }
13325 # We need a cross tool
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13327 $as_echo "pre-installed" >&6; }
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
13332 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
13333 if test "x${build}" != "x${host}" ; then
13334 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13335 # We already found the complete path
13336 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13338 $as_echo "pre-installed in $ac_dir" >&6; }
13340 # Canadian cross, just use what we found
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13342 $as_echo "pre-installed" >&6; }
13346 case " ${configdirs} " in
13350 case ,${enable_languages}, in
13354 if test $ok = yes; then
13355 # An in-tree tool is available and we can use it
13356 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'
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13358 $as_echo "just compiled" >&6; }
13359 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13360 # We already found the complete path
13361 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13363 $as_echo "pre-installed in $ac_dir" >&6; }
13364 elif test "x$target" = "x$host"; then
13365 # We can use an host tool
13366 RAW_CXX_FOR_TARGET='$(CXX)'
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13368 $as_echo "host tool" >&6; }
13370 # We need a cross tool
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13372 $as_echo "pre-installed" >&6; }
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
13377 $as_echo_n "checking where to find the target dlltool... " >&6; }
13378 if test "x${build}" != "x${host}" ; then
13379 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13380 # We already found the complete path
13381 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13383 $as_echo "pre-installed in $ac_dir" >&6; }
13385 # Canadian cross, just use what we found
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13387 $as_echo "pre-installed" >&6; }
13391 case " ${configdirs} " in
13396 if test $ok = yes; then
13397 # An in-tree tool is available and we can use it
13398 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13400 $as_echo "just compiled" >&6; }
13401 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13402 # We already found the complete path
13403 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13405 $as_echo "pre-installed in $ac_dir" >&6; }
13406 elif test "x$target" = "x$host"; then
13407 # We can use an host tool
13408 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13410 $as_echo "host tool" >&6; }
13412 # We need a cross tool
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13414 $as_echo "pre-installed" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
13419 $as_echo_n "checking where to find the target gcc... " >&6; }
13420 if test "x${build}" != "x${host}" ; then
13421 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13422 # We already found the complete path
13423 ac_dir=`dirname $GCC_FOR_TARGET`
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13425 $as_echo "pre-installed in $ac_dir" >&6; }
13427 # Canadian cross, just use what we found
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13429 $as_echo "pre-installed" >&6; }
13433 case " ${configdirs} " in
13438 if test $ok = yes; then
13439 # An in-tree tool is available and we can use it
13440 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13442 $as_echo "just compiled" >&6; }
13443 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13444 # We already found the complete path
13445 ac_dir=`dirname $GCC_FOR_TARGET`
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13447 $as_echo "pre-installed in $ac_dir" >&6; }
13448 elif test "x$target" = "x$host"; then
13449 # We can use an host tool
13450 GCC_FOR_TARGET='$()'
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13452 $as_echo "host tool" >&6; }
13454 # We need a cross tool
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13456 $as_echo "pre-installed" >&6; }
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
13461 $as_echo_n "checking where to find the target gcj... " >&6; }
13462 if test "x${build}" != "x${host}" ; then
13463 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13464 # We already found the complete path
13465 ac_dir=`dirname $GCJ_FOR_TARGET`
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13467 $as_echo "pre-installed in $ac_dir" >&6; }
13469 # Canadian cross, just use what we found
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13471 $as_echo "pre-installed" >&6; }
13475 case " ${configdirs} " in
13479 case ,${enable_languages}, in
13483 if test $ok = yes; then
13484 # An in-tree tool is available and we can use it
13485 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13487 $as_echo "just compiled" >&6; }
13488 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13489 # We already found the complete path
13490 ac_dir=`dirname $GCJ_FOR_TARGET`
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13492 $as_echo "pre-installed in $ac_dir" >&6; }
13493 elif test "x$target" = "x$host"; then
13494 # We can use an host tool
13495 GCJ_FOR_TARGET='$(GCJ)'
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13497 $as_echo "host tool" >&6; }
13499 # We need a cross tool
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13501 $as_echo "pre-installed" >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
13506 $as_echo_n "checking where to find the target gfortran... " >&6; }
13507 if test "x${build}" != "x${host}" ; then
13508 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13509 # We already found the complete path
13510 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13512 $as_echo "pre-installed in $ac_dir" >&6; }
13514 # Canadian cross, just use what we found
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13516 $as_echo "pre-installed" >&6; }
13520 case " ${configdirs} " in
13524 case ,${enable_languages}, in
13528 if test $ok = yes; then
13529 # An in-tree tool is available and we can use it
13530 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13532 $as_echo "just compiled" >&6; }
13533 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13534 # We already found the complete path
13535 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13537 $as_echo "pre-installed in $ac_dir" >&6; }
13538 elif test "x$target" = "x$host"; then
13539 # We can use an host tool
13540 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13542 $as_echo "host tool" >&6; }
13544 # We need a cross tool
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13546 $as_echo "pre-installed" >&6; }
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
13551 $as_echo_n "checking where to find the target gccgo... " >&6; }
13552 if test "x${build}" != "x${host}" ; then
13553 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13554 # We already found the complete path
13555 ac_dir=`dirname $GOC_FOR_TARGET`
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13557 $as_echo "pre-installed in $ac_dir" >&6; }
13559 # Canadian cross, just use what we found
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13561 $as_echo "pre-installed" >&6; }
13565 case " ${configdirs} " in
13569 case ,${enable_languages}, in
13573 if test $ok = yes; then
13574 # An in-tree tool is available and we can use it
13575 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13577 $as_echo "just compiled" >&6; }
13578 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13579 # We already found the complete path
13580 ac_dir=`dirname $GOC_FOR_TARGET`
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13582 $as_echo "pre-installed in $ac_dir" >&6; }
13583 elif test "x$target" = "x$host"; then
13584 # We can use an host tool
13585 GOC_FOR_TARGET='$(GOC)'
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13587 $as_echo "host tool" >&6; }
13589 # We need a cross tool
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13591 $as_echo "pre-installed" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
13596 $as_echo_n "checking where to find the target ld... " >&6; }
13597 if test "x${build}" != "x${host}" ; then
13598 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13599 # We already found the complete path
13600 ac_dir=`dirname $LD_FOR_TARGET`
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13602 $as_echo "pre-installed in $ac_dir" >&6; }
13604 # Canadian cross, just use what we found
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13606 $as_echo "pre-installed" >&6; }
13610 case " ${configdirs} " in
13615 if test $ok = yes; then
13616 # An in-tree tool is available and we can use it
13617 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13619 $as_echo "just compiled" >&6; }
13620 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13621 # We already found the complete path
13622 ac_dir=`dirname $LD_FOR_TARGET`
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13624 $as_echo "pre-installed in $ac_dir" >&6; }
13625 elif test "x$target" = "x$host"; then
13626 # We can use an host tool
13627 LD_FOR_TARGET='$(LD)'
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13629 $as_echo "host tool" >&6; }
13631 # We need a cross tool
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13633 $as_echo "pre-installed" >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
13638 $as_echo_n "checking where to find the target lipo... " >&6; }
13639 if test "x${build}" != "x${host}" ; then
13640 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13641 # We already found the complete path
13642 ac_dir=`dirname $LIPO_FOR_TARGET`
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13644 $as_echo "pre-installed in $ac_dir" >&6; }
13646 # Canadian cross, just use what we found
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13648 $as_echo "pre-installed" >&6; }
13651 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13652 # We already found the complete path
13653 ac_dir=`dirname $LIPO_FOR_TARGET`
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13655 $as_echo "pre-installed in $ac_dir" >&6; }
13656 elif test "x$target" = "x$host"; then
13657 # We can use an host tool
13658 LIPO_FOR_TARGET='$(LIPO)'
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13660 $as_echo "host tool" >&6; }
13662 # We need a cross tool
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13664 $as_echo "pre-installed" >&6; }
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
13669 $as_echo_n "checking where to find the target nm... " >&6; }
13670 if test "x${build}" != "x${host}" ; then
13671 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13672 # We already found the complete path
13673 ac_dir=`dirname $NM_FOR_TARGET`
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13675 $as_echo "pre-installed in $ac_dir" >&6; }
13677 # Canadian cross, just use what we found
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13679 $as_echo "pre-installed" >&6; }
13683 case " ${configdirs} " in
13688 if test $ok = yes; then
13689 # An in-tree tool is available and we can use it
13690 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13692 $as_echo "just compiled" >&6; }
13693 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13694 # We already found the complete path
13695 ac_dir=`dirname $NM_FOR_TARGET`
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13697 $as_echo "pre-installed in $ac_dir" >&6; }
13698 elif test "x$target" = "x$host"; then
13699 # We can use an host tool
13700 NM_FOR_TARGET='$(NM)'
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13702 $as_echo "host tool" >&6; }
13704 # We need a cross tool
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13706 $as_echo "pre-installed" >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
13711 $as_echo_n "checking where to find the target objdump... " >&6; }
13712 if test "x${build}" != "x${host}" ; then
13713 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13714 # We already found the complete path
13715 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13717 $as_echo "pre-installed in $ac_dir" >&6; }
13719 # Canadian cross, just use what we found
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13721 $as_echo "pre-installed" >&6; }
13725 case " ${configdirs} " in
13730 if test $ok = yes; then
13731 # An in-tree tool is available and we can use it
13732 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13734 $as_echo "just compiled" >&6; }
13735 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13736 # We already found the complete path
13737 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13739 $as_echo "pre-installed in $ac_dir" >&6; }
13740 elif test "x$target" = "x$host"; then
13741 # We can use an host tool
13742 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13744 $as_echo "host tool" >&6; }
13746 # We need a cross tool
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13748 $as_echo "pre-installed" >&6; }
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
13753 $as_echo_n "checking where to find the target ranlib... " >&6; }
13754 if test "x${build}" != "x${host}" ; then
13755 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13756 # We already found the complete path
13757 ac_dir=`dirname $RANLIB_FOR_TARGET`
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13759 $as_echo "pre-installed in $ac_dir" >&6; }
13761 # Canadian cross, just use what we found
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13763 $as_echo "pre-installed" >&6; }
13767 case " ${configdirs} " in
13772 if test $ok = yes; then
13773 # An in-tree tool is available and we can use it
13774 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13776 $as_echo "just compiled" >&6; }
13777 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13778 # We already found the complete path
13779 ac_dir=`dirname $RANLIB_FOR_TARGET`
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13781 $as_echo "pre-installed in $ac_dir" >&6; }
13782 elif test "x$target" = "x$host"; then
13783 # We can use an host tool
13784 RANLIB_FOR_TARGET='$(RANLIB)'
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13786 $as_echo "host tool" >&6; }
13788 # We need a cross tool
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13790 $as_echo "pre-installed" >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
13795 $as_echo_n "checking where to find the target strip... " >&6; }
13796 if test "x${build}" != "x${host}" ; then
13797 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13798 # We already found the complete path
13799 ac_dir=`dirname $STRIP_FOR_TARGET`
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13801 $as_echo "pre-installed in $ac_dir" >&6; }
13803 # Canadian cross, just use what we found
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13805 $as_echo "pre-installed" >&6; }
13809 case " ${configdirs} " in
13814 if test $ok = yes; then
13815 # An in-tree tool is available and we can use it
13816 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13818 $as_echo "just compiled" >&6; }
13819 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13820 # We already found the complete path
13821 ac_dir=`dirname $STRIP_FOR_TARGET`
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13823 $as_echo "pre-installed in $ac_dir" >&6; }
13824 elif test "x$target" = "x$host"; then
13825 # We can use an host tool
13826 STRIP_FOR_TARGET='$(STRIP)'
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13828 $as_echo "host tool" >&6; }
13830 # We need a cross tool
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13832 $as_echo "pre-installed" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
13837 $as_echo_n "checking where to find the target windres... " >&6; }
13838 if test "x${build}" != "x${host}" ; then
13839 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13840 # We already found the complete path
13841 ac_dir=`dirname $WINDRES_FOR_TARGET`
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13843 $as_echo "pre-installed in $ac_dir" >&6; }
13845 # Canadian cross, just use what we found
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13847 $as_echo "pre-installed" >&6; }
13851 case " ${configdirs} " in
13856 if test $ok = yes; then
13857 # An in-tree tool is available and we can use it
13858 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13860 $as_echo "just compiled" >&6; }
13861 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13862 # We already found the complete path
13863 ac_dir=`dirname $WINDRES_FOR_TARGET`
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13865 $as_echo "pre-installed in $ac_dir" >&6; }
13866 elif test "x$target" = "x$host"; then
13867 # We can use an host tool
13868 WINDRES_FOR_TARGET='$(WINDRES)'
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13870 $as_echo "host tool" >&6; }
13872 # We need a cross tool
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13874 $as_echo "pre-installed" >&6; }
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13879 $as_echo_n "checking where to find the target windmc... " >&6; }
13880 if test "x${build}" != "x${host}" ; then
13881 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13882 # We already found the complete path
13883 ac_dir=`dirname $WINDMC_FOR_TARGET`
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13885 $as_echo "pre-installed in $ac_dir" >&6; }
13887 # Canadian cross, just use what we found
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13889 $as_echo "pre-installed" >&6; }
13893 case " ${configdirs} " in
13898 if test $ok = yes; then
13899 # An in-tree tool is available and we can use it
13900 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13902 $as_echo "just compiled" >&6; }
13903 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13904 # We already found the complete path
13905 ac_dir=`dirname $WINDMC_FOR_TARGET`
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13907 $as_echo "pre-installed in $ac_dir" >&6; }
13908 elif test "x$target" = "x$host"; then
13909 # We can use an host tool
13910 WINDMC_FOR_TARGET='$(WINDMC)'
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13912 $as_echo "host tool" >&6; }
13914 # We need a cross tool
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13916 $as_echo "pre-installed" >&6; }
13924 # Certain tools may need extra flags.
13925 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13926 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13927 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13929 # When building target libraries, except in a Canadian cross, we use
13930 # the same toolchain as the compiler we just built.
13931 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13932 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13933 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13934 if test $host = $build; then
13935 case " $configdirs " in
13937 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13938 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13939 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13949 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13950 # Check whether --enable-maintainer-mode was given.
13951 if test "${enable_maintainer_mode+set}" = set; then :
13952 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13954 USE_MAINTAINER_MODE=no
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13958 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13961 if test "$USE_MAINTAINER_MODE" = yes; then
13962 MAINTAINER_MODE_TRUE=
13963 MAINTAINER_MODE_FALSE='#'
13965 MAINTAINER_MODE_TRUE='#'
13966 MAINTAINER_MODE_FALSE=
13968 MAINT=$MAINTAINER_MODE_TRUE
13970 # ---------------------
13971 # GCC bootstrap support
13972 # ---------------------
13974 # Stage specific cflags for build.
13979 yes) stage1_cflags="-g -Wa,-J" ;;
13980 *) stage1_cflags="-g -J" ;;
13984 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13985 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13986 saved_CFLAGS="$CFLAGS"
13988 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13989 CFLAGS="$CFLAGS -fkeep-inline-functions"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
13991 $as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 #if (__GNUC__ < 3) \
13996 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13997 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13998 #error http://gcc.gnu.org/PR29382
14009 if ac_fn_c_try_compile "$LINENO"; then :
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14011 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14018 CFLAGS="$saved_CFLAGS"
14023 # Enable --enable-checking in stage1 of the compiler.
14024 # Check whether --enable-stage1-checking was given.
14025 if test "${enable_stage1_checking+set}" = set; then :
14026 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14028 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
14029 stage1_checking=--enable-checking=yes,types
14031 stage1_checking=--enable-checking=$enable_checking,types
14037 # Enable -Werror in bootstrap stage2 and later.
14038 # Check whether --enable-werror was given.
14039 if test "${enable_werror+set}" = set; then :
14040 enableval=$enable_werror;
14042 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14049 case ${enable_werror} in
14050 yes) stage2_werror_flag="--enable-werror-always" ;;
14051 *) stage2_werror_flag="" ;;
14055 # Specify what files to not compare during bootstrap.
14057 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
14059 hppa*64*-*-hpux*) ;;
14060 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
14062 case " $configdirs " in
14063 *" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
14067 ac_config_files="$ac_config_files Makefile"
14069 cat >confcache <<\_ACEOF
14070 # This file is a shell script that caches the results of configure
14071 # tests run on this system so they can be shared between configure
14072 # scripts and configure runs, see configure's option --config-cache.
14073 # It is not useful on other systems. If it contains results you don't
14074 # want to keep, you may remove or edit it.
14076 # config.status only pays attention to the cache file if you give it
14077 # the --recheck option to rerun configure.
14079 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14080 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14081 # following values.
14085 # The following way of writing the cache mishandles newlines in values,
14086 # but we know of no workaround that is simple, portable, and efficient.
14087 # So, we kill variables containing newlines.
14088 # Ultrix sh set writes to stderr and can't be redirected directly,
14089 # and sets the high bit in the cache file unless we assign to the vars.
14091 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14092 eval ac_val=\$$ac_var
14096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14100 _ | IFS | as_nl) ;; #(
14101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14102 *) { eval $ac_var=; unset $ac_var;} ;;
14108 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14109 *${as_nl}ac_space=\ *)
14110 # `set' does not quote correctly, so add quotes: double-quote
14111 # substitution turns \\\\ into \\, and sed turns \\ into \.
14114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14117 # `set' quotes correctly as required by POSIX, so do not add quotes.
14118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14129 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14131 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14132 if test -w "$cache_file"; then
14133 test "x$cache_file" != "x/dev/null" &&
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14135 $as_echo "$as_me: updating cache $cache_file" >&6;}
14136 cat confcache >$cache_file
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14139 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14144 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14145 # Let make expand exec_prefix.
14146 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14148 # Transform confdefs.h into DEFS.
14149 # Protect against shell expansion while executing Makefile rules.
14150 # Protect against Makefile macro expansion.
14152 # If the first sed substitution is executed (which looks for macros that
14153 # take arguments), then branch to the quote section. Otherwise,
14154 # look for a macro that doesn't take arguments.
14164 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14166 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14170 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14183 DEFS=`sed -n "$ac_script" confdefs.h`
14188 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14189 # 1. Remove the extension, and $U if already installed.
14190 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14191 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14192 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14193 # will be set to the directory where LIBOBJS objects are built.
14194 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14195 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14197 LIBOBJS=$ac_libobjs
14199 LTLIBOBJS=$ac_ltlibobjs
14203 : ${CONFIG_STATUS=./config.status}
14205 ac_clean_files_save=$ac_clean_files
14206 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14208 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14210 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14212 # Generated by $as_me.
14213 # Run this file to recreate the current configuration.
14214 # Compiler output produced by configure, useful for debugging
14215 # configure, is in config.log if it exists.
14218 ac_cs_recheck=false
14221 SHELL=\${CONFIG_SHELL-$SHELL}
14224 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14225 ## -------------------- ##
14226 ## M4sh Initialization. ##
14227 ## -------------------- ##
14229 # Be more Bourne compatible
14230 DUALCASE=1; export DUALCASE # for MKS sh
14231 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14234 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14235 # is contrary to our usage. Disable this feature.
14236 alias -g '${1+"$@"}'='"$@"'
14237 setopt NO_GLOB_SUBST
14239 case `(set -o) 2>/dev/null` in #(
14251 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14252 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14253 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14254 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14255 # Prefer a ksh shell builtin over an external printf program on Solaris,
14256 # but without wasting forks for bash or zsh.
14257 if test -z "$BASH_VERSION$ZSH_VERSION" \
14258 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14259 as_echo='print -r --'
14260 as_echo_n='print -rn --'
14261 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14262 as_echo='printf %s\n'
14263 as_echo_n='printf %s'
14265 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14266 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14267 as_echo_n='/usr/ucb/echo -n'
14269 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14270 as_echo_n_body='eval
14274 expr "X$arg" : "X\\(.*\\)$as_nl";
14275 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14277 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14279 export as_echo_n_body
14280 as_echo_n='sh -c $as_echo_n_body as_echo'
14282 export as_echo_body
14283 as_echo='sh -c $as_echo_body as_echo'
14286 # The user is always right.
14287 if test "${PATH_SEPARATOR+set}" != set; then
14289 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14290 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14297 # We need space, tab and new line, in precisely that order. Quoting is
14298 # there to prevent editors from complaining about space-tab.
14299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14300 # splitting by setting IFS to empty value.)
14303 # Find who we are. Look in the path if we contain no directory separator.
14305 *[\\/]* ) as_myself=$0 ;;
14306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14307 for as_dir in $PATH
14310 test -z "$as_dir" && as_dir=.
14311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14317 # We did not find ourselves, most probably we were run as `sh COMMAND'
14318 # in which case we are not to be found in the path.
14319 if test "x$as_myself" = x; then
14322 if test ! -f "$as_myself"; then
14323 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14327 # Unset variables that we do not need and which cause bugs (e.g. in
14328 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14329 # suppresses any "Segmentation fault" message there. '((' could
14330 # trigger a bug in pdksh 5.2.14.
14331 for as_var in BASH_ENV ENV MAIL MAILPATH
14332 do eval test x\${$as_var+set} = xset \
14333 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14346 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14349 # as_fn_error ERROR [LINENO LOG_FD]
14350 # ---------------------------------
14351 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14352 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14353 # script with status $?, using 1 if that was 0.
14356 as_status=$?; test $as_status -eq 0 && as_status=1
14358 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14359 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14361 $as_echo "$as_me: error: $1" >&2
14362 as_fn_exit $as_status
14366 # as_fn_set_status STATUS
14367 # -----------------------
14368 # Set $? to STATUS, without forking.
14369 as_fn_set_status ()
14372 } # as_fn_set_status
14374 # as_fn_exit STATUS
14375 # -----------------
14376 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14380 as_fn_set_status $1
14386 # Portably unset VAR.
14389 { eval $1=; unset $1;}
14391 as_unset=as_fn_unset
14392 # as_fn_append VAR VALUE
14393 # ----------------------
14394 # Append the text in VALUE to the end of the definition contained in VAR. Take
14395 # advantage of any shell optimizations that allow amortized linear growth over
14396 # repeated appends, instead of the typical quadratic growth present in naive
14398 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14399 eval 'as_fn_append ()
14410 # as_fn_arith ARG...
14411 # ------------------
14412 # Perform arithmetic evaluation on the ARGs, and store the result in the
14413 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14414 # must be portable across $(()) and expr.
14415 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14416 eval 'as_fn_arith ()
14423 as_val=`expr "$@" || test $? -eq 1`
14428 if expr a : '\(a\)' >/dev/null 2>&1 &&
14429 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14435 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14436 as_basename=basename
14441 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14447 as_me=`$as_basename -- "$0" ||
14448 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14449 X"$0" : 'X\(//\)$' \| \
14450 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14452 sed '/^.*\/\([^/][^/]*\)\/*$/{
14466 # Avoid depending upon Character Ranges.
14467 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14468 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14469 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14470 as_cr_digits='0123456789'
14471 as_cr_alnum=$as_cr_Letters$as_cr_digits
14473 ECHO_C= ECHO_N= ECHO_T=
14474 case `echo -n x` in #(((((
14476 case `echo 'xy\c'` in
14477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14479 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14486 rm -f conf$$ conf$$.exe conf$$.file
14487 if test -d conf$$.dir; then
14488 rm -f conf$$.dir/conf$$.file
14491 mkdir conf$$.dir 2>/dev/null
14493 if (echo >conf$$.file) 2>/dev/null; then
14494 if ln -s conf$$.file conf$$ 2>/dev/null; then
14496 # ... but there are two gotchas:
14497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14499 # In both cases, we have to default to `cp -p'.
14500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14502 elif ln conf$$.file conf$$ 2>/dev/null; then
14510 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14511 rmdir conf$$.dir 2>/dev/null
14516 # Create "$as_dir" as a directory, including parents if necessary.
14521 -*) as_dir=./$as_dir;;
14523 test -d "$as_dir" || eval $as_mkdir_p || {
14527 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14528 *) as_qdir=$as_dir;;
14530 as_dirs="'$as_qdir' $as_dirs"
14531 as_dir=`$as_dirname -- "$as_dir" ||
14532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14533 X"$as_dir" : 'X\(//\)[^/]' \| \
14534 X"$as_dir" : 'X\(//\)$' \| \
14535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14536 $as_echo X"$as_dir" |
14537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14541 /^X\(\/\/\)[^/].*/{
14554 test -d "$as_dir" && break
14556 test -z "$as_dirs" || eval "mkdir $as_dirs"
14557 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14561 if mkdir -p . 2>/dev/null; then
14562 as_mkdir_p='mkdir -p "$as_dir"'
14564 test -d ./-p && rmdir ./-p
14568 if test -x / >/dev/null 2>&1; then
14569 as_test_x='test -x'
14571 if ls -dL / >/dev/null 2>&1; then
14578 if test -d "$1"; then
14584 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14585 ???[sx]*):;;*)false;;esac;fi
14589 as_executable_p=$as_test_x
14591 # Sed expression to map a string onto a valid CPP name.
14592 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14594 # Sed expression to map a string onto a valid variable name.
14595 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14599 ## ----------------------------------- ##
14600 ## Main body of $CONFIG_STATUS script. ##
14601 ## ----------------------------------- ##
14603 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14606 # Save the log message, to keep $0 and so on meaningful, and to
14607 # report actual input values of CONFIG_FILES etc. instead of their
14608 # values after options handling.
14610 This file was extended by $as_me, which was
14611 generated by GNU Autoconf 2.64. Invocation command line was
14613 CONFIG_FILES = $CONFIG_FILES
14614 CONFIG_HEADERS = $CONFIG_HEADERS
14615 CONFIG_LINKS = $CONFIG_LINKS
14616 CONFIG_COMMANDS = $CONFIG_COMMANDS
14619 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14624 case $ac_config_files in *"
14625 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14631 # Files that config.status was made for.
14632 config_files="$ac_config_files"
14636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14638 \`$as_me' instantiates files and other configuration actions
14639 from templates according to the current configuration. Unless the files
14640 and actions are specified as TAGs, all are instantiated by default.
14642 Usage: $0 [OPTION]... [TAG]...
14644 -h, --help print this help, then exit
14645 -V, --version print version number and configuration settings, then exit
14646 -q, --quiet, --silent
14647 do not print progress messages
14648 -d, --debug don't remove temporary files
14649 --recheck update $as_me by reconfiguring in the same conditions
14650 --file=FILE[:TEMPLATE]
14651 instantiate the configuration file FILE
14653 Configuration files:
14656 Report bugs to the package provider."
14659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14662 configured by $0, generated by GNU Autoconf 2.64,
14663 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14665 Copyright (C) 2009 Free Software Foundation, Inc.
14666 This config.status script is free software; the Free Software Foundation
14667 gives unlimited permission to copy, distribute and modify it."
14673 test -n "\$AWK" || AWK=awk
14676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14677 # The default lists apply if the user does not specify any file.
14683 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14684 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14695 # Handling of the options.
14696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14698 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14699 $as_echo "$ac_cs_version"; exit ;;
14700 --debug | --debu | --deb | --de | --d | -d )
14702 --file | --fil | --fi | --f )
14705 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14707 as_fn_append CONFIG_FILES " '$ac_optarg'"
14708 ac_need_defaults=false;;
14709 --he | --h | --help | --hel | -h )
14710 $as_echo "$ac_cs_usage"; exit ;;
14711 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14712 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14715 # This is an error.
14716 -*) as_fn_error "unrecognized option: \`$1'
14717 Try \`$0 --help' for more information." ;;
14719 *) as_fn_append ac_config_targets " $1"
14720 ac_need_defaults=false ;;
14726 ac_configure_extra_args=
14728 if $ac_cs_silent; then
14730 ac_configure_extra_args="$ac_configure_extra_args --silent"
14734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14735 if \$ac_cs_recheck; then
14736 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14738 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14739 CONFIG_SHELL='$SHELL'
14740 export CONFIG_SHELL
14745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14749 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14750 ## Running $as_me. ##
14756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14760 extrasub_build="$extrasub_build"
14761 extrasub_host="$extrasub_host"
14762 extrasub_target="$extrasub_target"
14766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14768 # Handling of arguments.
14769 for ac_config_target in $ac_config_targets
14771 case $ac_config_target in
14772 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14774 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14779 # If the user did not use the arguments to specify the items to instantiate,
14780 # then the envvar interface is used. Set only those that are not.
14781 # We use the long form for the default assignment because of an extremely
14782 # bizarre bug on SunOS 4.1.3.
14783 if $ac_need_defaults; then
14784 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14787 # Have a temporary directory for convenience. Make it in the build tree
14788 # simply because there is no reason against having it here, and in addition,
14789 # creating and moving files from /tmp can sometimes cause problems.
14790 # Hook for its removal unless debugging.
14791 # Note that there is a small window in which the directory will not be cleaned:
14792 # after its creation but before its name has been assigned to `$tmp'.
14796 trap 'exit_status=$?
14797 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14799 trap 'as_fn_exit 1' 1 2 13 15
14801 # Create a (secure) tmp directory for tmp files.
14804 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14805 test -n "$tmp" && test -d "$tmp"
14808 tmp=./conf$$-$RANDOM
14809 (umask 077 && mkdir "$tmp")
14810 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14812 # Set up the scripts for CONFIG_FILES section.
14813 # No need to generate them if there are no CONFIG_FILES.
14814 # This happens for instance with `./config.status config.h'.
14815 if test -n "$CONFIG_FILES"; then
14817 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14818 ac_cs_awk_getline=:
14819 ac_cs_awk_pipe_init=
14820 ac_cs_awk_read_file='
14821 while ((getline aline < (F[key])) > 0)
14824 ac_cs_awk_pipe_fini=
14826 ac_cs_awk_getline=false
14827 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14828 ac_cs_awk_read_file='
14830 print "cat " F[key] " &&"
14831 '$ac_cs_awk_pipe_init
14832 # The final `:' finishes the AND list.
14833 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14835 ac_cr=`echo X | tr X '\015'`
14836 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14837 # But we know of no other shell where ac_cr would be empty at this
14838 # point, so we can use a bashism as a fallback.
14839 if test "x$ac_cr" = x; then
14840 eval ac_cr=\$\'\\r\'
14842 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14843 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14846 ac_cs_awk_cr=$ac_cr
14849 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14852 # Create commands to substitute file output variables.
14854 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14855 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14856 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14859 } >conf$$files.sh &&
14860 . ./conf$$files.sh ||
14861 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14862 rm -f conf$$files.sh
14865 echo "cat >conf$$subs.awk <<_ACEOF" &&
14866 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14868 } >conf$$subs.sh ||
14869 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14870 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14872 for ac_last_try in false false false false false :; do
14873 . ./conf$$subs.sh ||
14874 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14876 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14877 if test $ac_delim_n = $ac_delim_num; then
14879 elif $ac_last_try; then
14880 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14882 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14885 rm -f conf$$subs.sh
14887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14888 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14892 s/^/S["/; s/!.*/"]=/
14902 s/\(.\{148\}\).*/\1/
14904 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14909 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14916 s/\(.\{148\}\).*/\1/
14918 s/["\\]/\\&/g; s/^/"/; s/$/"/
14922 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14927 ' <conf$$subs.awk | sed '
14932 ' >>$CONFIG_STATUS || ac_write_fail=1
14933 rm -f conf$$subs.awk
14934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14936 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14937 for (key in S) S_is_set[key] = 1
14939 \$ac_cs_awk_pipe_init
14943 nfields = split(line, field, "@")
14945 len = length(field[1])
14946 for (i = 2; i < nfields; i++) {
14948 keylen = length(key)
14949 if (S_is_set[key]) {
14951 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14952 len += length(value) + length(field[++i])
14957 if (nfields == 3 && !substed) {
14959 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14960 \$ac_cs_awk_read_file
14966 \$ac_cs_awk_pipe_fini
14969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14970 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14971 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14974 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14975 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14978 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14979 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14980 # trailing colons and then remove the whole line if VPATH becomes empty
14981 # (actually we leave an empty line to preserve line numbers).
14982 if test "x$srcdir" = x.; then
14983 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14984 s/:*\$(srcdir):*/:/
14985 s/:*\${srcdir}:*/:/
14987 s/^\([^=]*=[ ]*\):*/\1/
14993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14994 fi # test -n "$CONFIG_FILES"
14997 eval set X " :F $CONFIG_FILES "
15002 :[FHLC]) ac_mode=$ac_tag; continue;;
15004 case $ac_mode$ac_tag in
15006 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15007 :[FH]-) ac_tag=-:-;;
15008 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15025 -) ac_f="$tmp/stdin";;
15026 *) # Look for the file first in the build tree, then in the source tree
15027 # (if the path is not absolute). The absolute path cannot be DOS-style,
15028 # because $ac_f cannot contain `:'.
15032 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15034 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15036 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15037 as_fn_append ac_file_inputs " '$ac_f'"
15040 # Let's still pretend it is `configure' which instantiates (i.e., don't
15041 # use $as_me), people would be surprised to read:
15042 # /* config.h. Generated by config.status. */
15043 configure_input='Generated from '`
15044 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15046 if test x"$ac_file" != x-; then
15047 configure_input="$ac_file. $configure_input"
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15049 $as_echo "$as_me: creating $ac_file" >&6;}
15051 # Neutralize special characters interpreted by sed in replacement strings.
15052 case $configure_input in #(
15053 *\&* | *\|* | *\\* )
15054 ac_sed_conf_input=`$as_echo "$configure_input" |
15055 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15056 *) ac_sed_conf_input=$configure_input;;
15060 *:-:* | *:-) cat >"$tmp/stdin" \
15061 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15066 ac_dir=`$as_dirname -- "$ac_file" ||
15067 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15068 X"$ac_file" : 'X\(//\)[^/]' \| \
15069 X"$ac_file" : 'X\(//\)$' \| \
15070 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15071 $as_echo X"$ac_file" |
15072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15076 /^X\(\/\/\)[^/].*/{
15089 as_dir="$ac_dir"; as_fn_mkdir_p
15093 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15095 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15096 # A ".." for each directory in $ac_dir_suffix.
15097 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15098 case $ac_top_builddir_sub in
15099 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15100 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15103 ac_abs_top_builddir=$ac_pwd
15104 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15105 # for backward compatibility:
15106 ac_top_builddir=$ac_top_build_prefix
15109 .) # We are building in place.
15111 ac_top_srcdir=$ac_top_builddir_sub
15112 ac_abs_top_srcdir=$ac_pwd ;;
15113 [\\/]* | ?:[\\/]* ) # Absolute name.
15114 ac_srcdir=$srcdir$ac_dir_suffix;
15115 ac_top_srcdir=$srcdir
15116 ac_abs_top_srcdir=$srcdir ;;
15117 *) # Relative name.
15118 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15119 ac_top_srcdir=$ac_top_build_prefix$srcdir
15120 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15122 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15132 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15133 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15138 # If the template does not know about datarootdir, expand it.
15139 # FIXME: This hack should be removed a few years after 2.60.
15140 ac_datarootdir_hack=; ac_datarootdir_seen=
15151 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15152 *datarootdir*) ac_datarootdir_seen=yes;;
15153 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15155 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15158 ac_datarootdir_hack='
15159 s&@datadir@&$datadir&g
15160 s&@docdir@&$docdir&g
15161 s&@infodir@&$infodir&g
15162 s&@localedir@&$localedir&g
15163 s&@mandir@&$mandir&g
15164 s&\\\${datarootdir}&$datarootdir&g' ;;
15168 # Neutralize VPATH when `$srcdir' = `.'.
15169 # Shell code in configure.ac might set extrasub.
15170 # FIXME: do we really want to maintain this feature?
15171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15172 ac_sed_extra="$ac_vpsub
15175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15178 s|@configure_input@|$ac_sed_conf_input|;t t
15179 s&@top_builddir@&$ac_top_builddir_sub&;t t
15180 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15181 s&@srcdir@&$ac_srcdir&;t t
15182 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15183 s&@top_srcdir@&$ac_top_srcdir&;t t
15184 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15185 s&@builddir@&$ac_builddir&;t t
15186 s&@abs_builddir@&$ac_abs_builddir&;t t
15187 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15188 s&@INSTALL@&$ac_INSTALL&;t t
15189 $ac_datarootdir_hack
15191 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15192 if $ac_cs_awk_getline; then
15193 $AWK -f "$tmp/subs.awk"
15195 $AWK -f "$tmp/subs.awk" | $SHELL
15197 || as_fn_error "could not create $ac_file" "$LINENO" 5
15199 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15200 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15201 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15203 which seems to be undefined. Please make sure it is defined." >&5
15204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15205 which seems to be undefined. Please make sure it is defined." >&2;}
15209 -) cat "$tmp/out" && rm -f "$tmp/out";;
15210 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15212 || as_fn_error "could not create $ac_file" "$LINENO" 5
15220 case $ac_file$ac_mode in
15221 "Makefile":F) sed "$extrasub_build" Makefile |
15222 sed "$extrasub_host" |
15223 sed "$extrasub_target" > mf$$
15224 mv -f mf$$ Makefile ;;
15232 ac_clean_files=$ac_clean_files_save
15234 test $ac_write_fail = 0 ||
15235 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15238 # configure is writing to config.log, and then calls config.status.
15239 # config.status does its own redirection, appending to config.log.
15240 # Unfortunately, on DOS this fails, as config.log is still kept open
15241 # by configure, so config.status won't be able to write to it; its
15242 # output is simply discarded. So we exec the FD to /dev/null,
15243 # effectively closing config.log, so it can be properly (re)opened and
15244 # appended to by config.status. When coming back to configure, we
15245 # need to make the FD available again.
15246 if test "$no_create" != yes; then
15248 ac_config_status_args=
15249 test "$silent" = yes &&
15250 ac_config_status_args="$ac_config_status_args --quiet"
15252 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15254 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15255 # would make configure fail if this is the last instruction.
15256 $ac_cs_success || as_fn_exit $?
15258 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15260 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}