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 if (eval "$as_required") 2>/dev/null; then :
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir=.
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir=./$as_dir;;
282 test -d "$as_dir" || eval $as_mkdir_p || {
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 as_val=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status=$?; test $as_status -eq 0 && as_status=1
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 elif ln conf$$.file conf$$ 2>/dev/null; then
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
492 test -d ./-p && rmdir ./-p
496 if test -x / >/dev/null 2>&1; then
499 if ls -dL / >/dev/null 2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix=/usr/local
538 ac_config_libobj_dir=.
545 # Identity of this package.
553 ac_unique_file="move-if-change"
554 enable_option_checking=no
555 ac_subst_vars='LTLIBOBJS
562 MAINTAINER_MODE_FALSE
564 COMPILER_NM_FOR_TARGET
565 COMPILER_LD_FOR_TARGET
566 COMPILER_AS_FOR_TARGET
635 DEBUG_PREFIX_CFLAGS_FOR_TARGET
636 SYSROOT_CFLAGS_FOR_TARGET
646 extra_mpc_mpfr_configure_flags
647 extra_mpc_gmp_configure_flags
648 extra_mpfr_configure_flags
688 TOPLEVEL_CONFIGURE_ARGUMENTS
716 program_transform_name
727 ac_subst_files='serialization_dependencies
733 enable_option_checking
738 enable_build_with_cxx
758 enable_ppl_version_check
762 enable_cloog_version_check
763 enable_stage1_languages
766 with_debug_prefix_map
768 enable_serial_configure
769 with_build_time_tools
770 enable_maintainer_mode
771 enable_stage1_checking
778 ac_precious_vars='build_alias
819 # Initialize some variables set by options.
821 ac_init_version=false
822 ac_unrecognized_opts=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name=s,x,x,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir='${exec_prefix}/bin'
848 sbindir='${exec_prefix}/sbin'
849 libexecdir='${exec_prefix}/libexec'
850 datarootdir='${prefix}/share'
851 datadir='${datarootdir}'
852 sysconfdir='${prefix}/etc'
853 sharedstatedir='${prefix}/com'
854 localstatedir='${prefix}/var'
855 includedir='${prefix}/include'
856 oldincludedir='/usr/include'
857 docdir='${datarootdir}/doc/${PACKAGE}'
858 infodir='${datarootdir}/info'
863 libdir='${exec_prefix}/lib'
864 localedir='${datarootdir}/locale'
865 mandir='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\$ac_option
879 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 # Accept the important Cygnus configure options, so we can diagnose typos.
885 case $ac_dashdash$ac_option in
889 -bindir | --bindir | --bindi | --bind | --bin | --bi)
891 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
894 -build | --build | --buil | --bui | --bu)
895 ac_prev=build_alias ;;
896 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
897 build_alias=$ac_optarg ;;
899 -cache-file | --cache-file | --cache-fil | --cache-fi \
900 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
901 ac_prev=cache_file ;;
902 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
903 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
904 cache_file=$ac_optarg ;;
907 cache_file=config.cache ;;
909 -datadir | --datadir | --datadi | --datad)
911 -datadir=* | --datadir=* | --datadi=* | --datad=*)
912 datadir=$ac_optarg ;;
914 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
915 | --dataroo | --dataro | --datar)
916 ac_prev=datarootdir ;;
917 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
918 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
919 datarootdir=$ac_optarg ;;
921 -disable-* | --disable-*)
922 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 as_fn_error "invalid feature name: $ac_useropt"
926 ac_useropt_orig=$ac_useropt
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
935 eval enable_$ac_useropt=no ;;
937 -docdir | --docdir | --docdi | --doc | --do)
939 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
942 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
944 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
947 -enable-* | --enable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
961 eval enable_$ac_useropt=\$ac_optarg ;;
963 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
964 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
965 | --exec | --exe | --ex)
966 ac_prev=exec_prefix ;;
967 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
968 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
969 | --exec=* | --exe=* | --ex=*)
970 exec_prefix=$ac_optarg ;;
972 -gas | --gas | --ga | --g)
973 # Obsolete; use --with-gas.
976 -help | --help | --hel | --he | -h)
978 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
979 ac_init_help=recursive ;;
980 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
981 ac_init_help=short ;;
983 -host | --host | --hos | --ho)
984 ac_prev=host_alias ;;
985 -host=* | --host=* | --hos=* | --ho=*)
986 host_alias=$ac_optarg ;;
988 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
990 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
992 htmldir=$ac_optarg ;;
994 -includedir | --includedir | --includedi | --included | --include \
995 | --includ | --inclu | --incl | --inc)
996 ac_prev=includedir ;;
997 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
998 | --includ=* | --inclu=* | --incl=* | --inc=*)
999 includedir=$ac_optarg ;;
1001 -infodir | --infodir | --infodi | --infod | --info | --inf)
1003 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1004 infodir=$ac_optarg ;;
1006 -libdir | --libdir | --libdi | --libd)
1008 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1009 libdir=$ac_optarg ;;
1011 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1012 | --libexe | --libex | --libe)
1013 ac_prev=libexecdir ;;
1014 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1015 | --libexe=* | --libex=* | --libe=*)
1016 libexecdir=$ac_optarg ;;
1018 -localedir | --localedir | --localedi | --localed | --locale)
1019 ac_prev=localedir ;;
1020 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1021 localedir=$ac_optarg ;;
1023 -localstatedir | --localstatedir | --localstatedi | --localstated \
1024 | --localstate | --localstat | --localsta | --localst | --locals)
1025 ac_prev=localstatedir ;;
1026 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1027 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1028 localstatedir=$ac_optarg ;;
1030 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1032 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1033 mandir=$ac_optarg ;;
1035 -nfp | --nfp | --nf)
1036 # Obsolete; use --without-fp.
1039 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1040 | --no-cr | --no-c | -n)
1043 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1044 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1047 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1048 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1049 | --oldin | --oldi | --old | --ol | --o)
1050 ac_prev=oldincludedir ;;
1051 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1052 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1053 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1054 oldincludedir=$ac_optarg ;;
1056 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1058 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1059 prefix=$ac_optarg ;;
1061 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1062 | --program-pre | --program-pr | --program-p)
1063 ac_prev=program_prefix ;;
1064 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1065 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1066 program_prefix=$ac_optarg ;;
1068 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1069 | --program-suf | --program-su | --program-s)
1070 ac_prev=program_suffix ;;
1071 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1072 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1073 program_suffix=$ac_optarg ;;
1075 -program-transform-name | --program-transform-name \
1076 | --program-transform-nam | --program-transform-na \
1077 | --program-transform-n | --program-transform- \
1078 | --program-transform | --program-transfor \
1079 | --program-transfo | --program-transf \
1080 | --program-trans | --program-tran \
1081 | --progr-tra | --program-tr | --program-t)
1082 ac_prev=program_transform_name ;;
1083 -program-transform-name=* | --program-transform-name=* \
1084 | --program-transform-nam=* | --program-transform-na=* \
1085 | --program-transform-n=* | --program-transform-=* \
1086 | --program-transform=* | --program-transfor=* \
1087 | --program-transfo=* | --program-transf=* \
1088 | --program-trans=* | --program-tran=* \
1089 | --progr-tra=* | --program-tr=* | --program-t=*)
1090 program_transform_name=$ac_optarg ;;
1092 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1094 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1095 pdfdir=$ac_optarg ;;
1097 -psdir | --psdir | --psdi | --psd | --ps)
1099 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1103 | -silent | --silent | --silen | --sile | --sil)
1106 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1108 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1110 sbindir=$ac_optarg ;;
1112 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1113 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1114 | --sharedst | --shareds | --shared | --share | --shar \
1116 ac_prev=sharedstatedir ;;
1117 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1118 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1119 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1121 sharedstatedir=$ac_optarg ;;
1123 -site | --site | --sit)
1125 -site=* | --site=* | --sit=*)
1128 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1130 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1131 srcdir=$ac_optarg ;;
1133 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1134 | --syscon | --sysco | --sysc | --sys | --sy)
1135 ac_prev=sysconfdir ;;
1136 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1137 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1138 sysconfdir=$ac_optarg ;;
1140 -target | --target | --targe | --targ | --tar | --ta | --t)
1141 ac_prev=target_alias ;;
1142 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1143 target_alias=$ac_optarg ;;
1145 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1148 -version | --version | --versio | --versi | --vers | -V)
1149 ac_init_version=: ;;
1152 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 as_fn_error "invalid package name: $ac_useropt"
1156 ac_useropt_orig=$ac_useropt
1157 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1163 ac_unrecognized_sep=', ';;
1165 eval with_$ac_useropt=\$ac_optarg ;;
1167 -without-* | --without-*)
1168 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 as_fn_error "invalid package name: $ac_useropt"
1172 ac_useropt_orig=$ac_useropt
1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1179 ac_unrecognized_sep=', ';;
1181 eval with_$ac_useropt=no ;;
1184 # Obsolete; use --with-x.
1187 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1188 | --x-incl | --x-inc | --x-in | --x-i)
1189 ac_prev=x_includes ;;
1190 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1191 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1192 x_includes=$ac_optarg ;;
1194 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1195 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1196 ac_prev=x_libraries ;;
1197 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1198 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1199 x_libraries=$ac_optarg ;;
1201 -*) as_fn_error "unrecognized option: \`$ac_option'
1202 Try \`$0 --help' for more information."
1206 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 case $ac_envvar in #(
1209 '' | [0-9]* | *[!_$as_cr_alnum]* )
1210 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1212 eval $ac_envvar=\$ac_optarg
1213 export $ac_envvar ;;
1216 # FIXME: should be removed in autoconf 3.0.
1217 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1219 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1226 if test -n "$ac_prev"; then
1227 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1228 as_fn_error "missing argument to $ac_option"
1231 if test -n "$ac_unrecognized_opts"; then
1232 case $enable_option_checking in
1234 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1235 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1239 # Check all directory arguments for consistency.
1240 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1241 datadir sysconfdir sharedstatedir localstatedir includedir \
1242 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1243 libdir localedir mandir
1245 eval ac_val=\$$ac_var
1246 # Remove trailing slashes.
1249 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1250 eval $ac_var=\$ac_val;;
1252 # Be sure to have absolute directory names.
1254 [\\/$]* | ?:[\\/]* ) continue;;
1255 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1257 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1260 # There might be people who depend on the old broken behavior: `$host'
1261 # used to hold the argument of --host etc.
1262 # FIXME: To remove some day.
1265 target=$target_alias
1267 # FIXME: To remove some day.
1268 if test "x$host_alias" != x; then
1269 if test "x$build_alias" = x; then
1270 cross_compiling=maybe
1271 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272 If a cross compiler is detected then cross compile mode will be used." >&2
1273 elif test "x$build_alias" != "x$host_alias"; then
1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1281 test "$silent" = yes && exec 6>/dev/null
1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285 ac_ls_di=`ls -di .` &&
1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287 as_fn_error "working directory cannot be determined"
1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 as_fn_error "pwd does not report name of working directory"
1292 # Find the source files, if location was not specified.
1293 if test -z "$srcdir"; then
1294 ac_srcdir_defaulted=yes
1295 # Try the directory containing this script, then the parent directory.
1296 ac_confdir=`$as_dirname -- "$as_myself" ||
1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1298 X"$as_myself" : 'X\(//\)[^/]' \| \
1299 X"$as_myself" : 'X\(//\)$' \| \
1300 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1301 $as_echo X"$as_myself" |
1302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1324 ac_srcdir_defaulted=no
1326 if test ! -r "$srcdir/$ac_unique_file"; then
1327 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1332 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1334 # When building in place, set srcdir=.
1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
1338 # Remove unnecessary trailing slashes from srcdir.
1339 # Double slashes in file names in object file debugging info
1340 # mess up M-x gdb in Emacs.
1342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1344 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1346 for ac_var in $ac_precious_vars; do
1347 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_${ac_var}_value=\$${ac_var}
1349 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures this package to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1423 --build=BUILD configure for building on BUILD [guessed]
1424 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1425 --target=TARGET configure for building compilers for TARGET [HOST]
1429 if test -n "$ac_init_help"; then
1434 --disable-option-checking ignore unrecognized --enable/--with options
1435 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1436 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1437 --enable-gold use gold instead of ld
1438 --enable-libada build libada directory
1439 --enable-libssp build libssp directory
1440 --enable-build-with-cxx build with C++ compiler instead of C compiler
1441 --disable-ppl-version-check disable check for PPL version
1442 --disable-cloog-version-check disable check for CLooG version
1443 --enable-stage1-languages[=all] choose additional languages to build during
1444 stage1. Mostly useful for compiler development.
1445 --enable-objc-gc enable use of Boehm's garbage collector with the
1446 GNU Objective-C runtime
1447 --enable-bootstrap enable bootstrapping [yes if native build]
1448 --enable-serial-[{host,target,build}-]configure
1449 force sequential configuration of
1450 sub-packages for the host, target or build
1451 machine, or all sub-packages
1452 --enable-maintainer-mode enable make rules and dependencies not useful
1453 (and sometimes confusing) to the casual installer
1454 --enable-stage1-checking[=all] choose additional checking for stage1
1456 --enable-werror enable -Werror in bootstrap stage2 and later
1459 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1460 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1461 --with-build-libsubdir=DIR Directory where to find libraries for build system
1462 --with-mpc=PATH specify prefix directory for installed MPC package.
1463 Equivalent to --with-mpc-include=PATH/include
1464 plus --with-mpc-lib=PATH/lib
1465 --with-mpc-include=PATH
1466 specify directory for installed MPC include files
1467 --with-mpc-lib=PATH specify directory for the installed MPC library
1468 --with-mpfr-dir=PATH this option has been REMOVED
1469 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1470 Equivalent to --with-mpfr-include=PATH/include
1471 plus --with-mpfr-lib=PATH/lib
1472 --with-mpfr-include=PATH
1473 specify directory for installed MPFR include files
1474 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1475 --with-gmp-dir=PATH this option has been REMOVED
1476 --with-gmp=PATH specify prefix directory for the installed GMP package.
1477 Equivalent to --with-gmp-include=PATH/include
1478 plus --with-gmp-lib=PATH/lib
1479 --with-gmp-include=PATH specify directory for installed GMP include files
1480 --with-gmp-lib=PATH specify directory for the installed GMP library
1481 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1482 when linking with PPL
1483 --with-stage1-ldflags=FLAGS Linker flags for stage1
1484 -with-stage1-libs=LIBS Libraries for stage1
1485 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1486 --with-boot-libs=LIBS Libraries for stage2 and later
1487 --with-ppl=PATH Specify prefix directory for the installed PPL package
1488 Equivalent to --with-ppl-include=PATH/include
1489 plus --with-ppl-lib=PATH/lib
1490 --with-ppl-include=PATH Specify directory for installed PPL include files
1491 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1492 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
1493 Equivalent to --with-cloog-include=PATH/include
1494 plus --with-cloog-lib=PATH/lib
1495 --with-cloog-include=PATH Specify directory for installed CLooG include files
1496 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1497 --with-build-sysroot=SYSROOT
1498 use sysroot as the system root during the build
1499 --with-debug-prefix-map='A=B C=D ...'
1500 map A to B, C to D ... in debug information
1501 --with-build-time-tools=PATH
1502 use given path to find target tools during the build
1503 --with-datarootdir use datarootdir as the data root directory.
1504 --with-docdir install documentation in this directory.
1505 --with-pdfdir install pdf in this directory.
1506 --with-htmldir install html in this directory.
1508 Some influential environment variables:
1509 CC C compiler command
1510 CFLAGS C compiler flags
1511 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1512 nonstandard directory <lib dir>
1513 LIBS libraries to pass to the linker, e.g. -l<library>
1514 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1515 you have headers in a nonstandard directory <include dir>
1516 CXX C++ compiler command
1517 CXXFLAGS C++ compiler flags
1520 DLLTOOL DLLTOOL for the host
1522 LIPO LIPO for the host
1524 RANLIB RANLIB for the host
1525 STRIP STRIP for the host
1526 WINDRES WINDRES for the host
1527 WINDMC WINDMC for the host
1528 OBJCOPY OBJCOPY for the host
1529 OBJDUMP OBJDUMP for the host
1539 GFORTRAN for the target
1545 DLLTOOL for the target
1553 OBJDUMP for the target
1555 RANLIB for the target
1557 STRIP for the target
1559 WINDRES for the target
1561 WINDMC for the target
1563 Use these variables to override the choices made by `configure' or to help
1564 it to find libraries and programs with nonstandard names/locations.
1566 Report bugs to the package provider.
1571 if test "$ac_init_help" = "recursive"; then
1572 # If there are subdirs, report their specific --help.
1573 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1574 test -d "$ac_dir" ||
1575 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1583 # A ".." for each directory in $ac_dir_suffix.
1584 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1585 case $ac_top_builddir_sub in
1586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1590 ac_abs_top_builddir=$ac_pwd
1591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1592 # for backward compatibility:
1593 ac_top_builddir=$ac_top_build_prefix
1596 .) # We are building in place.
1598 ac_top_srcdir=$ac_top_builddir_sub
1599 ac_abs_top_srcdir=$ac_pwd ;;
1600 [\\/]* | ?:[\\/]* ) # Absolute name.
1601 ac_srcdir=$srcdir$ac_dir_suffix;
1602 ac_top_srcdir=$srcdir
1603 ac_abs_top_srcdir=$srcdir ;;
1605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1606 ac_top_srcdir=$ac_top_build_prefix$srcdir
1607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1611 cd "$ac_dir" || { ac_status=$?; continue; }
1612 # Check for guested configure.
1613 if test -f "$ac_srcdir/configure.gnu"; then
1615 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1616 elif test -f "$ac_srcdir/configure"; then
1618 $SHELL "$ac_srcdir/configure" --help=recursive
1620 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1622 cd "$ac_pwd" || { ac_status=$?; break; }
1626 test -n "$ac_init_help" && exit $ac_status
1627 if $ac_init_version; then
1630 generated by GNU Autoconf 2.64
1632 Copyright (C) 2009 Free Software Foundation, Inc.
1633 This configure script is free software; the Free Software Foundation
1634 gives unlimited permission to copy, distribute and modify it.
1639 ## ------------------------ ##
1640 ## Autoconf initialization. ##
1641 ## ------------------------ ##
1643 # ac_fn_c_try_compile LINENO
1644 # --------------------------
1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_c_try_compile ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 rm -f conftest.$ac_objext
1650 if { { ac_try="$ac_compile"
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_compile") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest.$ac_objext; then :
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1679 } # ac_fn_c_try_compile
1681 # ac_fn_cxx_try_compile LINENO
1682 # ----------------------------
1683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1684 ac_fn_cxx_try_compile ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext
1688 if { { ac_try="$ac_compile"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_compile") 2>conftest.err
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_cxx_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest.$ac_objext; then :
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 } # ac_fn_cxx_try_compile
1719 # ac_fn_c_try_link LINENO
1720 # -----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 rm -f conftest.$ac_objext conftest$ac_exeext
1726 if { { ac_try="$ac_link"
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_link") 2>conftest.err
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest$ac_exeext && {
1745 test "$cross_compiling" = yes ||
1746 $as_test_x conftest$ac_exeext
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1755 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1756 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1757 # interfere with the next link command; also delete a directory that is
1758 # left behind by Apple's compiler. We do this before executing the actions.
1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 } # ac_fn_c_try_link
1764 cat >config.log <<_ACEOF
1765 This file contains any messages produced by compilers while
1766 running configure, to aid debugging if configure makes a mistake.
1768 It was created by $as_me, which was
1769 generated by GNU Autoconf 2.64. Invocation command line was
1781 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1782 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1783 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1784 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1785 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1787 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1788 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1790 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1791 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1792 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1793 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1794 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1795 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1796 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804 test -z "$as_dir" && as_dir=.
1805 $as_echo "PATH: $as_dir"
1821 # Keep a trace of the command line.
1822 # Strip out --no-create and --no-recursion so they do not pile up.
1823 # Strip out --silent because we don't want to record it for future runs.
1824 # Also quote any args containing shell meta-characters.
1825 # Make two passes to allow for proper duplicate-argument suppression.
1829 ac_must_keep_next=false
1835 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1837 | -silent | --silent | --silen | --sile | --sil)
1840 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1843 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1845 as_fn_append ac_configure_args1 " '$ac_arg'"
1846 if test $ac_must_keep_next = true; then
1847 ac_must_keep_next=false # Got value, back to normal.
1850 *=* | --config-cache | -C | -disable-* | --disable-* \
1851 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1852 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1853 | -with-* | --with-* | -without-* | --without-* | --x)
1854 case "$ac_configure_args0 " in
1855 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1858 -* ) ac_must_keep_next=true ;;
1861 as_fn_append ac_configure_args " '$ac_arg'"
1866 { ac_configure_args0=; unset ac_configure_args0;}
1867 { ac_configure_args1=; unset ac_configure_args1;}
1869 # When interrupted or exit'd, cleanup temporary files, and complete
1870 # config.log. We remove comments because anyway the quotes in there
1871 # would cause problems or look ugly.
1872 # WARNING: Use '\'' to represent an apostrophe within the trap.
1873 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1874 trap 'exit_status=$?
1875 # Save into config.log some information that might help in debugging.
1880 ## ---------------- ##
1881 ## Cache variables. ##
1882 ## ---------------- ##
1885 # The following way of writing the cache mishandles newlines in values,
1887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1888 eval ac_val=\$$ac_var
1892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1896 _ | IFS | as_nl) ;; #(
1897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1898 *) { eval $ac_var=; unset $ac_var;} ;;
1903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1904 *${as_nl}ac_space=\ *)
1906 "s/'\''/'\''\\\\'\'''\''/g;
1907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1918 ## ----------------- ##
1919 ## Output variables. ##
1920 ## ----------------- ##
1923 for ac_var in $ac_subst_vars
1925 eval ac_val=\$$ac_var
1927 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929 $as_echo "$ac_var='\''$ac_val'\''"
1933 if test -n "$ac_subst_files"; then
1935 ## ------------------- ##
1936 ## File substitutions. ##
1937 ## ------------------- ##
1940 for ac_var in $ac_subst_files
1942 eval ac_val=\$$ac_var
1944 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1946 $as_echo "$ac_var='\''$ac_val'\''"
1951 if test -s confdefs.h; then
1961 test "$ac_signal" != 0 &&
1962 $as_echo "$as_me: caught signal $ac_signal"
1963 $as_echo "$as_me: exit $exit_status"
1965 rm -f core *.core core.conftest.* &&
1966 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1969 for ac_signal in 1 2 13 15; do
1970 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1974 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1975 rm -f -r conftest* confdefs.h
1977 $as_echo "/* confdefs.h */" > confdefs.h
1979 # Predefined preprocessor variables.
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_NAME "$PACKAGE_NAME"
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_STRING "$PACKAGE_STRING"
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_URL "$PACKAGE_URL"
2006 # Let the site file select an alternate cache file if it wants to.
2007 # Prefer an explicitly selected file to automatically selected ones.
2010 if test -n "$CONFIG_SITE"; then
2011 ac_site_file1=$CONFIG_SITE
2012 elif test "x$prefix" != xNONE; then
2013 ac_site_file1=$prefix/share/config.site
2014 ac_site_file2=$prefix/etc/config.site
2016 ac_site_file1=$ac_default_prefix/share/config.site
2017 ac_site_file2=$ac_default_prefix/etc/config.site
2019 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2021 test "x$ac_site_file" = xNONE && continue
2022 if test -r "$ac_site_file"; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2024 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2025 sed 's/^/| /' "$ac_site_file" >&5
2030 if test -r "$cache_file"; then
2031 # Some versions of bash will fail to source /dev/null (special
2032 # files actually), so we avoid doing that.
2033 if test -f "$cache_file"; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2035 $as_echo "$as_me: loading cache $cache_file" >&6;}
2037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2038 *) . "./$cache_file";;
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2043 $as_echo "$as_me: creating cache $cache_file" >&6;}
2047 # Check that the precious variables saved in the cache have kept the same
2049 ac_cache_corrupted=false
2050 for ac_var in $ac_precious_vars; do
2051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2052 eval ac_new_set=\$ac_env_${ac_var}_set
2053 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2054 eval ac_new_val=\$ac_env_${ac_var}_value
2055 case $ac_old_set,$ac_new_set in
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2059 ac_cache_corrupted=: ;;
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2063 ac_cache_corrupted=: ;;
2066 if test "x$ac_old_val" != "x$ac_new_val"; then
2067 # differences in whitespace do not lead to failure.
2068 ac_old_val_w=`echo x $ac_old_val`
2069 ac_new_val_w=`echo x $ac_new_val`
2070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2073 ac_cache_corrupted=:
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2077 eval $ac_var=\$ac_old_val
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2085 # Pass precious variables to config.status.
2086 if test "$ac_new_set" = set; then
2088 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2089 *) ac_arg=$ac_var=$ac_new_val ;;
2091 case " $ac_configure_args " in
2092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2093 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2097 if $ac_cache_corrupted; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2102 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2104 ## -------------------- ##
2105 ## Main body of script. ##
2106 ## -------------------- ##
2109 ac_cpp='$CPP $CPPFLAGS'
2110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2123 # if PWD already has a value, it is probably wrong.
2124 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2126 # Export original configure arguments for use by sub-configures.
2127 # Quote arguments with shell meta charatcers.
2128 TOPLEVEL_CONFIGURE_ARGUMENTS=
2129 set -- "$progname" "$@"
2133 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2134 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2135 # if the argument is of the form -foo=baz, quote the baz part only
2136 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2139 # Add the quoted argument to the list.
2140 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2142 if test "$silent" = yes; then
2143 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2145 # Remove the initial space we just introduced and, as these will be
2146 # expanded by make, quote '$'.
2147 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2150 # Find the build, host, and target systems.
2152 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2153 for ac_t in install-sh install.sh shtool; do
2154 if test -f "$ac_dir/$ac_t"; then
2156 ac_install_sh="$ac_aux_dir/$ac_t -c"
2161 if test -z "$ac_aux_dir"; then
2162 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2165 # These three variables are undocumented and unsupported,
2166 # and are intended to be withdrawn in a future Autoconf release.
2167 # They can cause serious problems if a builder's source tree is in a directory
2168 # whose full name contains unusual characters.
2169 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2170 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2171 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2174 # Make sure we can run config.sub.
2175 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2176 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2179 $as_echo_n "checking build system type... " >&6; }
2180 if test "${ac_cv_build+set}" = set; then :
2181 $as_echo_n "(cached) " >&6
2183 ac_build_alias=$build_alias
2184 test "x$ac_build_alias" = x &&
2185 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2186 test "x$ac_build_alias" = x &&
2187 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2188 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2189 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2193 $as_echo "$ac_cv_build" >&6; }
2194 case $ac_cv_build in
2196 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2199 ac_save_IFS=$IFS; IFS='-'
2205 # Remember, the first character of IFS is used to create $*,
2206 # except with old shells:
2209 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2212 case ${build_alias} in
2213 "") build_noncanonical=${build} ;;
2214 *) build_noncanonical=${build_alias} ;;
2219 case ${host_alias} in
2220 "") host_noncanonical=${build_noncanonical} ;;
2221 *) host_noncanonical=${host_alias} ;;
2226 case ${target_alias} in
2227 "") target_noncanonical=${host_noncanonical} ;;
2228 *) target_noncanonical=${target_alias} ;;
2234 test "$host_noncanonical" = "$target_noncanonical" &&
2235 test "$program_prefix$program_suffix$program_transform_name" = \
2237 program_transform_name=s,y,y,
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2240 $as_echo_n "checking host system type... " >&6; }
2241 if test "${ac_cv_host+set}" = set; then :
2242 $as_echo_n "(cached) " >&6
2244 if test "x$host_alias" = x; then
2245 ac_cv_host=$ac_cv_build
2247 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2248 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2253 $as_echo "$ac_cv_host" >&6; }
2256 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2259 ac_save_IFS=$IFS; IFS='-'
2265 # Remember, the first character of IFS is used to create $*,
2266 # except with old shells:
2269 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2273 $as_echo_n "checking target system type... " >&6; }
2274 if test "${ac_cv_target+set}" = set; then :
2275 $as_echo_n "(cached) " >&6
2277 if test "x$target_alias" = x; then
2278 ac_cv_target=$ac_cv_host
2280 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2281 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2286 $as_echo "$ac_cv_target" >&6; }
2287 case $ac_cv_target in
2289 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2291 target=$ac_cv_target
2292 ac_save_IFS=$IFS; IFS='-'
2298 # Remember, the first character of IFS is used to create $*,
2299 # except with old shells:
2302 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2305 # The aliases save the names the user supplied, while $host etc.
2306 # will get canonicalized.
2307 test -n "$target_alias" &&
2308 test "$program_prefix$program_suffix$program_transform_name" = \
2310 program_prefix=${target_alias}-
2312 test "$program_prefix" != NONE &&
2313 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2314 # Use a double $ so make ignores it.
2315 test "$program_suffix" != NONE &&
2316 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2317 # Double any \ or $.
2318 # By default was `s,x,x', remove it if useless.
2319 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2320 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2324 # Get 'install' or 'install-sh' and its variants.
2325 # Find a good install program. We prefer a C program (faster),
2326 # so one script is as good as another. But avoid the broken or
2327 # incompatible versions:
2328 # SysV /etc/install, /usr/sbin/install
2329 # SunOS /usr/etc/install
2330 # IRIX /sbin/install
2332 # AmigaOS /C/install, which installs bootblocks on floppy discs
2333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2336 # OS/2's system install, which has a completely different semantic
2337 # ./install, which can be erroneously created by make from ./install.sh.
2338 # Reject install programs that cannot install multiple files.
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2340 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2341 if test -z "$INSTALL"; then
2342 if test "${ac_cv_path_install+set}" = set; then :
2343 $as_echo_n "(cached) " >&6
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 # Account for people who put trailing slashes in PATH elements.
2351 case $as_dir/ in #((
2352 ./ | .// | /[cC]/* | \
2353 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2354 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2357 # OSF1 and SCO ODT 3.0 have their own names for install.
2358 # Don't use installbsd from OSF since it installs stuff as root
2360 for ac_prog in ginstall scoinst install; do
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2363 if test $ac_prog = install &&
2364 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365 # AIX install. It has an incompatible calling convention.
2367 elif test $ac_prog = install &&
2368 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369 # program-specific install script used by HP pwplus--don't use.
2372 rm -rf conftest.one conftest.two conftest.dir
2373 echo one > conftest.one
2374 echo two > conftest.two
2376 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2377 test -s conftest.one && test -s conftest.two &&
2378 test -s conftest.dir/conftest.one &&
2379 test -s conftest.dir/conftest.two
2381 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2394 rm -rf conftest.one conftest.two conftest.dir
2397 if test "${ac_cv_path_install+set}" = set; then
2398 INSTALL=$ac_cv_path_install
2400 # As a last resort, use the slow shell script. Don't cache a
2401 # value for INSTALL within a source directory, because that will
2402 # break other packages using the cache if that directory is
2403 # removed, or if the value is a relative name.
2404 INSTALL=$ac_install_sh
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2408 $as_echo "$INSTALL" >&6; }
2410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2411 # It thinks the first close brace ends the variable substitution.
2412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2419 $as_echo_n "checking whether ln works... " >&6; }
2420 if test "${acx_cv_prog_LN+set}" = set; then :
2421 $as_echo_n "(cached) " >&6
2423 rm -f conftestdata_t
2424 echo >conftestdata_f
2425 if ln conftestdata_f conftestdata_t 2>/dev/null
2431 rm -f conftestdata_f conftestdata_t
2434 if test $acx_cv_prog_LN = no; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2437 $as_echo "no, using $LN" >&6; }
2439 LN="$acx_cv_prog_LN"
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2441 $as_echo "yes" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2445 $as_echo_n "checking whether ln -s works... " >&6; }
2447 if test "$LN_S" = "ln -s"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2449 $as_echo "yes" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2452 $as_echo "no, using $LN_S" >&6; }
2456 ### we might need to use some other shell than /bin/sh for running subshells
2457 ### If we are on Windows, search for the shell. This will permit people
2458 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2459 ### without also having to set CONFIG_SHELL. This code will work when
2460 ### using bash, which sets OSTYPE.
2463 if test x${CONFIG_SHELL} = x ; then
2464 if test ! -f /bin/sh ; then
2465 if test x${SHELL} != x && test -f ${SHELL} ; then
2466 CONFIG_SHELL=${SHELL}
2469 for prog in sh sh.exe bash bash.exe; do
2470 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
2471 for dir in $PATH; do
2472 test -z "$dir" && dir=.
2473 if test -f $dir/$prog; then
2474 CONFIG_SHELL=$dir/$prog
2480 test -n "${CONFIG_SHELL}" && break
2488 config_shell=${CONFIG_SHELL-/bin/sh}
2490 moveifchange=${srcdir}/move-if-change
2492 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2494 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2496 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2497 INSTALL="${srcpwd}/install-sh -c"
2500 # Set srcdir to "." if that's what it is.
2501 # This is important for multilib support.
2503 if test "${pwd}" = "${srcpwd}" ; then
2511 ### To add a new directory to the tree, first choose whether it is a target
2512 ### or a host dependent tool. Then put it into the appropriate list
2513 ### (library or tools, host or target), doing a dependency sort.
2515 # Subdirs will be configured in the order listed in build_configdirs,
2516 # configdirs, or target_configdirs; see the serialization section below.
2518 # Dependency sorting is only needed when *configuration* must be done in
2519 # a particular order. In all cases a dependency should be specified in
2520 # the Makefile, whether or not it's implicitly specified here.
2522 # Double entries in build_configdirs, configdirs, or target_configdirs may
2523 # cause circular dependencies and break everything horribly.
2525 # these library is used by various programs built for the build
2528 build_libs="build-libiberty"
2530 # these tools are built for the build environment
2531 build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2533 # these libraries are used by various programs built for the host environment
2535 host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
2537 # these tools are built for the host environment
2538 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2539 # know that we are building the simulator.
2540 # binutils, gas and ld appear in that order because it makes sense to run
2541 # "make check" in that particular order.
2542 # If --enable-gold is used, "gold" will replace "ld".
2543 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"
2545 # libgcj represents the runtime libraries only used by gcj.
2546 libgcj="target-libffi \
2551 # these libraries are built for the target environment, and are built after
2552 # the host libraries and the host tools (which may be a cross compiler)
2554 target_libraries="target-libgcc \
2559 target-libstdc++-v3 \
2562 target-libgfortran \
2568 # these tools are built using the target libraries, and are intended to
2569 # run only in the target environment
2571 # note: any program that *uses* libraries that are in the "target_libraries"
2572 # list belongs in this list. those programs are also very likely
2573 # candidates for the "native_only" list which follows
2575 target_tools="target-examples target-groff target-gperf target-rda"
2577 ################################################################################
2579 ## All tools belong in one of the four categories, and are assigned above
2580 ## We assign ${configdirs} this way to remove all embedded newlines. This
2581 ## is important because configure will choke if they ever get through.
2582 ## ${configdirs} is directories we build using the host tools.
2583 ## ${target_configdirs} is directories we build using the target tools.
2584 configdirs=`echo ${host_libs} ${host_tools}`
2585 target_configdirs=`echo ${target_libraries} ${target_tools}`
2586 build_configdirs=`echo ${build_libs} ${build_tools}`
2590 ################################################################################
2592 srcname="gnu development package"
2594 # This gets set non-empty for some net releases of packages.
2597 # Define is_cross_compiler to save on calls to 'test'.
2599 if test x"${host}" = x"${target}" ; then
2600 is_cross_compiler=no
2602 is_cross_compiler=yes
2605 # Find the build and target subdir names.
2607 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2608 # have matching libraries, they should use host libraries: Makefile.tpl
2609 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2610 # However, they still use the build modules, because the corresponding
2611 # host modules (e.g. bison) are only built for the host when bootstrap
2613 # - build_subdir is where we find build modules, and never changes.
2614 # - build_libsubdir is where we find build libraries, and can be overridden.
2616 # Prefix 'build-' so this never conflicts with target_subdir.
2617 build_subdir="build-${build_noncanonical}"
2619 # Check whether --with-build-libsubdir was given.
2620 if test "${with_build_libsubdir+set}" = set; then :
2621 withval=$with_build_libsubdir; build_libsubdir="$withval"
2623 build_libsubdir="$build_subdir"
2626 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2627 if ( test $srcdir = . && test -d gcc ) \
2628 || test -d $srcdir/../host-${host_noncanonical}; then
2629 host_subdir="host-${host_noncanonical}"
2634 target_subdir=${target_noncanonical}
2637 # Skipdirs are removed silently.
2639 # Noconfigdirs are removed loudly.
2643 # Make sure we don't let GNU ld be added if we didn't want it.
2644 if test x$with_gnu_ld = xno ; then
2646 noconfigdirs="$noconfigdirs ld gold"
2650 # Make sure we don't let GNU as be added if we didn't want it.
2651 if test x$with_gnu_as = xno ; then
2653 noconfigdirs="$noconfigdirs gas"
2656 # some tools are so dependent upon X11 that if we're not building with X,
2657 # it's not even worth trying to configure, much less build, that tool.
2660 yes | "") ;; # the default value for this tree is that X11 is available
2662 skipdirs="${skipdirs} tk itcl libgui"
2663 # We won't be able to build gdbtk without X.
2666 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2669 # Some tools are only suitable for building in a "native" situation.
2670 # Remove these if host!=target.
2671 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"
2673 # Similarly, some are only suitable for cross toolchains.
2674 # Remove these if host=target.
2675 cross_only="target-libgloss target-newlib target-opcodes"
2677 case $is_cross_compiler in
2678 no) skipdirs="${skipdirs} ${cross_only}" ;;
2679 yes) skipdirs="${skipdirs} ${native_only}" ;;
2682 # If both --with-headers and --with-libs are specified, default to
2684 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2685 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2686 if test x"${with_newlib}" = x ; then
2691 # Recognize --with-newlib/--without-newlib.
2692 case ${with_newlib} in
2693 no) skipdirs="${skipdirs} target-newlib" ;;
2694 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2697 # Handle --enable-gold.
2699 # Check whether --enable-gold was given.
2700 if test "${enable_gold+set}" = set; then :
2701 enableval=$enable_gold; ENABLE_GOLD=$enableval
2706 if test "${ENABLE_GOLD}" = "yes"; then
2707 # Check for ELF target.
2710 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2711 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2712 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*)
2714 *-*-linux*aout* | *-*-linux*oldld*)
2722 if test "$is_elf" = "yes"; then
2723 # Check for target supported by gold.
2725 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2726 configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2732 # Configure extra directories which are host specific
2736 configdirs="$configdirs libtermcap" ;;
2739 # A target can indicate whether a language isn't supported for some reason.
2740 # Only spaces may be used in this macro; not newlines or tabs.
2741 unsupported_languages=
2743 # Remove more programs from consideration, based on the host or
2744 # target this usually means that a port of the program doesn't
2749 noconfigdirs="$noconfigdirs byacc"
2751 i[3456789]86-*-vsta)
2752 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2754 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
2755 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2758 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2760 i[3456789]86-*-mingw32*)
2761 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2762 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2764 i[3456789]86-*-beos*)
2765 noconfigdirs="$noconfigdirs tk itcl libgui gdb"
2768 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
2771 noconfigdirs="$noconfigdirs rcs"
2774 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2777 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2782 # Check whether --enable-libada was given.
2783 if test "${enable_libada+set}" = set; then :
2784 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2789 if test "${ENABLE_LIBADA}" != "yes" ; then
2790 noconfigdirs="$noconfigdirs gnattools"
2793 # Check whether --enable-libssp was given.
2794 if test "${enable_libssp+set}" = set; then :
2795 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2801 # Save it here so that, even in case of --enable-libgcj, if the Java
2802 # front-end isn't enabled, we still get libgcj disabled.
2803 libgcj_saved=$libgcj
2804 case $enable_libgcj in
2806 # If we reset it here, it won't get added to noconfigdirs in the
2807 # target-specific build rules, so it will be forcibly enabled
2808 # (unless the Java language itself isn't enabled).
2812 # Make sure we get it printed in the list of not supported target libs.
2813 noconfigdirs="$noconfigdirs ${libgcj}"
2818 # Disable libmudflap on some systems.
2819 if test x$enable_libmudflap = x ; then
2821 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
2822 # Enable libmudflap by default in GNU and friends.
2825 # Enable libmudflap by default in FreeBSD.
2828 # Disable it by default everywhere else.
2829 noconfigdirs="$noconfigdirs target-libmudflap"
2834 # Disable libgomp on non POSIX hosted systems.
2835 if test x$enable_libgomp = x ; then
2836 # Enable libgomp by default on hosted POSIX systems.
2838 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
2840 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
2842 *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
2844 *-*-darwin* | *-*-aix*)
2847 noconfigdirs="$noconfigdirs target-libgomp"
2852 # Default libgloss CPU subdirectory.
2853 libgloss_dir="$target_cpu"
2857 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2860 noconfigdirs="$noconfigdirs ld gas gdb gprof"
2861 noconfigdirs="$noconfigdirs sim target-rda"
2863 i[3456789]86-*-darwin*)
2864 noconfigdirs="$noconfigdirs ld gprof"
2865 noconfigdirs="$noconfigdirs sim target-rda"
2867 x86_64-*-darwin[912]*)
2868 noconfigdirs="$noconfigdirs ld gas gprof"
2869 noconfigdirs="$noconfigdirs sim target-rda"
2872 noconfigdirs="$noconfigdirs ld gas gdb gprof"
2873 noconfigdirs="$noconfigdirs sim target-rda"
2874 noconfigdirs="$noconfigdirs ${libgcj}"
2876 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
2877 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2880 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2881 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
2882 && test -f /usr/local/include/gmp.h; then
2886 # Skip some stuff that's unsupported on some FreeBSD configurations.
2891 noconfigdirs="$noconfigdirs ${libgcj}"
2896 # Remove unsupported stuff on all kaOS configurations.
2897 skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2898 skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
2899 skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2900 noconfigdirs="$noconfigdirs target-libgloss"
2903 # Skip some stuff on all NetBSD configurations.
2904 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
2906 # Skip some stuff that's unsupported on some NetBSD configurations.
2908 i*86-*-netbsdelf*) ;;
2909 arm*-*-netbsdelf*) ;;
2911 noconfigdirs="$noconfigdirs ${libgcj}"
2916 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2919 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2921 # The tpf target doesn't support gdb yet.
2923 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2926 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2929 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2932 # ld works, but does not support shared libraries.
2933 # newlib is not 64 bit ready. I'm not sure about fileutils.
2934 # gas doesn't generate exception information.
2935 noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2938 noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2941 # newlib is not 64 bit ready
2942 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2945 # newlib is not 64 bit ready
2946 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2949 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2952 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2954 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
2955 noconfigdirs="$noconfigdirs ${libgcj}"
2956 noconfigdirs="$noconfigdirs target-examples"
2957 noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
2958 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
2959 noconfigdirs="$noconfigdirs expect dejagnu"
2960 # the C++ libraries don't build on top of CE's C libraries
2961 noconfigdirs="$noconfigdirs target-libstdc++-v3"
2962 noconfigdirs="$noconfigdirs target-newlib"
2964 *-*-cygwin*) ;; # keep gdb and readline
2965 *) noconfigdirs="$noconfigdirs gdb readline"
2971 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2975 arm-*-coff | strongarm-*-coff | xscale-*-coff)
2976 noconfigdirs="$noconfigdirs ${libgcj}"
2979 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
2980 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
2983 arm*-*-linux-gnueabi)
2984 noconfigdirs="$noconfigdirs target-qthreads"
2985 case ${with_newlib} in
2986 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2991 noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
2995 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2998 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3001 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3004 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3007 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3010 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3013 noconfigdirs="$noconfigdirs gdb"
3014 if test x${is_cross_compiler} != xno ; then
3015 target_configdirs="${target_configdirs} target-bsp target-cygmon"
3018 c4x-*-* | tic4x-*-*)
3019 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3021 c54x*-*-* | tic54x-*-*)
3022 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3025 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3027 cris-*-* | crisv32-*-*)
3028 unsupported_languages="$unsupported_languages java"
3031 unsupported_languages="$unsupported_languages fortran"
3032 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3034 noconfigdirs="$noconfigdirs target-boehm-gc";;
3036 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
3038 unsupported_languages="$unsupported_languages fortran"
3039 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3044 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3047 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3050 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3052 ep9312-*-elf | ep9312-*-coff)
3056 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3059 noconfigdirs="$noconfigdirs ${libgcj}"
3062 noconfigdirs="$noconfigdirs ${libgcj}"
3063 noconfigdirs="$noconfigdirs gprof"
3066 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3069 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3071 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3073 hppa*64*-*-linux* | parisc*64*-*-linux*)
3074 # In this case, it's because the hppa64-linux target is for
3075 # the kernel only at this point and has no libc, and thus no
3076 # headers, crt*.o, etc., all of which are needed by these.
3077 noconfigdirs="$noconfigdirs target-zlib"
3079 parisc*-*-linux* | hppa*-*-linux*)
3083 hppa*-*-openbsd* | \
3085 noconfigdirs="$noconfigdirs ${libgcj}"
3088 noconfigdirs="$noconfigdirs ld shellutils"
3094 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3095 # build on HP-UX 10.20.
3096 noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
3099 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3102 # No gdb support yet.
3103 noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb"
3106 # No gdb or ld support yet.
3107 noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3110 # No gdb or ld support yet.
3111 noconfigdirs="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3115 i[3456789]86-*-coff | i[3456789]86-*-elf)
3116 noconfigdirs="$noconfigdirs ${libgcj}"
3119 i[3456789]86-*-linux*)
3120 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3121 # not build java stuff by default.
3124 noconfigdirs="$noconfigdirs ${libgcj}";;
3127 # This section makes it possible to build newlib natively on linux.
3128 # If we are using a cross compiler then don't configure newlib.
3129 if test x${is_cross_compiler} != xno ; then
3130 noconfigdirs="$noconfigdirs target-newlib"
3132 noconfigdirs="$noconfigdirs target-libgloss"
3133 # If we are not using a cross compiler, do configure newlib.
3134 # Note however, that newlib will only be configured in this situation
3135 # if the --with-newlib option has been given, because otherwise
3136 # 'target-newlib' will appear in skipdirs.
3138 i[3456789]86-*-mingw32*)
3139 target_configdirs="$target_configdirs target-winsup"
3140 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3143 target_configdirs="$target_configdirs target-winsup"
3144 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3147 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3148 noconfigdirs="$noconfigdirs target-gperf target-libgloss"
3149 # always build newlib if winsup directory is present.
3150 if test -d "$srcdir/winsup/cygwin"; then
3151 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3152 elif test -d "$srcdir/newlib"; then
3153 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3156 i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
3157 i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
3160 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3162 i[3456789]86-*-sco3.2v5*)
3163 # The linker does not yet know about weak symbols in COFF,
3164 # and is not configured to handle mixed ELF and COFF.
3165 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3167 i[3456789]86-*-sco*)
3168 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3170 i[3456789]86-*-solaris2*)
3171 noconfigdirs="$noconfigdirs target-libgloss"
3173 i[3456789]86-*-sysv4*)
3174 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3176 i[3456789]86-*-beos*)
3177 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3179 i[3456789]86-*-rdos*)
3180 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3183 noconfigdirs="$noconfigdirs ${libgcj}"
3185 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3186 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3187 libgloss_dir=m68hc11
3190 noconfigdirs="$noconfigdirs ${libgcj}"
3193 noconfigdirs="$noconfigdirs ${libgcj}"
3195 m68*-*-* | fido-*-*)
3199 # The EPOC C++ environment does not support exceptions or rtti,
3200 # and so building libstdc++-v3 tends not to always work.
3201 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3204 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3205 unsupported_languages="$unsupported_languages fortran java"
3208 noconfigdirs="$noconfigdirs ${libgcj}"
3211 noconfigdirs="$noconfigdirs ${libgcj}"
3214 noconfigdirs="$noconfigdirs sim"
3217 # copied from rs6000-*-* entry
3218 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3220 powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
3221 target_configdirs="$target_configdirs target-winsup"
3222 noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3223 # always build newlib.
3224 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3226 # This is temporary until we can link against shared libraries
3227 powerpcle-*-solaris*)
3228 noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3232 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3235 noconfigdirs="$noconfigdirs ${libgcj}"
3238 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
3242 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
3245 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3248 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3251 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3254 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3257 skipdirs="$skipdirs target-libiberty"
3258 noconfigdirs="$noconfigdirs ${libgcj}"
3259 if test x$with_newlib = xyes; then
3260 noconfigdirs="$noconfigdirs gprof"
3265 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3268 # Linking libjava exceeds command-line length limits on at least
3269 # IRIX 6.2, but not on IRIX 6.5.
3270 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3271 # <oldham@codesourcery.com>
3272 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3275 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3278 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3281 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3285 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3289 i[3456789]86-*-vsta) ;; # don't add gprof back in
3290 i[3456789]86-*-go32*) ;; # don't add gprof back in
3291 i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3292 *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3296 noconfigdirs="$noconfigdirs ${libgcj}" ;;
3298 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
3301 sparclet-*-aout* | sparc86x-*-*)
3305 noconfigdirs="$noconfigdirs ${libgcj}"
3308 noconfigdirs="$noconfigdirs ${libgcj}"
3312 noconfigdirs="$noconfigdirs ${libgcj}"
3316 noconfigdirs="$noconfigdirs ${libgcj}"
3317 if test x${is_cross_compiler} != xno ; then
3318 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3323 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
3324 noconfigdirs="$noconfigdirs ${libgcj}"
3326 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
3329 noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3332 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3335 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3338 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3341 noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3344 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3347 noconfigdirs="$noconfigdirs ${libgcj}"
3350 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3352 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3353 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3356 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3359 noconfigdirs="$noconfigdirs ${libgcj}"
3363 # If we aren't building newlib, then don't build libgloss, since libgloss
3364 # depends upon some newlib header files.
3365 case "${noconfigdirs}" in
3366 *target-libgloss*) ;;
3367 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3370 # Work in distributions that contain no compiler tools, like Autoconf.
3372 host_makefile_frag=/dev/null
3373 if test -d ${srcdir}/config ; then
3376 # Avoid "too much defining" errors from HPUX compiler.
3377 tentative_cc="cc -Wp,-H256000"
3378 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3379 # If it's HP/UX ar, this should be harmless.
3383 tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3386 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3387 # chokes on bfd, the compiler won't let you assign integers to enums, and
3388 # other problems. Defining CC to gcc is a questionable way to say "don't use
3389 # the apollo compiler" (the preferred version of GCC could be called cc,
3390 # or whatever), but I'm not sure leaving CC as cc is any better...
3391 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3392 # Used to have BISON=yacc.
3396 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3399 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3400 tentative_cc="cc -Xa"
3401 host_makefile_frag="config/mh-cxux"
3403 m88k-motorola-sysv*)
3406 tentative_cc="cc -Wf,-XNg1000"
3407 host_makefile_frag="config/mh-decstation"
3410 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3411 tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
3412 host_makefile_frag="config/mh-necv4"
3415 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3416 # environment. Also bump switch table size so that cp-parse will
3417 # compile. Bump string length limit so linker builds.
3418 tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3421 host_makefile_frag="config/mh-sysv4"
3424 # This is for a MIPS running RISC/os 4.52C.
3426 # This is needed for GDB, but needs to be in the top-level make because
3427 # if a library is compiled with the bsd headers and gets linked with the
3428 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3429 # a different size).
3430 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3431 # known except to select the sysv environment. Could we use /proc instead?
3432 # These "sysv environments" and "bsd environments" often end up being a pain.
3434 # This is not part of CFLAGS because perhaps not all C compilers have this
3436 tentative_cc="cc -systype sysv"
3441 i[3456789]86-*-sysv5*)
3442 host_makefile_frag="config/mh-sysv5"
3444 i[3456789]86-*-dgux*)
3445 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3446 host_makefile_frag="config/mh-dgux386"
3448 i[3456789]86-ncr-sysv4.3*)
3449 # The MetaWare compiler will generate a copyright message unless you
3450 # turn it off by adding the -Hnocopyr flag.
3451 tentative_cc="cc -Hnocopyr"
3453 i[3456789]86-ncr-sysv4*)
3454 # for an NCR 3000 (i486/SVR4) system.
3455 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3456 # This compiler not only emits obnoxious copyright messages every time
3457 # you run it, but it chokes and dies on a whole bunch of GNU source
3458 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3459 tentative_cc="/usr/ccs/ATT/cc"
3460 host_makefile_frag="config/mh-ncr3000"
3462 i[3456789]86-*-sco3.2v5*)
3464 i[3456789]86-*-sco*)
3465 # The native C compiler botches some simple uses of const. Unfortunately,
3466 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3467 tentative_cc="cc -Dconst="
3468 host_makefile_frag="config/mh-sco"
3470 i[3456789]86-*-udk*)
3471 host_makefile_frag="config/mh-sysv5"
3473 i[3456789]86-*-solaris2*)
3474 host_makefile_frag="config/mh-sysv4"
3476 i[3456789]86-*-msdosdjgpp*)
3477 host_makefile_frag="config/mh-djgpp"
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3482 $as_echo_n "checking to see if cat works as expected... " >&6; }
3483 echo a >cygwin-cat-check
3484 if test `cat cygwin-cat-check` == a ; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3487 $as_echo "yes" >&6; }
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3492 as_fn_error "The cat command does not ignore carriage return characters.
3493 Please either mount the build directory in binary mode or run the following
3494 commands before running any configure script:
3500 host_makefile_frag="config/mh-cygwin"
3503 host_makefile_frag="config/mh-mingw"
3506 host_makefile_frag="config/mh-interix"
3509 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3513 host_makefile_frag="config/mh-solaris"
3516 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3517 # without overflowing the jump tables (-J says to use a 32 bit table)
3518 tentative_cc="cc -J"
3521 tentative_cc="cc -Wp,-H256000"
3522 host_makefile_frag="config/mh-pa-hpux10"
3524 hppa*-hp-hpux* | hppa*-*-hiux*)
3525 tentative_cc="cc -Wp,-H256000"
3526 host_makefile_frag="config/mh-pa"
3529 host_makefile_frag="config/mh-pa"
3531 *-hp-hpux* | *-*-hiux*)
3532 tentative_cc="cc -Wp,-H256000"
3535 # /bin/cc is less than useful for our purposes. Always use GCC
3536 tentative_cc="/usr/cygnus/progressive/bin/gcc"
3537 host_makefile_frag="config/mh-lynxrs6k"
3540 host_makefile_frag="config/mh-ppc-darwin"
3543 host_makefile_frag="config/mh-ppc-aix"
3546 host_makefile_frag="config/mh-ppc-aix"
3549 # /bin/cc is less than useful for our purposes. Always use GCC
3550 tentative_cc="/bin/gcc"
3553 host_makefile_frag="config/mh-sysv4"
3555 # This is placed last to prevent interfering with the cases above.
3557 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3558 host_makefile_frag="config/mh-x86omitfp"
3563 # If we aren't going to be using gcc, see if we can extract a definition
3564 # of CC from the fragment.
3565 # Actually, use the 'pre-extracted' version above.
3566 if test -z "${CC}" && test "${build}" = "${host}" ; then
3567 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
3569 for dir in $PATH; do
3570 test -z "$dir" && dir=.
3571 if test -f $dir/gcc; then
3577 if test -z "${found}" && test -n "${tentative_cc}" ; then
3582 if test "${build}" != "${host}" ; then
3583 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3584 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3585 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3586 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3587 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3588 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3589 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3590 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3591 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3592 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3593 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3594 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3596 AR_FOR_BUILD="\$(AR)"
3597 AS_FOR_BUILD="\$(AS)"
3598 CC_FOR_BUILD="\$(CC)"
3599 CXX_FOR_BUILD="\$(CXX)"
3600 GCJ_FOR_BUILD="\$(GCJ)"
3601 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3602 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3603 LD_FOR_BUILD="\$(LD)"
3604 NM_FOR_BUILD="\$(NM)"
3605 RANLIB_FOR_BUILD="\$(RANLIB)"
3606 WINDRES_FOR_BUILD="\$(WINDRES)"
3607 WINDMC_FOR_BUILD="\$(WINDMC)"
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_prog_CC+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC="$CC" # Let the user override the test.
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir=.
3631 for ac_exec_ext in '' $ac_executable_extensions; do
3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$ac_cv_prog_CC"; then
3656 # Extract the first word of "gcc", so it can be a program name with args.
3657 set dummy gcc; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673 ac_cv_prog_ac_ct_CC="gcc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3692 if test "x$ac_ct_CC" = x; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned=yes ;;
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3710 set dummy ${ac_tool_prefix}cc; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if test "${ac_cv_prog_CC+set}" = set; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_CC="${ac_tool_prefix}cc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 # Extract the first word of "cc", so it can be a program name with args.
3750 set dummy cc; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3768 ac_prog_rejected=yes
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test $ac_prog_rejected = yes; then
3780 # We found a bogon in the path, so make sure we never use it.
3781 set dummy $ac_cv_prog_CC
3783 if test $# != 0; then
3784 # We chose a different compiler from the bogus one.
3785 # However, it has the same basename, so the bogon will be chosen
3786 # first if we set CC to just the basename; use the full file name.
3788 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$CC"; then
3805 if test -n "$ac_tool_prefix"; then
3806 for ac_prog in cl.exe
3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if test "${ac_cv_prog_CC+set}" = set; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC="$CC" # Let the user override the test.
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 test -z "$as_dir" && as_dir=.
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3825 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3845 test -n "$CC" && break
3848 if test -z "$CC"; then
3850 for ac_prog in cl.exe
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy $ac_prog; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3869 ac_cv_prog_ac_ct_CC="$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$ac_ct_CC" && break
3892 if test "x$ac_ct_CC" = x; then
3895 case $cross_compiling:$ac_tool_warned in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3899 ac_tool_warned=yes ;;
3908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3910 as_fn_error "no acceptable C compiler found in \$PATH
3911 See \`config.log' for more details." "$LINENO" 5; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3917 for ac_option in --version -v -V -qversion; do
3918 { { ac_try="$ac_compiler $ac_option >&5"
3920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 if test -s conftest.err; then
3929 ... rest of stderr output deleted ...
3930 10q' conftest.err >conftest.er1
3931 cat conftest.er1 >&5
3932 rm -f conftest.er1 conftest.err
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 ac_clean_files_save=$ac_clean_files
3950 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3951 # Try to create an executable without -o first, disregard a.out.
3952 # It will help us diagnose broken compilers, and finding out an intuition
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3955 $as_echo_n "checking for C compiler default output file name... " >&6; }
3956 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3958 # The possible output files:
3959 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3962 for ac_file in $ac_files
3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3966 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3971 if { { ac_try="$ac_link_default"
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;;
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_link_default") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3985 # so that the user can short-circuit this test for compilers unknown to
3987 for ac_file in $ac_files ''
3989 test -f "$ac_file" || continue
3991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3994 # We found the default executable, but exeext='' is most
3998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4000 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 # We set ac_cv_exeext here because the later test for it is not
4003 # safe: cross compilers may not add the suffix if given an `-o'
4004 # argument, so we may need to know it at that point already.
4005 # Even if this section looks crufty: it has the advantage of
4012 test "$ac_cv_exeext" = no && ac_cv_exeext=
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4018 $as_echo "$ac_file" >&6; }
4019 if test -z "$ac_file"; then :
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 { as_fn_set_status 77
4026 as_fn_error "C compiler cannot create executables
4027 See \`config.log' for more details." "$LINENO" 5; }; }
4029 ac_exeext=$ac_cv_exeext
4031 # Check that the compiler produces executables we can run. If not, either
4032 # the compiler is broken, or we cross compile.
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4034 $as_echo_n "checking whether the C compiler works... " >&6; }
4035 # If not cross compiling, check that we can run a simple program.
4036 if test "$cross_compiling" != yes; then
4037 if { ac_try='./$ac_file'
4038 { { case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_try") 2>&5
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; }; then
4050 if test "$cross_compiling" = maybe; then
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot run C compiled programs.
4056 If you meant to cross compile, use \`--host'.
4057 See \`config.log' for more details." "$LINENO" 5; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4062 $as_echo "yes" >&6; }
4064 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4065 ac_clean_files=$ac_clean_files_save
4066 # Check that the compiler produces executables we can run. If not, either
4067 # the compiler is broken, or we cross compile.
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4069 $as_echo_n "checking whether we are cross compiling... " >&6; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4071 $as_echo "$cross_compiling" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4074 $as_echo_n "checking for suffix of executables... " >&6; }
4075 if { { ac_try="$ac_link"
4077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_link") 2>&5
4084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 test $ac_status = 0; }; then :
4086 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4087 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4088 # work properly (i.e., refer to `conftest.exe'), while it won't with
4090 for ac_file in conftest.exe conftest conftest.*; do
4091 test -f "$ac_file" || continue
4093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4094 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4102 as_fn_error "cannot compute suffix of executables: cannot compile and link
4103 See \`config.log' for more details." "$LINENO" 5; }
4105 rm -f conftest$ac_cv_exeext
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4107 $as_echo "$ac_cv_exeext" >&6; }
4109 rm -f conftest.$ac_ext
4110 EXEEXT=$ac_cv_exeext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4113 $as_echo_n "checking for suffix of object files... " >&6; }
4114 if test "${ac_cv_objext+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4128 rm -f conftest.o conftest.obj
4129 if { { ac_try="$ac_compile"
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4135 $as_echo "$ac_try_echo"; } >&5
4136 (eval "$ac_compile") 2>&5
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; then :
4140 for ac_file in conftest.o conftest.obj conftest.*; do
4141 test -f "$ac_file" || continue;
4143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4144 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4149 $as_echo "$as_me: failed program was:" >&5
4150 sed 's/^/| /' conftest.$ac_ext >&5
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154 as_fn_error "cannot compute suffix of object files: cannot compile
4155 See \`config.log' for more details." "$LINENO" 5; }
4157 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4160 $as_echo "$ac_cv_objext" >&6; }
4161 OBJEXT=$ac_cv_objext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4164 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4165 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4182 if ac_fn_c_try_compile "$LINENO"; then :
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4192 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4193 if test $ac_compiler_gnu = yes; then
4198 ac_test_CFLAGS=${CFLAGS+set}
4199 ac_save_CFLAGS=$CFLAGS
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4201 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4202 if test "${ac_cv_prog_cc_g+set}" = set; then :
4203 $as_echo_n "(cached) " >&6
4205 ac_save_c_werror_flag=$ac_c_werror_flag
4206 ac_c_werror_flag=yes
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4220 if ac_fn_c_try_compile "$LINENO"; then :
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_c_werror_flag=$ac_save_c_werror_flag
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4251 if ac_fn_c_try_compile "$LINENO"; then :
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4262 $as_echo "$ac_cv_prog_cc_g" >&6; }
4263 if test "$ac_test_CFLAGS" = set; then
4264 CFLAGS=$ac_save_CFLAGS
4265 elif test $ac_cv_prog_cc_g = yes; then
4266 if test "$GCC" = yes; then
4272 if test "$GCC" = yes; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4279 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4280 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4281 $as_echo_n "(cached) " >&6
4283 ac_cv_prog_cc_c89=no
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 #include <sys/types.h>
4290 #include <sys/stat.h>
4291 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4292 struct buf { int x; };
4293 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4294 static char *e (p, i)
4300 static char *f (char * (*g) (char **, int), char **p, ...)
4305 s = g (p, va_arg (v,int));
4310 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4311 function prototypes and stuff, but not '\xHH' hex character constants.
4312 These don't provoke an error unfortunately, instead are silently treated
4313 as 'x'. The following induces an error, until -std is added to get
4314 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4315 array size at least. It's necessary to write '\x00'==0 to get something
4316 that's true only with -std. */
4317 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4319 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4320 inside strings and character constants. */
4322 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4324 int test (int i, double x);
4325 struct s1 {int (*f) (int a);};
4326 struct s2 {int (*f) (double a);};
4327 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4333 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4338 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4339 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4341 CC="$ac_save_CC $ac_arg"
4342 if ac_fn_c_try_compile "$LINENO"; then :
4343 ac_cv_prog_cc_c89=$ac_arg
4345 rm -f core conftest.err conftest.$ac_objext
4346 test "x$ac_cv_prog_cc_c89" != "xno" && break
4348 rm -f conftest.$ac_ext
4353 case "x$ac_cv_prog_cc_c89" in
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4356 $as_echo "none needed" >&6; } ;;
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4359 $as_echo "unsupported" >&6; } ;;
4361 CC="$CC $ac_cv_prog_cc_c89"
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4363 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4365 if test "x$ac_cv_prog_cc_c89" != xno; then :
4370 ac_cpp='$CPP $CPPFLAGS'
4371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376 ac_cpp='$CXXCPP $CPPFLAGS'
4377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4380 if test -z "$CXX"; then
4381 if test -n "$CCC"; then
4384 if test -n "$ac_tool_prefix"; then
4385 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_prog_CXX+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -n "$CXX"; then
4395 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 if test -n "$CXX"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4417 $as_echo "$CXX" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4424 test -n "$CXX" && break
4427 if test -z "$CXX"; then
4429 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 # Extract the first word of "$ac_prog", so it can be a program name with args.
4432 set dummy $ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -n "$ac_ct_CXX"; then
4439 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4448 ac_cv_prog_ac_ct_CXX="$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4459 if test -n "$ac_ct_CXX"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4461 $as_echo "$ac_ct_CXX" >&6; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$ac_ct_CXX" && break
4471 if test "x$ac_ct_CXX" = x; then
4474 case $cross_compiling:$ac_tool_warned in
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4478 ac_tool_warned=yes ;;
4486 # Provide some information about the compiler.
4487 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4490 for ac_option in --version -v -V -qversion; do
4491 { { ac_try="$ac_compiler $ac_option >&5"
4493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4494 *) ac_try_echo=$ac_try;;
4496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4497 $as_echo "$ac_try_echo"; } >&5
4498 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4500 if test -s conftest.err; then
4502 ... rest of stderr output deleted ...
4503 10q' conftest.err >conftest.er1
4504 cat conftest.er1 >&5
4505 rm -f conftest.er1 conftest.err
4507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4508 test $ac_status = 0; }
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4512 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4513 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4530 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4540 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4541 if test $ac_compiler_gnu = yes; then
4546 ac_test_CXXFLAGS=${CXXFLAGS+set}
4547 ac_save_CXXFLAGS=$CXXFLAGS
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4549 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4550 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4554 ac_cxx_werror_flag=yes
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 ac_cv_prog_cxx_g=yes
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_cxx_try_compile "$LINENO"; then :
4586 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4599 if ac_fn_cxx_try_compile "$LINENO"; then :
4600 ac_cv_prog_cxx_g=yes
4602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4610 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4611 if test "$ac_test_CXXFLAGS" = set; then
4612 CXXFLAGS=$ac_save_CXXFLAGS
4613 elif test $ac_cv_prog_cxx_g = yes; then
4614 if test "$GXX" = yes; then
4620 if test "$GXX" = yes; then
4627 ac_cpp='$CPP $CPPFLAGS'
4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4633 # We must set the default linker to the linker used by gcc for the correct
4634 # operation of libtool. If LD is not defined and we are using gcc, try to
4635 # set the LD default to the ld used by gcc.
4636 if test -z "$LD"; then
4637 if test "$GCC" = yes; then
4640 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4642 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4644 case $gcc_prog_ld in
4645 # Accept absolute paths.
4646 [\\/]* | [A-Za-z]:[\\/]*)
4647 LD="$gcc_prog_ld" ;;
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$GNATBIND"; then
4664 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 GNATBIND=$ac_cv_prog_GNATBIND
4684 if test -n "$GNATBIND"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4686 $as_echo "$GNATBIND" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_GNATBIND"; then
4695 ac_ct_GNATBIND=$GNATBIND
4696 # Extract the first word of "gnatbind", so it can be a program name with args.
4697 set dummy gnatbind; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_GNATBIND"; then
4704 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4724 if test -n "$ac_ct_GNATBIND"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4726 $as_echo "$ac_ct_GNATBIND" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_GNATBIND" = x; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4741 GNATBIND=$ac_ct_GNATBIND
4744 GNATBIND="$ac_cv_prog_GNATBIND"
4747 if test -n "$ac_tool_prefix"; then
4748 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4749 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -n "$GNATMAKE"; then
4756 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 GNATMAKE=$ac_cv_prog_GNATMAKE
4776 if test -n "$GNATMAKE"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4778 $as_echo "$GNATMAKE" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4786 if test -z "$ac_cv_prog_GNATMAKE"; then
4787 ac_ct_GNATMAKE=$GNATMAKE
4788 # Extract the first word of "gnatmake", so it can be a program name with args.
4789 set dummy gnatmake; ac_word=$2
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 $as_echo_n "checking for $ac_word... " >&6; }
4792 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4795 if test -n "$ac_ct_GNATMAKE"; then
4796 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4805 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4816 if test -n "$ac_ct_GNATMAKE"; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4818 $as_echo "$ac_ct_GNATMAKE" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4824 if test "x$ac_ct_GNATMAKE" = x; then
4827 case $cross_compiling:$ac_tool_warned in
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4831 ac_tool_warned=yes ;;
4833 GNATMAKE=$ac_ct_GNATMAKE
4836 GNATMAKE="$ac_cv_prog_GNATMAKE"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4840 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4841 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4842 $as_echo_n "(cached) " >&6
4844 cat >conftest.adb <<EOF
4845 procedure conftest is begin null; end conftest;
4847 acx_cv_cc_gcc_supports_ada=no
4848 # There is a bug in old released versions of GCC which causes the
4849 # driver to exit successfully when the appropriate language module
4850 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4851 # Therefore we must check for the error message as well as an
4852 # unsuccessful exit.
4853 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4854 # given a .adb file, but produce no object file. So we must check
4855 # if an object file was really produced to guard against this.
4856 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4857 if test x"$errors" = x && test -f conftest.$ac_objext; then
4858 acx_cv_cc_gcc_supports_ada=yes
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4863 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4865 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4872 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4873 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4874 $as_echo_n "(cached) " >&6
4878 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4879 if cmp t1 t2 2 2 > /dev/null 2>&1; then
4880 if cmp t1 t2 1 1 > /dev/null 2>&1; then
4883 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
4886 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
4887 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
4890 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
4897 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
4898 do_compare="$gcc_cv_prog_cmp_skip"
4902 # See if we are building gcc with C++.
4903 # Check whether --enable-build-with-cxx was given.
4904 if test "${enable_build_with_cxx+set}" = set; then :
4905 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
4907 ENABLE_BUILD_WITH_CXX=no
4911 # Check for GMP, MPFR and MPC
4912 gmplibs="-lmpfr -lgmp"
4919 # Specify a location for mpc
4920 # check for this first so it ends up on the link line before mpfr.
4922 # Check whether --with-mpc was given.
4923 if test "${with_mpc+set}" = set; then :
4928 # Check whether --with-mpc_include was given.
4929 if test "${with_mpc_include+set}" = set; then :
4930 withval=$with_mpc_include;
4934 # Check whether --with-mpc_lib was given.
4935 if test "${with_mpc_lib+set}" = set; then :
4936 withval=$with_mpc_lib;
4940 if test "x$with_mpc" != x; then
4941 mpclibs="-L$with_mpc/lib -lmpc"
4942 mpcinc="-I$with_mpc/include $mpcinc"
4944 if test "x$with_mpc_include" != x; then
4945 mpcinc="-I$with_mpc_include $mpcinc"
4947 if test "x$with_mpc_lib" != x; then
4948 mpclibs="-L$with_mpc_lib -lmpc"
4950 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
4951 mpclibs='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
4952 mpcinc='-I$$s/mpc/src '"$mpcinc"
4953 # Do not test the mpc version. Assume that it is sufficient, since
4954 # it is in the source tree, and the library has not been built yet
4955 # but it would be included on the link line in the version check below
4956 # hence making the test fail.
4960 # Specify a location for mpfr
4961 # check for this first so it ends up on the link line before gmp.
4963 # Check whether --with-mpfr-dir was given.
4964 if test "${with_mpfr_dir+set}" = set; then :
4965 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
4966 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
4971 # Check whether --with-mpfr was given.
4972 if test "${with_mpfr+set}" = set; then :
4977 # Check whether --with-mpfr_include was given.
4978 if test "${with_mpfr_include+set}" = set; then :
4979 withval=$with_mpfr_include;
4983 # Check whether --with-mpfr_lib was given.
4984 if test "${with_mpfr_lib+set}" = set; then :
4985 withval=$with_mpfr_lib;
4989 if test "x$with_mpfr" != x; then
4990 gmplibs="-L$with_mpfr/lib $gmplibs"
4991 gmpinc="-I$with_mpfr/include"
4993 if test "x$with_mpfr_include" != x; then
4994 gmpinc="-I$with_mpfr_include"
4996 if test "x$with_mpfr_lib" != x; then
4997 gmplibs="-L$with_mpfr_lib $gmplibs"
4999 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5000 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
5001 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5002 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr'
5003 # Do not test the mpfr version. Assume that it is sufficient, since
5004 # it is in the source tree, and the library has not been built yet
5005 # but it would be included on the link line in the version check below
5006 # hence making the test fail.
5010 # Specify a location for gmp
5012 # Check whether --with-gmp-dir was given.
5013 if test "${with_gmp_dir+set}" = set; then :
5014 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5015 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5020 # Check whether --with-gmp was given.
5021 if test "${with_gmp+set}" = set; then :
5026 # Check whether --with-gmp_include was given.
5027 if test "${with_gmp_include+set}" = set; then :
5028 withval=$with_gmp_include;
5032 # Check whether --with-gmp_lib was given.
5033 if test "${with_gmp_lib+set}" = set; then :
5034 withval=$with_gmp_lib;
5039 if test "x$with_gmp" != x; then
5040 gmplibs="-L$with_gmp/lib $gmplibs"
5041 gmpinc="-I$with_gmp/include $gmpinc"
5043 if test "x$with_gmp_include" != x; then
5044 gmpinc="-I$with_gmp_include $gmpinc"
5046 if test "x$with_gmp_lib" != x; then
5047 gmplibs="-L$with_gmp_lib $gmplibs"
5049 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5050 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
5051 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5052 extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
5053 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
5054 # Do not test the gmp version. Assume that it is sufficient, since
5055 # it is in the source tree, and the library has not been built yet
5056 # but it would be included on the link line in the version check below
5057 # hence making the test fail.
5061 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5063 saved_CFLAGS="$CFLAGS"
5064 CFLAGS="$CFLAGS $gmpinc"
5065 # Check GMP actually works
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of gmp.h" >&5
5067 $as_echo_n "checking for correct version of gmp.h... " >&6; }
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5076 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5086 $as_echo "yes" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }; have_gmp=no
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 # If we have GMP, check the MPFR version.
5094 if test x"$have_gmp" = xyes; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of mpfr.h" >&5
5096 $as_echo_n "checking for correct version of mpfr.h... " >&6; }
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5105 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5113 if ac_fn_c_try_compile "$LINENO"; then :
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5122 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
5130 if ac_fn_c_try_compile "$LINENO"; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5132 $as_echo "yes" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5135 $as_echo "buggy but acceptable" >&6; }
5137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }; have_gmp=no
5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5145 # Check for the MPC header version.
5146 if test x"$have_mpc" != xyes ; then
5147 CFLAGS="$CFLAGS $mpcinc"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5149 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5151 /* end confdefs.h. */
5157 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
5165 if ac_fn_c_try_compile "$LINENO"; then :
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5167 $as_echo "yes" >&6; }; have_mpc=maybe
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175 # Now check the MPFR library.
5176 if test x"$have_gmp" = xyes; then
5178 LIBS="$LIBS $gmplibs"
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
5180 $as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h. */
5194 mpfr_atan2 (n, n, x, GMP_RNDN);
5195 mpfr_erfc (n, x, GMP_RNDN);
5196 mpfr_subnormalize (x, t, GMP_RNDN);
5202 if ac_fn_c_try_link "$LINENO"; then :
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }; have_gmp=no
5209 rm -f core conftest.err conftest.$ac_objext \
5210 conftest$ac_exeext conftest.$ac_ext
5214 if test x"$have_mpc" = xmaybe; then
5216 LIBS="$LIBS $mpclibs $gmplibs"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc library" >&5
5218 $as_echo_n "checking for the correct version of the mpc library... " >&6; }
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5228 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
5229 mpc_sin (n, n, MPC_RNDNN);
5230 mpc_cos (n, n, MPC_RNDNN);
5231 mpc_tan (n, n, MPC_RNDNN);
5232 mpc_sinh (n, n, MPC_RNDNN);
5233 mpc_cosh (n, n, MPC_RNDNN);
5234 mpc_tanh (n, n, MPC_RNDNN);
5235 mpc_exp (n, n, MPC_RNDNN);
5236 mpc_log (n, n, MPC_RNDNN);
5237 mpc_sqrt (n, n, MPC_RNDNN);
5238 mpc_proj (n, n, MPC_RNDNN);
5239 mpc_neg (n, n, MPC_RNDNN);
5240 mpc_sqr (n, n, MPC_RNDNN);
5247 if ac_fn_c_try_link "$LINENO"; then :
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5249 $as_echo "yes" >&6; }; have_mpc=yes
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
5254 rm -f core conftest.err conftest.$ac_objext \
5255 conftest$ac_exeext conftest.$ac_ext
5259 CFLAGS="$saved_CFLAGS"
5261 if test x$have_gmp != xyes; then
5262 as_fn_error "Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5263 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5264 Copies of these libraries' source code can be found at their respective
5265 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5266 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5267 If you obtained GMP and/or MPFR from a vendor distribution package, make
5268 sure that you have installed both the libraries and the header files.
5269 They may be located in separate packages." "$LINENO" 5
5273 if test x$have_mpc != xyes ; then
5278 gmpinc="$mpcinc $gmpinc"
5279 gmplibs="$mpclibs $gmplibs"
5281 # Flags needed for both GMP, MPFR and/or MPC.
5288 # Allow host libstdc++ to be specified for static linking with PPL.
5290 # Check whether --with-host-libstdcxx was given.
5291 if test "${with_host_libstdcxx+set}" = set; then :
5292 withval=$with_host_libstdcxx;
5296 case $with_host_libstdcxx in
5298 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5302 # Linker flags to use for stage1 or when not boostrapping.
5304 # Check whether --with-stage1-ldflags was given.
5305 if test "${with_stage1_ldflags+set}" = set; then :
5306 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5309 stage1_ldflags=$withval
5317 # Libraries to use for stage1 or when not bootstrapping.
5319 # Check whether --with-stage1-libs was given.
5320 if test "${with_stage1_libs+set}" = set; then :
5321 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5324 stage1_libs=$withval
5327 stage1_libs=$with_host_libstdcxx
5332 # Linker flags to use for stage2 and later builds.
5334 # Check whether --with-boot-ldflags was given.
5335 if test "${with_boot_ldflags+set}" = set; then :
5336 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5339 poststage1_ldflags=$withval
5342 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5343 poststage1_ldflags=-static-libstdc++
5351 # Libraries to use for stage2 and later builds. This defaults to the
5352 # argument passed to --with-host-libstdcxx.
5354 # Check whether --with-boot-libs was given.
5355 if test "${with_boot_libs+set}" = set; then :
5356 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5359 poststage1_libs=$withval
5362 poststage1_libs=$with_host_libstdcxx
5369 ppl_minor_version=10
5370 ppllibs=" -lppl_c -lppl -lgmpxx"
5374 # Check whether --with-ppl was given.
5375 if test "${with_ppl+set}" = set; then :
5382 # Check whether --with-ppl_include was given.
5383 if test "${with_ppl_include+set}" = set; then :
5384 withval=$with_ppl_include;
5388 # Check whether --with-ppl_lib was given.
5389 if test "${with_ppl_lib+set}" = set; then :
5390 withval=$with_ppl_lib;
5399 ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5400 pplinc="-I$with_ppl/include $pplinc"
5401 LIBS="$ppllibs $LIBS"
5404 if test "x$with_ppl_include" != x; then
5405 pplinc="-I$with_ppl_include $pplinc"
5407 if test "x$with_ppl_lib" != x; then
5408 ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5409 LIBS="$ppllibs $LIBS"
5411 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
5412 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
5413 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5414 LIBS="$ppllibs $LIBS"
5417 # Check whether --enable-ppl-version-check was given.
5418 if test "${enable_ppl_version_check+set}" = set; then :
5419 enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval
5421 ENABLE_PPL_CHECK=yes
5425 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5426 saved_CFLAGS="$CFLAGS"
5427 CFLAGS="$CFLAGS $pplinc $gmpinc"
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5429 $as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5437 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5445 if ac_fn_c_try_compile "$LINENO"; then :
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5447 $as_echo "yes" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }; ppllibs= ; pplinc=
5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 CFLAGS="$saved_CFLAGS"
5456 # Flags needed for PPL
5462 clooglibs=" -lcloog "
5463 clooginc=" -DCLOOG_PPL_BACKEND "
5466 # Check whether --with-cloog was given.
5467 if test "${with_cloog+set}" = set; then :
5468 withval=$with_cloog;
5474 # Check whether --with-cloog_include was given.
5475 if test "${with_cloog_include+set}" = set; then :
5476 withval=$with_cloog_include;
5480 # Check whether --with-cloog_lib was given.
5481 if test "${with_cloog_lib+set}" = set; then :
5482 withval=$with_cloog_lib;
5492 clooglibs="-L$with_cloog/lib -lcloog"
5493 clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5494 LIBS="$clooglibs $LIBS"
5497 if test "x$with_cloog_include" != x; then
5498 clooginc="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5500 if test "x$with_cloog_lib" != x; then
5501 clooglibs="-L$with_cloog_lib -lcloog"
5502 LIBS="$clooglibs $LIBS"
5504 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x && test -d ${srcdir}/cloog; then
5505 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5506 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5507 LIBS="$clooglibs $LIBS"
5510 # Check whether --enable-cloog-version-check was given.
5511 if test "${enable_cloog_version_check+set}" = set; then :
5512 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5514 ENABLE_CLOOG_CHECK=yes
5518 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5519 saved_CFLAGS="$CFLAGS"
5520 CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc"
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of CLooG" >&5
5522 $as_echo_n "checking for correct version of CLooG... " >&6; }
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 #include "cloog/cloog.h"
5530 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5538 if ac_fn_c_try_compile "$LINENO"; then :
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5540 $as_echo "yes" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }; clooglibs= ; clooginc=
5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5546 CFLAGS="$saved_CFLAGS"
5549 # Flags needed for CLOOG
5554 # By default, C is the only stage 1 language.
5555 stage1_languages=,c,
5557 # Target libraries that we bootstrap.
5558 bootstrap_target_libs=,target-libgcc,
5560 # Figure out what language subdirectories are present.
5561 # Look if the user specified --enable-languages="..."; if not, use
5562 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5564 # NB: embedded tabs in this IF block -- do not untabify
5565 if test -d ${srcdir}/gcc; then
5566 if test x"${enable_languages+set}" != xset; then
5567 if test x"${LANGUAGES+set}" = xset; then
5568 enable_languages="${LANGUAGES}"
5569 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
5571 enable_languages=all
5574 if test x"${enable_languages}" = x ||
5575 test x"${enable_languages}" = xyes;
5577 echo configure.in: --enable-languages needs at least one language argument 1>&2
5581 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5583 # 'f95' is the old name for the 'fortran' language. We issue a warning
5584 # and make the substitution.
5585 case ,${enable_languages}, in
5587 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
5588 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5592 # First scan to see if an enabled language requires some other language.
5593 # We assume that a given config-lang.in will list all the language
5594 # front ends it requires, even if some are required indirectly.
5595 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
5596 case ${lang_frag} in
5598 # The odd quoting in the next line works around
5599 # an apparent bug in bash 1.12 on linux.
5600 ${srcdir}/gcc/[*]/config-lang.in) ;;
5602 # From the config-lang.in, get $language, $lang_requires
5606 for other in ${lang_requires} ; do
5607 case ,${enable_languages}, in
5611 echo " \`$other' language required by \`$language'; enabling" 1>&2
5612 enable_languages="${enable_languages},${other}"
5620 new_enable_languages=,c,
5621 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5622 potential_languages=,c,
5624 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
5625 case ${lang_frag} in
5627 # The odd quoting in the next line works around
5628 # an apparent bug in bash 1.12 on linux.
5629 ${srcdir}/gcc/[*]/config-lang.in) ;;
5631 # From the config-lang.in, get $language, $target_libs,
5632 # $lang_dirs, $boot_language, and $build_by_default
5638 build_by_default=yes
5640 if test x${language} = x; then
5641 echo "${lang_frag} doesn't set \$language." 1>&2
5645 if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5649 case ,${enable_languages}, in
5651 # Language was explicitly selected; include it.
5655 # 'all' was selected, select it if it is a default language
5656 add_this_lang=${build_by_default}
5663 # Disable languages that need other directories if these aren't available.
5664 for i in $subdir_requires; do
5665 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5666 case ,${enable_languages}, in
5668 # Specifically requested language; tell them.
5669 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
5673 add_this_lang=unsupported
5678 # Disable Ada if no preexisting GNAT is available.
5679 case ,${enable_languages},:${language}:${have_gnat} in
5680 *,${language},*:ada:no)
5681 # Specifically requested language; tell them.
5682 as_fn_error "GNAT is required to build $language" "$LINENO" 5
5686 add_this_lang=unsupported
5690 # Disable a language that is unsupported by the target.
5691 case " $unsupported_languages " in
5693 add_this_lang=unsupported
5697 case $add_this_lang in
5699 # Remove language-dependent dirs.
5700 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5703 # Remove language-dependent dirs; still show language as supported.
5704 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5705 potential_languages="${potential_languages}${language},"
5708 new_enable_languages="${new_enable_languages}${language},"
5709 potential_languages="${potential_languages}${language},"
5710 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
5711 case ${boot_language} in
5713 # Add to (comma-separated) list of stage 1 languages.
5714 stage1_languages="${stage1_languages}${language},"
5715 # We need to bootstrap any supporting libraries.
5716 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
5725 # Check whether --enable-stage1-languages was given.
5726 if test "${enable_stage1_languages+set}" = set; then :
5727 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
5729 # Set it to something that will have no effect in the loop below
5730 enable_stage1_languages=c ;;
5732 enable_stage1_languages=`echo $new_enable_languages | \
5733 sed -e "s/^,//" -e "s/,$//" ` ;;
5735 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
5736 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5739 # Add "good" languages from enable_stage1_languages to stage1_languages,
5740 # while "bad" languages go in missing_languages. Leave no duplicates.
5741 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5742 case $potential_languages in
5744 case $stage1_languages in
5746 *) stage1_languages="$stage1_languages$i," ;;
5749 case $missing_languages in
5751 *) missing_languages="$missing_languages$i," ;;
5758 # Remove leading/trailing commas that were added for simplicity
5759 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5760 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5761 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5762 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5764 if test "x$missing_languages" != x; then
5766 The following requested languages could not be built: ${missing_languages}
5767 Supported languages are: ${potential_languages}" "$LINENO" 5
5769 if test "x$new_enable_languages" != "x$enable_languages"; then
5770 echo The following languages will be built: ${new_enable_languages}
5771 enable_languages="$new_enable_languages"
5775 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5778 # Handle --disable-<component> generically.
5779 for dir in $configdirs $build_configdirs $target_configdirs ; do
5780 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5781 varname=`echo $dirname | sed -e s/+/_/g`
5782 if eval test x\${enable_${varname}} "=" xno ; then
5783 noconfigdirs="$noconfigdirs $dir"
5787 # Check for Boehm's garbage collector
5788 # Check whether --enable-objc-gc was given.
5789 if test "${enable_objc_gc+set}" = set; then :
5790 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5791 *,objc,*:*:yes:*target-boehm-gc*)
5792 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
5798 # Make sure we only build Boehm's garbage collector if required.
5799 case ,${enable_languages},:${enable_objc_gc} in
5801 # Keep target-boehm-gc if requested for Objective-C.
5804 # Otherwise remove target-boehm-gc depending on target-libjava.
5805 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
5806 noconfigdirs="$noconfigdirs target-boehm-gc"
5811 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5812 # $build_configdirs and $target_configdirs.
5813 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5816 for dir in . $skipdirs $noconfigdirs ; do
5817 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5818 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5819 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5820 if test -r $srcdir/$dirname/configure ; then
5821 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5824 notsupp="$notsupp $dir"
5828 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5829 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5830 if test -r $srcdir/$dirname/configure ; then
5831 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5834 notsupp="$notsupp $dir"
5838 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5839 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5840 if test -r $srcdir/$dirname/configure ; then
5841 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5844 notsupp="$notsupp $dir"
5850 # Sometimes the tools are distributed with libiberty but with no other
5851 # libraries. In that case, we don't want to build target-libiberty.
5852 # Don't let libgcc imply libiberty either.
5853 if test -n "${target_configdirs}" ; then
5856 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5857 if test "$i" = "libgcc"; then
5858 libgcc=target-libgcc
5859 elif test "$i" != "libiberty" ; then
5860 if test -r $srcdir/$i/configure ; then
5866 if test -z "${others}" ; then
5867 target_configdirs=$libgcc
5871 # Quietly strip out all directories which aren't configurable in this tree.
5872 # This relies on all configurable subdirectories being autoconfiscated, which
5874 build_configdirs_all="$build_configdirs"
5876 for i in ${build_configdirs_all} ; do
5877 j=`echo $i | sed -e s/build-//g`
5878 if test -f ${srcdir}/$j/configure ; then
5879 build_configdirs="${build_configdirs} $i"
5883 configdirs_all="$configdirs"
5885 for i in ${configdirs_all} ; do
5886 if test -f ${srcdir}/$i/configure ; then
5887 configdirs="${configdirs} $i"
5891 target_configdirs_all="$target_configdirs"
5893 for i in ${target_configdirs_all} ; do
5894 j=`echo $i | sed -e s/target-//g`
5895 if test -f ${srcdir}/$j/configure ; then
5896 target_configdirs="${target_configdirs} $i"
5900 # Produce a warning message for the subdirs we can't configure.
5901 # This isn't especially interesting in the Cygnus tree, but in the individual
5902 # FSF releases, it's important to let people know when their machine isn't
5903 # supported by the one or two programs in a package.
5905 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5906 # If $appdirs is non-empty, at least one of those directories must still
5907 # be configured, or we error out. (E.g., if the gas release supports a
5908 # specified target in some subdirs but not the gas subdir, we shouldn't
5909 # pretend that all is well.)
5910 if test -n "$appdirs" ; then
5911 for dir in $appdirs ; do
5912 if test -r $dir/Makefile.in ; then
5913 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5917 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
5923 if test -n "$appdirs" ; then
5924 echo "*** This configuration is not supported by this package." 1>&2
5928 # Okay, some application will build, or we don't care to check. Still
5929 # notify of subdirs not getting built.
5930 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5931 echo " ${notsupp}" 1>&2
5932 echo " (Any other directories should still work fine.)" 1>&2
5940 # To find our prefix, in gcc_cv_tool_prefix.
5942 # The user is always right.
5943 if test "${PATH_SEPARATOR+set}" != set; then
5944 echo "#! /bin/sh" >conf$$.sh
5945 echo "exit 0" >>conf$$.sh
5947 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5957 if test "x$exec_prefix" = xNONE; then
5958 if test "x$prefix" = xNONE; then
5959 gcc_cv_tool_prefix=$ac_default_prefix
5961 gcc_cv_tool_prefix=$prefix
5964 gcc_cv_tool_prefix=$exec_prefix
5967 # If there is no compiler in the tree, use the PATH only. In any
5968 # case, if there is no compiler in the tree nobody should use
5969 # AS_FOR_TARGET and LD_FOR_TARGET.
5970 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
5971 gcc_version=`cat $srcdir/gcc/BASE-VER`
5972 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5973 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5974 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5975 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5976 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5977 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5982 if test x$build = x$target && test -n "$md_exec_prefix"; then
5983 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5991 # Check whether --with-build-sysroot was given.
5992 if test "${with_build_sysroot+set}" = set; then :
5993 withval=$with_build_sysroot; if test x"$withval" != x ; then
5994 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
5997 SYSROOT_CFLAGS_FOR_TARGET=
6003 # Check whether --with-debug-prefix-map was given.
6004 if test "${with_debug_prefix_map+set}" = set; then :
6005 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6006 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6007 for debug_map in $withval; do
6008 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6012 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6017 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6018 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6019 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6020 # We want to ensure that TARGET libraries (which we know are built with
6021 # gcc) are built with "-O2 -g", so include those options when setting
6022 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6023 if test "x$CFLAGS_FOR_TARGET" = x; then
6024 CFLAGS_FOR_TARGET=$CFLAGS
6027 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6030 *" -g "* | *" -g3 "*) ;;
6031 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6036 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6037 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6038 case " $CXXFLAGS " in
6040 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6042 case " $CXXFLAGS " in
6043 *" -g "* | *" -g3 "*) ;;
6044 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6049 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6050 # the named directory are copied to $(tooldir)/sys-include.
6051 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6052 if test x${is_cross_compiler} = xno ; then
6053 echo 1>&2 '***' --with-headers is only supported when cross compiling
6056 if test x"${with_headers}" != xyes ; then
6057 x=${gcc_cv_tool_prefix}
6058 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6062 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6063 # the name directories are copied to $(tooldir)/lib. Multiple directories
6065 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6066 if test x${is_cross_compiler} = xno ; then
6067 echo 1>&2 '***' --with-libs is only supported when cross compiling
6070 if test x"${with_libs}" != xyes ; then
6071 # Copy the libraries in reverse order, so that files in the first named
6072 # library override files in subsequent libraries.
6073 x=${gcc_cv_tool_prefix}
6074 for l in ${with_libs}; do
6075 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6080 # Set with_gnu_as and with_gnu_ld as appropriate.
6082 # This is done by determining whether or not the appropriate directory
6083 # is available, and by checking whether or not specific configurations
6084 # have requested that this magic not happen.
6086 # The command line options always override the explicit settings in
6087 # configure.in, and the settings in configure.in override this magic.
6089 # If the default for a toolchain is to use GNU as and ld, and you don't
6090 # want to do that, then you should use the --without-gnu-as and
6091 # --without-gnu-ld options for the configure script.
6093 if test x${use_gnu_as} = x &&
6094 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6096 extra_host_args="$extra_host_args --with-gnu-as"
6099 if test x${use_gnu_ld} = x &&
6100 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6102 extra_host_args="$extra_host_args --with-gnu-ld"
6105 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6106 # can detect this case.
6108 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6110 extra_host_args="$extra_host_args --with-newlib"
6113 # Handle ${copy_dirs}
6114 set fnord ${copy_dirs}
6116 while test $# != 0 ; do
6117 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6120 echo Copying $1 to $2
6122 # Use the install script to create the directory and all required
6123 # parent directories.
6124 if test -d $2 ; then
6128 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6131 # Copy the directory, assuming we have tar.
6132 # FIXME: Should we use B in the second tar? Not all systems support it.
6133 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6135 # It is the responsibility of the user to correctly adjust all
6136 # symlinks. If somebody can figure out how to handle them correctly
6137 # here, feel free to add the code.
6144 # Determine a target-dependent exec_prefix that the installed
6145 # gcc will search in. Keep this list sorted by triplet, with
6146 # the *-*-osname triplets last.
6150 md_exec_prefix=/gnu/lib/gcc-lib
6152 i[34567]86-pc-msdosdjgpp*)
6153 md_exec_prefix=/dev/env/DJDIR/bin
6155 i[34567]86-*-sco3.2v5*)
6156 if test $with_gnu_as = yes; then
6157 md_exec_prefix=/usr/gnu/bin
6159 md_exec_prefix=/usr/ccs/bin/elf
6164 powerpc-*-chorusos* | \
6165 powerpc*-*-eabi* | \
6166 powerpc*-*-sysv* | \
6167 powerpc*-*-kaos* | \
6169 md_exec_prefix=/usr/ccs/bin
6174 md_exec_prefix=/usr/ccs/bin
6189 md_exec_prefix=/usr/ccs/bin
6193 extra_arflags_for_target=
6194 extra_nmflags_for_target=
6195 extra_ranlibflags_for_target=
6196 target_makefile_frag=/dev/null
6199 target_makefile_frag="config/mt-mep"
6202 target_makefile_frag="config/mt-spu"
6205 target_makefile_frag="config/mt-sde"
6207 mipsisa*-*-elfoabi*)
6208 target_makefile_frag="config/mt-mips-elfoabi"
6210 mips*-*-*linux* | mips*-*-gnu*)
6211 target_makefile_frag="config/mt-mips-gnu"
6214 target_makefile_frag="config/mt-netware"
6216 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6217 target_makefile_frag="config/mt-gnu"
6219 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6220 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6221 # commands to handle both 32-bit and 64-bit objects. These flags are
6222 # harmless if we're using GNU nm or ar.
6223 extra_arflags_for_target=" -X32_64"
6224 extra_nmflags_for_target=" -B -X32_64"
6227 # ranlib from Darwin requires the -c flag to look at common symbols.
6228 extra_ranlibflags_for_target=" -c"
6230 mips*-*-pe | sh*-*-pe | *arm-wince-pe)
6231 target_makefile_frag="config/mt-wince"
6235 alphaieee_frag=/dev/null
6238 # This just makes sure to use the -mieee option to build target libs.
6239 # This should probably be set individually by each library.
6240 alphaieee_frag="config/mt-alphaieee"
6244 # If --enable-target-optspace always use -Os instead of -O2 to build
6245 # the target libraries, similarly if it is not specified, use -Os
6246 # on selected platforms.
6247 ospace_frag=/dev/null
6248 case "${enable_target_optspace}:${target}" in
6250 ospace_frag="config/mt-ospace"
6253 ospace_frag="config/mt-d30v"
6255 :m32r-* | :d10v-* | :fr30-*)
6256 ospace_frag="config/mt-ospace"
6261 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6265 # Default to using --with-stabs for certain targets.
6266 if test x${with_stabs} = x ; then
6270 mips*-*-* | alpha*-*-osf*)
6272 extra_host_args="${extra_host_args} --with-stabs"
6277 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6278 # them automatically.
6281 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6285 # Some systems (e.g., one of the i386-aix systems the gas testers are
6286 # using) don't handle "\$" correctly, so don't use it here.
6287 tooldir='${exec_prefix}'/${target_noncanonical}
6288 build_tooldir=${tooldir}
6290 # Create a .gdbinit file which runs the one in srcdir
6291 # and tells GDB to look there for source files.
6293 if test -r ${srcdir}/.gdbinit ; then
6296 *) cat > ./.gdbinit <<EOF
6300 source ${srcdir}/.gdbinit
6306 # Make sure that the compiler is able to generate an executable. If it
6307 # can't, we are probably in trouble. We don't care whether we can run the
6308 # executable--we might be using a cross compiler--we only care whether it
6309 # can be created. At this point the main configure script has set CC.
6311 echo "int main () { return 0; }" > conftest.c
6312 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6313 if test $? = 0 ; then
6314 if test -s conftest || test -s conftest.exe ; then
6320 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6321 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6328 # The Solaris /usr/ucb/cc compiler does not appear to work.
6330 sparc-sun-solaris2*)
6331 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
6332 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6334 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
6335 if test -d /opt/cygnus/bin ; then
6336 if test "$could_use" = "" ; then
6337 could_use="/opt/cygnus/bin"
6339 could_use="$could_use or /opt/cygnus/bin"
6342 if test "$could_use" = "" ; then
6343 echo "Warning: compilation may fail because you're using"
6344 echo "/usr/ucb/cc. You should change your PATH or CC "
6345 echo "variable and rerun configure."
6347 echo "Warning: compilation may fail because you're using"
6348 echo "/usr/ucb/cc, when you should use the C compiler from"
6349 echo "$could_use. You should change your"
6350 echo "PATH or CC variable and rerun configure."
6356 # Decide which environment variable is used to find dynamic libraries.
6358 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6359 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6360 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6361 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6364 # On systems where the dynamic library environment variable is PATH,
6365 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6366 # built executables to PATH.
6367 if test "$RPATH_ENVVAR" = PATH; then
6368 GCC_SHLIB_SUBDIR=/shlib
6373 # Record target_configdirs and the configure arguments for target and
6374 # build configuration in Makefile.
6375 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6376 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6378 # Determine whether gdb needs tk/tcl or not.
6379 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6380 # and in that case we want gdb to be built without tk. Ugh!
6381 # In fact I believe gdb is the *only* package directly dependent on tk,
6382 # so we should be able to put the 'maybe's in unconditionally and
6383 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6384 # 100% sure that that's safe though.
6386 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6387 case "$enable_gdbtk" in
6391 GDB_TK="${gdb_tk}" ;;
6393 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6394 # distro. Eventually someone will fix this and move Insight, nee
6395 # gdbtk to a separate directory.
6396 if test -d ${srcdir}/gdb/gdbtk ; then
6403 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6404 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6406 # Strip out unwanted targets.
6408 # While at that, we remove Makefiles if we were started for recursive
6409 # configuration, so that the top-level Makefile reconfigures them,
6410 # like we used to do when configure itself was recursive.
6412 # Loop over modules. $extrasub must be used with care, limiting as
6413 # much as possible the usage of range addresses. That's because autoconf
6414 # splits the sed script to overcome limits in the number of commands,
6415 # and relying on carefully-timed sed passes may turn out to be very hard
6416 # to maintain later. In this particular case, you just have to be careful
6417 # not to nest @if/@endif pairs, because configure will not warn you at all.
6419 # Check whether --enable-bootstrap was given.
6420 if test "${enable_bootstrap+set}" = set; then :
6421 enableval=$enable_bootstrap;
6423 enable_bootstrap=default
6427 # Issue errors and warnings for invalid/strange bootstrap combinations.
6428 case "$configdirs" in
6429 *gcc*) have_compiler=yes ;;
6430 *) have_compiler=no ;;
6433 case "$have_compiler:$host:$target:$enable_bootstrap" in
6436 # Default behavior. Enable bootstrap if we have a compiler
6437 # and we are in a native configuration.
6438 yes:$build:$build:default)
6439 enable_bootstrap=yes ;;
6442 enable_bootstrap=no ;;
6444 # We have a compiler and we are in a native configuration, bootstrap is ok
6445 yes:$build:$build:yes)
6448 # Other configurations, but we have a compiler. Assume the user knows
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6452 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6455 # No compiler: if they passed --enable-bootstrap explicitly, fail
6457 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
6459 # Fail if wrong command line
6461 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
6465 # Adjust the toplevel makefile according to whether bootstrap was selected.
6466 case "$enable_bootstrap" in
6468 bootstrap_suffix=bootstrap ;;
6470 bootstrap_suffix=no-bootstrap ;;
6473 for module in ${build_configdirs} ; do
6474 if test -z "${no_recursion}" \
6475 && test -f ${build_subdir}/${module}/Makefile; then
6476 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6477 rm -f ${build_subdir}/${module}/Makefile
6480 /^@if build-$module\$/d
6481 /^@endif build-$module\$/d
6482 /^@if build-$module-$bootstrap_suffix\$/d
6483 /^@endif build-$module-$bootstrap_suffix\$/d"
6485 for module in ${configdirs} ; do
6486 if test -z "${no_recursion}"; then
6487 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
6488 if test -f ${file}; then
6489 echo 1>&2 "*** removing ${file} to force reconfigure"
6496 /^@endif $module\$/d
6497 /^@if $module-$bootstrap_suffix\$/d
6498 /^@endif $module-$bootstrap_suffix\$/d"
6500 for module in ${target_configdirs} ; do
6501 if test -z "${no_recursion}" \
6502 && test -f ${target_subdir}/${module}/Makefile; then
6503 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6504 rm -f ${target_subdir}/${module}/Makefile
6507 # We only bootstrap target libraries listed in bootstrap_target_libs.
6508 case $bootstrap_target_libs in
6509 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
6510 *) target_bootstrap_suffix=no-bootstrap ;;
6514 /^@if target-$module\$/d
6515 /^@endif target-$module\$/d
6516 /^@if target-$module-$target_bootstrap_suffix\$/d
6517 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6521 /^@if /,/^@endif /d"
6523 # Create the serialization dependencies. This uses a temporary file.
6525 # Check whether --enable-serial-configure was given.
6526 if test "${enable_serial_configure+set}" = set; then :
6527 enableval=$enable_serial_configure;
6531 case ${enable_serial_configure} in
6533 enable_serial_build_configure=yes
6534 enable_serial_host_configure=yes
6535 enable_serial_target_configure=yes
6539 # These force 'configure's to be done one at a time, to avoid problems
6540 # with contention over a shared config.cache.
6542 echo '# serdep.tmp' > serdep.tmp
6544 test "x${enable_serial_build_configure}" = xyes &&
6545 for item in ${build_configdirs} ; do
6548 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
6553 test "x${enable_serial_host_configure}" = xyes &&
6554 for item in ${configdirs} ; do
6557 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
6562 test "x${enable_serial_target_configure}" = xyes &&
6563 for item in ${target_configdirs} ; do
6566 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
6570 serialization_dependencies=serdep.tmp
6573 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6574 # target, nonopt, and variable assignments. These are the ones we
6575 # might not want to pass down to subconfigures. Also strip
6576 # program-prefix, program-suffix, and program-transform-name, so that
6577 # we can pass down a consistent program-transform-name.
6581 eval "set -- $ac_configure_args"
6584 if test X"$skip_next" = X"yes"; then
6588 if test X"$keep_next" = X"yes"; then
6591 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6593 baseargs="$baseargs '$ac_arg'"
6598 # Handle separated arguments. Based on the logic generated by
6601 *=* | --config-cache | -C | -disable-* | --disable-* \
6602 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
6603 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
6604 | -with-* | --with-* | -without-* | --without-* | --x)
6630 -program-prefix* | \
6631 -program-suffix* | \
6632 -program-transform-name* )
6633 skip_next=$separate_arg
6637 # An option. Add it.
6640 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6642 baseargs="$baseargs '$ac_arg'"
6643 keep_next=$separate_arg
6646 # Either a variable assignment, or a nonopt (triplet). Don't
6647 # pass it down; let the Makefile handle this.
6652 # Remove the initial space we just introduced and, as these will be
6653 # expanded by make, quote '$'.
6654 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6656 # Add in --program-transform-name, after --program-prefix and
6657 # --program-suffix have been applied to it. Autoconf has already
6658 # doubled dollar signs and backslashes in program_transform_name; we want
6659 # the backslashes un-doubled, and then the entire thing wrapped in single
6660 # quotes, because this will be expanded first by make and then by the shell.
6661 # Also, because we want to override the logic in subdir configure scripts to
6662 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6663 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6664 ${program_transform_name}
6666 gcc_transform_name=`cat conftestsed.out`
6667 rm -f conftestsed.out
6668 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
6669 if test "$silent" = yes; then
6670 baseargs="$baseargs --silent"
6672 baseargs="$baseargs --disable-option-checking"
6674 # For the build-side libraries, we just need to pretend we're native,
6675 # and not use the same cache file. Multilibs are neither needed nor
6677 build_configargs="--cache-file=../config.cache ${baseargs}"
6679 # For host modules, accept cache file option, or specification as blank.
6680 case "${cache_file}" in
6682 cache_file_option="" ;;
6683 /* | [A-Za-z]:[\\/]* ) # absolute path
6684 cache_file_option="--cache-file=${cache_file}" ;;
6686 cache_file_option="--cache-file=../${cache_file}" ;;
6689 # Host dirs don't like to share a cache file either, horribly enough.
6690 # This seems to be due to autoconf 2.5x stupidity.
6691 host_configargs="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6693 target_configargs=${baseargs}
6695 # Passing a --with-cross-host argument lets the target libraries know
6696 # whether they are being built with a cross-compiler or being built
6697 # native. However, it would be better to use other mechanisms to make the
6698 # sorts of decisions they want to make on this basis. Please consider
6699 # this option to be deprecated. FIXME.
6700 if test x${is_cross_compiler} = xyes ; then
6701 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
6704 # Default to --enable-multilib.
6705 if test x${enable_multilib} = x ; then
6706 target_configargs="--enable-multilib ${target_configargs}"
6709 # Pass --with-newlib if appropriate. Note that target_configdirs has
6710 # changed from the earlier setting of with_newlib.
6711 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
6712 target_configargs="--with-newlib ${target_configargs}"
6715 # Different target subdirs use different values of certain variables
6716 # (notably CXX). Worse, multilibs use *lots* of different values.
6717 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6718 # it doesn't automatically accept command-line overrides of them.
6719 # This means it's not safe for target subdirs to share a cache file,
6720 # which is disgusting, but there you have it. Hopefully this can be
6721 # fixed in future. It's still worthwhile to use a cache file for each
6722 # directory. I think.
6724 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6725 # We need to pass --target, as newer autoconf's requires consistency
6726 # for target_alias and gcc doesn't manage it consistently.
6727 target_configargs="--cache-file=./config.cache ${target_configargs}"
6730 case " $target_configdirs " in
6732 case " $target_configargs " in
6733 *" --with-newlib "*)
6736 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' ;;
6739 # If we're not building GCC, don't discard standard headers.
6740 if test -d ${srcdir}/gcc; then
6741 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
6743 if test "${build}" != "${host}"; then
6744 # On Canadian crosses, CC_FOR_TARGET will have already been set
6745 # by `configure', so we won't have an opportunity to add -Bgcc/
6746 # to it. This is right: we don't want to search that directory
6747 # for binaries, but we want the header files in there, so add
6749 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6751 # Someone might think of using the pre-installed headers on
6752 # Canadian crosses, in case the installed compiler is not fully
6753 # compatible with the compiler being built. In this case, it
6754 # would be better to flag an error than risking having
6755 # incompatible object files being constructed. We can't
6756 # guarantee that an error will be flagged, but let's hope the
6757 # compiler will do it, when presented with incompatible header
6762 case "${target}-${is_cross_compiler}" in
6763 i[3456789]86-*-linux*-no)
6764 # Here host == target, so we don't need to build gcc,
6765 # so we don't want to discard standard headers.
6766 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6769 # If we're building newlib, use its generic headers last, but search
6770 # for any libc-related directories first (so make it the last -B
6772 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6774 # If we're building libgloss, find the startup file, simulator library
6775 # and linker script.
6776 case " $target_configdirs " in
6778 # Look for startup file, simulator library and maybe linker script.
6779 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6780 # Look for libnosys.a in case the target needs it.
6781 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6782 # Most targets have the linker script in the source directory.
6783 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6794 # Can't be handled as Cygwin above since Mingw does not use newlib.
6795 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' ;;
6798 # Allow the user to override the flags for
6799 # our build compiler if desired.
6800 if test x"${build}" = x"${host}" ; then
6801 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
6802 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6803 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6806 # On Canadian crosses, we'll be searching the right directories for
6807 # the previously-installed cross compiler, so don't bother to add
6808 # flags for directories within the install tree of the compiler
6809 # being built; programs in there won't even run.
6810 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6811 # Search for pre-installed headers if nothing else fits.
6812 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6815 if test "x${use_gnu_ld}" = x &&
6816 echo " ${configdirs} " | grep " ld " > /dev/null ; then
6817 # Arrange for us to find uninstalled linker scripts.
6818 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6821 # Search for other target-specific linker scripts and such.
6824 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6828 # Makefile fragments.
6829 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6831 eval fragval=\$$frag
6832 if test $fragval != /dev/null; then
6833 eval $frag=${srcdir}/$fragval
6841 # Miscellanea: directories, flags, etc.
6850 # Build module lists & subconfigure args.
6854 # Host module lists & subconfigure args.
6858 # Target module lists & subconfigure args.
6880 # Generate default definitions for YACC, M4, LEX and other programs that run
6881 # on the build machine. These are used if the Makefile can't locate these
6882 # programs in objdir.
6883 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6885 for ac_prog in 'bison -y' byacc yacc
6887 # Extract the first word of "$ac_prog", so it can be a program name with args.
6888 set dummy $ac_prog; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if test "${ac_cv_prog_YACC+set}" = set; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$YACC"; then
6895 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_YACC="$ac_prog"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 YACC=$ac_cv_prog_YACC
6915 if test -n "$YACC"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6917 $as_echo "$YACC" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6924 test -n "$YACC" && break
6926 test -n "$YACC" || YACC="$MISSING bison -y"
6928 case " $build_configdirs " in
6929 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6930 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6933 for ac_prog in bison
6935 # Extract the first word of "$ac_prog", so it can be a program name with args.
6936 set dummy $ac_prog; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if test "${ac_cv_prog_BISON+set}" = set; then :
6940 $as_echo_n "(cached) " >&6
6942 if test -n "$BISON"; then
6943 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6952 ac_cv_prog_BISON="$ac_prog"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 BISON=$ac_cv_prog_BISON
6963 if test -n "$BISON"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6965 $as_echo "$BISON" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6972 test -n "$BISON" && break
6974 test -n "$BISON" || BISON="$MISSING bison"
6976 case " $build_configdirs " in
6977 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6980 for ac_prog in gm4 gnum4 m4
6982 # Extract the first word of "$ac_prog", so it can be a program name with args.
6983 set dummy $ac_prog; ac_word=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985 $as_echo_n "checking for $ac_word... " >&6; }
6986 if test "${ac_cv_prog_M4+set}" = set; then :
6987 $as_echo_n "(cached) " >&6
6989 if test -n "$M4"; then
6990 ac_cv_prog_M4="$M4" # Let the user override the test.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_M4="$ac_prog"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 if test -n "$M4"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7012 $as_echo "$M4" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7019 test -n "$M4" && break
7021 test -n "$M4" || M4="$MISSING m4"
7023 case " $build_configdirs " in
7024 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7027 for ac_prog in flex lex
7029 # Extract the first word of "$ac_prog", so it can be a program name with args.
7030 set dummy $ac_prog; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if test "${ac_cv_prog_LEX+set}" = set; then :
7034 $as_echo_n "(cached) " >&6
7036 if test -n "$LEX"; then
7037 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046 ac_cv_prog_LEX="$ac_prog"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 if test -n "$LEX"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7059 $as_echo "$LEX" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7066 test -n "$LEX" && break
7068 test -n "$LEX" || LEX="$MISSING flex"
7070 case " $build_configdirs " in
7071 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7072 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7077 # Extract the first word of "$ac_prog", so it can be a program name with args.
7078 set dummy $ac_prog; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if test "${ac_cv_prog_FLEX+set}" = set; then :
7082 $as_echo_n "(cached) " >&6
7084 if test -n "$FLEX"; then
7085 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_prog_FLEX="$ac_prog"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 FLEX=$ac_cv_prog_FLEX
7105 if test -n "$FLEX"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7107 $as_echo "$FLEX" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7114 test -n "$FLEX" && break
7116 test -n "$FLEX" || FLEX="$MISSING flex"
7118 case " $build_configdirs " in
7119 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7122 for ac_prog in makeinfo
7124 # Extract the first word of "$ac_prog", so it can be a program name with args.
7125 set dummy $ac_prog; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; }
7128 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7129 $as_echo_n "(cached) " >&6
7131 if test -n "$MAKEINFO"; then
7132 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7141 ac_cv_prog_MAKEINFO="$ac_prog"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151 MAKEINFO=$ac_cv_prog_MAKEINFO
7152 if test -n "$MAKEINFO"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7154 $as_echo "$MAKEINFO" >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7161 test -n "$MAKEINFO" && break
7163 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7165 case " $build_configdirs " in
7166 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7169 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7170 # higher, else we use the "missing" dummy.
7171 if ${MAKEINFO} --version \
7172 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7175 MAKEINFO="$MISSING makeinfo"
7181 # FIXME: expect and dejagnu may become build tools?
7183 for ac_prog in expect
7185 # Extract the first word of "$ac_prog", so it can be a program name with args.
7186 set dummy $ac_prog; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7190 $as_echo_n "(cached) " >&6
7192 if test -n "$EXPECT"; then
7193 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7202 ac_cv_prog_EXPECT="$ac_prog"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 EXPECT=$ac_cv_prog_EXPECT
7213 if test -n "$EXPECT"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7215 $as_echo "$EXPECT" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7222 test -n "$EXPECT" && break
7224 test -n "$EXPECT" || EXPECT="expect"
7226 case " $configdirs " in
7228 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7232 for ac_prog in runtest
7234 # Extract the first word of "$ac_prog", so it can be a program name with args.
7235 set dummy $ac_prog; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; }
7238 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7239 $as_echo_n "(cached) " >&6
7241 if test -n "$RUNTEST"; then
7242 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_prog_RUNTEST="$ac_prog"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261 RUNTEST=$ac_cv_prog_RUNTEST
7262 if test -n "$RUNTEST"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7264 $as_echo "$RUNTEST" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267 $as_echo "no" >&6; }
7271 test -n "$RUNTEST" && break
7273 test -n "$RUNTEST" || RUNTEST="runtest"
7275 case " $configdirs " in
7277 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7284 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7285 ncn_target_tool_prefix=
7286 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7290 if test -n "$AR"; then
7292 elif test -n "$ac_cv_prog_AR"; then
7296 if test -n "$ac_cv_prog_AR"; then
7297 for ncn_progname in ar; do
7298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7299 set dummy ${ncn_progname}; ac_word=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if test "${ac_cv_prog_AR+set}" = set; then :
7303 $as_echo_n "(cached) " >&6
7305 if test -n "$AR"; then
7306 ac_cv_prog_AR="$AR" # Let the user override the test.
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7315 ac_cv_prog_AR="${ncn_progname}"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 if test -n "$AR"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7328 $as_echo "$AR" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7338 for ncn_progname in ar; do
7339 if test -n "$ncn_tool_prefix"; then
7340 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7341 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if test "${ac_cv_prog_AR+set}" = set; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$AR"; then
7348 ac_cv_prog_AR="$AR" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7357 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 if test -n "$AR"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7370 $as_echo "$AR" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7378 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7380 set dummy ${ncn_progname}; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_AR+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7386 if test -n "$AR"; then
7387 ac_cv_prog_AR="$AR" # Let the user override the test.
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_AR="${ncn_progname}"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 if test -n "$AR"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7409 $as_echo "$AR" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7417 test -n "$ac_cv_prog_AR" && break
7420 if test -z "$ac_cv_prog_AR" ; then
7422 if test $build = $host ; then
7425 AR="${ncn_tool_prefix}$2"
7431 if test -n "$AS"; then
7433 elif test -n "$ac_cv_prog_AS"; then
7437 if test -n "$ac_cv_prog_AS"; then
7438 for ncn_progname in as; do
7439 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7440 set dummy ${ncn_progname}; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_AS+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -n "$AS"; then
7447 ac_cv_prog_AS="$AS" # Let the user override the test.
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_AS="${ncn_progname}"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 if test -n "$AS"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7469 $as_echo "$AS" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7479 for ncn_progname in as; do
7480 if test -n "$ncn_tool_prefix"; then
7481 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7482 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_AS+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7488 if test -n "$AS"; then
7489 ac_cv_prog_AS="$AS" # Let the user override the test.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 if test -n "$AS"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7511 $as_echo "$AS" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7519 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7521 set dummy ${ncn_progname}; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_AS+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7527 if test -n "$AS"; then
7528 ac_cv_prog_AS="$AS" # Let the user override the test.
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_AS="${ncn_progname}"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 if test -n "$AS"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7550 $as_echo "$AS" >&6; }
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7558 test -n "$ac_cv_prog_AS" && break
7561 if test -z "$ac_cv_prog_AS" ; then
7563 if test $build = $host ; then
7566 AS="${ncn_tool_prefix}$2"
7572 if test -n "$DLLTOOL"; then
7573 ac_cv_prog_DLLTOOL=$DLLTOOL
7574 elif test -n "$ac_cv_prog_DLLTOOL"; then
7575 DLLTOOL=$ac_cv_prog_DLLTOOL
7578 if test -n "$ac_cv_prog_DLLTOOL"; then
7579 for ncn_progname in dlltool; do
7580 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7581 set dummy ${ncn_progname}; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7585 $as_echo_n "(cached) " >&6
7587 if test -n "$DLLTOOL"; then
7588 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7597 ac_cv_prog_DLLTOOL="${ncn_progname}"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 DLLTOOL=$ac_cv_prog_DLLTOOL
7608 if test -n "$DLLTOOL"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7610 $as_echo "$DLLTOOL" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7620 for ncn_progname in dlltool; do
7621 if test -n "$ncn_tool_prefix"; then
7622 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7623 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7627 $as_echo_n "(cached) " >&6
7629 if test -n "$DLLTOOL"; then
7630 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 DLLTOOL=$ac_cv_prog_DLLTOOL
7650 if test -n "$DLLTOOL"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7652 $as_echo "$DLLTOOL" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7660 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7662 set dummy ${ncn_progname}; ac_word=$2
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7664 $as_echo_n "checking for $ac_word... " >&6; }
7665 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7666 $as_echo_n "(cached) " >&6
7668 if test -n "$DLLTOOL"; then
7669 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 test -z "$as_dir" && as_dir=.
7676 for ac_exec_ext in '' $ac_executable_extensions; do
7677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678 ac_cv_prog_DLLTOOL="${ncn_progname}"
7679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 DLLTOOL=$ac_cv_prog_DLLTOOL
7689 if test -n "$DLLTOOL"; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7691 $as_echo "$DLLTOOL" >&6; }
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7694 $as_echo "no" >&6; }
7699 test -n "$ac_cv_prog_DLLTOOL" && break
7702 if test -z "$ac_cv_prog_DLLTOOL" ; then
7704 if test $build = $host ; then
7707 DLLTOOL="${ncn_tool_prefix}$2"
7713 if test -n "$LD"; then
7715 elif test -n "$ac_cv_prog_LD"; then
7719 if test -n "$ac_cv_prog_LD"; then
7720 for ncn_progname in ld; do
7721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7722 set dummy ${ncn_progname}; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if test "${ac_cv_prog_LD+set}" = set; then :
7726 $as_echo_n "(cached) " >&6
7728 if test -n "$LD"; then
7729 ac_cv_prog_LD="$LD" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_LD="${ncn_progname}"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7749 if test -n "$LD"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7751 $as_echo "$LD" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7761 for ncn_progname in ld; do
7762 if test -n "$ncn_tool_prefix"; then
7763 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7764 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7766 $as_echo_n "checking for $ac_word... " >&6; }
7767 if test "${ac_cv_prog_LD+set}" = set; then :
7768 $as_echo_n "(cached) " >&6
7770 if test -n "$LD"; then
7771 ac_cv_prog_LD="$LD" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7780 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 if test -n "$LD"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7793 $as_echo "$LD" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7796 $as_echo "no" >&6; }
7801 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7803 set dummy ${ncn_progname}; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if test "${ac_cv_prog_LD+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7809 if test -n "$LD"; then
7810 ac_cv_prog_LD="$LD" # Let the user override the test.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_LD="${ncn_progname}"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 if test -n "$LD"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7832 $as_echo "$LD" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7840 test -n "$ac_cv_prog_LD" && break
7843 if test -z "$ac_cv_prog_LD" ; then
7845 if test $build = $host ; then
7848 LD="${ncn_tool_prefix}$2"
7854 if test -n "$LIPO"; then
7855 ac_cv_prog_LIPO=$LIPO
7856 elif test -n "$ac_cv_prog_LIPO"; then
7857 LIPO=$ac_cv_prog_LIPO
7860 if test -n "$ac_cv_prog_LIPO"; then
7861 for ncn_progname in lipo; do
7862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7863 set dummy ${ncn_progname}; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7865 $as_echo_n "checking for $ac_word... " >&6; }
7866 if test "${ac_cv_prog_LIPO+set}" = set; then :
7867 $as_echo_n "(cached) " >&6
7869 if test -n "$LIPO"; then
7870 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7879 ac_cv_prog_LIPO="${ncn_progname}"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889 LIPO=$ac_cv_prog_LIPO
7890 if test -n "$LIPO"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7892 $as_echo "$LIPO" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7902 for ncn_progname in lipo; do
7903 if test -n "$ncn_tool_prefix"; then
7904 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7905 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907 $as_echo_n "checking for $ac_word... " >&6; }
7908 if test "${ac_cv_prog_LIPO+set}" = set; then :
7909 $as_echo_n "(cached) " >&6
7911 if test -n "$LIPO"; then
7912 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 LIPO=$ac_cv_prog_LIPO
7932 if test -n "$LIPO"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7934 $as_echo "$LIPO" >&6; }
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7942 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7943 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7944 set dummy ${ncn_progname}; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7946 $as_echo_n "checking for $ac_word... " >&6; }
7947 if test "${ac_cv_prog_LIPO+set}" = set; then :
7948 $as_echo_n "(cached) " >&6
7950 if test -n "$LIPO"; then
7951 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7960 ac_cv_prog_LIPO="${ncn_progname}"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 LIPO=$ac_cv_prog_LIPO
7971 if test -n "$LIPO"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7973 $as_echo "$LIPO" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7976 $as_echo "no" >&6; }
7981 test -n "$ac_cv_prog_LIPO" && break
7984 if test -z "$ac_cv_prog_LIPO" ; then
7986 if test $build = $host ; then
7989 LIPO="${ncn_tool_prefix}$2"
7995 if test -n "$NM"; then
7997 elif test -n "$ac_cv_prog_NM"; then
8001 if test -n "$ac_cv_prog_NM"; then
8002 for ncn_progname in nm; do
8003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8004 set dummy ${ncn_progname}; ac_word=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if test "${ac_cv_prog_NM+set}" = set; then :
8008 $as_echo_n "(cached) " >&6
8010 if test -n "$NM"; then
8011 ac_cv_prog_NM="$NM" # Let the user override the test.
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_NM="${ncn_progname}"
8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 if test -n "$NM"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8033 $as_echo "$NM" >&6; }
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036 $as_echo "no" >&6; }
8043 for ncn_progname in nm; do
8044 if test -n "$ncn_tool_prefix"; then
8045 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8046 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if test "${ac_cv_prog_NM+set}" = set; then :
8050 $as_echo_n "(cached) " >&6
8052 if test -n "$NM"; then
8053 ac_cv_prog_NM="$NM" # Let the user override the test.
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8062 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073 if test -n "$NM"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8075 $as_echo "$NM" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8083 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8085 set dummy ${ncn_progname}; ac_word=$2
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087 $as_echo_n "checking for $ac_word... " >&6; }
8088 if test "${ac_cv_prog_NM+set}" = set; then :
8089 $as_echo_n "(cached) " >&6
8091 if test -n "$NM"; then
8092 ac_cv_prog_NM="$NM" # Let the user override the test.
8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101 ac_cv_prog_NM="${ncn_progname}"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 if test -n "$NM"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8114 $as_echo "$NM" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8122 test -n "$ac_cv_prog_NM" && break
8125 if test -z "$ac_cv_prog_NM" ; then
8127 if test $build = $host ; then
8130 NM="${ncn_tool_prefix}$2"
8136 if test -n "$RANLIB"; then
8137 ac_cv_prog_RANLIB=$RANLIB
8138 elif test -n "$ac_cv_prog_RANLIB"; then
8139 RANLIB=$ac_cv_prog_RANLIB
8142 if test -n "$ac_cv_prog_RANLIB"; then
8143 for ncn_progname in ranlib; do
8144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8145 set dummy ${ncn_progname}; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8149 $as_echo_n "(cached) " >&6
8151 if test -n "$RANLIB"; then
8152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8161 ac_cv_prog_RANLIB="${ncn_progname}"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 RANLIB=$ac_cv_prog_RANLIB
8172 if test -n "$RANLIB"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8174 $as_echo "$RANLIB" >&6; }
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8184 for ncn_progname in ranlib; do
8185 if test -n "$ncn_tool_prefix"; then
8186 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8187 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189 $as_echo_n "checking for $ac_word... " >&6; }
8190 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8191 $as_echo_n "(cached) " >&6
8193 if test -n "$RANLIB"; then
8194 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8203 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8213 RANLIB=$ac_cv_prog_RANLIB
8214 if test -n "$RANLIB"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8216 $as_echo "$RANLIB" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8224 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8225 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8226 set dummy ${ncn_progname}; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8230 $as_echo_n "(cached) " >&6
8232 if test -n "$RANLIB"; then
8233 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8242 ac_cv_prog_RANLIB="${ncn_progname}"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 RANLIB=$ac_cv_prog_RANLIB
8253 if test -n "$RANLIB"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8255 $as_echo "$RANLIB" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8263 test -n "$ac_cv_prog_RANLIB" && break
8266 if test -z "$ac_cv_prog_RANLIB" ; then
8272 if test -n "$STRIP"; then
8273 ac_cv_prog_STRIP=$STRIP
8274 elif test -n "$ac_cv_prog_STRIP"; then
8275 STRIP=$ac_cv_prog_STRIP
8278 if test -n "$ac_cv_prog_STRIP"; then
8279 for ncn_progname in strip; do
8280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8281 set dummy ${ncn_progname}; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if test "${ac_cv_prog_STRIP+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8287 if test -n "$STRIP"; then
8288 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_STRIP="${ncn_progname}"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 STRIP=$ac_cv_prog_STRIP
8308 if test -n "$STRIP"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8310 $as_echo "$STRIP" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8320 for ncn_progname in strip; do
8321 if test -n "$ncn_tool_prefix"; then
8322 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8323 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if test "${ac_cv_prog_STRIP+set}" = set; then :
8327 $as_echo_n "(cached) " >&6
8329 if test -n "$STRIP"; then
8330 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8339 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349 STRIP=$ac_cv_prog_STRIP
8350 if test -n "$STRIP"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8352 $as_echo "$STRIP" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8360 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8362 set dummy ${ncn_progname}; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364 $as_echo_n "checking for $ac_word... " >&6; }
8365 if test "${ac_cv_prog_STRIP+set}" = set; then :
8366 $as_echo_n "(cached) " >&6
8368 if test -n "$STRIP"; then
8369 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378 ac_cv_prog_STRIP="${ncn_progname}"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 STRIP=$ac_cv_prog_STRIP
8389 if test -n "$STRIP"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8391 $as_echo "$STRIP" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394 $as_echo "no" >&6; }
8399 test -n "$ac_cv_prog_STRIP" && break
8402 if test -z "$ac_cv_prog_STRIP" ; then
8408 if test -n "$WINDRES"; then
8409 ac_cv_prog_WINDRES=$WINDRES
8410 elif test -n "$ac_cv_prog_WINDRES"; then
8411 WINDRES=$ac_cv_prog_WINDRES
8414 if test -n "$ac_cv_prog_WINDRES"; then
8415 for ncn_progname in windres; do
8416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8417 set dummy ${ncn_progname}; ac_word=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419 $as_echo_n "checking for $ac_word... " >&6; }
8420 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8421 $as_echo_n "(cached) " >&6
8423 if test -n "$WINDRES"; then
8424 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir=.
8431 for ac_exec_ext in '' $ac_executable_extensions; do
8432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8433 ac_cv_prog_WINDRES="${ncn_progname}"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8443 WINDRES=$ac_cv_prog_WINDRES
8444 if test -n "$WINDRES"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8446 $as_echo "$WINDRES" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8449 $as_echo "no" >&6; }
8456 for ncn_progname in windres; do
8457 if test -n "$ncn_tool_prefix"; then
8458 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8459 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8461 $as_echo_n "checking for $ac_word... " >&6; }
8462 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8463 $as_echo_n "(cached) " >&6
8465 if test -n "$WINDRES"; then
8466 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8475 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8485 WINDRES=$ac_cv_prog_WINDRES
8486 if test -n "$WINDRES"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8488 $as_echo "$WINDRES" >&6; }
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491 $as_echo "no" >&6; }
8496 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8497 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8498 set dummy ${ncn_progname}; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8500 $as_echo_n "checking for $ac_word... " >&6; }
8501 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8502 $as_echo_n "(cached) " >&6
8504 if test -n "$WINDRES"; then
8505 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514 ac_cv_prog_WINDRES="${ncn_progname}"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 WINDRES=$ac_cv_prog_WINDRES
8525 if test -n "$WINDRES"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8527 $as_echo "$WINDRES" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8535 test -n "$ac_cv_prog_WINDRES" && break
8538 if test -z "$ac_cv_prog_WINDRES" ; then
8540 if test $build = $host ; then
8543 WINDRES="${ncn_tool_prefix}$2"
8549 if test -n "$WINDMC"; then
8550 ac_cv_prog_WINDMC=$WINDMC
8551 elif test -n "$ac_cv_prog_WINDMC"; then
8552 WINDMC=$ac_cv_prog_WINDMC
8555 if test -n "$ac_cv_prog_WINDMC"; then
8556 for ncn_progname in windmc; do
8557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8558 set dummy ${ncn_progname}; ac_word=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8560 $as_echo_n "checking for $ac_word... " >&6; }
8561 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8562 $as_echo_n "(cached) " >&6
8564 if test -n "$WINDMC"; then
8565 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571 test -z "$as_dir" && as_dir=.
8572 for ac_exec_ext in '' $ac_executable_extensions; do
8573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8574 ac_cv_prog_WINDMC="${ncn_progname}"
8575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8584 WINDMC=$ac_cv_prog_WINDMC
8585 if test -n "$WINDMC"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
8587 $as_echo "$WINDMC" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590 $as_echo "no" >&6; }
8597 for ncn_progname in windmc; do
8598 if test -n "$ncn_tool_prefix"; then
8599 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8600 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602 $as_echo_n "checking for $ac_word... " >&6; }
8603 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8604 $as_echo_n "(cached) " >&6
8606 if test -n "$WINDMC"; then
8607 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8613 test -z "$as_dir" && as_dir=.
8614 for ac_exec_ext in '' $ac_executable_extensions; do
8615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8626 WINDMC=$ac_cv_prog_WINDMC
8627 if test -n "$WINDMC"; then
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
8629 $as_echo "$WINDMC" >&6; }
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8632 $as_echo "no" >&6; }
8637 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8638 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8639 set dummy ${ncn_progname}; ac_word=$2
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641 $as_echo_n "checking for $ac_word... " >&6; }
8642 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8643 $as_echo_n "(cached) " >&6
8645 if test -n "$WINDMC"; then
8646 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8652 test -z "$as_dir" && as_dir=.
8653 for ac_exec_ext in '' $ac_executable_extensions; do
8654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8655 ac_cv_prog_WINDMC="${ncn_progname}"
8656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8665 WINDMC=$ac_cv_prog_WINDMC
8666 if test -n "$WINDMC"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
8668 $as_echo "$WINDMC" >&6; }
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8671 $as_echo "no" >&6; }
8676 test -n "$ac_cv_prog_WINDMC" && break
8679 if test -z "$ac_cv_prog_WINDMC" ; then
8681 if test $build = $host ; then
8684 WINDMC="${ncn_tool_prefix}$2"
8690 if test -n "$OBJCOPY"; then
8691 ac_cv_prog_OBJCOPY=$OBJCOPY
8692 elif test -n "$ac_cv_prog_OBJCOPY"; then
8693 OBJCOPY=$ac_cv_prog_OBJCOPY
8696 if test -n "$ac_cv_prog_OBJCOPY"; then
8697 for ncn_progname in objcopy; do
8698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8699 set dummy ${ncn_progname}; ac_word=$2
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8701 $as_echo_n "checking for $ac_word... " >&6; }
8702 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8703 $as_echo_n "(cached) " >&6
8705 if test -n "$OBJCOPY"; then
8706 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712 test -z "$as_dir" && as_dir=.
8713 for ac_exec_ext in '' $ac_executable_extensions; do
8714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8715 ac_cv_prog_OBJCOPY="${ncn_progname}"
8716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8725 OBJCOPY=$ac_cv_prog_OBJCOPY
8726 if test -n "$OBJCOPY"; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
8728 $as_echo "$OBJCOPY" >&6; }
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8731 $as_echo "no" >&6; }
8738 for ncn_progname in objcopy; do
8739 if test -n "$ncn_tool_prefix"; then
8740 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8741 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8743 $as_echo_n "checking for $ac_word... " >&6; }
8744 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8745 $as_echo_n "(cached) " >&6
8747 if test -n "$OBJCOPY"; then
8748 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8754 test -z "$as_dir" && as_dir=.
8755 for ac_exec_ext in '' $ac_executable_extensions; do
8756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8757 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767 OBJCOPY=$ac_cv_prog_OBJCOPY
8768 if test -n "$OBJCOPY"; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
8770 $as_echo "$OBJCOPY" >&6; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8773 $as_echo "no" >&6; }
8778 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8779 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8780 set dummy ${ncn_progname}; ac_word=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8784 $as_echo_n "(cached) " >&6
8786 if test -n "$OBJCOPY"; then
8787 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8796 ac_cv_prog_OBJCOPY="${ncn_progname}"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806 OBJCOPY=$ac_cv_prog_OBJCOPY
8807 if test -n "$OBJCOPY"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
8809 $as_echo "$OBJCOPY" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8817 test -n "$ac_cv_prog_OBJCOPY" && break
8820 if test -z "$ac_cv_prog_OBJCOPY" ; then
8822 if test $build = $host ; then
8825 OBJCOPY="${ncn_tool_prefix}$2"
8831 if test -n "$OBJDUMP"; then
8832 ac_cv_prog_OBJDUMP=$OBJDUMP
8833 elif test -n "$ac_cv_prog_OBJDUMP"; then
8834 OBJDUMP=$ac_cv_prog_OBJDUMP
8837 if test -n "$ac_cv_prog_OBJDUMP"; then
8838 for ncn_progname in objdump; do
8839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8840 set dummy ${ncn_progname}; ac_word=$2
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8842 $as_echo_n "checking for $ac_word... " >&6; }
8843 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8844 $as_echo_n "(cached) " >&6
8846 if test -n "$OBJDUMP"; then
8847 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_prog_OBJDUMP="${ncn_progname}"
8857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8866 OBJDUMP=$ac_cv_prog_OBJDUMP
8867 if test -n "$OBJDUMP"; then
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8869 $as_echo "$OBJDUMP" >&6; }
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8879 for ncn_progname in objdump; do
8880 if test -n "$ncn_tool_prefix"; then
8881 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8882 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8884 $as_echo_n "checking for $ac_word... " >&6; }
8885 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8886 $as_echo_n "(cached) " >&6
8888 if test -n "$OBJDUMP"; then
8889 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8898 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 OBJDUMP=$ac_cv_prog_OBJDUMP
8909 if test -n "$OBJDUMP"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8911 $as_echo "$OBJDUMP" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8919 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8920 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8921 set dummy ${ncn_progname}; ac_word=$2
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8923 $as_echo_n "checking for $ac_word... " >&6; }
8924 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8925 $as_echo_n "(cached) " >&6
8927 if test -n "$OBJDUMP"; then
8928 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934 test -z "$as_dir" && as_dir=.
8935 for ac_exec_ext in '' $ac_executable_extensions; do
8936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8937 ac_cv_prog_OBJDUMP="${ncn_progname}"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8947 OBJDUMP=$ac_cv_prog_OBJDUMP
8948 if test -n "$OBJDUMP"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8950 $as_echo "$OBJDUMP" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953 $as_echo "no" >&6; }
8958 test -n "$ac_cv_prog_OBJDUMP" && break
8961 if test -z "$ac_cv_prog_OBJDUMP" ; then
8963 if test $build = $host ; then
8966 OBJDUMP="${ncn_tool_prefix}$2"
8977 # Check whether --with-build-time-tools was given.
8978 if test "${with_build_time_tools+set}" = set; then :
8979 withval=$with_build_time_tools; case x"$withval" in
8982 with_build_time_tools=
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
8984 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
8988 with_build_time_tools=
8994 if test -n "$CC_FOR_TARGET"; then
8995 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8996 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8997 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9000 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9001 for ncn_progname in cc gcc; do
9002 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9003 set dummy ${ncn_progname}; ac_word=$2
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9005 $as_echo_n "checking for $ac_word... " >&6; }
9006 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9007 $as_echo_n "(cached) " >&6
9009 if test -n "$CC_FOR_TARGET"; then
9010 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9016 test -z "$as_dir" && as_dir=.
9017 for ac_exec_ext in '' $ac_executable_extensions; do
9018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9019 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9029 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9030 if test -n "$CC_FOR_TARGET"; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9032 $as_echo "$CC_FOR_TARGET" >&6; }
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9035 $as_echo "no" >&6; }
9042 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9043 for ncn_progname in cc gcc; do
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9045 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9046 if test -x $with_build_time_tools/${ncn_progname}; then
9047 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9049 $as_echo "yes" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9058 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9059 for ncn_progname in cc gcc; do
9060 if test -n "$ncn_target_tool_prefix"; then
9061 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9062 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9064 $as_echo_n "checking for $ac_word... " >&6; }
9065 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9066 $as_echo_n "(cached) " >&6
9068 if test -n "$CC_FOR_TARGET"; then
9069 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9075 test -z "$as_dir" && as_dir=.
9076 for ac_exec_ext in '' $ac_executable_extensions; do
9077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9078 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9088 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9089 if test -n "$CC_FOR_TARGET"; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9091 $as_echo "$CC_FOR_TARGET" >&6; }
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9094 $as_echo "no" >&6; }
9099 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9101 set dummy ${ncn_progname}; ac_word=$2
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9103 $as_echo_n "checking for $ac_word... " >&6; }
9104 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9105 $as_echo_n "(cached) " >&6
9107 if test -n "$CC_FOR_TARGET"; then
9108 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114 test -z "$as_dir" && as_dir=.
9115 for ac_exec_ext in '' $ac_executable_extensions; do
9116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9117 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9127 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9128 if test -n "$CC_FOR_TARGET"; then
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9130 $as_echo "$CC_FOR_TARGET" >&6; }
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9133 $as_echo "no" >&6; }
9138 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9142 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9144 if test $build = $target ; then
9147 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9150 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9155 if test -n "$CXX_FOR_TARGET"; then
9156 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9157 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9158 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9161 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9162 for ncn_progname in c++ g++ cxx gxx; do
9163 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9164 set dummy ${ncn_progname}; ac_word=$2
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9166 $as_echo_n "checking for $ac_word... " >&6; }
9167 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9168 $as_echo_n "(cached) " >&6
9170 if test -n "$CXX_FOR_TARGET"; then
9171 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9177 test -z "$as_dir" && as_dir=.
9178 for ac_exec_ext in '' $ac_executable_extensions; do
9179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9180 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9190 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9191 if test -n "$CXX_FOR_TARGET"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9193 $as_echo "$CXX_FOR_TARGET" >&6; }
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9203 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9204 for ncn_progname in c++ g++ cxx gxx; do
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9206 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9207 if test -x $with_build_time_tools/${ncn_progname}; then
9208 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9210 $as_echo "yes" >&6; }
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 $as_echo "no" >&6; }
9219 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9220 for ncn_progname in c++ g++ cxx gxx; do
9221 if test -n "$ncn_target_tool_prefix"; then
9222 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9223 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 $as_echo_n "checking for $ac_word... " >&6; }
9226 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9227 $as_echo_n "(cached) " >&6
9229 if test -n "$CXX_FOR_TARGET"; then
9230 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 test -z "$as_dir" && as_dir=.
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9239 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9249 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9250 if test -n "$CXX_FOR_TARGET"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9252 $as_echo "$CXX_FOR_TARGET" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9260 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9262 set dummy ${ncn_progname}; ac_word=$2
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 $as_echo_n "checking for $ac_word... " >&6; }
9265 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9266 $as_echo_n "(cached) " >&6
9268 if test -n "$CXX_FOR_TARGET"; then
9269 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 test -z "$as_dir" && as_dir=.
9276 for ac_exec_ext in '' $ac_executable_extensions; do
9277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9278 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9288 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9289 if test -n "$CXX_FOR_TARGET"; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9291 $as_echo "$CXX_FOR_TARGET" >&6; }
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9294 $as_echo "no" >&6; }
9299 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9303 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9304 set dummy c++ g++ cxx gxx
9305 if test $build = $target ; then
9308 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9311 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9316 if test -n "$GCC_FOR_TARGET"; then
9317 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9318 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9319 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9322 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9323 for ncn_progname in gcc; do
9324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9325 set dummy ${ncn_progname}; ac_word=$2
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9327 $as_echo_n "checking for $ac_word... " >&6; }
9328 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9329 $as_echo_n "(cached) " >&6
9331 if test -n "$GCC_FOR_TARGET"; then
9332 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9338 test -z "$as_dir" && as_dir=.
9339 for ac_exec_ext in '' $ac_executable_extensions; do
9340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9341 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9351 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9352 if test -n "$GCC_FOR_TARGET"; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9354 $as_echo "$GCC_FOR_TARGET" >&6; }
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9357 $as_echo "no" >&6; }
9364 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9365 for ncn_progname in gcc; do
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9367 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9368 if test -x $with_build_time_tools/${ncn_progname}; then
9369 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9371 $as_echo "yes" >&6; }
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9375 $as_echo "no" >&6; }
9380 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9381 for ncn_progname in gcc; do
9382 if test -n "$ncn_target_tool_prefix"; then
9383 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9384 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9386 $as_echo_n "checking for $ac_word... " >&6; }
9387 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9388 $as_echo_n "(cached) " >&6
9390 if test -n "$GCC_FOR_TARGET"; then
9391 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9397 test -z "$as_dir" && as_dir=.
9398 for ac_exec_ext in '' $ac_executable_extensions; do
9399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9400 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9410 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9411 if test -n "$GCC_FOR_TARGET"; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9413 $as_echo "$GCC_FOR_TARGET" >&6; }
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9416 $as_echo "no" >&6; }
9421 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9422 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9423 set dummy ${ncn_progname}; ac_word=$2
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425 $as_echo_n "checking for $ac_word... " >&6; }
9426 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9427 $as_echo_n "(cached) " >&6
9429 if test -n "$GCC_FOR_TARGET"; then
9430 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 test -z "$as_dir" && as_dir=.
9437 for ac_exec_ext in '' $ac_executable_extensions; do
9438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9439 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9449 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9450 if test -n "$GCC_FOR_TARGET"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9452 $as_echo "$GCC_FOR_TARGET" >&6; }
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9455 $as_echo "no" >&6; }
9460 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9464 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9465 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9467 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9472 if test -n "$GCJ_FOR_TARGET"; then
9473 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9474 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9475 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9478 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9479 for ncn_progname in gcj; do
9480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9481 set dummy ${ncn_progname}; ac_word=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9483 $as_echo_n "checking for $ac_word... " >&6; }
9484 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9485 $as_echo_n "(cached) " >&6
9487 if test -n "$GCJ_FOR_TARGET"; then
9488 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9494 test -z "$as_dir" && as_dir=.
9495 for ac_exec_ext in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9507 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9508 if test -n "$GCJ_FOR_TARGET"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
9510 $as_echo "$GCJ_FOR_TARGET" >&6; }
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9513 $as_echo "no" >&6; }
9520 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9521 for ncn_progname in gcj; do
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9523 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9524 if test -x $with_build_time_tools/${ncn_progname}; then
9525 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9527 $as_echo "yes" >&6; }
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9531 $as_echo "no" >&6; }
9536 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9537 for ncn_progname in gcj; do
9538 if test -n "$ncn_target_tool_prefix"; then
9539 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9540 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542 $as_echo_n "checking for $ac_word... " >&6; }
9543 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9544 $as_echo_n "(cached) " >&6
9546 if test -n "$GCJ_FOR_TARGET"; then
9547 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9566 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9567 if test -n "$GCJ_FOR_TARGET"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
9569 $as_echo "$GCJ_FOR_TARGET" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9572 $as_echo "no" >&6; }
9577 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9579 set dummy ${ncn_progname}; ac_word=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 $as_echo_n "checking for $ac_word... " >&6; }
9582 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9583 $as_echo_n "(cached) " >&6
9585 if test -n "$GCJ_FOR_TARGET"; then
9586 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9595 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9605 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9606 if test -n "$GCJ_FOR_TARGET"; then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
9608 $as_echo "$GCJ_FOR_TARGET" >&6; }
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9611 $as_echo "no" >&6; }
9616 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9620 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9622 if test $build = $target ; then
9625 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9628 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9633 if test -n "$GFORTRAN_FOR_TARGET"; then
9634 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9635 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9636 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9639 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9640 for ncn_progname in gfortran; do
9641 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9642 set dummy ${ncn_progname}; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9646 $as_echo_n "(cached) " >&6
9648 if test -n "$GFORTRAN_FOR_TARGET"; then
9649 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9655 test -z "$as_dir" && as_dir=.
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9658 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9668 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9669 if test -n "$GFORTRAN_FOR_TARGET"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
9671 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 $as_echo "no" >&6; }
9681 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9682 for ncn_progname in gfortran; do
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9684 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9685 if test -x $with_build_time_tools/${ncn_progname}; then
9686 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9688 $as_echo "yes" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9697 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9698 for ncn_progname in gfortran; do
9699 if test -n "$ncn_target_tool_prefix"; then
9700 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9701 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9703 $as_echo_n "checking for $ac_word... " >&6; }
9704 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9705 $as_echo_n "(cached) " >&6
9707 if test -n "$GFORTRAN_FOR_TARGET"; then
9708 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9714 test -z "$as_dir" && as_dir=.
9715 for ac_exec_ext in '' $ac_executable_extensions; do
9716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9717 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9727 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9728 if test -n "$GFORTRAN_FOR_TARGET"; then
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
9730 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9733 $as_echo "no" >&6; }
9738 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9739 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9740 set dummy ${ncn_progname}; ac_word=$2
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9742 $as_echo_n "checking for $ac_word... " >&6; }
9743 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9744 $as_echo_n "(cached) " >&6
9746 if test -n "$GFORTRAN_FOR_TARGET"; then
9747 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753 test -z "$as_dir" && as_dir=.
9754 for ac_exec_ext in '' $ac_executable_extensions; do
9755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9756 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9766 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9767 if test -n "$GFORTRAN_FOR_TARGET"; then
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
9769 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9772 $as_echo "no" >&6; }
9777 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9781 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9783 if test $build = $target ; then
9784 GFORTRAN_FOR_TARGET="$2"
9786 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9789 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9794 cat > conftest.c << \EOF
9799 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9800 have_gcc_for_target=yes
9802 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9803 have_gcc_for_target=no
9810 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9811 if test -n "$with_build_time_tools"; then
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
9813 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
9814 if test -x $with_build_time_tools/ar; then
9815 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9816 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
9818 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9821 $as_echo "no" >&6; }
9823 elif test $build != $host && test $have_gcc_for_target = yes; then
9824 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9825 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9826 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9829 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9830 # Extract the first word of "ar", so it can be a program name with args.
9831 set dummy ar; ac_word=$2
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9833 $as_echo_n "checking for $ac_word... " >&6; }
9834 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
9835 $as_echo_n "(cached) " >&6
9837 case $AR_FOR_TARGET in
9839 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9843 for as_dir in $gcc_cv_tool_dirs
9846 test -z "$as_dir" && as_dir=.
9847 for ac_exec_ext in '' $ac_executable_extensions; do
9848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9849 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9860 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9861 if test -n "$AR_FOR_TARGET"; then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
9863 $as_echo "$AR_FOR_TARGET" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 $as_echo "no" >&6; }
9871 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9874 if test -n "$AR_FOR_TARGET"; then
9875 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9876 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9877 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9880 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9881 for ncn_progname in ar; do
9882 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9883 set dummy ${ncn_progname}; ac_word=$2
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9885 $as_echo_n "checking for $ac_word... " >&6; }
9886 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9887 $as_echo_n "(cached) " >&6
9889 if test -n "$AR_FOR_TARGET"; then
9890 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9896 test -z "$as_dir" && as_dir=.
9897 for ac_exec_ext in '' $ac_executable_extensions; do
9898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9899 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9909 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9910 if test -n "$AR_FOR_TARGET"; then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
9912 $as_echo "$AR_FOR_TARGET" >&6; }
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9915 $as_echo "no" >&6; }
9922 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9923 for ncn_progname in ar; do
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9925 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9926 if test -x $with_build_time_tools/${ncn_progname}; then
9927 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9929 $as_echo "yes" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9933 $as_echo "no" >&6; }
9938 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9939 for ncn_progname in ar; do
9940 if test -n "$ncn_target_tool_prefix"; then
9941 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9942 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9944 $as_echo_n "checking for $ac_word... " >&6; }
9945 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9946 $as_echo_n "(cached) " >&6
9948 if test -n "$AR_FOR_TARGET"; then
9949 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9955 test -z "$as_dir" && as_dir=.
9956 for ac_exec_ext in '' $ac_executable_extensions; do
9957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9958 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9968 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9969 if test -n "$AR_FOR_TARGET"; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
9971 $as_echo "$AR_FOR_TARGET" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9974 $as_echo "no" >&6; }
9979 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9981 set dummy ${ncn_progname}; ac_word=$2
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9983 $as_echo_n "checking for $ac_word... " >&6; }
9984 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9985 $as_echo_n "(cached) " >&6
9987 if test -n "$AR_FOR_TARGET"; then
9988 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir=.
9995 for ac_exec_ext in '' $ac_executable_extensions; do
9996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9997 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10007 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10008 if test -n "$AR_FOR_TARGET"; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10010 $as_echo "$AR_FOR_TARGET" >&6; }
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10013 $as_echo "no" >&6; }
10018 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10022 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10024 if test $build = $target ; then
10027 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10030 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10034 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10040 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10041 if test -n "$with_build_time_tools"; then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10043 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10044 if test -x $with_build_time_tools/as; then
10045 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10046 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10048 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 $as_echo "no" >&6; }
10053 elif test $build != $host && test $have_gcc_for_target = yes; then
10054 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10055 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10056 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10059 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10060 # Extract the first word of "as", so it can be a program name with args.
10061 set dummy as; ac_word=$2
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10063 $as_echo_n "checking for $ac_word... " >&6; }
10064 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10065 $as_echo_n "(cached) " >&6
10067 case $AS_FOR_TARGET in
10069 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10073 for as_dir in $gcc_cv_tool_dirs
10076 test -z "$as_dir" && as_dir=.
10077 for ac_exec_ext in '' $ac_executable_extensions; do
10078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10079 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10091 if test -n "$AS_FOR_TARGET"; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10093 $as_echo "$AS_FOR_TARGET" >&6; }
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10096 $as_echo "no" >&6; }
10101 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10104 if test -n "$AS_FOR_TARGET"; then
10105 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10106 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10107 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10110 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10111 for ncn_progname in as; do
10112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10113 set dummy ${ncn_progname}; ac_word=$2
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10115 $as_echo_n "checking for $ac_word... " >&6; }
10116 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10117 $as_echo_n "(cached) " >&6
10119 if test -n "$AS_FOR_TARGET"; then
10120 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10123 for as_dir in $PATH
10126 test -z "$as_dir" && as_dir=.
10127 for ac_exec_ext in '' $ac_executable_extensions; do
10128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10129 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10139 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10140 if test -n "$AS_FOR_TARGET"; then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10142 $as_echo "$AS_FOR_TARGET" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10145 $as_echo "no" >&6; }
10152 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10153 for ncn_progname in as; do
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10155 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10156 if test -x $with_build_time_tools/${ncn_progname}; then
10157 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10159 $as_echo "yes" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163 $as_echo "no" >&6; }
10168 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10169 for ncn_progname in as; do
10170 if test -n "$ncn_target_tool_prefix"; then
10171 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10172 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10174 $as_echo_n "checking for $ac_word... " >&6; }
10175 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10176 $as_echo_n "(cached) " >&6
10178 if test -n "$AS_FOR_TARGET"; then
10179 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10182 for as_dir in $PATH
10185 test -z "$as_dir" && as_dir=.
10186 for ac_exec_ext in '' $ac_executable_extensions; do
10187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10188 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10198 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10199 if test -n "$AS_FOR_TARGET"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10201 $as_echo "$AS_FOR_TARGET" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10204 $as_echo "no" >&6; }
10209 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10211 set dummy ${ncn_progname}; ac_word=$2
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10213 $as_echo_n "checking for $ac_word... " >&6; }
10214 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10215 $as_echo_n "(cached) " >&6
10217 if test -n "$AS_FOR_TARGET"; then
10218 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10227 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10237 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10238 if test -n "$AS_FOR_TARGET"; then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10240 $as_echo "$AS_FOR_TARGET" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10243 $as_echo "no" >&6; }
10248 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10252 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10254 if test $build = $target ; then
10257 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10260 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10264 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10270 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10271 if test -n "$with_build_time_tools"; then
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
10273 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
10274 if test -x $with_build_time_tools/dlltool; then
10275 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10276 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10278 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10281 $as_echo "no" >&6; }
10283 elif test $build != $host && test $have_gcc_for_target = yes; then
10284 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10285 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10286 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10289 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10290 # Extract the first word of "dlltool", so it can be a program name with args.
10291 set dummy dlltool; ac_word=$2
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10293 $as_echo_n "checking for $ac_word... " >&6; }
10294 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10295 $as_echo_n "(cached) " >&6
10297 case $DLLTOOL_FOR_TARGET in
10299 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10303 for as_dir in $gcc_cv_tool_dirs
10306 test -z "$as_dir" && as_dir=.
10307 for ac_exec_ext in '' $ac_executable_extensions; do
10308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10309 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10321 if test -n "$DLLTOOL_FOR_TARGET"; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10323 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10326 $as_echo "no" >&6; }
10331 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10334 if test -n "$DLLTOOL_FOR_TARGET"; then
10335 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10336 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10337 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10340 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10341 for ncn_progname in dlltool; do
10342 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10343 set dummy ${ncn_progname}; ac_word=$2
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10345 $as_echo_n "checking for $ac_word... " >&6; }
10346 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10347 $as_echo_n "(cached) " >&6
10349 if test -n "$DLLTOOL_FOR_TARGET"; then
10350 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10353 for as_dir in $PATH
10356 test -z "$as_dir" && as_dir=.
10357 for ac_exec_ext in '' $ac_executable_extensions; do
10358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10359 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10369 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10370 if test -n "$DLLTOOL_FOR_TARGET"; then
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10372 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10375 $as_echo "no" >&6; }
10382 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10383 for ncn_progname in dlltool; do
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10385 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10386 if test -x $with_build_time_tools/${ncn_progname}; then
10387 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10389 $as_echo "yes" >&6; }
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 $as_echo "no" >&6; }
10398 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10399 for ncn_progname in dlltool; do
10400 if test -n "$ncn_target_tool_prefix"; then
10401 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10402 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 $as_echo_n "checking for $ac_word... " >&6; }
10405 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10406 $as_echo_n "(cached) " >&6
10408 if test -n "$DLLTOOL_FOR_TARGET"; then
10409 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10412 for as_dir in $PATH
10415 test -z "$as_dir" && as_dir=.
10416 for ac_exec_ext in '' $ac_executable_extensions; do
10417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10418 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10428 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10429 if test -n "$DLLTOOL_FOR_TARGET"; then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10431 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10434 $as_echo "no" >&6; }
10439 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10440 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10441 set dummy ${ncn_progname}; ac_word=$2
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10443 $as_echo_n "checking for $ac_word... " >&6; }
10444 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10445 $as_echo_n "(cached) " >&6
10447 if test -n "$DLLTOOL_FOR_TARGET"; then
10448 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10451 for as_dir in $PATH
10454 test -z "$as_dir" && as_dir=.
10455 for ac_exec_ext in '' $ac_executable_extensions; do
10456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10457 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10468 if test -n "$DLLTOOL_FOR_TARGET"; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
10470 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 $as_echo "no" >&6; }
10478 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10482 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10484 if test $build = $target ; then
10485 DLLTOOL_FOR_TARGET="$2"
10487 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10490 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10494 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10500 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10501 if test -n "$with_build_time_tools"; then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
10503 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
10504 if test -x $with_build_time_tools/ld; then
10505 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10506 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
10508 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 $as_echo "no" >&6; }
10513 elif test $build != $host && test $have_gcc_for_target = yes; then
10514 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10515 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10516 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10519 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10520 # Extract the first word of "ld", so it can be a program name with args.
10521 set dummy ld; 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_path_LD_FOR_TARGET+set}" = set; then :
10525 $as_echo_n "(cached) " >&6
10527 case $LD_FOR_TARGET in
10529 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10533 for as_dir in $gcc_cv_tool_dirs
10536 test -z "$as_dir" && as_dir=.
10537 for ac_exec_ext in '' $ac_executable_extensions; do
10538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10539 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10550 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10551 if test -n "$LD_FOR_TARGET"; then
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10553 $as_echo "$LD_FOR_TARGET" >&6; }
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10556 $as_echo "no" >&6; }
10561 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10564 if test -n "$LD_FOR_TARGET"; then
10565 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10566 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10567 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10570 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10571 for ncn_progname in ld; do
10572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10573 set dummy ${ncn_progname}; ac_word=$2
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10575 $as_echo_n "checking for $ac_word... " >&6; }
10576 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10577 $as_echo_n "(cached) " >&6
10579 if test -n "$LD_FOR_TARGET"; then
10580 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10583 for as_dir in $PATH
10586 test -z "$as_dir" && as_dir=.
10587 for ac_exec_ext in '' $ac_executable_extensions; do
10588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10589 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10599 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10600 if test -n "$LD_FOR_TARGET"; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10602 $as_echo "$LD_FOR_TARGET" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10605 $as_echo "no" >&6; }
10612 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10613 for ncn_progname in ld; do
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10615 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10616 if test -x $with_build_time_tools/${ncn_progname}; then
10617 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10619 $as_echo "yes" >&6; }
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10623 $as_echo "no" >&6; }
10628 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10629 for ncn_progname in ld; do
10630 if test -n "$ncn_target_tool_prefix"; then
10631 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10632 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10634 $as_echo_n "checking for $ac_word... " >&6; }
10635 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10636 $as_echo_n "(cached) " >&6
10638 if test -n "$LD_FOR_TARGET"; then
10639 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10642 for as_dir in $PATH
10645 test -z "$as_dir" && as_dir=.
10646 for ac_exec_ext in '' $ac_executable_extensions; do
10647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10648 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10658 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10659 if test -n "$LD_FOR_TARGET"; then
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10661 $as_echo "$LD_FOR_TARGET" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10664 $as_echo "no" >&6; }
10669 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10671 set dummy ${ncn_progname}; ac_word=$2
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10673 $as_echo_n "checking for $ac_word... " >&6; }
10674 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10675 $as_echo_n "(cached) " >&6
10677 if test -n "$LD_FOR_TARGET"; then
10678 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10681 for as_dir in $PATH
10684 test -z "$as_dir" && as_dir=.
10685 for ac_exec_ext in '' $ac_executable_extensions; do
10686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10687 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10697 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10698 if test -n "$LD_FOR_TARGET"; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
10700 $as_echo "$LD_FOR_TARGET" >&6; }
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10703 $as_echo "no" >&6; }
10708 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10712 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10714 if test $build = $target ; then
10717 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10720 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10724 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10730 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10731 if test -n "$with_build_time_tools"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
10733 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
10734 if test -x $with_build_time_tools/lipo; then
10735 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10736 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
10738 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10741 $as_echo "no" >&6; }
10743 elif test $build != $host && test $have_gcc_for_target = yes; then
10744 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10745 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10746 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10749 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10750 # Extract the first word of "lipo", so it can be a program name with args.
10751 set dummy lipo; ac_word=$2
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10753 $as_echo_n "checking for $ac_word... " >&6; }
10754 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
10755 $as_echo_n "(cached) " >&6
10757 case $LIPO_FOR_TARGET in
10759 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10763 for as_dir in $gcc_cv_tool_dirs
10766 test -z "$as_dir" && as_dir=.
10767 for ac_exec_ext in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10780 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10781 if test -n "$LIPO_FOR_TARGET"; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10783 $as_echo "$LIPO_FOR_TARGET" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10786 $as_echo "no" >&6; }
10791 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10794 if test -n "$LIPO_FOR_TARGET"; then
10795 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10796 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10797 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10800 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10801 for ncn_progname in lipo; do
10802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10803 set dummy ${ncn_progname}; ac_word=$2
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10805 $as_echo_n "checking for $ac_word... " >&6; }
10806 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10807 $as_echo_n "(cached) " >&6
10809 if test -n "$LIPO_FOR_TARGET"; then
10810 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10813 for as_dir in $PATH
10816 test -z "$as_dir" && as_dir=.
10817 for ac_exec_ext in '' $ac_executable_extensions; do
10818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10819 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10829 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10830 if test -n "$LIPO_FOR_TARGET"; then
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10832 $as_echo "$LIPO_FOR_TARGET" >&6; }
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10835 $as_echo "no" >&6; }
10842 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10843 for ncn_progname in lipo; do
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10845 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10846 if test -x $with_build_time_tools/${ncn_progname}; then
10847 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10849 $as_echo "yes" >&6; }
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10853 $as_echo "no" >&6; }
10858 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10859 for ncn_progname in lipo; do
10860 if test -n "$ncn_target_tool_prefix"; then
10861 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10862 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10864 $as_echo_n "checking for $ac_word... " >&6; }
10865 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10866 $as_echo_n "(cached) " >&6
10868 if test -n "$LIPO_FOR_TARGET"; then
10869 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10872 for as_dir in $PATH
10875 test -z "$as_dir" && as_dir=.
10876 for ac_exec_ext in '' $ac_executable_extensions; do
10877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10878 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10888 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10889 if test -n "$LIPO_FOR_TARGET"; then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10891 $as_echo "$LIPO_FOR_TARGET" >&6; }
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10894 $as_echo "no" >&6; }
10899 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10900 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10901 set dummy ${ncn_progname}; ac_word=$2
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10903 $as_echo_n "checking for $ac_word... " >&6; }
10904 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10907 if test -n "$LIPO_FOR_TARGET"; then
10908 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10911 for as_dir in $PATH
10914 test -z "$as_dir" && as_dir=.
10915 for ac_exec_ext in '' $ac_executable_extensions; do
10916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10917 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10927 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10928 if test -n "$LIPO_FOR_TARGET"; then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
10930 $as_echo "$LIPO_FOR_TARGET" >&6; }
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10933 $as_echo "no" >&6; }
10938 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10942 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10944 if test $build = $target ; then
10945 LIPO_FOR_TARGET="$2"
10947 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10950 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10954 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10960 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10961 if test -n "$with_build_time_tools"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
10963 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
10964 if test -x $with_build_time_tools/nm; then
10965 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10966 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
10968 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10971 $as_echo "no" >&6; }
10973 elif test $build != $host && test $have_gcc_for_target = yes; then
10974 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10975 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10976 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10979 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10980 # Extract the first word of "nm", so it can be a program name with args.
10981 set dummy nm; ac_word=$2
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10983 $as_echo_n "checking for $ac_word... " >&6; }
10984 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 case $NM_FOR_TARGET in
10989 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $gcc_cv_tool_dirs
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10999 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11011 if test -n "$NM_FOR_TARGET"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11013 $as_echo "$NM_FOR_TARGET" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016 $as_echo "no" >&6; }
11021 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11024 if test -n "$NM_FOR_TARGET"; then
11025 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11026 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11027 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11030 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11031 for ncn_progname in nm; do
11032 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11033 set dummy ${ncn_progname}; ac_word=$2
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11035 $as_echo_n "checking for $ac_word... " >&6; }
11036 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11037 $as_echo_n "(cached) " >&6
11039 if test -n "$NM_FOR_TARGET"; then
11040 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11043 for as_dir in $PATH
11046 test -z "$as_dir" && as_dir=.
11047 for ac_exec_ext in '' $ac_executable_extensions; do
11048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11049 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11059 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11060 if test -n "$NM_FOR_TARGET"; then
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11062 $as_echo "$NM_FOR_TARGET" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11065 $as_echo "no" >&6; }
11072 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11073 for ncn_progname in nm; do
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11075 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11076 if test -x $with_build_time_tools/${ncn_progname}; then
11077 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11079 $as_echo "yes" >&6; }
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11083 $as_echo "no" >&6; }
11088 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11089 for ncn_progname in nm; do
11090 if test -n "$ncn_target_tool_prefix"; then
11091 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11092 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11094 $as_echo_n "checking for $ac_word... " >&6; }
11095 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11096 $as_echo_n "(cached) " >&6
11098 if test -n "$NM_FOR_TARGET"; then
11099 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11102 for as_dir in $PATH
11105 test -z "$as_dir" && as_dir=.
11106 for ac_exec_ext in '' $ac_executable_extensions; do
11107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11108 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11118 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11119 if test -n "$NM_FOR_TARGET"; then
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11121 $as_echo "$NM_FOR_TARGET" >&6; }
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11124 $as_echo "no" >&6; }
11129 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11130 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11131 set dummy ${ncn_progname}; ac_word=$2
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11133 $as_echo_n "checking for $ac_word... " >&6; }
11134 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11135 $as_echo_n "(cached) " >&6
11137 if test -n "$NM_FOR_TARGET"; then
11138 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11141 for as_dir in $PATH
11144 test -z "$as_dir" && as_dir=.
11145 for ac_exec_ext in '' $ac_executable_extensions; do
11146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11147 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11157 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11158 if test -n "$NM_FOR_TARGET"; then
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11160 $as_echo "$NM_FOR_TARGET" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11163 $as_echo "no" >&6; }
11168 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11172 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11174 if test $build = $target ; then
11177 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11180 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11184 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11190 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11191 if test -n "$with_build_time_tools"; then
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
11193 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
11194 if test -x $with_build_time_tools/objdump; then
11195 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11196 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11198 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11201 $as_echo "no" >&6; }
11203 elif test $build != $host && test $have_gcc_for_target = yes; then
11204 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11205 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11206 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11209 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11210 # Extract the first word of "objdump", so it can be a program name with args.
11211 set dummy objdump; ac_word=$2
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11213 $as_echo_n "checking for $ac_word... " >&6; }
11214 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11215 $as_echo_n "(cached) " >&6
11217 case $OBJDUMP_FOR_TARGET in
11219 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11223 for as_dir in $gcc_cv_tool_dirs
11226 test -z "$as_dir" && as_dir=.
11227 for ac_exec_ext in '' $ac_executable_extensions; do
11228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11229 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11240 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11241 if test -n "$OBJDUMP_FOR_TARGET"; then
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11243 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11246 $as_echo "no" >&6; }
11251 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11254 if test -n "$OBJDUMP_FOR_TARGET"; then
11255 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11256 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11257 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11260 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11261 for ncn_progname in objdump; do
11262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11263 set dummy ${ncn_progname}; ac_word=$2
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11265 $as_echo_n "checking for $ac_word... " >&6; }
11266 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11267 $as_echo_n "(cached) " >&6
11269 if test -n "$OBJDUMP_FOR_TARGET"; then
11270 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11273 for as_dir in $PATH
11276 test -z "$as_dir" && as_dir=.
11277 for ac_exec_ext in '' $ac_executable_extensions; do
11278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11279 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11289 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11290 if test -n "$OBJDUMP_FOR_TARGET"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11292 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11302 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11303 for ncn_progname in objdump; do
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11305 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11306 if test -x $with_build_time_tools/${ncn_progname}; then
11307 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11309 $as_echo "yes" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11313 $as_echo "no" >&6; }
11318 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11319 for ncn_progname in objdump; do
11320 if test -n "$ncn_target_tool_prefix"; then
11321 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11322 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11324 $as_echo_n "checking for $ac_word... " >&6; }
11325 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11328 if test -n "$OBJDUMP_FOR_TARGET"; then
11329 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11332 for as_dir in $PATH
11335 test -z "$as_dir" && as_dir=.
11336 for ac_exec_ext in '' $ac_executable_extensions; do
11337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11338 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11348 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11349 if test -n "$OBJDUMP_FOR_TARGET"; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11351 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11354 $as_echo "no" >&6; }
11359 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11360 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11361 set dummy ${ncn_progname}; ac_word=$2
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11363 $as_echo_n "checking for $ac_word... " >&6; }
11364 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11365 $as_echo_n "(cached) " >&6
11367 if test -n "$OBJDUMP_FOR_TARGET"; then
11368 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11371 for as_dir in $PATH
11374 test -z "$as_dir" && as_dir=.
11375 for ac_exec_ext in '' $ac_executable_extensions; do
11376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11377 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11388 if test -n "$OBJDUMP_FOR_TARGET"; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11390 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11398 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11402 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11404 if test $build = $target ; then
11405 OBJDUMP_FOR_TARGET="$2"
11407 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11410 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11414 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11420 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11421 if test -n "$with_build_time_tools"; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
11423 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
11424 if test -x $with_build_time_tools/ranlib; then
11425 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11426 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11428 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11431 $as_echo "no" >&6; }
11433 elif test $build != $host && test $have_gcc_for_target = yes; then
11434 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11435 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11436 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11439 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11440 # Extract the first word of "ranlib", so it can be a program name with args.
11441 set dummy ranlib; ac_word=$2
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11443 $as_echo_n "checking for $ac_word... " >&6; }
11444 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
11445 $as_echo_n "(cached) " >&6
11447 case $RANLIB_FOR_TARGET in
11449 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11453 for as_dir in $gcc_cv_tool_dirs
11456 test -z "$as_dir" && as_dir=.
11457 for ac_exec_ext in '' $ac_executable_extensions; do
11458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11459 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11470 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11471 if test -n "$RANLIB_FOR_TARGET"; then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11473 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11476 $as_echo "no" >&6; }
11481 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11484 if test -n "$RANLIB_FOR_TARGET"; then
11485 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11486 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11487 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11490 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11491 for ncn_progname in ranlib; do
11492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11493 set dummy ${ncn_progname}; ac_word=$2
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11495 $as_echo_n "checking for $ac_word... " >&6; }
11496 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11497 $as_echo_n "(cached) " >&6
11499 if test -n "$RANLIB_FOR_TARGET"; then
11500 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11503 for as_dir in $PATH
11506 test -z "$as_dir" && as_dir=.
11507 for ac_exec_ext in '' $ac_executable_extensions; do
11508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11509 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11520 if test -n "$RANLIB_FOR_TARGET"; then
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11522 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11525 $as_echo "no" >&6; }
11532 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11533 for ncn_progname in ranlib; do
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11535 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11536 if test -x $with_build_time_tools/${ncn_progname}; then
11537 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11539 $as_echo "yes" >&6; }
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11543 $as_echo "no" >&6; }
11548 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11549 for ncn_progname in ranlib; do
11550 if test -n "$ncn_target_tool_prefix"; then
11551 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11552 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554 $as_echo_n "checking for $ac_word... " >&6; }
11555 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11556 $as_echo_n "(cached) " >&6
11558 if test -n "$RANLIB_FOR_TARGET"; then
11559 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11562 for as_dir in $PATH
11565 test -z "$as_dir" && as_dir=.
11566 for ac_exec_ext in '' $ac_executable_extensions; do
11567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11568 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11578 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11579 if test -n "$RANLIB_FOR_TARGET"; then
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11581 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11584 $as_echo "no" >&6; }
11589 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11591 set dummy ${ncn_progname}; ac_word=$2
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593 $as_echo_n "checking for $ac_word... " >&6; }
11594 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11595 $as_echo_n "(cached) " >&6
11597 if test -n "$RANLIB_FOR_TARGET"; then
11598 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11601 for as_dir in $PATH
11604 test -z "$as_dir" && as_dir=.
11605 for ac_exec_ext in '' $ac_executable_extensions; do
11606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11607 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11617 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11618 if test -n "$RANLIB_FOR_TARGET"; then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
11620 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11628 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11632 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11634 if test $build = $target ; then
11635 RANLIB_FOR_TARGET="$2"
11637 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11640 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11644 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11650 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11651 if test -n "$with_build_time_tools"; then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
11653 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
11654 if test -x $with_build_time_tools/strip; then
11655 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11656 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
11658 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11663 elif test $build != $host && test $have_gcc_for_target = yes; then
11664 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11665 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11666 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11669 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11670 # Extract the first word of "strip", so it can be a program name with args.
11671 set dummy strip; ac_word=$2
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11673 $as_echo_n "checking for $ac_word... " >&6; }
11674 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
11675 $as_echo_n "(cached) " >&6
11677 case $STRIP_FOR_TARGET in
11679 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11683 for as_dir in $gcc_cv_tool_dirs
11686 test -z "$as_dir" && as_dir=.
11687 for ac_exec_ext in '' $ac_executable_extensions; do
11688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11689 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11700 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11701 if test -n "$STRIP_FOR_TARGET"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11703 $as_echo "$STRIP_FOR_TARGET" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11711 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11714 if test -n "$STRIP_FOR_TARGET"; then
11715 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11716 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11717 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11720 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11721 for ncn_progname in strip; do
11722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11723 set dummy ${ncn_progname}; ac_word=$2
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11725 $as_echo_n "checking for $ac_word... " >&6; }
11726 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11727 $as_echo_n "(cached) " >&6
11729 if test -n "$STRIP_FOR_TARGET"; then
11730 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11739 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11749 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11750 if test -n "$STRIP_FOR_TARGET"; then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11752 $as_echo "$STRIP_FOR_TARGET" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11755 $as_echo "no" >&6; }
11762 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11763 for ncn_progname in strip; do
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11765 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11766 if test -x $with_build_time_tools/${ncn_progname}; then
11767 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11769 $as_echo "yes" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 $as_echo "no" >&6; }
11778 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11779 for ncn_progname in strip; do
11780 if test -n "$ncn_target_tool_prefix"; then
11781 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11782 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11784 $as_echo_n "checking for $ac_word... " >&6; }
11785 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11786 $as_echo_n "(cached) " >&6
11788 if test -n "$STRIP_FOR_TARGET"; then
11789 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11792 for as_dir in $PATH
11795 test -z "$as_dir" && as_dir=.
11796 for ac_exec_ext in '' $ac_executable_extensions; do
11797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11798 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11808 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11809 if test -n "$STRIP_FOR_TARGET"; then
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11811 $as_echo "$STRIP_FOR_TARGET" >&6; }
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11814 $as_echo "no" >&6; }
11819 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11821 set dummy ${ncn_progname}; ac_word=$2
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11823 $as_echo_n "checking for $ac_word... " >&6; }
11824 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11827 if test -n "$STRIP_FOR_TARGET"; then
11828 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11831 for as_dir in $PATH
11834 test -z "$as_dir" && as_dir=.
11835 for ac_exec_ext in '' $ac_executable_extensions; do
11836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11837 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11847 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11848 if test -n "$STRIP_FOR_TARGET"; then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
11850 $as_echo "$STRIP_FOR_TARGET" >&6; }
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11858 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11862 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11864 if test $build = $target ; then
11865 STRIP_FOR_TARGET="$2"
11867 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11870 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11874 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11880 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11881 if test -n "$with_build_time_tools"; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
11883 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
11884 if test -x $with_build_time_tools/windres; then
11885 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11886 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11888 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11891 $as_echo "no" >&6; }
11893 elif test $build != $host && test $have_gcc_for_target = yes; then
11894 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11895 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11896 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11899 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11900 # Extract the first word of "windres", so it can be a program name with args.
11901 set dummy windres; ac_word=$2
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11903 $as_echo_n "checking for $ac_word... " >&6; }
11904 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
11905 $as_echo_n "(cached) " >&6
11907 case $WINDRES_FOR_TARGET in
11909 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11913 for as_dir in $gcc_cv_tool_dirs
11916 test -z "$as_dir" && as_dir=.
11917 for ac_exec_ext in '' $ac_executable_extensions; do
11918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11919 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11930 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11931 if test -n "$WINDRES_FOR_TARGET"; then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
11933 $as_echo "$WINDRES_FOR_TARGET" >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11936 $as_echo "no" >&6; }
11941 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11944 if test -n "$WINDRES_FOR_TARGET"; then
11945 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11946 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11947 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11950 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11951 for ncn_progname in windres; do
11952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11953 set dummy ${ncn_progname}; ac_word=$2
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11955 $as_echo_n "checking for $ac_word... " >&6; }
11956 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
11957 $as_echo_n "(cached) " >&6
11959 if test -n "$WINDRES_FOR_TARGET"; then
11960 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11963 for as_dir in $PATH
11966 test -z "$as_dir" && as_dir=.
11967 for ac_exec_ext in '' $ac_executable_extensions; do
11968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11969 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11979 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11980 if test -n "$WINDRES_FOR_TARGET"; then
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
11982 $as_echo "$WINDRES_FOR_TARGET" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11985 $as_echo "no" >&6; }
11992 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11993 for ncn_progname in windres; do
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11995 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11996 if test -x $with_build_time_tools/${ncn_progname}; then
11997 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11999 $as_echo "yes" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 $as_echo "no" >&6; }
12008 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12009 for ncn_progname in windres; do
12010 if test -n "$ncn_target_tool_prefix"; then
12011 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12012 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12014 $as_echo_n "checking for $ac_word... " >&6; }
12015 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12016 $as_echo_n "(cached) " >&6
12018 if test -n "$WINDRES_FOR_TARGET"; then
12019 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12028 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12039 if test -n "$WINDRES_FOR_TARGET"; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12041 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12044 $as_echo "no" >&6; }
12049 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12050 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12051 set dummy ${ncn_progname}; ac_word=$2
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12053 $as_echo_n "checking for $ac_word... " >&6; }
12054 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12055 $as_echo_n "(cached) " >&6
12057 if test -n "$WINDRES_FOR_TARGET"; then
12058 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12061 for as_dir in $PATH
12064 test -z "$as_dir" && as_dir=.
12065 for ac_exec_ext in '' $ac_executable_extensions; do
12066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12067 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12078 if test -n "$WINDRES_FOR_TARGET"; then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12080 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12083 $as_echo "no" >&6; }
12088 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12092 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12094 if test $build = $target ; then
12095 WINDRES_FOR_TARGET="$2"
12097 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12100 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12104 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12110 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12111 if test -n "$with_build_time_tools"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12113 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12114 if test -x $with_build_time_tools/windmc; then
12115 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12116 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12118 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12121 $as_echo "no" >&6; }
12123 elif test $build != $host && test $have_gcc_for_target = yes; then
12124 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12125 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12126 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12129 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12130 # Extract the first word of "windmc", so it can be a program name with args.
12131 set dummy windmc; ac_word=$2
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12133 $as_echo_n "checking for $ac_word... " >&6; }
12134 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12135 $as_echo_n "(cached) " >&6
12137 case $WINDMC_FOR_TARGET in
12139 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12143 for as_dir in $gcc_cv_tool_dirs
12146 test -z "$as_dir" && as_dir=.
12147 for ac_exec_ext in '' $ac_executable_extensions; do
12148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12160 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12161 if test -n "$WINDMC_FOR_TARGET"; then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12163 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12171 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12174 if test -n "$WINDMC_FOR_TARGET"; then
12175 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12176 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12177 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12180 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12181 for ncn_progname in windmc; do
12182 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12183 set dummy ${ncn_progname}; ac_word=$2
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12185 $as_echo_n "checking for $ac_word... " >&6; }
12186 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12187 $as_echo_n "(cached) " >&6
12189 if test -n "$WINDMC_FOR_TARGET"; then
12190 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12193 for as_dir in $PATH
12196 test -z "$as_dir" && as_dir=.
12197 for ac_exec_ext in '' $ac_executable_extensions; do
12198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12199 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12210 if test -n "$WINDMC_FOR_TARGET"; then
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12212 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12222 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12223 for ncn_progname in windmc; do
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12225 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12226 if test -x $with_build_time_tools/${ncn_progname}; then
12227 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 $as_echo "yes" >&6; }
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12238 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12239 for ncn_progname in windmc; do
12240 if test -n "$ncn_target_tool_prefix"; then
12241 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12242 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244 $as_echo_n "checking for $ac_word... " >&6; }
12245 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12246 $as_echo_n "(cached) " >&6
12248 if test -n "$WINDMC_FOR_TARGET"; then
12249 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12252 for as_dir in $PATH
12255 test -z "$as_dir" && as_dir=.
12256 for ac_exec_ext in '' $ac_executable_extensions; do
12257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12258 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12268 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12269 if test -n "$WINDMC_FOR_TARGET"; then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12271 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12279 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12281 set dummy ${ncn_progname}; ac_word=$2
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12283 $as_echo_n "checking for $ac_word... " >&6; }
12284 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12285 $as_echo_n "(cached) " >&6
12287 if test -n "$WINDMC_FOR_TARGET"; then
12288 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $PATH
12294 test -z "$as_dir" && as_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12297 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12308 if test -n "$WINDMC_FOR_TARGET"; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12310 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313 $as_echo "no" >&6; }
12318 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12322 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12324 if test $build = $target ; then
12325 WINDMC_FOR_TARGET="$2"
12327 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12330 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12334 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12338 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
12341 $as_echo_n "checking where to find the target ar... " >&6; }
12342 if test "x${build}" != "x${host}" ; then
12343 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
12344 # We already found the complete path
12345 ac_dir=`dirname $AR_FOR_TARGET`
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12347 $as_echo "pre-installed in $ac_dir" >&6; }
12349 # Canadian cross, just use what we found
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12351 $as_echo "pre-installed" >&6; }
12355 case " ${configdirs} " in
12360 if test $ok = yes; then
12361 # An in-tree tool is available and we can use it
12362 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12364 $as_echo "just compiled" >&6; }
12365 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
12366 # We already found the complete path
12367 ac_dir=`dirname $AR_FOR_TARGET`
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12369 $as_echo "pre-installed in $ac_dir" >&6; }
12370 elif test "x$target" = "x$host"; then
12371 # We can use an host tool
12372 AR_FOR_TARGET='$(AR)'
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12374 $as_echo "host tool" >&6; }
12376 # We need a cross tool
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12378 $as_echo "pre-installed" >&6; }
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
12383 $as_echo_n "checking where to find the target as... " >&6; }
12384 if test "x${build}" != "x${host}" ; then
12385 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
12386 # We already found the complete path
12387 ac_dir=`dirname $AS_FOR_TARGET`
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12389 $as_echo "pre-installed in $ac_dir" >&6; }
12391 # Canadian cross, just use what we found
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12393 $as_echo "pre-installed" >&6; }
12397 case " ${configdirs} " in
12402 if test $ok = yes; then
12403 # An in-tree tool is available and we can use it
12404 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12406 $as_echo "just compiled" >&6; }
12407 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
12408 # We already found the complete path
12409 ac_dir=`dirname $AS_FOR_TARGET`
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12411 $as_echo "pre-installed in $ac_dir" >&6; }
12412 elif test "x$target" = "x$host"; then
12413 # We can use an host tool
12414 AS_FOR_TARGET='$(AS)'
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12416 $as_echo "host tool" >&6; }
12418 # We need a cross tool
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12420 $as_echo "pre-installed" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
12425 $as_echo_n "checking where to find the target cc... " >&6; }
12426 if test "x${build}" != "x${host}" ; then
12427 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
12428 # We already found the complete path
12429 ac_dir=`dirname $CC_FOR_TARGET`
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12431 $as_echo "pre-installed in $ac_dir" >&6; }
12433 # Canadian cross, just use what we found
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12435 $as_echo "pre-installed" >&6; }
12439 case " ${configdirs} " in
12444 if test $ok = yes; then
12445 # An in-tree tool is available and we can use it
12446 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12448 $as_echo "just compiled" >&6; }
12449 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
12450 # We already found the complete path
12451 ac_dir=`dirname $CC_FOR_TARGET`
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12453 $as_echo "pre-installed in $ac_dir" >&6; }
12454 elif test "x$target" = "x$host"; then
12455 # We can use an host tool
12456 CC_FOR_TARGET='$(CC)'
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12458 $as_echo "host tool" >&6; }
12460 # We need a cross tool
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12462 $as_echo "pre-installed" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
12467 $as_echo_n "checking where to find the target c++... " >&6; }
12468 if test "x${build}" != "x${host}" ; then
12469 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
12470 # We already found the complete path
12471 ac_dir=`dirname $CXX_FOR_TARGET`
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12473 $as_echo "pre-installed in $ac_dir" >&6; }
12475 # Canadian cross, just use what we found
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12477 $as_echo "pre-installed" >&6; }
12481 case " ${configdirs} " in
12485 case ,${enable_languages}, in
12489 if test $ok = yes; then
12490 # An in-tree tool is available and we can use it
12491 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'
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12493 $as_echo "just compiled" >&6; }
12494 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
12495 # We already found the complete path
12496 ac_dir=`dirname $CXX_FOR_TARGET`
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12498 $as_echo "pre-installed in $ac_dir" >&6; }
12499 elif test "x$target" = "x$host"; then
12500 # We can use an host tool
12501 CXX_FOR_TARGET='$(CXX)'
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12503 $as_echo "host tool" >&6; }
12505 # We need a cross tool
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12507 $as_echo "pre-installed" >&6; }
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
12512 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
12513 if test "x${build}" != "x${host}" ; then
12514 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
12515 # We already found the complete path
12516 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12518 $as_echo "pre-installed in $ac_dir" >&6; }
12520 # Canadian cross, just use what we found
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12522 $as_echo "pre-installed" >&6; }
12526 case " ${configdirs} " in
12530 case ,${enable_languages}, in
12534 if test $ok = yes; then
12535 # An in-tree tool is available and we can use it
12536 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'
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12538 $as_echo "just compiled" >&6; }
12539 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
12540 # We already found the complete path
12541 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12543 $as_echo "pre-installed in $ac_dir" >&6; }
12544 elif test "x$target" = "x$host"; then
12545 # We can use an host tool
12546 RAW_CXX_FOR_TARGET='$(CXX)'
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12548 $as_echo "host tool" >&6; }
12550 # We need a cross tool
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12552 $as_echo "pre-installed" >&6; }
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
12557 $as_echo_n "checking where to find the target dlltool... " >&6; }
12558 if test "x${build}" != "x${host}" ; then
12559 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
12560 # We already found the complete path
12561 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12563 $as_echo "pre-installed in $ac_dir" >&6; }
12565 # Canadian cross, just use what we found
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12567 $as_echo "pre-installed" >&6; }
12571 case " ${configdirs} " in
12576 if test $ok = yes; then
12577 # An in-tree tool is available and we can use it
12578 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12580 $as_echo "just compiled" >&6; }
12581 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
12582 # We already found the complete path
12583 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12585 $as_echo "pre-installed in $ac_dir" >&6; }
12586 elif test "x$target" = "x$host"; then
12587 # We can use an host tool
12588 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12590 $as_echo "host tool" >&6; }
12592 # We need a cross tool
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12594 $as_echo "pre-installed" >&6; }
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
12599 $as_echo_n "checking where to find the target gcc... " >&6; }
12600 if test "x${build}" != "x${host}" ; then
12601 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
12602 # We already found the complete path
12603 ac_dir=`dirname $GCC_FOR_TARGET`
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12605 $as_echo "pre-installed in $ac_dir" >&6; }
12607 # Canadian cross, just use what we found
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12609 $as_echo "pre-installed" >&6; }
12613 case " ${configdirs} " in
12618 if test $ok = yes; then
12619 # An in-tree tool is available and we can use it
12620 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12622 $as_echo "just compiled" >&6; }
12623 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
12624 # We already found the complete path
12625 ac_dir=`dirname $GCC_FOR_TARGET`
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12627 $as_echo "pre-installed in $ac_dir" >&6; }
12628 elif test "x$target" = "x$host"; then
12629 # We can use an host tool
12630 GCC_FOR_TARGET='$()'
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12632 $as_echo "host tool" >&6; }
12634 # We need a cross tool
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12636 $as_echo "pre-installed" >&6; }
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
12641 $as_echo_n "checking where to find the target gcj... " >&6; }
12642 if test "x${build}" != "x${host}" ; then
12643 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
12644 # We already found the complete path
12645 ac_dir=`dirname $GCJ_FOR_TARGET`
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12647 $as_echo "pre-installed in $ac_dir" >&6; }
12649 # Canadian cross, just use what we found
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12651 $as_echo "pre-installed" >&6; }
12655 case " ${configdirs} " in
12659 case ,${enable_languages}, in
12663 if test $ok = yes; then
12664 # An in-tree tool is available and we can use it
12665 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12667 $as_echo "just compiled" >&6; }
12668 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
12669 # We already found the complete path
12670 ac_dir=`dirname $GCJ_FOR_TARGET`
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12672 $as_echo "pre-installed in $ac_dir" >&6; }
12673 elif test "x$target" = "x$host"; then
12674 # We can use an host tool
12675 GCJ_FOR_TARGET='$(GCJ)'
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12677 $as_echo "host tool" >&6; }
12679 # We need a cross tool
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12681 $as_echo "pre-installed" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
12686 $as_echo_n "checking where to find the target gfortran... " >&6; }
12687 if test "x${build}" != "x${host}" ; then
12688 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
12689 # We already found the complete path
12690 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12692 $as_echo "pre-installed in $ac_dir" >&6; }
12694 # Canadian cross, just use what we found
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12696 $as_echo "pre-installed" >&6; }
12700 case " ${configdirs} " in
12704 case ,${enable_languages}, in
12708 if test $ok = yes; then
12709 # An in-tree tool is available and we can use it
12710 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12712 $as_echo "just compiled" >&6; }
12713 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
12714 # We already found the complete path
12715 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12717 $as_echo "pre-installed in $ac_dir" >&6; }
12718 elif test "x$target" = "x$host"; then
12719 # We can use an host tool
12720 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12722 $as_echo "host tool" >&6; }
12724 # We need a cross tool
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12726 $as_echo "pre-installed" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
12731 $as_echo_n "checking where to find the target ld... " >&6; }
12732 if test "x${build}" != "x${host}" ; then
12733 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
12734 # We already found the complete path
12735 ac_dir=`dirname $LD_FOR_TARGET`
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12737 $as_echo "pre-installed in $ac_dir" >&6; }
12739 # Canadian cross, just use what we found
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12741 $as_echo "pre-installed" >&6; }
12745 case " ${configdirs} " in
12750 if test $ok = yes; then
12751 # An in-tree tool is available and we can use it
12752 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12754 $as_echo "just compiled" >&6; }
12755 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
12756 # We already found the complete path
12757 ac_dir=`dirname $LD_FOR_TARGET`
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12759 $as_echo "pre-installed in $ac_dir" >&6; }
12760 elif test "x$target" = "x$host"; then
12761 # We can use an host tool
12762 LD_FOR_TARGET='$(LD)'
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12764 $as_echo "host tool" >&6; }
12766 # We need a cross tool
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12768 $as_echo "pre-installed" >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
12773 $as_echo_n "checking where to find the target lipo... " >&6; }
12774 if test "x${build}" != "x${host}" ; then
12775 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
12776 # We already found the complete path
12777 ac_dir=`dirname $LIPO_FOR_TARGET`
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12779 $as_echo "pre-installed in $ac_dir" >&6; }
12781 # Canadian cross, just use what we found
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12783 $as_echo "pre-installed" >&6; }
12786 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
12787 # We already found the complete path
12788 ac_dir=`dirname $LIPO_FOR_TARGET`
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12790 $as_echo "pre-installed in $ac_dir" >&6; }
12791 elif test "x$target" = "x$host"; then
12792 # We can use an host tool
12793 LIPO_FOR_TARGET='$(LIPO)'
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12795 $as_echo "host tool" >&6; }
12797 # We need a cross tool
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12799 $as_echo "pre-installed" >&6; }
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
12804 $as_echo_n "checking where to find the target nm... " >&6; }
12805 if test "x${build}" != "x${host}" ; then
12806 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
12807 # We already found the complete path
12808 ac_dir=`dirname $NM_FOR_TARGET`
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12810 $as_echo "pre-installed in $ac_dir" >&6; }
12812 # Canadian cross, just use what we found
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12814 $as_echo "pre-installed" >&6; }
12818 case " ${configdirs} " in
12823 if test $ok = yes; then
12824 # An in-tree tool is available and we can use it
12825 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12827 $as_echo "just compiled" >&6; }
12828 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
12829 # We already found the complete path
12830 ac_dir=`dirname $NM_FOR_TARGET`
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12832 $as_echo "pre-installed in $ac_dir" >&6; }
12833 elif test "x$target" = "x$host"; then
12834 # We can use an host tool
12835 NM_FOR_TARGET='$(NM)'
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12837 $as_echo "host tool" >&6; }
12839 # We need a cross tool
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12841 $as_echo "pre-installed" >&6; }
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
12846 $as_echo_n "checking where to find the target objdump... " >&6; }
12847 if test "x${build}" != "x${host}" ; then
12848 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
12849 # We already found the complete path
12850 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12852 $as_echo "pre-installed in $ac_dir" >&6; }
12854 # Canadian cross, just use what we found
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12856 $as_echo "pre-installed" >&6; }
12860 case " ${configdirs} " in
12865 if test $ok = yes; then
12866 # An in-tree tool is available and we can use it
12867 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12869 $as_echo "just compiled" >&6; }
12870 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
12871 # We already found the complete path
12872 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12874 $as_echo "pre-installed in $ac_dir" >&6; }
12875 elif test "x$target" = "x$host"; then
12876 # We can use an host tool
12877 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12879 $as_echo "host tool" >&6; }
12881 # We need a cross tool
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12883 $as_echo "pre-installed" >&6; }
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
12888 $as_echo_n "checking where to find the target ranlib... " >&6; }
12889 if test "x${build}" != "x${host}" ; then
12890 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
12891 # We already found the complete path
12892 ac_dir=`dirname $RANLIB_FOR_TARGET`
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12894 $as_echo "pre-installed in $ac_dir" >&6; }
12896 # Canadian cross, just use what we found
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12898 $as_echo "pre-installed" >&6; }
12902 case " ${configdirs} " in
12907 if test $ok = yes; then
12908 # An in-tree tool is available and we can use it
12909 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12911 $as_echo "just compiled" >&6; }
12912 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
12913 # We already found the complete path
12914 ac_dir=`dirname $RANLIB_FOR_TARGET`
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12916 $as_echo "pre-installed in $ac_dir" >&6; }
12917 elif test "x$target" = "x$host"; then
12918 # We can use an host tool
12919 RANLIB_FOR_TARGET='$(RANLIB)'
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12921 $as_echo "host tool" >&6; }
12923 # We need a cross tool
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12925 $as_echo "pre-installed" >&6; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
12930 $as_echo_n "checking where to find the target strip... " >&6; }
12931 if test "x${build}" != "x${host}" ; then
12932 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
12933 # We already found the complete path
12934 ac_dir=`dirname $STRIP_FOR_TARGET`
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12936 $as_echo "pre-installed in $ac_dir" >&6; }
12938 # Canadian cross, just use what we found
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12940 $as_echo "pre-installed" >&6; }
12944 case " ${configdirs} " in
12949 if test $ok = yes; then
12950 # An in-tree tool is available and we can use it
12951 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12953 $as_echo "just compiled" >&6; }
12954 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
12955 # We already found the complete path
12956 ac_dir=`dirname $STRIP_FOR_TARGET`
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12958 $as_echo "pre-installed in $ac_dir" >&6; }
12959 elif test "x$target" = "x$host"; then
12960 # We can use an host tool
12961 STRIP_FOR_TARGET='$(STRIP)'
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
12963 $as_echo "host tool" >&6; }
12965 # We need a cross tool
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12967 $as_echo "pre-installed" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
12972 $as_echo_n "checking where to find the target windres... " >&6; }
12973 if test "x${build}" != "x${host}" ; then
12974 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
12975 # We already found the complete path
12976 ac_dir=`dirname $WINDRES_FOR_TARGET`
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
12978 $as_echo "pre-installed in $ac_dir" >&6; }
12980 # Canadian cross, just use what we found
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
12982 $as_echo "pre-installed" >&6; }
12986 case " ${configdirs} " in
12991 if test $ok = yes; then
12992 # An in-tree tool is available and we can use it
12993 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
12995 $as_echo "just compiled" >&6; }
12996 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
12997 # We already found the complete path
12998 ac_dir=`dirname $WINDRES_FOR_TARGET`
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13000 $as_echo "pre-installed in $ac_dir" >&6; }
13001 elif test "x$target" = "x$host"; then
13002 # We can use an host tool
13003 WINDRES_FOR_TARGET='$(WINDRES)'
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13005 $as_echo "host tool" >&6; }
13007 # We need a cross tool
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13009 $as_echo "pre-installed" >&6; }
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13014 $as_echo_n "checking where to find the target windmc... " >&6; }
13015 if test "x${build}" != "x${host}" ; then
13016 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13017 # We already found the complete path
13018 ac_dir=`dirname $WINDMC_FOR_TARGET`
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13020 $as_echo "pre-installed in $ac_dir" >&6; }
13022 # Canadian cross, just use what we found
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13024 $as_echo "pre-installed" >&6; }
13028 case " ${configdirs} " in
13033 if test $ok = yes; then
13034 # An in-tree tool is available and we can use it
13035 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13037 $as_echo "just compiled" >&6; }
13038 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13039 # We already found the complete path
13040 ac_dir=`dirname $WINDMC_FOR_TARGET`
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13042 $as_echo "pre-installed in $ac_dir" >&6; }
13043 elif test "x$target" = "x$host"; then
13044 # We can use an host tool
13045 WINDMC_FOR_TARGET='$(WINDMC)'
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13047 $as_echo "host tool" >&6; }
13049 # We need a cross tool
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13051 $as_echo "pre-installed" >&6; }
13059 # Certain tools may need extra flags.
13060 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13061 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13062 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13064 # When building target libraries, except in a Canadian cross, we use
13065 # the same toolchain as the compiler we just built.
13066 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13067 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13068 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13069 if test $host = $build; then
13070 case " $configdirs " in
13072 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13073 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13074 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13084 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13085 # Check whether --enable-maintainer-mode was given.
13086 if test "${enable_maintainer_mode+set}" = set; then :
13087 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13089 USE_MAINTAINER_MODE=no
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13093 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13096 if test "$USE_MAINTAINER_MODE" = yes; then
13097 MAINTAINER_MODE_TRUE=
13098 MAINTAINER_MODE_FALSE='#'
13100 MAINTAINER_MODE_TRUE='#'
13101 MAINTAINER_MODE_FALSE=
13103 MAINT=$MAINTAINER_MODE_TRUE
13105 # ---------------------
13106 # GCC bootstrap support
13107 # ---------------------
13109 # Stage specific cflags for build.
13114 yes) stage1_cflags="-g -Wa,-J" ;;
13115 *) stage1_cflags="-g -J" ;;
13119 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13120 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13121 saved_CFLAGS="$CFLAGS"
13123 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13124 CFLAGS="$CFLAGS -fkeep-inline-functions"
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
13126 $as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 #if (__GNUC__ < 3) \
13131 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13132 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13133 #error http://gcc.gnu.org/PR29382
13144 if ac_fn_c_try_compile "$LINENO"; then :
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13146 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149 $as_echo "no" >&6; }
13151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13153 CFLAGS="$saved_CFLAGS"
13158 # Enable --enable-checking in stage1 of the compiler.
13159 # Check whether --enable-stage1-checking was given.
13160 if test "${enable_stage1_checking+set}" = set; then :
13161 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13163 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
13164 stage1_checking=--enable-checking=yes,types
13166 stage1_checking=--enable-checking=$enable_checking,types
13172 # Enable -Werror in bootstrap stage2 and later.
13173 # Check whether --enable-werror was given.
13174 if test "${enable_werror+set}" = set; then :
13175 enableval=$enable_werror;
13177 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13184 case ${enable_werror} in
13185 yes) stage2_werror_flag="--enable-werror-always" ;;
13186 *) stage2_werror_flag="" ;;
13190 # Flags needed to enable html installing and building
13192 # Check whether --with-datarootdir was given.
13193 if test "${with_datarootdir+set}" = set; then :
13194 withval=$with_datarootdir; datarootdir="\${prefix}/${withval}"
13196 datarootdir="\${prefix}/share"
13201 # Check whether --with-docdir was given.
13202 if test "${with_docdir+set}" = set; then :
13203 withval=$with_docdir; docdir="\${prefix}/${withval}"
13205 docdir="\${datarootdir}/doc"
13210 # Check whether --with-pdfdir was given.
13211 if test "${with_pdfdir+set}" = set; then :
13212 withval=$with_pdfdir; pdfdir="\${prefix}/${withval}"
13214 pdfdir="\${docdir}"
13219 # Check whether --with-htmldir was given.
13220 if test "${with_htmldir+set}" = set; then :
13221 withval=$with_htmldir; htmldir="\${prefix}/${withval}"
13223 htmldir="\${docdir}"
13232 # Specify what files to not compare during bootstrap.
13234 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
13236 hppa*64*-*-hpux*) ;;
13237 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
13241 ac_config_files="$ac_config_files Makefile"
13243 cat >confcache <<\_ACEOF
13244 # This file is a shell script that caches the results of configure
13245 # tests run on this system so they can be shared between configure
13246 # scripts and configure runs, see configure's option --config-cache.
13247 # It is not useful on other systems. If it contains results you don't
13248 # want to keep, you may remove or edit it.
13250 # config.status only pays attention to the cache file if you give it
13251 # the --recheck option to rerun configure.
13253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13255 # following values.
13259 # The following way of writing the cache mishandles newlines in values,
13260 # but we know of no workaround that is simple, portable, and efficient.
13261 # So, we kill variables containing newlines.
13262 # Ultrix sh set writes to stderr and can't be redirected directly,
13263 # and sets the high bit in the cache file unless we assign to the vars.
13265 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13266 eval ac_val=\$$ac_var
13270 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13271 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13274 _ | IFS | as_nl) ;; #(
13275 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13276 *) { eval $ac_var=; unset $ac_var;} ;;
13282 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13283 *${as_nl}ac_space=\ *)
13284 # `set' does not quote correctly, so add quotes: double-quote
13285 # substitution turns \\\\ into \\, and sed turns \\ into \.
13288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13291 # `set' quotes correctly as required by POSIX, so do not add quotes.
13292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13303 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13305 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13306 if test -w "$cache_file"; then
13307 test "x$cache_file" != "x/dev/null" &&
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13309 $as_echo "$as_me: updating cache $cache_file" >&6;}
13310 cat confcache >$cache_file
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13313 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13319 # Let make expand exec_prefix.
13320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13322 # Transform confdefs.h into DEFS.
13323 # Protect against shell expansion while executing Makefile rules.
13324 # Protect against Makefile macro expansion.
13326 # If the first sed substitution is executed (which looks for macros that
13327 # take arguments), then branch to the quote section. Otherwise,
13328 # look for a macro that doesn't take arguments.
13338 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13340 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13344 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13357 DEFS=`sed -n "$ac_script" confdefs.h`
13362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13363 # 1. Remove the extension, and $U if already installed.
13364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13365 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13367 # will be set to the directory where LIBOBJS objects are built.
13368 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13369 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13371 LIBOBJS=$ac_libobjs
13373 LTLIBOBJS=$ac_ltlibobjs
13377 : ${CONFIG_STATUS=./config.status}
13379 ac_clean_files_save=$ac_clean_files
13380 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13382 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13384 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13386 # Generated by $as_me.
13387 # Run this file to recreate the current configuration.
13388 # Compiler output produced by configure, useful for debugging
13389 # configure, is in config.log if it exists.
13392 ac_cs_recheck=false
13395 SHELL=\${CONFIG_SHELL-$SHELL}
13398 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13399 ## -------------------- ##
13400 ## M4sh Initialization. ##
13401 ## -------------------- ##
13403 # Be more Bourne compatible
13404 DUALCASE=1; export DUALCASE # for MKS sh
13405 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13408 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13409 # is contrary to our usage. Disable this feature.
13410 alias -g '${1+"$@"}'='"$@"'
13411 setopt NO_GLOB_SUBST
13413 case `(set -o) 2>/dev/null` in #(
13425 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13426 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13427 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13428 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13429 # Prefer a ksh shell builtin over an external printf program on Solaris,
13430 # but without wasting forks for bash or zsh.
13431 if test -z "$BASH_VERSION$ZSH_VERSION" \
13432 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13433 as_echo='print -r --'
13434 as_echo_n='print -rn --'
13435 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13436 as_echo='printf %s\n'
13437 as_echo_n='printf %s'
13439 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13440 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13441 as_echo_n='/usr/ucb/echo -n'
13443 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13444 as_echo_n_body='eval
13448 expr "X$arg" : "X\\(.*\\)$as_nl";
13449 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13451 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13453 export as_echo_n_body
13454 as_echo_n='sh -c $as_echo_n_body as_echo'
13456 export as_echo_body
13457 as_echo='sh -c $as_echo_body as_echo'
13460 # The user is always right.
13461 if test "${PATH_SEPARATOR+set}" != set; then
13463 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13464 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13471 # We need space, tab and new line, in precisely that order. Quoting is
13472 # there to prevent editors from complaining about space-tab.
13473 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13474 # splitting by setting IFS to empty value.)
13477 # Find who we are. Look in the path if we contain no directory separator.
13479 *[\\/]* ) as_myself=$0 ;;
13480 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13481 for as_dir in $PATH
13484 test -z "$as_dir" && as_dir=.
13485 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13491 # We did not find ourselves, most probably we were run as `sh COMMAND'
13492 # in which case we are not to be found in the path.
13493 if test "x$as_myself" = x; then
13496 if test ! -f "$as_myself"; then
13497 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13501 # Unset variables that we do not need and which cause bugs (e.g. in
13502 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13503 # suppresses any "Segmentation fault" message there. '((' could
13504 # trigger a bug in pdksh 5.2.14.
13505 for as_var in BASH_ENV ENV MAIL MAILPATH
13506 do eval test x\${$as_var+set} = xset \
13507 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13520 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13523 # as_fn_error ERROR [LINENO LOG_FD]
13524 # ---------------------------------
13525 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13526 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13527 # script with status $?, using 1 if that was 0.
13530 as_status=$?; test $as_status -eq 0 && as_status=1
13532 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13533 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13535 $as_echo "$as_me: error: $1" >&2
13536 as_fn_exit $as_status
13540 # as_fn_set_status STATUS
13541 # -----------------------
13542 # Set $? to STATUS, without forking.
13543 as_fn_set_status ()
13546 } # as_fn_set_status
13548 # as_fn_exit STATUS
13549 # -----------------
13550 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13554 as_fn_set_status $1
13560 # Portably unset VAR.
13563 { eval $1=; unset $1;}
13565 as_unset=as_fn_unset
13566 # as_fn_append VAR VALUE
13567 # ----------------------
13568 # Append the text in VALUE to the end of the definition contained in VAR. Take
13569 # advantage of any shell optimizations that allow amortized linear growth over
13570 # repeated appends, instead of the typical quadratic growth present in naive
13572 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13573 eval 'as_fn_append ()
13584 # as_fn_arith ARG...
13585 # ------------------
13586 # Perform arithmetic evaluation on the ARGs, and store the result in the
13587 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13588 # must be portable across $(()) and expr.
13589 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13590 eval 'as_fn_arith ()
13597 as_val=`expr "$@" || test $? -eq 1`
13602 if expr a : '\(a\)' >/dev/null 2>&1 &&
13603 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13609 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13610 as_basename=basename
13615 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13621 as_me=`$as_basename -- "$0" ||
13622 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13623 X"$0" : 'X\(//\)$' \| \
13624 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13626 sed '/^.*\/\([^/][^/]*\)\/*$/{
13640 # Avoid depending upon Character Ranges.
13641 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13642 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13643 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13644 as_cr_digits='0123456789'
13645 as_cr_alnum=$as_cr_Letters$as_cr_digits
13647 ECHO_C= ECHO_N= ECHO_T=
13648 case `echo -n x` in #(((((
13650 case `echo 'xy\c'` in
13651 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13653 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13660 rm -f conf$$ conf$$.exe conf$$.file
13661 if test -d conf$$.dir; then
13662 rm -f conf$$.dir/conf$$.file
13665 mkdir conf$$.dir 2>/dev/null
13667 if (echo >conf$$.file) 2>/dev/null; then
13668 if ln -s conf$$.file conf$$ 2>/dev/null; then
13670 # ... but there are two gotchas:
13671 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13672 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13673 # In both cases, we have to default to `cp -p'.
13674 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13676 elif ln conf$$.file conf$$ 2>/dev/null; then
13684 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13685 rmdir conf$$.dir 2>/dev/null
13690 # Create "$as_dir" as a directory, including parents if necessary.
13695 -*) as_dir=./$as_dir;;
13697 test -d "$as_dir" || eval $as_mkdir_p || {
13701 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13702 *) as_qdir=$as_dir;;
13704 as_dirs="'$as_qdir' $as_dirs"
13705 as_dir=`$as_dirname -- "$as_dir" ||
13706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13707 X"$as_dir" : 'X\(//\)[^/]' \| \
13708 X"$as_dir" : 'X\(//\)$' \| \
13709 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13710 $as_echo X"$as_dir" |
13711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13715 /^X\(\/\/\)[^/].*/{
13728 test -d "$as_dir" && break
13730 test -z "$as_dirs" || eval "mkdir $as_dirs"
13731 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13735 if mkdir -p . 2>/dev/null; then
13736 as_mkdir_p='mkdir -p "$as_dir"'
13738 test -d ./-p && rmdir ./-p
13742 if test -x / >/dev/null 2>&1; then
13743 as_test_x='test -x'
13745 if ls -dL / >/dev/null 2>&1; then
13752 if test -d "$1"; then
13758 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13759 ???[sx]*):;;*)false;;esac;fi
13763 as_executable_p=$as_test_x
13765 # Sed expression to map a string onto a valid CPP name.
13766 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13768 # Sed expression to map a string onto a valid variable name.
13769 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13773 ## ----------------------------------- ##
13774 ## Main body of $CONFIG_STATUS script. ##
13775 ## ----------------------------------- ##
13777 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13780 # Save the log message, to keep $0 and so on meaningful, and to
13781 # report actual input values of CONFIG_FILES etc. instead of their
13782 # values after options handling.
13784 This file was extended by $as_me, which was
13785 generated by GNU Autoconf 2.64. Invocation command line was
13787 CONFIG_FILES = $CONFIG_FILES
13788 CONFIG_HEADERS = $CONFIG_HEADERS
13789 CONFIG_LINKS = $CONFIG_LINKS
13790 CONFIG_COMMANDS = $CONFIG_COMMANDS
13793 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13798 case $ac_config_files in *"
13799 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13805 # Files that config.status was made for.
13806 config_files="$ac_config_files"
13810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13812 \`$as_me' instantiates files and other configuration actions
13813 from templates according to the current configuration. Unless the files
13814 and actions are specified as TAGs, all are instantiated by default.
13816 Usage: $0 [OPTION]... [TAG]...
13818 -h, --help print this help, then exit
13819 -V, --version print version number and configuration settings, then exit
13820 -q, --quiet, --silent
13821 do not print progress messages
13822 -d, --debug don't remove temporary files
13823 --recheck update $as_me by reconfiguring in the same conditions
13824 --file=FILE[:TEMPLATE]
13825 instantiate the configuration file FILE
13827 Configuration files:
13830 Report bugs to the package provider."
13833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13836 configured by $0, generated by GNU Autoconf 2.64,
13837 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13839 Copyright (C) 2009 Free Software Foundation, Inc.
13840 This config.status script is free software; the Free Software Foundation
13841 gives unlimited permission to copy, distribute and modify it."
13846 test -n "\$AWK" || AWK=awk
13849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13850 # The default lists apply if the user does not specify any file.
13856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13857 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13868 # Handling of the options.
13869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13871 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13872 $as_echo "$ac_cs_version"; exit ;;
13873 --debug | --debu | --deb | --de | --d | -d )
13875 --file | --fil | --fi | --f )
13878 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13880 as_fn_append CONFIG_FILES " '$ac_optarg'"
13881 ac_need_defaults=false;;
13882 --he | --h | --help | --hel | -h )
13883 $as_echo "$ac_cs_usage"; exit ;;
13884 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13885 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13888 # This is an error.
13889 -*) as_fn_error "unrecognized option: \`$1'
13890 Try \`$0 --help' for more information." ;;
13892 *) as_fn_append ac_config_targets " $1"
13893 ac_need_defaults=false ;;
13899 ac_configure_extra_args=
13901 if $ac_cs_silent; then
13903 ac_configure_extra_args="$ac_configure_extra_args --silent"
13907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13908 if \$ac_cs_recheck; then
13909 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13911 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13912 CONFIG_SHELL='$SHELL'
13913 export CONFIG_SHELL
13918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13922 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13923 ## Running $as_me. ##
13929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13934 # Handling of arguments.
13935 for ac_config_target in $ac_config_targets
13937 case $ac_config_target in
13938 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13940 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13945 # If the user did not use the arguments to specify the items to instantiate,
13946 # then the envvar interface is used. Set only those that are not.
13947 # We use the long form for the default assignment because of an extremely
13948 # bizarre bug on SunOS 4.1.3.
13949 if $ac_need_defaults; then
13950 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13953 # Have a temporary directory for convenience. Make it in the build tree
13954 # simply because there is no reason against having it here, and in addition,
13955 # creating and moving files from /tmp can sometimes cause problems.
13956 # Hook for its removal unless debugging.
13957 # Note that there is a small window in which the directory will not be cleaned:
13958 # after its creation but before its name has been assigned to `$tmp'.
13962 trap 'exit_status=$?
13963 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13965 trap 'as_fn_exit 1' 1 2 13 15
13967 # Create a (secure) tmp directory for tmp files.
13970 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13971 test -n "$tmp" && test -d "$tmp"
13974 tmp=./conf$$-$RANDOM
13975 (umask 077 && mkdir "$tmp")
13976 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13978 # Set up the scripts for CONFIG_FILES section.
13979 # No need to generate them if there are no CONFIG_FILES.
13980 # This happens for instance with `./config.status config.h'.
13981 if test -n "$CONFIG_FILES"; then
13983 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
13984 ac_cs_awk_getline=:
13985 ac_cs_awk_pipe_init=
13986 ac_cs_awk_read_file='
13987 while ((getline aline < (F[key])) > 0)
13990 ac_cs_awk_pipe_fini=
13992 ac_cs_awk_getline=false
13993 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
13994 ac_cs_awk_read_file='
13996 print "cat " F[key] " &&"
13997 '$ac_cs_awk_pipe_init
13998 # The final `:' finishes the AND list.
13999 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14001 ac_cr=`echo X | tr X '\015'`
14002 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14003 # But we know of no other shell where ac_cr would be empty at this
14004 # point, so we can use a bashism as a fallback.
14005 if test "x$ac_cr" = x; then
14006 eval ac_cr=\$\'\\r\'
14008 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14009 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14012 ac_cs_awk_cr=$ac_cr
14015 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14018 # Create commands to substitute file output variables.
14020 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14021 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14022 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14025 } >conf$$files.sh &&
14026 . ./conf$$files.sh ||
14027 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14028 rm -f conf$$files.sh
14031 echo "cat >conf$$subs.awk <<_ACEOF" &&
14032 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14034 } >conf$$subs.sh ||
14035 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14036 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14038 for ac_last_try in false false false false false :; do
14039 . ./conf$$subs.sh ||
14040 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14042 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14043 if test $ac_delim_n = $ac_delim_num; then
14045 elif $ac_last_try; then
14046 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14048 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14051 rm -f conf$$subs.sh
14053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14054 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14058 s/^/S["/; s/!.*/"]=/
14068 s/\(.\{148\}\).*/\1/
14070 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14075 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14082 s/\(.\{148\}\).*/\1/
14084 s/["\\]/\\&/g; s/^/"/; s/$/"/
14088 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14093 ' <conf$$subs.awk | sed '
14098 ' >>$CONFIG_STATUS || ac_write_fail=1
14099 rm -f conf$$subs.awk
14100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14102 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14103 for (key in S) S_is_set[key] = 1
14105 \$ac_cs_awk_pipe_init
14109 nfields = split(line, field, "@")
14111 len = length(field[1])
14112 for (i = 2; i < nfields; i++) {
14114 keylen = length(key)
14115 if (S_is_set[key]) {
14117 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14118 len += length(value) + length(field[++i])
14123 if (nfields == 3 && !substed) {
14125 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14126 \$ac_cs_awk_read_file
14132 \$ac_cs_awk_pipe_fini
14135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14136 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14137 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14140 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14141 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14144 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14145 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14146 # trailing colons and then remove the whole line if VPATH becomes empty
14147 # (actually we leave an empty line to preserve line numbers).
14148 if test "x$srcdir" = x.; then
14149 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14150 s/:*\$(srcdir):*/:/
14151 s/:*\${srcdir}:*/:/
14153 s/^\([^=]*=[ ]*\):*/\1/
14159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14160 fi # test -n "$CONFIG_FILES"
14163 eval set X " :F $CONFIG_FILES "
14168 :[FHLC]) ac_mode=$ac_tag; continue;;
14170 case $ac_mode$ac_tag in
14172 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14173 :[FH]-) ac_tag=-:-;;
14174 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14191 -) ac_f="$tmp/stdin";;
14192 *) # Look for the file first in the build tree, then in the source tree
14193 # (if the path is not absolute). The absolute path cannot be DOS-style,
14194 # because $ac_f cannot contain `:'.
14198 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14200 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14202 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14203 as_fn_append ac_file_inputs " '$ac_f'"
14206 # Let's still pretend it is `configure' which instantiates (i.e., don't
14207 # use $as_me), people would be surprised to read:
14208 # /* config.h. Generated by config.status. */
14209 configure_input='Generated from '`
14210 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14212 if test x"$ac_file" != x-; then
14213 configure_input="$ac_file. $configure_input"
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14215 $as_echo "$as_me: creating $ac_file" >&6;}
14217 # Neutralize special characters interpreted by sed in replacement strings.
14218 case $configure_input in #(
14219 *\&* | *\|* | *\\* )
14220 ac_sed_conf_input=`$as_echo "$configure_input" |
14221 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14222 *) ac_sed_conf_input=$configure_input;;
14226 *:-:* | *:-) cat >"$tmp/stdin" \
14227 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14232 ac_dir=`$as_dirname -- "$ac_file" ||
14233 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14234 X"$ac_file" : 'X\(//\)[^/]' \| \
14235 X"$ac_file" : 'X\(//\)$' \| \
14236 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14237 $as_echo X"$ac_file" |
14238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14242 /^X\(\/\/\)[^/].*/{
14255 as_dir="$ac_dir"; as_fn_mkdir_p
14259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14261 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14262 # A ".." for each directory in $ac_dir_suffix.
14263 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14264 case $ac_top_builddir_sub in
14265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14269 ac_abs_top_builddir=$ac_pwd
14270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14271 # for backward compatibility:
14272 ac_top_builddir=$ac_top_build_prefix
14275 .) # We are building in place.
14277 ac_top_srcdir=$ac_top_builddir_sub
14278 ac_abs_top_srcdir=$ac_pwd ;;
14279 [\\/]* | ?:[\\/]* ) # Absolute name.
14280 ac_srcdir=$srcdir$ac_dir_suffix;
14281 ac_top_srcdir=$srcdir
14282 ac_abs_top_srcdir=$srcdir ;;
14283 *) # Relative name.
14284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14285 ac_top_srcdir=$ac_top_build_prefix$srcdir
14286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14298 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14299 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14304 # If the template does not know about datarootdir, expand it.
14305 # FIXME: This hack should be removed a few years after 2.60.
14306 ac_datarootdir_hack=; ac_datarootdir_seen=
14317 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14318 *datarootdir*) ac_datarootdir_seen=yes;;
14319 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14321 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14324 ac_datarootdir_hack='
14325 s&@datadir@&$datadir&g
14326 s&@docdir@&$docdir&g
14327 s&@infodir@&$infodir&g
14328 s&@localedir@&$localedir&g
14329 s&@mandir@&$mandir&g
14330 s&\\\${datarootdir}&$datarootdir&g' ;;
14334 # Neutralize VPATH when `$srcdir' = `.'.
14335 # Shell code in configure.ac might set extrasub.
14336 # FIXME: do we really want to maintain this feature?
14337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14338 ac_sed_extra="$ac_vpsub
14341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14343 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14344 s|@configure_input@|$ac_sed_conf_input|;t t
14345 s&@top_builddir@&$ac_top_builddir_sub&;t t
14346 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14347 s&@srcdir@&$ac_srcdir&;t t
14348 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14349 s&@top_srcdir@&$ac_top_srcdir&;t t
14350 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14351 s&@builddir@&$ac_builddir&;t t
14352 s&@abs_builddir@&$ac_abs_builddir&;t t
14353 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14354 s&@INSTALL@&$ac_INSTALL&;t t
14355 $ac_datarootdir_hack
14357 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14358 if $ac_cs_awk_getline; then
14359 $AWK -f "$tmp/subs.awk"
14361 $AWK -f "$tmp/subs.awk" | $SHELL
14363 || as_fn_error "could not create $ac_file" "$LINENO" 5
14365 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14366 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14367 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14369 which seems to be undefined. Please make sure it is defined." >&5
14370 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14371 which seems to be undefined. Please make sure it is defined." >&2;}
14375 -) cat "$tmp/out" && rm -f "$tmp/out";;
14376 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14378 || as_fn_error "could not create $ac_file" "$LINENO" 5
14390 ac_clean_files=$ac_clean_files_save
14392 test $ac_write_fail = 0 ||
14393 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14396 # configure is writing to config.log, and then calls config.status.
14397 # config.status does its own redirection, appending to config.log.
14398 # Unfortunately, on DOS this fails, as config.log is still kept open
14399 # by configure, so config.status won't be able to write to it; its
14400 # output is simply discarded. So we exec the FD to /dev/null,
14401 # effectively closing config.log, so it can be properly (re)opened and
14402 # appended to by config.status. When coming back to configure, we
14403 # need to make the FD available again.
14404 if test "$no_create" != yes; then
14406 ac_config_status_args=
14407 test "$silent" = yes &&
14408 ac_config_status_args="$ac_config_status_args --quiet"
14410 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14412 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14413 # would make configure fail if this is the last instruction.
14414 $ac_cs_success || as_fn_exit $?
14416 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14418 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}