2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
554 ac_unique_file="move-if-change"
555 enable_option_checking=no
556 ac_subst_vars='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files='serialization_dependencies
741 enable_option_checking
747 enable_build_with_cxx
767 enable_ppl_version_check
772 enable_cloog_version_check
774 enable_stage1_languages
777 with_debug_prefix_map
780 enable_serial_configure
781 with_build_time_tools
782 enable_maintainer_mode
783 enable_stage1_checking
786 ac_precious_vars='build_alias
831 # Initialize some variables set by options.
833 ac_init_version=false
834 ac_unrecognized_opts=
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name=s,x,x,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir='${exec_prefix}/bin'
860 sbindir='${exec_prefix}/sbin'
861 libexecdir='${exec_prefix}/libexec'
862 datarootdir='${prefix}/share'
863 datadir='${datarootdir}'
864 sysconfdir='${prefix}/etc'
865 sharedstatedir='${prefix}/com'
866 localstatedir='${prefix}/var'
867 includedir='${prefix}/include'
868 oldincludedir='/usr/include'
869 docdir='${datarootdir}/doc/${PACKAGE}'
870 infodir='${datarootdir}/info'
875 libdir='${exec_prefix}/lib'
876 localedir='${datarootdir}/locale'
877 mandir='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\$ac_option
891 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 # Accept the important Cygnus configure options, so we can diagnose typos.
897 case $ac_dashdash$ac_option in
901 -bindir | --bindir | --bindi | --bind | --bin | --bi)
903 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
906 -build | --build | --buil | --bui | --bu)
907 ac_prev=build_alias ;;
908 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
909 build_alias=$ac_optarg ;;
911 -cache-file | --cache-file | --cache-fil | --cache-fi \
912 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
913 ac_prev=cache_file ;;
914 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
915 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
916 cache_file=$ac_optarg ;;
919 cache_file=config.cache ;;
921 -datadir | --datadir | --datadi | --datad)
923 -datadir=* | --datadir=* | --datadi=* | --datad=*)
924 datadir=$ac_optarg ;;
926 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
927 | --dataroo | --dataro | --datar)
928 ac_prev=datarootdir ;;
929 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
930 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
931 datarootdir=$ac_optarg ;;
933 -disable-* | --disable-*)
934 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937 as_fn_error "invalid feature name: $ac_useropt"
938 ac_useropt_orig=$ac_useropt
939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940 case $ac_user_opts in
944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
945 ac_unrecognized_sep=', ';;
947 eval enable_$ac_useropt=no ;;
949 -docdir | --docdir | --docdi | --doc | --do)
951 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
954 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
956 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
959 -enable-* | --enable-*)
960 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963 as_fn_error "invalid feature name: $ac_useropt"
964 ac_useropt_orig=$ac_useropt
965 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
970 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
971 ac_unrecognized_sep=', ';;
973 eval enable_$ac_useropt=\$ac_optarg ;;
975 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
976 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
977 | --exec | --exe | --ex)
978 ac_prev=exec_prefix ;;
979 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
980 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
981 | --exec=* | --exe=* | --ex=*)
982 exec_prefix=$ac_optarg ;;
984 -gas | --gas | --ga | --g)
985 # Obsolete; use --with-gas.
988 -help | --help | --hel | --he | -h)
990 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
991 ac_init_help=recursive ;;
992 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
993 ac_init_help=short ;;
995 -host | --host | --hos | --ho)
996 ac_prev=host_alias ;;
997 -host=* | --host=* | --hos=* | --ho=*)
998 host_alias=$ac_optarg ;;
1000 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1002 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1004 htmldir=$ac_optarg ;;
1006 -includedir | --includedir | --includedi | --included | --include \
1007 | --includ | --inclu | --incl | --inc)
1008 ac_prev=includedir ;;
1009 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1010 | --includ=* | --inclu=* | --incl=* | --inc=*)
1011 includedir=$ac_optarg ;;
1013 -infodir | --infodir | --infodi | --infod | --info | --inf)
1015 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1016 infodir=$ac_optarg ;;
1018 -libdir | --libdir | --libdi | --libd)
1020 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1021 libdir=$ac_optarg ;;
1023 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1024 | --libexe | --libex | --libe)
1025 ac_prev=libexecdir ;;
1026 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1027 | --libexe=* | --libex=* | --libe=*)
1028 libexecdir=$ac_optarg ;;
1030 -localedir | --localedir | --localedi | --localed | --locale)
1031 ac_prev=localedir ;;
1032 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1033 localedir=$ac_optarg ;;
1035 -localstatedir | --localstatedir | --localstatedi | --localstated \
1036 | --localstate | --localstat | --localsta | --localst | --locals)
1037 ac_prev=localstatedir ;;
1038 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1039 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1040 localstatedir=$ac_optarg ;;
1042 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1044 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1045 mandir=$ac_optarg ;;
1047 -nfp | --nfp | --nf)
1048 # Obsolete; use --without-fp.
1051 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1052 | --no-cr | --no-c | -n)
1055 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1056 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1059 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1060 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1061 | --oldin | --oldi | --old | --ol | --o)
1062 ac_prev=oldincludedir ;;
1063 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1064 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1065 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1066 oldincludedir=$ac_optarg ;;
1068 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1070 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1071 prefix=$ac_optarg ;;
1073 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1074 | --program-pre | --program-pr | --program-p)
1075 ac_prev=program_prefix ;;
1076 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1077 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1078 program_prefix=$ac_optarg ;;
1080 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1081 | --program-suf | --program-su | --program-s)
1082 ac_prev=program_suffix ;;
1083 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1084 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1085 program_suffix=$ac_optarg ;;
1087 -program-transform-name | --program-transform-name \
1088 | --program-transform-nam | --program-transform-na \
1089 | --program-transform-n | --program-transform- \
1090 | --program-transform | --program-transfor \
1091 | --program-transfo | --program-transf \
1092 | --program-trans | --program-tran \
1093 | --progr-tra | --program-tr | --program-t)
1094 ac_prev=program_transform_name ;;
1095 -program-transform-name=* | --program-transform-name=* \
1096 | --program-transform-nam=* | --program-transform-na=* \
1097 | --program-transform-n=* | --program-transform-=* \
1098 | --program-transform=* | --program-transfor=* \
1099 | --program-transfo=* | --program-transf=* \
1100 | --program-trans=* | --program-tran=* \
1101 | --progr-tra=* | --program-tr=* | --program-t=*)
1102 program_transform_name=$ac_optarg ;;
1104 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1106 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1107 pdfdir=$ac_optarg ;;
1109 -psdir | --psdir | --psdi | --psd | --ps)
1111 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1115 | -silent | --silent | --silen | --sile | --sil)
1118 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1120 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1122 sbindir=$ac_optarg ;;
1124 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1125 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1126 | --sharedst | --shareds | --shared | --share | --shar \
1128 ac_prev=sharedstatedir ;;
1129 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1130 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1131 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133 sharedstatedir=$ac_optarg ;;
1135 -site | --site | --sit)
1137 -site=* | --site=* | --sit=*)
1140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1143 srcdir=$ac_optarg ;;
1145 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1146 | --syscon | --sysco | --sysc | --sys | --sy)
1147 ac_prev=sysconfdir ;;
1148 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1149 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1150 sysconfdir=$ac_optarg ;;
1152 -target | --target | --targe | --targ | --tar | --ta | --t)
1153 ac_prev=target_alias ;;
1154 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1155 target_alias=$ac_optarg ;;
1157 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160 -version | --version | --versio | --versi | --vers | -V)
1161 ac_init_version=: ;;
1164 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error "invalid package name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1177 eval with_$ac_useropt=\$ac_optarg ;;
1179 -without-* | --without-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error "invalid package name: $ac_useropt"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1193 eval with_$ac_useropt=no ;;
1196 # Obsolete; use --with-x.
1199 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1200 | --x-incl | --x-inc | --x-in | --x-i)
1201 ac_prev=x_includes ;;
1202 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1203 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1204 x_includes=$ac_optarg ;;
1206 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1207 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1208 ac_prev=x_libraries ;;
1209 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1210 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1211 x_libraries=$ac_optarg ;;
1213 -*) as_fn_error "unrecognized option: \`$ac_option'
1214 Try \`$0 --help' for more information."
1218 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 case $ac_envvar in #(
1221 '' | [0-9]* | *[!_$as_cr_alnum]* )
1222 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1224 eval $ac_envvar=\$ac_optarg
1225 export $ac_envvar ;;
1228 # FIXME: should be removed in autoconf 3.0.
1229 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1230 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1238 if test -n "$ac_prev"; then
1239 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1240 as_fn_error "missing argument to $ac_option"
1243 if test -n "$ac_unrecognized_opts"; then
1244 case $enable_option_checking in
1246 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251 # Check all directory arguments for consistency.
1252 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253 datadir sysconfdir sharedstatedir localstatedir includedir \
1254 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255 libdir localedir mandir
1257 eval ac_val=\$$ac_var
1258 # Remove trailing slashes.
1261 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262 eval $ac_var=\$ac_val;;
1264 # Be sure to have absolute directory names.
1266 [\\/$]* | ?:[\\/]* ) continue;;
1267 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1277 target=$target_alias
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x; then
1281 if test "x$build_alias" = x; then
1282 cross_compiling=maybe
1283 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1284 If a cross compiler is detected then cross compile mode will be used." >&2
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293 test "$silent" = yes && exec 6>/dev/null
1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di=`ls -di .` &&
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error "working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error "pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 as_fn_error "path to source, $srcdir, contains spaces"
1361 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1363 for ac_var in $ac_precious_vars; do
1364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_${ac_var}_value=\$${ac_var}
1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures this package to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 --target=TARGET configure for building compilers for TARGET [HOST]
1446 if test -n "$ac_init_help"; then
1451 --disable-option-checking ignore unrecognized --enable/--with options
1452 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1453 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1454 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1455 --enable-ld[=ARG] build ld [ARG={default,yes,no}]
1456 --enable-libada build libada directory
1457 --enable-libssp build libssp directory
1458 --enable-build-with-cxx build with C++ compiler instead of C compiler
1459 --disable-ppl-version-check disable check for PPL version
1460 --enable-cloog-backend[=BACKEND]
1461 set the CLooG BACKEND used to either isl, ppl or
1462 ppl-legacy (default)
1463 --disable-cloog-version-check
1464 disable check for CLooG version
1465 --enable-lto enable link time optimization support
1466 --enable-stage1-languages[=all] choose additional languages to build during
1467 stage1. Mostly useful for compiler development.
1468 --enable-objc-gc enable use of Boehm's garbage collector with the
1469 GNU Objective-C runtime
1470 --enable-bootstrap enable bootstrapping [yes if native build]
1471 --enable-serial-[{host,target,build}-]configure
1472 force sequential configuration of
1473 sub-packages for the host, target or build
1474 machine, or all sub-packages
1475 --enable-maintainer-mode enable make rules and dependencies not useful
1476 (and sometimes confusing) to the casual installer
1477 --enable-stage1-checking[=all] choose additional checking for stage1
1479 --enable-werror enable -Werror in bootstrap stage2 and later
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-build-libsubdir=DIR Directory where to find libraries for build system
1485 --with-mpc=PATH specify prefix directory for installed MPC package.
1486 Equivalent to --with-mpc-include=PATH/include
1487 plus --with-mpc-lib=PATH/lib
1488 --with-mpc-include=PATH
1489 specify directory for installed MPC include files
1490 --with-mpc-lib=PATH specify directory for the installed MPC library
1491 --with-mpfr-dir=PATH this option has been REMOVED
1492 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1493 Equivalent to --with-mpfr-include=PATH/include
1494 plus --with-mpfr-lib=PATH/lib
1495 --with-mpfr-include=PATH
1496 specify directory for installed MPFR include files
1497 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1498 --with-gmp-dir=PATH this option has been REMOVED
1499 --with-gmp=PATH specify prefix directory for the installed GMP package.
1500 Equivalent to --with-gmp-include=PATH/include
1501 plus --with-gmp-lib=PATH/lib
1502 --with-gmp-include=PATH specify directory for installed GMP include files
1503 --with-gmp-lib=PATH specify directory for the installed GMP library
1504 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1505 when linking with PPL
1506 --with-stage1-ldflags=FLAGS Linker flags for stage1
1507 -with-stage1-libs=LIBS Libraries for stage1
1508 --with-boot-libs=LIBS Libraries for stage2 and later
1509 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1510 --with-ppl=PATH Specify prefix directory for the installed PPL package
1511 Equivalent to --with-ppl-include=PATH/include
1512 plus --with-ppl-lib=PATH/lib
1513 --with-ppl-include=PATH Specify directory for installed PPL include files
1514 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1515 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1516 package. Equivalent to
1517 --with-cloog-include=PATH/include plus
1518 --with-cloog-lib=PATH/lib
1519 --with-cloog-include=PATH
1520 Specify directory for installed CLooG include files
1521 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1523 --with-build-sysroot=SYSROOT
1524 use sysroot as the system root during the build
1525 --with-debug-prefix-map='A=B C=D ...'
1526 map A to B, C to D ... in debug information
1527 --with-build-config='NAME NAME2...'
1528 Use config/NAME.mk build configuration
1529 --with-build-time-tools=PATH
1530 use given path to find target tools during the build
1532 Some influential environment variables:
1533 CC C compiler command
1534 CFLAGS C compiler flags
1535 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1536 nonstandard directory <lib dir>
1537 LIBS libraries to pass to the linker, e.g. -l<library>
1538 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1539 you have headers in a nonstandard directory <include dir>
1540 CXX C++ compiler command
1541 CXXFLAGS C++ compiler flags
1543 additional configure arguments for build directories
1545 additional configure arguments for host directories
1547 additional configure arguments for target directories
1550 DLLTOOL DLLTOOL for the host
1552 LIPO LIPO for the host
1554 RANLIB RANLIB for the host
1555 STRIP STRIP for the host
1556 WINDRES WINDRES for the host
1557 WINDMC WINDMC for the host
1558 OBJCOPY OBJCOPY for the host
1559 OBJDUMP OBJDUMP for the host
1569 GFORTRAN for the target
1577 DLLTOOL for the target
1585 OBJDUMP for the target
1587 RANLIB for the target
1589 STRIP for the target
1591 WINDRES for the target
1593 WINDMC for the target
1595 Use these variables to override the choices made by `configure' or to help
1596 it to find libraries and programs with nonstandard names/locations.
1598 Report bugs to the package provider.
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1622 ac_abs_top_builddir=$ac_pwd
1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir=$ac_top_build_prefix
1628 .) # We are building in place.
1630 ac_top_srcdir=$ac_top_builddir_sub
1631 ac_abs_top_srcdir=$ac_pwd ;;
1632 [\\/]* | ?:[\\/]* ) # Absolute name.
1633 ac_srcdir=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir=$srcdir
1635 ac_abs_top_srcdir=$srcdir ;;
1637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1643 cd "$ac_dir" || { ac_status=$?; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1654 cd "$ac_pwd" || { ac_status=$?; break; }
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1662 generated by GNU Autoconf 2.64
1664 Copyright (C) 2009 Free Software Foundation, Inc.
1665 This configure script is free software; the Free Software Foundation
1666 gives unlimited permission to copy, distribute and modify it.
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 } # ac_fn_c_try_compile
1713 # ac_fn_cxx_try_compile LINENO
1714 # ----------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_cxx_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_cxx_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 } # ac_fn_cxx_try_compile
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 rm -f conftest.$ac_objext conftest$ac_exeext
1758 if { { ac_try="$ac_link"
1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_link") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest$ac_exeext && {
1777 test "$cross_compiling" = yes ||
1778 $as_test_x conftest$ac_exeext
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789 # interfere with the next link command; also delete a directory that is
1790 # left behind by Apple's compiler. We do this before executing the actions.
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795 } # ac_fn_c_try_link
1796 cat >config.log <<_ACEOF
1797 This file contains any messages produced by compilers while
1798 running configure, to aid debugging if configure makes a mistake.
1800 It was created by $as_me, which was
1801 generated by GNU Autoconf 2.64. Invocation command line was
1813 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1814 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1815 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1816 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1817 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1819 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1820 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1822 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1823 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1824 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1825 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1826 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1827 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1828 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1836 test -z "$as_dir" && as_dir=.
1837 $as_echo "PATH: $as_dir"
1853 # Keep a trace of the command line.
1854 # Strip out --no-create and --no-recursion so they do not pile up.
1855 # Strip out --silent because we don't want to record it for future runs.
1856 # Also quote any args containing shell meta-characters.
1857 # Make two passes to allow for proper duplicate-argument suppression.
1861 ac_must_keep_next=false
1867 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1869 | -silent | --silent | --silen | --sile | --sil)
1872 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1875 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1877 as_fn_append ac_configure_args1 " '$ac_arg'"
1878 if test $ac_must_keep_next = true; then
1879 ac_must_keep_next=false # Got value, back to normal.
1882 *=* | --config-cache | -C | -disable-* | --disable-* \
1883 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1884 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1885 | -with-* | --with-* | -without-* | --without-* | --x)
1886 case "$ac_configure_args0 " in
1887 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1890 -* ) ac_must_keep_next=true ;;
1893 as_fn_append ac_configure_args " '$ac_arg'"
1898 { ac_configure_args0=; unset ac_configure_args0;}
1899 { ac_configure_args1=; unset ac_configure_args1;}
1901 # When interrupted or exit'd, cleanup temporary files, and complete
1902 # config.log. We remove comments because anyway the quotes in there
1903 # would cause problems or look ugly.
1904 # WARNING: Use '\'' to represent an apostrophe within the trap.
1905 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1906 trap 'exit_status=$?
1907 # Save into config.log some information that might help in debugging.
1912 ## ---------------- ##
1913 ## Cache variables. ##
1914 ## ---------------- ##
1917 # The following way of writing the cache mishandles newlines in values,
1919 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1920 eval ac_val=\$$ac_var
1924 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1925 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1928 _ | IFS | as_nl) ;; #(
1929 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1930 *) { eval $ac_var=; unset $ac_var;} ;;
1935 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1936 *${as_nl}ac_space=\ *)
1938 "s/'\''/'\''\\\\'\'''\''/g;
1939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1942 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1950 ## ----------------- ##
1951 ## Output variables. ##
1952 ## ----------------- ##
1955 for ac_var in $ac_subst_vars
1957 eval ac_val=\$$ac_var
1959 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1961 $as_echo "$ac_var='\''$ac_val'\''"
1965 if test -n "$ac_subst_files"; then
1967 ## ------------------- ##
1968 ## File substitutions. ##
1969 ## ------------------- ##
1972 for ac_var in $ac_subst_files
1974 eval ac_val=\$$ac_var
1976 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1978 $as_echo "$ac_var='\''$ac_val'\''"
1983 if test -s confdefs.h; then
1993 test "$ac_signal" != 0 &&
1994 $as_echo "$as_me: caught signal $ac_signal"
1995 $as_echo "$as_me: exit $exit_status"
1997 rm -f core *.core core.conftest.* &&
1998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2001 for ac_signal in 1 2 13 15; do
2002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2007 rm -f -r conftest* confdefs.h
2009 $as_echo "/* confdefs.h */" > confdefs.h
2011 # Predefined preprocessor variables.
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_NAME "$PACKAGE_NAME"
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_STRING "$PACKAGE_STRING"
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_URL "$PACKAGE_URL"
2038 # Let the site file select an alternate cache file if it wants to.
2039 # Prefer an explicitly selected file to automatically selected ones.
2042 if test -n "$CONFIG_SITE"; then
2043 ac_site_file1=$CONFIG_SITE
2044 elif test "x$prefix" != xNONE; then
2045 ac_site_file1=$prefix/share/config.site
2046 ac_site_file2=$prefix/etc/config.site
2048 ac_site_file1=$ac_default_prefix/share/config.site
2049 ac_site_file2=$ac_default_prefix/etc/config.site
2051 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2053 test "x$ac_site_file" = xNONE && continue
2054 if test -r "$ac_site_file"; then
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2056 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2057 sed 's/^/| /' "$ac_site_file" >&5
2062 if test -r "$cache_file"; then
2063 # Some versions of bash will fail to source /dev/null (special
2064 # files actually), so we avoid doing that.
2065 if test -f "$cache_file"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2067 $as_echo "$as_me: loading cache $cache_file" >&6;}
2069 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2070 *) . "./$cache_file";;
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2075 $as_echo "$as_me: creating cache $cache_file" >&6;}
2079 # Check that the precious variables saved in the cache have kept the same
2081 ac_cache_corrupted=false
2082 for ac_var in $ac_precious_vars; do
2083 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2084 eval ac_new_set=\$ac_env_${ac_var}_set
2085 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2086 eval ac_new_val=\$ac_env_${ac_var}_value
2087 case $ac_old_set,$ac_new_set in
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2090 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2091 ac_cache_corrupted=: ;;
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2094 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2095 ac_cache_corrupted=: ;;
2098 if test "x$ac_old_val" != "x$ac_new_val"; then
2099 # differences in whitespace do not lead to failure.
2100 ac_old_val_w=`echo x $ac_old_val`
2101 ac_new_val_w=`echo x $ac_new_val`
2102 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2104 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2105 ac_cache_corrupted=:
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2108 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2109 eval $ac_var=\$ac_old_val
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2112 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2114 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2117 # Pass precious variables to config.status.
2118 if test "$ac_new_set" = set; then
2120 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2121 *) ac_arg=$ac_var=$ac_new_val ;;
2123 case " $ac_configure_args " in
2124 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2125 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2129 if $ac_cache_corrupted; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2133 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2134 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2136 ## -------------------- ##
2137 ## Main body of script. ##
2138 ## -------------------- ##
2141 ac_cpp='$CPP $CPPFLAGS'
2142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2155 # if PWD already has a value, it is probably wrong.
2156 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2158 # Export original configure arguments for use by sub-configures.
2159 # Quote arguments with shell meta charatcers.
2160 TOPLEVEL_CONFIGURE_ARGUMENTS=
2161 set -- "$progname" "$@"
2165 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2166 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2167 # if the argument is of the form -foo=baz, quote the baz part only
2168 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2171 # Add the quoted argument to the list.
2172 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2174 if test "$silent" = yes; then
2175 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2177 # Remove the initial space we just introduced and, as these will be
2178 # expanded by make, quote '$'.
2179 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2182 # Find the build, host, and target systems.
2184 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2185 for ac_t in install-sh install.sh shtool; do
2186 if test -f "$ac_dir/$ac_t"; then
2188 ac_install_sh="$ac_aux_dir/$ac_t -c"
2193 if test -z "$ac_aux_dir"; then
2194 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2197 # These three variables are undocumented and unsupported,
2198 # and are intended to be withdrawn in a future Autoconf release.
2199 # They can cause serious problems if a builder's source tree is in a directory
2200 # whose full name contains unusual characters.
2201 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2202 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2203 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2206 # Make sure we can run config.sub.
2207 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2208 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2211 $as_echo_n "checking build system type... " >&6; }
2212 if test "${ac_cv_build+set}" = set; then :
2213 $as_echo_n "(cached) " >&6
2215 ac_build_alias=$build_alias
2216 test "x$ac_build_alias" = x &&
2217 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2218 test "x$ac_build_alias" = x &&
2219 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2220 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2221 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2225 $as_echo "$ac_cv_build" >&6; }
2226 case $ac_cv_build in
2228 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2231 ac_save_IFS=$IFS; IFS='-'
2237 # Remember, the first character of IFS is used to create $*,
2238 # except with old shells:
2241 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2244 case ${build_alias} in
2245 "") build_noncanonical=${build} ;;
2246 *) build_noncanonical=${build_alias} ;;
2251 case ${host_alias} in
2252 "") host_noncanonical=${build_noncanonical} ;;
2253 *) host_noncanonical=${host_alias} ;;
2258 case ${target_alias} in
2259 "") target_noncanonical=${host_noncanonical} ;;
2260 *) target_noncanonical=${target_alias} ;;
2266 test "$host_noncanonical" = "$target_noncanonical" &&
2267 test "$program_prefix$program_suffix$program_transform_name" = \
2269 program_transform_name=s,y,y,
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2272 $as_echo_n "checking host system type... " >&6; }
2273 if test "${ac_cv_host+set}" = set; then :
2274 $as_echo_n "(cached) " >&6
2276 if test "x$host_alias" = x; then
2277 ac_cv_host=$ac_cv_build
2279 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2280 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2285 $as_echo "$ac_cv_host" >&6; }
2288 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2291 ac_save_IFS=$IFS; IFS='-'
2297 # Remember, the first character of IFS is used to create $*,
2298 # except with old shells:
2301 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2305 $as_echo_n "checking target system type... " >&6; }
2306 if test "${ac_cv_target+set}" = set; then :
2307 $as_echo_n "(cached) " >&6
2309 if test "x$target_alias" = x; then
2310 ac_cv_target=$ac_cv_host
2312 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2313 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2318 $as_echo "$ac_cv_target" >&6; }
2319 case $ac_cv_target in
2321 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2323 target=$ac_cv_target
2324 ac_save_IFS=$IFS; IFS='-'
2330 # Remember, the first character of IFS is used to create $*,
2331 # except with old shells:
2334 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2337 # The aliases save the names the user supplied, while $host etc.
2338 # will get canonicalized.
2339 test -n "$target_alias" &&
2340 test "$program_prefix$program_suffix$program_transform_name" = \
2342 program_prefix=${target_alias}-
2344 test "$program_prefix" != NONE &&
2345 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2346 # Use a double $ so make ignores it.
2347 test "$program_suffix" != NONE &&
2348 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2349 # Double any \ or $.
2350 # By default was `s,x,x', remove it if useless.
2351 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2352 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2356 # Get 'install' or 'install-sh' and its variants.
2357 # Find a good install program. We prefer a C program (faster),
2358 # so one script is as good as another. But avoid the broken or
2359 # incompatible versions:
2360 # SysV /etc/install, /usr/sbin/install
2361 # SunOS /usr/etc/install
2362 # IRIX /sbin/install
2364 # AmigaOS /C/install, which installs bootblocks on floppy discs
2365 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2366 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2367 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2368 # OS/2's system install, which has a completely different semantic
2369 # ./install, which can be erroneously created by make from ./install.sh.
2370 # Reject install programs that cannot install multiple files.
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2372 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2373 if test -z "$INSTALL"; then
2374 if test "${ac_cv_path_install+set}" = set; then :
2375 $as_echo_n "(cached) " >&6
2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 test -z "$as_dir" && as_dir=.
2382 # Account for people who put trailing slashes in PATH elements.
2383 case $as_dir/ in #((
2384 ./ | .// | /[cC]/* | \
2385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2386 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2389 # OSF1 and SCO ODT 3.0 have their own names for install.
2390 # Don't use installbsd from OSF since it installs stuff as root
2392 for ac_prog in ginstall scoinst install; do
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2395 if test $ac_prog = install &&
2396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2397 # AIX install. It has an incompatible calling convention.
2399 elif test $ac_prog = install &&
2400 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2401 # program-specific install script used by HP pwplus--don't use.
2404 rm -rf conftest.one conftest.two conftest.dir
2405 echo one > conftest.one
2406 echo two > conftest.two
2408 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2409 test -s conftest.one && test -s conftest.two &&
2410 test -s conftest.dir/conftest.one &&
2411 test -s conftest.dir/conftest.two
2413 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2426 rm -rf conftest.one conftest.two conftest.dir
2429 if test "${ac_cv_path_install+set}" = set; then
2430 INSTALL=$ac_cv_path_install
2432 # As a last resort, use the slow shell script. Don't cache a
2433 # value for INSTALL within a source directory, because that will
2434 # break other packages using the cache if that directory is
2435 # removed, or if the value is a relative name.
2436 INSTALL=$ac_install_sh
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2440 $as_echo "$INSTALL" >&6; }
2442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2443 # It thinks the first close brace ends the variable substitution.
2444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2451 $as_echo_n "checking whether ln works... " >&6; }
2452 if test "${acx_cv_prog_LN+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 rm -f conftestdata_t
2456 echo >conftestdata_f
2457 if ln conftestdata_f conftestdata_t 2>/dev/null
2463 rm -f conftestdata_f conftestdata_t
2466 if test $acx_cv_prog_LN = no; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2469 $as_echo "no, using $LN" >&6; }
2471 LN="$acx_cv_prog_LN"
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2473 $as_echo "yes" >&6; }
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2477 $as_echo_n "checking whether ln -s works... " >&6; }
2479 if test "$LN_S" = "ln -s"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2481 $as_echo "yes" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2484 $as_echo "no, using $LN_S" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2488 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2489 if test "${ac_cv_path_SED+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2493 for ac_i in 1 2 3 4 5 6 7; do
2494 ac_script="$ac_script$as_nl$ac_script"
2496 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2497 { ac_script=; unset ac_script;}
2498 if test -z "$SED"; then
2499 ac_path_SED_found=false
2500 # Loop through the user's path and test for each of PROGNAME-LIST
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_prog in sed gsed; do
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2509 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2510 # Check for GNU ac_path_SED and select it if it is found.
2511 # Check for GNU $ac_path_SED
2512 case `"$ac_path_SED" --version 2>&1` in
2514 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2517 $as_echo_n 0123456789 >"conftest.in"
2520 cat "conftest.in" "conftest.in" >"conftest.tmp"
2521 mv "conftest.tmp" "conftest.in"
2522 cp "conftest.in" "conftest.nl"
2523 $as_echo '' >> "conftest.nl"
2524 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2526 as_fn_arith $ac_count + 1 && ac_count=$as_val
2527 if test $ac_count -gt ${ac_path_SED_max-0}; then
2528 # Best one so far, save it but keep looking for a better one
2529 ac_cv_path_SED="$ac_path_SED"
2530 ac_path_SED_max=$ac_count
2532 # 10*(2^10) chars as input seems more than enough
2533 test $ac_count -gt 10 && break
2535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2538 $ac_path_SED_found && break 3
2543 if test -z "$ac_cv_path_SED"; then
2544 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2552 $as_echo "$ac_cv_path_SED" >&6; }
2553 SED="$ac_cv_path_SED"
2556 for ac_prog in gawk mawk nawk awk
2558 # Extract the first word of "$ac_prog", so it can be a program name with args.
2559 set dummy $ac_prog; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if test "${ac_cv_prog_AWK+set}" = set; then :
2563 $as_echo_n "(cached) " >&6
2565 if test -n "$AWK"; then
2566 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_AWK="$ac_prog"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test -n "$AWK"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2588 $as_echo "$AWK" >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2595 test -n "$AWK" && break
2599 ### we might need to use some other shell than /bin/sh for running subshells
2600 ### If we are on Windows, search for the shell. This will permit people
2601 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2602 ### without also having to set CONFIG_SHELL. This code will work when
2603 ### using bash, which sets OSTYPE.
2606 if test x${CONFIG_SHELL} = x ; then
2607 if test ! -f /bin/sh ; then
2608 if test x${SHELL} != x && test -f ${SHELL} ; then
2609 CONFIG_SHELL=${SHELL}
2612 for prog in sh sh.exe bash bash.exe; do
2613 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
2614 for dir in $PATH; do
2615 test -z "$dir" && dir=.
2616 if test -f $dir/$prog; then
2617 CONFIG_SHELL=$dir/$prog
2623 test -n "${CONFIG_SHELL}" && break
2631 config_shell=${CONFIG_SHELL-/bin/sh}
2633 moveifchange=${srcdir}/move-if-change
2635 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2637 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2639 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2640 INSTALL="${srcpwd}/install-sh -c"
2643 # Set srcdir to "." if that's what it is.
2644 # This is important for multilib support.
2646 if test "${pwd}" = "${srcpwd}" ; then
2654 ### To add a new directory to the tree, first choose whether it is a target
2655 ### or a host dependent tool. Then put it into the appropriate list
2656 ### (library or tools, host or target), doing a dependency sort.
2658 # Subdirs will be configured in the order listed in build_configdirs,
2659 # configdirs, or target_configdirs; see the serialization section below.
2661 # Dependency sorting is only needed when *configuration* must be done in
2662 # a particular order. In all cases a dependency should be specified in
2663 # the Makefile, whether or not it's implicitly specified here.
2665 # Double entries in build_configdirs, configdirs, or target_configdirs may
2666 # cause circular dependencies and break everything horribly.
2668 # these library is used by various programs built for the build
2671 build_libs="build-libiberty"
2673 # these tools are built for the build environment
2674 build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2676 # these libraries are used by various programs built for the host environment
2678 host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2680 # these tools are built for the host environment
2681 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2682 # know that we are building the simulator.
2683 # binutils, gas and ld appear in that order because it makes sense to run
2684 # "make check" in that particular order.
2685 # If --enable-gold is used, "gold" may replace "ld".
2686 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"
2688 # libgcj represents the runtime libraries only used by gcj.
2689 libgcj="target-libffi \
2694 # these libraries are built for the target environment, and are built after
2695 # the host libraries and the host tools (which may be a cross compiler)
2697 target_libraries="target-libgcc \
2702 target-libstdc++-v3 \
2705 target-libquadmath \
2706 target-libgfortran \
2713 # these tools are built using the target libraries, and are intended to
2714 # run only in the target environment
2716 # note: any program that *uses* libraries that are in the "target_libraries"
2717 # list belongs in this list. those programs are also very likely
2718 # candidates for the "native_only" list which follows
2720 target_tools="target-examples target-groff target-gperf target-rda"
2722 ################################################################################
2724 ## All tools belong in one of the four categories, and are assigned above
2725 ## We assign ${configdirs} this way to remove all embedded newlines. This
2726 ## is important because configure will choke if they ever get through.
2727 ## ${configdirs} is directories we build using the host tools.
2728 ## ${target_configdirs} is directories we build using the target tools.
2729 configdirs=`echo ${host_libs} ${host_tools}`
2730 target_configdirs=`echo ${target_libraries} ${target_tools}`
2731 build_configdirs=`echo ${build_libs} ${build_tools}`
2735 ################################################################################
2737 srcname="gnu development package"
2739 # This gets set non-empty for some net releases of packages.
2742 # Define is_cross_compiler to save on calls to 'test'.
2744 if test x"${host}" = x"${target}" ; then
2745 is_cross_compiler=no
2747 is_cross_compiler=yes
2750 # Find the build and target subdir names.
2752 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2753 # have matching libraries, they should use host libraries: Makefile.tpl
2754 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2755 # However, they still use the build modules, because the corresponding
2756 # host modules (e.g. bison) are only built for the host when bootstrap
2758 # - build_subdir is where we find build modules, and never changes.
2759 # - build_libsubdir is where we find build libraries, and can be overridden.
2761 # Prefix 'build-' so this never conflicts with target_subdir.
2762 build_subdir="build-${build_noncanonical}"
2764 # Check whether --with-build-libsubdir was given.
2765 if test "${with_build_libsubdir+set}" = set; then :
2766 withval=$with_build_libsubdir; build_libsubdir="$withval"
2768 build_libsubdir="$build_subdir"
2771 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2772 if ( test $srcdir = . && test -d gcc ) \
2773 || test -d $srcdir/../host-${host_noncanonical}; then
2774 host_subdir="host-${host_noncanonical}"
2779 target_subdir=${target_noncanonical}
2781 # Be sure to cover against remnants of an in-tree build.
2782 if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2783 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2784 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2787 # Skipdirs are removed silently.
2789 # Noconfigdirs are removed loudly.
2793 # Make sure we don't let GNU ld be added if we didn't want it.
2794 if test x$with_gnu_ld = xno ; then
2796 noconfigdirs="$noconfigdirs ld gold"
2800 # Make sure we don't let GNU as be added if we didn't want it.
2801 if test x$with_gnu_as = xno ; then
2803 noconfigdirs="$noconfigdirs gas"
2807 # Make sure we don't let ZLIB be added if we didn't want it.
2808 if test x$with_system_zlib = xyes ; then
2809 use_included_zlib=no
2810 noconfigdirs="$noconfigdirs zlib"
2813 # some tools are so dependent upon X11 that if we're not building with X,
2814 # it's not even worth trying to configure, much less build, that tool.
2817 yes | "") ;; # the default value for this tree is that X11 is available
2819 skipdirs="${skipdirs} tk itcl libgui"
2820 # We won't be able to build gdbtk without X.
2823 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2826 # Some tools are only suitable for building in a "native" situation.
2827 # Remove these if host!=target.
2828 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"
2830 # Similarly, some are only suitable for cross toolchains.
2831 # Remove these if host=target.
2832 cross_only="target-libgloss target-newlib target-opcodes"
2834 case $is_cross_compiler in
2835 no) skipdirs="${skipdirs} ${cross_only}" ;;
2836 yes) skipdirs="${skipdirs} ${native_only}" ;;
2839 # If both --with-headers and --with-libs are specified, default to
2841 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2842 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2843 if test x"${with_newlib}" = x ; then
2848 # Recognize --with-newlib/--without-newlib.
2849 case ${with_newlib} in
2850 no) skipdirs="${skipdirs} target-newlib" ;;
2851 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2854 # Handle --enable-gold, --enable-ld.
2855 # --disable-gold [--enable-ld]
2856 # Build only ld. Default option.
2857 # --enable-gold[=default] [--enable-ld]
2858 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2859 # install ld as "ld.bfd".
2860 # --enable-gold[=default] --disable-ld
2861 # Build only gold, which is then installed as both "ld.gold" and "ld".
2862 # --enable-gold --enable-ld=default
2863 # Build both gold (installed as "gold") and ld (installed as "ld").
2864 # In other words, ld is default
2865 # --enable-gold=default --enable-ld=default
2869 # Check whether --enable-gold was given.
2870 if test "${enable_gold+set}" = set; then :
2871 enableval=$enable_gold; ENABLE_GOLD=$enableval
2876 case "${ENABLE_GOLD}" in
2878 # Check for ELF target.
2881 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2882 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2883 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*)
2885 *-*-linux*aout* | *-*-linux*oldld*)
2893 if test "$is_elf" = "yes"; then
2894 # Check for target supported by gold.
2896 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2897 configdirs="$configdirs gold"
2898 if test x${ENABLE_GOLD} = xdefault; then
2909 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
2913 # Check whether --enable-ld was given.
2914 if test "${enable_ld+set}" = set; then :
2915 enableval=$enable_ld; ENABLE_LD=$enableval
2921 case "${ENABLE_LD}" in
2923 if test x${default_ld} != xgold; then
2924 as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
2930 if test x${ENABLE_GOLD} != xyes; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2932 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2934 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2937 as_fn_error "invalid --enable-ld argument" "$LINENO" 5
2941 # Configure extra directories which are host specific
2945 configdirs="$configdirs libtermcap" ;;
2948 # A target can indicate whether a language isn't supported for some reason.
2949 # Only spaces may be used in this macro; not newlines or tabs.
2950 unsupported_languages=
2952 # Remove more programs from consideration, based on the host or
2953 # target this usually means that a port of the program doesn't
2958 noconfigdirs="$noconfigdirs byacc"
2960 i[3456789]86-*-vsta)
2961 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2963 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
2964 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2967 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2969 i[3456789]86-*-mingw32*)
2970 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2971 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2973 i[3456789]86-*-beos*)
2974 noconfigdirs="$noconfigdirs tk itcl libgui gdb"
2977 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
2980 noconfigdirs="$noconfigdirs rcs"
2983 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2986 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2991 # Check whether --enable-libada was given.
2992 if test "${enable_libada+set}" = set; then :
2993 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2998 if test "${ENABLE_LIBADA}" != "yes" ; then
2999 noconfigdirs="$noconfigdirs gnattools"
3002 # Check whether --enable-libssp was given.
3003 if test "${enable_libssp+set}" = set; then :
3004 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
3010 # Save it here so that, even in case of --enable-libgcj, if the Java
3011 # front-end isn't enabled, we still get libgcj disabled.
3012 libgcj_saved=$libgcj
3013 case $enable_libgcj in
3015 # If we reset it here, it won't get added to noconfigdirs in the
3016 # target-specific build rules, so it will be forcibly enabled
3017 # (unless the Java language itself isn't enabled).
3021 # Make sure we get it printed in the list of not supported target libs.
3022 # Don't disable libffi, though, other languages use it.
3023 noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3028 # Disable libmudflap on some systems.
3029 if test x$enable_libmudflap = x ; then
3031 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
3032 # Enable libmudflap by default in GNU and friends.
3035 # Enable libmudflap by default in FreeBSD.
3038 # Disable it by default everywhere else.
3039 noconfigdirs="$noconfigdirs target-libmudflap"
3044 # Disable libgomp on non POSIX hosted systems.
3045 if test x$enable_libgomp = x ; then
3046 # Enable libgomp by default on hosted POSIX systems.
3048 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3050 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
3052 *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
3054 *-*-darwin* | *-*-aix*)
3057 noconfigdirs="$noconfigdirs target-libgomp"
3062 # Default libgloss CPU subdirectory.
3063 libgloss_dir="$target_cpu"
3067 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3070 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3071 noconfigdirs="$noconfigdirs sim target-rda"
3073 i[3456789]86-*-darwin*)
3074 noconfigdirs="$noconfigdirs ld gprof"
3075 noconfigdirs="$noconfigdirs sim target-rda"
3077 x86_64-*-darwin[912]*)
3078 noconfigdirs="$noconfigdirs ld gas gprof"
3079 noconfigdirs="$noconfigdirs sim target-rda"
3082 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3083 noconfigdirs="$noconfigdirs sim target-rda"
3084 noconfigdirs="$noconfigdirs ${libgcj}"
3086 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
3087 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3090 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3091 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
3092 && test -f /usr/local/include/gmp.h; then
3096 # Skip some stuff that's unsupported on some FreeBSD configurations.
3102 noconfigdirs="$noconfigdirs ${libgcj}"
3107 # Remove unsupported stuff on all kaOS configurations.
3108 skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3109 skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
3110 skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3111 noconfigdirs="$noconfigdirs target-libgloss"
3114 # Skip some stuff on all NetBSD configurations.
3115 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
3117 # Skip some stuff that's unsupported on some NetBSD configurations.
3119 i*86-*-netbsdelf*) ;;
3120 arm*-*-netbsdelf*) ;;
3122 noconfigdirs="$noconfigdirs ${libgcj}"
3127 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3130 skipdirs="${skipdirs} target-libiberty"
3131 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3133 # The tpf target doesn't support gdb yet.
3135 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3138 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3141 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3144 # ld works, but does not support shared libraries.
3145 # newlib is not 64 bit ready. I'm not sure about fileutils.
3146 # gas doesn't generate exception information.
3147 noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3150 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3153 # newlib is not 64 bit ready
3154 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3157 # newlib is not 64 bit ready
3158 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3161 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3164 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3166 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3167 noconfigdirs="$noconfigdirs ${libgcj}"
3168 noconfigdirs="$noconfigdirs target-examples"
3169 noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
3170 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3171 noconfigdirs="$noconfigdirs expect dejagnu"
3172 # the C++ libraries don't build on top of CE's C libraries
3173 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3174 noconfigdirs="$noconfigdirs target-newlib"
3176 *-*-cygwin*) ;; # keep gdb and readline
3177 *) noconfigdirs="$noconfigdirs gdb readline"
3183 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3187 arm-*-coff | strongarm-*-coff | xscale-*-coff)
3188 noconfigdirs="$noconfigdirs ${libgcj}"
3191 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
3192 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
3195 arm*-*-linux-gnueabi)
3196 noconfigdirs="$noconfigdirs target-qthreads"
3197 case ${with_newlib} in
3198 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3203 noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
3207 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3210 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3213 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3216 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3219 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3222 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3225 unsupported_languages="$unsupported_languages java"
3226 noconfigdirs="$noconfigdirs target-boehm-gc gdb"
3227 if test x${is_cross_compiler} != xno ; then
3228 target_configdirs="${target_configdirs} target-bsp target-cygmon"
3231 c4x-*-* | tic4x-*-*)
3232 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3234 c54x*-*-* | tic54x-*-*)
3235 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3238 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3240 cris-*-* | crisv32-*-*)
3241 unsupported_languages="$unsupported_languages java"
3244 unsupported_languages="$unsupported_languages fortran"
3245 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3247 noconfigdirs="$noconfigdirs target-boehm-gc";;
3249 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
3251 unsupported_languages="$unsupported_languages fortran"
3252 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3257 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3260 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3263 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3265 ep9312-*-elf | ep9312-*-coff)
3269 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3272 noconfigdirs="$noconfigdirs ${libgcj}"
3275 noconfigdirs="$noconfigdirs ${libgcj}"
3276 noconfigdirs="$noconfigdirs gprof"
3279 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3282 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3284 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3286 hppa*64*-*-linux* | parisc*64*-*-linux*)
3287 # In this case, it's because the hppa64-linux target is for
3288 # the kernel only at this point and has no libc, and thus no
3289 # headers, crt*.o, etc., all of which are needed by these.
3290 noconfigdirs="$noconfigdirs target-zlib"
3292 parisc*-*-linux* | hppa*-*-linux*)
3296 hppa*-*-openbsd* | \
3298 noconfigdirs="$noconfigdirs ${libgcj}"
3301 noconfigdirs="$noconfigdirs ld shellutils"
3307 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3308 # build on HP-UX 10.20.
3309 noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
3312 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3315 # No gdb support yet.
3316 noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb"
3319 # No gdb or ld support yet.
3320 noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3323 # No gdb or ld support yet.
3324 noconfigdirs="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3328 i[3456789]86-*-coff | i[3456789]86-*-elf)
3329 noconfigdirs="$noconfigdirs ${libgcj}"
3332 i[3456789]86-*-linux*)
3333 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3334 # not build java stuff by default.
3337 noconfigdirs="$noconfigdirs ${libgcj}";;
3340 # This section makes it possible to build newlib natively on linux.
3341 # If we are using a cross compiler then don't configure newlib.
3342 if test x${is_cross_compiler} != xno ; then
3343 noconfigdirs="$noconfigdirs target-newlib"
3345 noconfigdirs="$noconfigdirs target-libgloss"
3346 # If we are not using a cross compiler, do configure newlib.
3347 # Note however, that newlib will only be configured in this situation
3348 # if the --with-newlib option has been given, because otherwise
3349 # 'target-newlib' will appear in skipdirs.
3351 i[3456789]86-w64-mingw*)
3352 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3354 i[3456789]86-*-mingw*)
3355 target_configdirs="$target_configdirs target-winsup"
3356 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3359 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3362 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3363 noconfigdirs="$noconfigdirs target-gperf target-libgloss"
3364 # always build newlib if winsup directory is present.
3365 if test -d "$srcdir/winsup/cygwin"; then
3366 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3367 elif test -d "$srcdir/newlib"; then
3368 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3371 i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
3372 i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
3375 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3377 i[3456789]86-*-sco3.2v5*)
3378 # The linker does not yet know about weak symbols in COFF,
3379 # and is not configured to handle mixed ELF and COFF.
3380 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
3382 i[3456789]86-*-sco*)
3383 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3385 i[3456789]86-*-solaris2*)
3386 noconfigdirs="$noconfigdirs target-libgloss"
3388 i[3456789]86-*-sysv4*)
3389 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3391 i[3456789]86-*-beos*)
3392 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3394 i[3456789]86-*-rdos*)
3395 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3398 noconfigdirs="$noconfigdirs ${libgcj}"
3400 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3401 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3402 libgloss_dir=m68hc11
3405 noconfigdirs="$noconfigdirs ${libgcj}"
3408 noconfigdirs="$noconfigdirs ${libgcj}"
3410 m68*-*-* | fido-*-*)
3414 # The EPOC C++ environment does not support exceptions or rtti,
3415 # and so building libstdc++-v3 tends not to always work.
3416 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3419 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3420 unsupported_languages="$unsupported_languages fortran java"
3423 noconfigdirs="$noconfigdirs ${libgcj}"
3426 noconfigdirs="$noconfigdirs ${libgcj}"
3429 noconfigdirs="$noconfigdirs sim"
3432 # copied from rs6000-*-* entry
3433 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3435 powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
3436 target_configdirs="$target_configdirs target-winsup"
3437 noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3438 # always build newlib.
3439 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3441 # This is temporary until we can link against shared libraries
3442 powerpcle-*-solaris*)
3443 noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3447 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3450 noconfigdirs="$noconfigdirs ${libgcj}"
3453 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
3457 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
3460 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3463 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3466 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3469 noconfigdirs="$noconfigdirs gprof target-libssp ${libgcj}"
3472 skipdirs="$skipdirs target-libiberty"
3473 noconfigdirs="$noconfigdirs ${libgcj}"
3474 if test x$with_newlib = xyes; then
3475 noconfigdirs="$noconfigdirs gprof"
3480 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3483 # Linking libjava exceeds command-line length limits on at least
3484 # IRIX 6.2, but not on IRIX 6.5.
3485 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3486 # <oldham@codesourcery.com>
3487 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3490 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3493 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3496 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3500 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3504 i[3456789]86-*-vsta) ;; # don't add gprof back in
3505 i[3456789]86-*-go32*) ;; # don't add gprof back in
3506 i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3507 *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3511 noconfigdirs="$noconfigdirs ${libgcj}" ;;
3513 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
3516 sparclet-*-aout* | sparc86x-*-*)
3520 noconfigdirs="$noconfigdirs ${libgcj}"
3523 noconfigdirs="$noconfigdirs ${libgcj}"
3527 noconfigdirs="$noconfigdirs ${libgcj}"
3531 noconfigdirs="$noconfigdirs ${libgcj}"
3532 if test x${is_cross_compiler} != xno ; then
3533 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3538 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
3539 noconfigdirs="$noconfigdirs ${libgcj}"
3541 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
3544 noconfigdirs="$noconfigdirs gdb sim ${libgcj}"
3547 noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3550 noconfigdirs="$noconfigdirs ${libgcj}"
3553 noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3556 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3559 noconfigdirs="$noconfigdirs ${libgcj}"
3562 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3564 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3565 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3568 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3571 noconfigdirs="$noconfigdirs ${libgcj}"
3575 # If we aren't building newlib, then don't build libgloss, since libgloss
3576 # depends upon some newlib header files.
3577 case "${noconfigdirs}" in
3578 *target-libgloss*) ;;
3579 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3582 # Work in distributions that contain no compiler tools, like Autoconf.
3584 host_makefile_frag=/dev/null
3585 if test -d ${srcdir}/config ; then
3588 # Avoid "too much defining" errors from HPUX compiler.
3589 tentative_cc="cc -Wp,-H256000"
3590 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3591 # If it's HP/UX ar, this should be harmless.
3595 tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3598 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3599 # chokes on bfd, the compiler won't let you assign integers to enums, and
3600 # other problems. Defining CC to gcc is a questionable way to say "don't use
3601 # the apollo compiler" (the preferred version of GCC could be called cc,
3602 # or whatever), but I'm not sure leaving CC as cc is any better...
3603 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3604 # Used to have BISON=yacc.
3608 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3611 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3612 tentative_cc="cc -Xa"
3613 host_makefile_frag="config/mh-cxux"
3615 m88k-motorola-sysv*)
3618 tentative_cc="cc -Wf,-XNg1000"
3619 host_makefile_frag="config/mh-decstation"
3622 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3623 tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
3624 host_makefile_frag="config/mh-necv4"
3627 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3628 # environment. Also bump switch table size so that cp-parse will
3629 # compile. Bump string length limit so linker builds.
3630 tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3633 host_makefile_frag="config/mh-sysv4"
3636 # This is for a MIPS running RISC/os 4.52C.
3638 # This is needed for GDB, but needs to be in the top-level make because
3639 # if a library is compiled with the bsd headers and gets linked with the
3640 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3641 # a different size).
3642 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3643 # known except to select the sysv environment. Could we use /proc instead?
3644 # These "sysv environments" and "bsd environments" often end up being a pain.
3646 # This is not part of CFLAGS because perhaps not all C compilers have this
3648 tentative_cc="cc -systype sysv"
3653 i[3456789]86-*-sysv5*)
3654 host_makefile_frag="config/mh-sysv5"
3656 i[3456789]86-*-dgux*)
3657 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
3658 host_makefile_frag="config/mh-dgux386"
3660 i[3456789]86-ncr-sysv4.3*)
3661 # The MetaWare compiler will generate a copyright message unless you
3662 # turn it off by adding the -Hnocopyr flag.
3663 tentative_cc="cc -Hnocopyr"
3665 i[3456789]86-ncr-sysv4*)
3666 # for an NCR 3000 (i486/SVR4) system.
3667 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3668 # This compiler not only emits obnoxious copyright messages every time
3669 # you run it, but it chokes and dies on a whole bunch of GNU source
3670 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3671 tentative_cc="/usr/ccs/ATT/cc"
3672 host_makefile_frag="config/mh-ncr3000"
3674 i[3456789]86-*-sco3.2v5*)
3676 i[3456789]86-*-sco*)
3677 # The native C compiler botches some simple uses of const. Unfortunately,
3678 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3679 tentative_cc="cc -Dconst="
3680 host_makefile_frag="config/mh-sco"
3682 i[3456789]86-*-udk*)
3683 host_makefile_frag="config/mh-sysv5"
3685 i[3456789]86-*-solaris2*)
3686 host_makefile_frag="config/mh-sysv4"
3688 i[3456789]86-*-msdosdjgpp*)
3689 host_makefile_frag="config/mh-djgpp"
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3694 $as_echo_n "checking to see if cat works as expected... " >&6; }
3695 echo a >cygwin-cat-check
3696 if test `cat cygwin-cat-check` = a ; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3699 $as_echo "yes" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3704 as_fn_error "The cat command does not ignore carriage return characters.
3705 Please either mount the build directory in binary mode or run the following
3706 commands before running any configure script:
3712 host_makefile_frag="config/mh-cygwin"
3715 host_makefile_frag="config/mh-mingw"
3718 host_makefile_frag="config/mh-interix"
3721 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3725 host_makefile_frag="config/mh-solaris"
3728 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3729 # without overflowing the jump tables (-J says to use a 32 bit table)
3730 tentative_cc="cc -J"
3733 tentative_cc="cc -Wp,-H256000"
3734 host_makefile_frag="config/mh-pa-hpux10"
3736 hppa*-hp-hpux* | hppa*-*-hiux*)
3737 tentative_cc="cc -Wp,-H256000"
3738 host_makefile_frag="config/mh-pa"
3741 host_makefile_frag="config/mh-pa"
3743 *-hp-hpux* | *-*-hiux*)
3744 tentative_cc="cc -Wp,-H256000"
3747 # /bin/cc is less than useful for our purposes. Always use GCC
3748 tentative_cc="/usr/cygnus/progressive/bin/gcc"
3749 host_makefile_frag="config/mh-lynxrs6k"
3752 host_makefile_frag="config/mh-darwin"
3755 host_makefile_frag="config/mh-ppc-aix"
3758 host_makefile_frag="config/mh-ppc-aix"
3761 # /bin/cc is less than useful for our purposes. Always use GCC
3762 tentative_cc="/bin/gcc"
3765 host_makefile_frag="config/mh-sysv4"
3767 # This is placed last to prevent interfering with the cases above.
3769 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3770 host_makefile_frag="config/mh-x86omitfp"
3775 # If we aren't going to be using gcc, see if we can extract a definition
3776 # of CC from the fragment.
3777 # Actually, use the 'pre-extracted' version above.
3778 if test -z "${CC}" && test "${build}" = "${host}" ; then
3779 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
3781 for dir in $PATH; do
3782 test -z "$dir" && dir=.
3783 if test -f $dir/gcc; then
3789 if test -z "${found}" && test -n "${tentative_cc}" ; then
3794 if test "${build}" != "${host}" ; then
3795 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3796 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3797 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3798 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3799 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3800 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3801 GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
3802 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3803 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3804 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3805 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3806 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3807 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3809 AR_FOR_BUILD="\$(AR)"
3810 AS_FOR_BUILD="\$(AS)"
3811 CC_FOR_BUILD="\$(CC)"
3812 CXX_FOR_BUILD="\$(CXX)"
3813 GCJ_FOR_BUILD="\$(GCJ)"
3814 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3815 GOC_FOR_BUILD="\$(GOC)"
3816 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3817 LD_FOR_BUILD="\$(LD)"
3818 NM_FOR_BUILD="\$(NM)"
3819 RANLIB_FOR_BUILD="\$(RANLIB)"
3820 WINDRES_FOR_BUILD="\$(WINDRES)"
3821 WINDMC_FOR_BUILD="\$(WINDMC)"
3825 ac_cpp='$CPP $CPPFLAGS'
3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if test "${ac_cv_prog_CC+set}" = set; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3868 if test -z "$ac_cv_prog_CC"; then
3870 # Extract the first word of "gcc", so it can be a program name with args.
3871 set dummy gcc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="gcc"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3906 if test "x$ac_ct_CC" = x; then
3909 case $cross_compiling:$ac_tool_warned in
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned=yes ;;
3921 if test -z "$CC"; then
3922 if test -n "$ac_tool_prefix"; then
3923 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3924 set dummy ${ac_tool_prefix}cc; ac_word=$2
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3926 $as_echo_n "checking for $ac_word... " >&6; }
3927 if test "${ac_cv_prog_CC+set}" = set; then :
3928 $as_echo_n "(cached) " >&6
3930 if test -n "$CC"; then
3931 ac_cv_prog_CC="$CC" # Let the user override the test.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3940 ac_cv_prog_CC="${ac_tool_prefix}cc"
3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 if test -n "$CC"; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3953 $as_echo "$CC" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3962 if test -z "$CC"; then
3963 # Extract the first word of "cc", so it can be a program name with args.
3964 set dummy cc; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if test "${ac_cv_prog_CC+set}" = set; then :
3968 $as_echo_n "(cached) " >&6
3970 if test -n "$CC"; then
3971 ac_cv_prog_CC="$CC" # Let the user override the test.
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3982 ac_prog_rejected=yes
3986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 if test $ac_prog_rejected = yes; then
3994 # We found a bogon in the path, so make sure we never use it.
3995 set dummy $ac_cv_prog_CC
3997 if test $# != 0; then
3998 # We chose a different compiler from the bogus one.
3999 # However, it has the same basename, so the bogon will be chosen
4000 # first if we set CC to just the basename; use the full file name.
4002 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4008 if test -n "$CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 $as_echo "$CC" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4018 if test -z "$CC"; then
4019 if test -n "$ac_tool_prefix"; then
4020 for ac_prog in cl.exe
4022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_CC+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$CC"; then
4030 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 if test -n "$CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4052 $as_echo "$CC" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4059 test -n "$CC" && break
4062 if test -z "$CC"; then
4064 for ac_prog in cl.exe
4066 # Extract the first word of "$ac_prog", so it can be a program name with args.
4067 set dummy $ac_prog; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$ac_ct_CC"; then
4074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4083 ac_cv_prog_ac_ct_CC="$ac_prog"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4094 if test -n "$ac_ct_CC"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4096 $as_echo "$ac_ct_CC" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4103 test -n "$ac_ct_CC" && break
4106 if test "x$ac_ct_CC" = x; then
4109 case $cross_compiling:$ac_tool_warned in
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4113 ac_tool_warned=yes ;;
4122 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "no acceptable C compiler found in \$PATH
4125 See \`config.log' for more details." "$LINENO" 5; }
4127 # Provide some information about the compiler.
4128 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4131 for ac_option in --version -v -V -qversion; do
4132 { { ac_try="$ac_compiler $ac_option >&5"
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4141 if test -s conftest.err; then
4143 ... rest of stderr output deleted ...
4144 10q' conftest.err >conftest.er1
4145 cat conftest.er1 >&5
4146 rm -f conftest.er1 conftest.err
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4163 ac_clean_files_save=$ac_clean_files
4164 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4165 # Try to create an executable without -o first, disregard a.out.
4166 # It will help us diagnose broken compilers, and finding out an intuition
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4169 $as_echo_n "checking for C compiler default output file name... " >&6; }
4170 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4172 # The possible output files:
4173 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4176 for ac_file in $ac_files
4179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4180 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4185 if { { ac_try="$ac_link_default"
4187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188 *) ac_try_echo=$ac_try;;
4190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4191 $as_echo "$ac_try_echo"; } >&5
4192 (eval "$ac_link_default") 2>&5
4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195 test $ac_status = 0; }; then :
4196 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4197 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4198 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4199 # so that the user can short-circuit this test for compilers unknown to
4201 for ac_file in $ac_files ''
4203 test -f "$ac_file" || continue
4205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4208 # We found the default executable, but exeext='' is most
4212 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4214 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4216 # We set ac_cv_exeext here because the later test for it is not
4217 # safe: cross compilers may not add the suffix if given an `-o'
4218 # argument, so we may need to know it at that point already.
4219 # Even if this section looks crufty: it has the advantage of
4226 test "$ac_cv_exeext" = no && ac_cv_exeext=
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4232 $as_echo "$ac_file" >&6; }
4233 if test -z "$ac_file"; then :
4234 $as_echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.$ac_ext >&5
4237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 { as_fn_set_status 77
4240 as_fn_error "C compiler cannot create executables
4241 See \`config.log' for more details." "$LINENO" 5; }; }
4243 ac_exeext=$ac_cv_exeext
4245 # Check that the compiler produces executables we can run. If not, either
4246 # the compiler is broken, or we cross compile.
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4248 $as_echo_n "checking whether the C compiler works... " >&6; }
4249 # If not cross compiling, check that we can run a simple program.
4250 if test "$cross_compiling" != yes; then
4251 if { ac_try='./$ac_file'
4252 { { case "(($ac_try" in
4253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4257 $as_echo "$ac_try_echo"; } >&5
4258 (eval "$ac_try") 2>&5
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }; }; then
4264 if test "$cross_compiling" = maybe; then
4267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4269 as_fn_error "cannot run C compiled programs.
4270 If you meant to cross compile, use \`--host'.
4271 See \`config.log' for more details." "$LINENO" 5; }
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4276 $as_echo "yes" >&6; }
4278 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4279 ac_clean_files=$ac_clean_files_save
4280 # Check that the compiler produces executables we can run. If not, either
4281 # the compiler is broken, or we cross compile.
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4283 $as_echo_n "checking whether we are cross compiling... " >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4285 $as_echo "$cross_compiling" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4288 $as_echo_n "checking for suffix of executables... " >&6; }
4289 if { { ac_try="$ac_link"
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4295 $as_echo "$ac_try_echo"; } >&5
4296 (eval "$ac_link") 2>&5
4298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }; then :
4300 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4301 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4302 # work properly (i.e., refer to `conftest.exe'), while it won't with
4304 for ac_file in conftest.exe conftest conftest.*; do
4305 test -f "$ac_file" || continue
4307 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4308 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4316 as_fn_error "cannot compute suffix of executables: cannot compile and link
4317 See \`config.log' for more details." "$LINENO" 5; }
4319 rm -f conftest$ac_cv_exeext
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4321 $as_echo "$ac_cv_exeext" >&6; }
4323 rm -f conftest.$ac_ext
4324 EXEEXT=$ac_cv_exeext
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4327 $as_echo_n "checking for suffix of object files... " >&6; }
4328 if test "${ac_cv_objext+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4342 rm -f conftest.o conftest.obj
4343 if { { ac_try="$ac_compile"
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4349 $as_echo "$ac_try_echo"; } >&5
4350 (eval "$ac_compile") 2>&5
4352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4353 test $ac_status = 0; }; then :
4354 for ac_file in conftest.o conftest.obj conftest.*; do
4355 test -f "$ac_file" || continue;
4357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4358 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4363 $as_echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4368 as_fn_error "cannot compute suffix of object files: cannot compile
4369 See \`config.log' for more details." "$LINENO" 5; }
4371 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4374 $as_echo "$ac_cv_objext" >&6; }
4375 OBJEXT=$ac_cv_objext
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4378 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4379 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4380 $as_echo_n "(cached) " >&6
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4396 if ac_fn_c_try_compile "$LINENO"; then :
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4406 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4407 if test $ac_compiler_gnu = yes; then
4412 ac_test_CFLAGS=${CFLAGS+set}
4413 ac_save_CFLAGS=$CFLAGS
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4415 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4416 if test "${ac_cv_prog_cc_g+set}" = set; then :
4417 $as_echo_n "(cached) " >&6
4419 ac_save_c_werror_flag=$ac_c_werror_flag
4420 ac_c_werror_flag=yes
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4434 if ac_fn_c_try_compile "$LINENO"; then :
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4449 if ac_fn_c_try_compile "$LINENO"; then :
4452 ac_c_werror_flag=$ac_save_c_werror_flag
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4465 if ac_fn_c_try_compile "$LINENO"; then :
4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4473 ac_c_werror_flag=$ac_save_c_werror_flag
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4476 $as_echo "$ac_cv_prog_cc_g" >&6; }
4477 if test "$ac_test_CFLAGS" = set; then
4478 CFLAGS=$ac_save_CFLAGS
4479 elif test $ac_cv_prog_cc_g = yes; then
4480 if test "$GCC" = yes; then
4486 if test "$GCC" = yes; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4493 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4494 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4497 ac_cv_prog_cc_c89=no
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4503 #include <sys/types.h>
4504 #include <sys/stat.h>
4505 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4506 struct buf { int x; };
4507 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4508 static char *e (p, i)
4514 static char *f (char * (*g) (char **, int), char **p, ...)
4519 s = g (p, va_arg (v,int));
4524 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4525 function prototypes and stuff, but not '\xHH' hex character constants.
4526 These don't provoke an error unfortunately, instead are silently treated
4527 as 'x'. The following induces an error, until -std is added to get
4528 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4529 array size at least. It's necessary to write '\x00'==0 to get something
4530 that's true only with -std. */
4531 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4533 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4534 inside strings and character constants. */
4536 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4538 int test (int i, double x);
4539 struct s1 {int (*f) (int a);};
4540 struct s2 {int (*f) (double a);};
4541 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4547 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4552 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4553 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4555 CC="$ac_save_CC $ac_arg"
4556 if ac_fn_c_try_compile "$LINENO"; then :
4557 ac_cv_prog_cc_c89=$ac_arg
4559 rm -f core conftest.err conftest.$ac_objext
4560 test "x$ac_cv_prog_cc_c89" != "xno" && break
4562 rm -f conftest.$ac_ext
4567 case "x$ac_cv_prog_cc_c89" in
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4570 $as_echo "none needed" >&6; } ;;
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4573 $as_echo "unsupported" >&6; } ;;
4575 CC="$CC $ac_cv_prog_cc_c89"
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4577 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4579 if test "x$ac_cv_prog_cc_c89" != xno; then :
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4590 ac_cpp='$CXXCPP $CPPFLAGS'
4591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4594 if test -z "$CXX"; then
4595 if test -n "$CCC"; then
4598 if test -n "$ac_tool_prefix"; then
4599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_CXX+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$CXX"; then
4609 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 if test -n "$CXX"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4631 $as_echo "$CXX" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$CXX" && break
4641 if test -z "$CXX"; then
4643 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy $ac_prog; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$ac_ct_CXX"; then
4653 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4662 ac_cv_prog_ac_ct_CXX="$ac_prog"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4673 if test -n "$ac_ct_CXX"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4675 $as_echo "$ac_ct_CXX" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4682 test -n "$ac_ct_CXX" && break
4685 if test "x$ac_ct_CXX" = x; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned=yes ;;
4700 # Provide some information about the compiler.
4701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4704 for ac_option in --version -v -V -qversion; do
4705 { { ac_try="$ac_compiler $ac_option >&5"
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4714 if test -s conftest.err; then
4716 ... rest of stderr output deleted ...
4717 10q' conftest.err >conftest.er1
4718 cat conftest.er1 >&5
4719 rm -f conftest.er1 conftest.err
4721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4722 test $ac_status = 0; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4726 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4727 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4744 if ac_fn_cxx_try_compile "$LINENO"; then :
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4754 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4755 if test $ac_compiler_gnu = yes; then
4760 ac_test_CXXFLAGS=${CXXFLAGS+set}
4761 ac_save_CXXFLAGS=$CXXFLAGS
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4763 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4764 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4768 ac_cxx_werror_flag=yes
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_cxx_try_compile "$LINENO"; then :
4783 ac_cv_prog_cxx_g=yes
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4797 if ac_fn_cxx_try_compile "$LINENO"; then :
4800 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4813 if ac_fn_cxx_try_compile "$LINENO"; then :
4814 ac_cv_prog_cxx_g=yes
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4824 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4825 if test "$ac_test_CXXFLAGS" = set; then
4826 CXXFLAGS=$ac_save_CXXFLAGS
4827 elif test $ac_cv_prog_cxx_g = yes; then
4828 if test "$GXX" = yes; then
4834 if test "$GXX" = yes; then
4841 ac_cpp='$CPP $CPPFLAGS'
4842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4847 # We must set the default linker to the linker used by gcc for the correct
4848 # operation of libtool. If LD is not defined and we are using gcc, try to
4849 # set the LD default to the ld used by gcc.
4850 if test -z "$LD"; then
4851 if test "$GCC" = yes; then
4854 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4856 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4858 case $gcc_prog_ld in
4859 # Accept absolute paths.
4860 [\\/]* | [A-Za-z]:[\\/]*)
4861 LD="$gcc_prog_ld" ;;
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4871 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$GNATBIND"; then
4878 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 GNATBIND=$ac_cv_prog_GNATBIND
4898 if test -n "$GNATBIND"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4900 $as_echo "$GNATBIND" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_GNATBIND"; then
4909 ac_ct_GNATBIND=$GNATBIND
4910 # Extract the first word of "gnatbind", so it can be a program name with args.
4911 set dummy gnatbind; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$ac_ct_GNATBIND"; then
4918 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4938 if test -n "$ac_ct_GNATBIND"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4940 $as_echo "$ac_ct_GNATBIND" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_GNATBIND" = x; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned=yes ;;
4955 GNATBIND=$ac_ct_GNATBIND
4958 GNATBIND="$ac_cv_prog_GNATBIND"
4961 if test -n "$ac_tool_prefix"; then
4962 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4963 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$GNATMAKE"; then
4970 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 GNATMAKE=$ac_cv_prog_GNATMAKE
4990 if test -n "$GNATMAKE"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4992 $as_echo "$GNATMAKE" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
5000 if test -z "$ac_cv_prog_GNATMAKE"; then
5001 ac_ct_GNATMAKE=$GNATMAKE
5002 # Extract the first word of "gnatmake", so it can be a program name with args.
5003 set dummy gnatmake; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$ac_ct_GNATMAKE"; then
5010 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
5030 if test -n "$ac_ct_GNATMAKE"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5032 $as_echo "$ac_ct_GNATMAKE" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5038 if test "x$ac_ct_GNATMAKE" = x; then
5041 case $cross_compiling:$ac_tool_warned in
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5045 ac_tool_warned=yes ;;
5047 GNATMAKE=$ac_ct_GNATMAKE
5050 GNATMAKE="$ac_cv_prog_GNATMAKE"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5054 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5055 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5058 cat >conftest.adb <<EOF
5059 procedure conftest is begin null; end conftest;
5061 acx_cv_cc_gcc_supports_ada=no
5062 # There is a bug in old released versions of GCC which causes the
5063 # driver to exit successfully when the appropriate language module
5064 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5065 # Therefore we must check for the error message as well as an
5066 # unsuccessful exit.
5067 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5068 # given a .adb file, but produce no object file. So we must check
5069 # if an object file was really produced to guard against this.
5070 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5071 if test x"$errors" = x && test -f conftest.$ac_objext; then
5072 acx_cv_cc_gcc_supports_ada=yes
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5077 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5079 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5086 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5087 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5088 $as_echo_n "(cached) " >&6
5092 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5093 if cmp t1 t2 2 2 > /dev/null 2>&1; then
5094 if cmp t1 t2 1 1 > /dev/null 2>&1; then
5097 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
5100 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
5101 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
5104 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5111 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5112 do_compare="$gcc_cv_prog_cmp_skip"
5116 # See if we are building gcc with C++.
5117 # Check whether --enable-build-with-cxx was given.
5118 if test "${enable_build_with_cxx+set}" = set; then :
5119 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
5121 ENABLE_BUILD_WITH_CXX=no
5125 # Used for setting $lt_cv_objdir
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5127 $as_echo_n "checking for objdir... " >&6; }
5128 if test "${lt_cv_objdir+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5131 rm -f .libs 2>/dev/null
5132 mkdir .libs 2>/dev/null
5133 if test -d .libs; then
5136 # MS-DOS does not allow filenames that begin with a dot.
5139 rmdir .libs 2>/dev/null
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5142 $as_echo "$lt_cv_objdir" >&6; }
5143 objdir=$lt_cv_objdir
5149 cat >>confdefs.h <<_ACEOF
5150 #define LT_OBJDIR "$lt_cv_objdir/"
5155 # Check for GMP, MPFR and MPC
5156 gmplibs="-lmpc -lmpfr -lgmp"
5160 # Specify a location for mpc
5161 # check for this first so it ends up on the link line before mpfr.
5163 # Check whether --with-mpc was given.
5164 if test "${with_mpc+set}" = set; then :
5169 # Check whether --with-mpc-include was given.
5170 if test "${with_mpc_include+set}" = set; then :
5171 withval=$with_mpc_include;
5175 # Check whether --with-mpc-lib was given.
5176 if test "${with_mpc_lib+set}" = set; then :
5177 withval=$with_mpc_lib;
5181 if test "x$with_mpc" != x; then
5182 gmplibs="-L$with_mpc/lib $gmplibs"
5183 gmpinc="-I$with_mpc/include $gmpinc"
5185 if test "x$with_mpc_include" != x; then
5186 gmpinc="-I$with_mpc_include $gmpinc"
5188 if test "x$with_mpc_lib" != x; then
5189 gmplibs="-L$with_mpc_lib $gmplibs"
5191 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
5192 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5193 gmpinc='-I$$s/mpc/src '"$gmpinc"
5194 # Do not test the mpc version. Assume that it is sufficient, since
5195 # it is in the source tree, and the library has not been built yet
5196 # but it would be included on the link line in the version check below
5197 # hence making the test fail.
5201 # Specify a location for mpfr
5202 # check for this first so it ends up on the link line before gmp.
5204 # Check whether --with-mpfr-dir was given.
5205 if test "${with_mpfr_dir+set}" = set; then :
5206 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5207 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5212 # Check whether --with-mpfr was given.
5213 if test "${with_mpfr+set}" = set; then :
5218 # Check whether --with-mpfr-include was given.
5219 if test "${with_mpfr_include+set}" = set; then :
5220 withval=$with_mpfr_include;
5224 # Check whether --with-mpfr-lib was given.
5225 if test "${with_mpfr_lib+set}" = set; then :
5226 withval=$with_mpfr_lib;
5230 if test "x$with_mpfr" != x; then
5231 gmplibs="-L$with_mpfr/lib $gmplibs"
5232 gmpinc="-I$with_mpfr/include $gmpinc"
5234 if test "x$with_mpfr_include" != x; then
5235 gmpinc="-I$with_mpfr_include $gmpinc"
5237 if test "x$with_mpfr_lib" != x; then
5238 gmplibs="-L$with_mpfr_lib $gmplibs"
5240 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5241 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5242 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5243 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5244 # Do not test the mpfr version. Assume that it is sufficient, since
5245 # it is in the source tree, and the library has not been built yet
5246 # but it would be included on the link line in the version check below
5247 # hence making the test fail.
5251 # Specify a location for gmp
5253 # Check whether --with-gmp-dir was given.
5254 if test "${with_gmp_dir+set}" = set; then :
5255 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5256 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5261 # Check whether --with-gmp was given.
5262 if test "${with_gmp+set}" = set; then :
5267 # Check whether --with-gmp-include was given.
5268 if test "${with_gmp_include+set}" = set; then :
5269 withval=$with_gmp_include;
5273 # Check whether --with-gmp-lib was given.
5274 if test "${with_gmp_lib+set}" = set; then :
5275 withval=$with_gmp_lib;
5280 if test "x$with_gmp" != x; then
5281 gmplibs="-L$with_gmp/lib $gmplibs"
5282 gmpinc="-I$with_gmp/include $gmpinc"
5284 if test "x$with_gmp_include" != x; then
5285 gmpinc="-I$with_gmp_include $gmpinc"
5287 if test "x$with_gmp_lib" != x; then
5288 gmplibs="-L$with_gmp_lib $gmplibs"
5290 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5291 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5292 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5293 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5294 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5295 # Do not test the gmp version. Assume that it is sufficient, since
5296 # it is in the source tree, and the library has not been built yet
5297 # but it would be included on the link line in the version check below
5298 # hence making the test fail.
5302 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5304 saved_CFLAGS="$CFLAGS"
5305 CFLAGS="$CFLAGS $gmpinc"
5306 # Check for the recommended and required versions of GMP.
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5308 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5317 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5318 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5319 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5327 if ac_fn_c_try_compile "$LINENO"; then :
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5335 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5336 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5337 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5345 if ac_fn_c_try_compile "$LINENO"; then :
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5347 $as_echo "yes" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5350 $as_echo "buggy but acceptable" >&6; }
5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }; have_gmp=no
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 # If we have GMP, check the MPFR version.
5360 if test x"$have_gmp" = xyes; then
5361 # Check for the recommended and required versions of MPFR.
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5363 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5372 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5380 if ac_fn_c_try_compile "$LINENO"; then :
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5389 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5397 if ac_fn_c_try_compile "$LINENO"; then :
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5399 $as_echo "yes" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5402 $as_echo "buggy but acceptable" >&6; }
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }; have_gmp=no
5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412 # Check for the MPC header version.
5413 if test x"$have_gmp" = xyes ; then
5414 # Check for the recommended and required versions of MPC.
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5416 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5424 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5432 if ac_fn_c_try_compile "$LINENO"; then :
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5440 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5448 if ac_fn_c_try_compile "$LINENO"; then :
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 $as_echo "yes" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5453 $as_echo "buggy but acceptable" >&6; }
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }; have_gmp=no
5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5463 # Now check the MPFR library.
5464 if test x"$have_gmp" = xyes; then
5466 LIBS="$LIBS $gmplibs"
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5468 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5482 mpfr_atan2 (n, n, x, GMP_RNDN);
5483 mpfr_erfc (n, x, GMP_RNDN);
5484 mpfr_subnormalize (x, t, GMP_RNDN);
5488 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5489 mpc_cosh (c, c, MPC_RNDNN);
5490 mpc_pow (c, c, c, MPC_RNDNN);
5491 mpc_acosh (c, c, MPC_RNDNN);
5498 if ac_fn_c_try_link "$LINENO"; then :
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5500 $as_echo "yes" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }; have_gmp=no
5505 rm -f core conftest.err conftest.$ac_objext \
5506 conftest$ac_exeext conftest.$ac_ext
5510 CFLAGS="$saved_CFLAGS"
5512 # The library versions listed in the error message below should match
5513 # the HARD-minimums enforced above.
5514 if test x$have_gmp != xyes; then
5515 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5516 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5517 their locations. Source code for these libraries can be found at
5518 their respective hosting sites as well as at
5519 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5520 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5521 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5522 make sure that you have installed both the libraries and the header
5523 files. They may be located in separate packages." "$LINENO" 5
5527 # Flags needed for both GMP, MPFR and/or MPC.
5534 # Allow host libstdc++ to be specified for static linking with PPL.
5536 # Check whether --with-host-libstdcxx was given.
5537 if test "${with_host_libstdcxx+set}" = set; then :
5538 withval=$with_host_libstdcxx;
5542 case $with_host_libstdcxx in
5544 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5548 # Linker flags to use for stage1 or when not boostrapping.
5550 # Check whether --with-stage1-ldflags was given.
5551 if test "${with_stage1_ldflags+set}" = set; then :
5552 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5555 stage1_ldflags=$withval
5563 # Libraries to use for stage1 or when not bootstrapping.
5565 # Check whether --with-stage1-libs was given.
5566 if test "${with_stage1_libs+set}" = set; then :
5567 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5570 stage1_libs=$withval
5573 stage1_libs=$with_host_libstdcxx
5578 # Libraries to use for stage2 and later builds. This defaults to the
5579 # argument passed to --with-host-libstdcxx.
5581 # Check whether --with-boot-libs was given.
5582 if test "${with_boot_libs+set}" = set; then :
5583 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5586 poststage1_libs=$withval
5589 poststage1_libs=$with_host_libstdcxx
5594 # Linker flags to use for stage2 and later builds.
5596 # Check whether --with-boot-ldflags was given.
5597 if test "${with_boot_ldflags+set}" = set; then :
5598 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5601 poststage1_ldflags=$withval
5605 # With --enable-build-with-cxx, default to linking libstdc++ and
5606 # libgcc statically. But if the user explicitly specified the
5607 # libraries to use, trust that they are doing what they want.
5608 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5609 poststage1_ldflags="-static-libstdc++ -static-libgcc"
5616 ppllibs=" -lppl_c -lppl -lgmpxx"
5620 # Check whether --with-ppl was given.
5621 if test "${with_ppl+set}" = set; then :
5626 # Check whether --with-ppl-include was given.
5627 if test "${with_ppl_include+set}" = set; then :
5628 withval=$with_ppl_include;
5632 # Check whether --with-ppl-lib was given.
5633 if test "${with_ppl_lib+set}" = set; then :
5634 withval=$with_ppl_lib;
5645 ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5646 pplinc="-I$with_ppl/include $pplinc"
5649 if test "x$with_ppl_include" != x; then
5650 pplinc="-I$with_ppl_include $pplinc"
5652 if test "x$with_ppl_lib" != x; then
5653 ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5655 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
5656 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5657 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5658 enable_ppl_version_check=no
5661 # Check whether --enable-ppl-version-check was given.
5662 if test "${enable_ppl_version_check+set}" = set; then :
5663 enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval
5665 ENABLE_PPL_CHECK=yes
5669 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5670 saved_CFLAGS="$CFLAGS"
5671 CFLAGS="$CFLAGS $pplinc $gmpinc"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5673 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5675 /* end confdefs.h. */
5681 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5689 if ac_fn_c_try_compile "$LINENO"; then :
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5691 $as_echo "yes" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }; ppllibs= ; pplinc= ; with_ppl=no
5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5697 CFLAGS="$saved_CFLAGS"
5700 # Flags needed for PPL
5709 # Check whether --with-cloog was given.
5710 if test "${with_cloog+set}" = set; then :
5711 withval=$with_cloog;
5715 # Check whether --with-cloog-include was given.
5716 if test "${with_cloog_include+set}" = set; then :
5717 withval=$with_cloog_include;
5721 # Check whether --with-cloog-lib was given.
5722 if test "${with_cloog_lib+set}" = set; then :
5723 withval=$with_cloog_lib;
5727 # Check whether --enable-cloog-backend was given.
5728 if test "${enable_cloog_backend+set}" = set; then :
5729 enableval=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5731 elif test "x${enableval}" = "xppl"; then
5734 cloog_backend=ppl-legacy
5737 cloog_backend=ppl-legacy
5740 # Check whether --enable-cloog-version-check was given.
5741 if test "${enable_cloog_version_check+set}" = set; then :
5742 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5744 ENABLE_CLOOG_CHECK=yes
5748 # Initialize clooglibs and clooginc.
5757 clooglibs="-L$with_cloog/lib"
5758 clooginc="-I$with_cloog/include"
5761 if test "x${with_cloog_include}" != x ; then
5762 clooginc="-I$with_cloog_include"
5764 if test "x${with_cloog_lib}" != x; then
5765 clooglibs="-L$with_cloog_lib"
5772 if test "x$with_ppl" = "xno"; then
5775 if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
5776 && test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
5777 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5778 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5780 if test "x$with_cloog" != "xno"; then
5784 _cloog_saved_CFLAGS=$CFLAGS
5785 _cloog_saved_CPPFLAGS=$CPPFLAGS
5786 _cloog_saved_LDFLAGS=$LDFLAGS
5787 _cloog_saved_LIBS=$LIBS
5789 _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG"
5791 CFLAGS="${CFLAGS} ${clooginc} ${gmpinc}"
5792 CPPFLAGS="${CPPFLAGS} ${_cloogorginc}"
5793 LDFLAGS="${LDFLAGS} ${clooglibs}"
5795 case $cloog_backend in
5797 CFLAGS="${CFLAGS} ${pplinc}"
5798 LDFLAGS="${LDFLAGS} ${ppllibs}"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5800 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5801 if test "${gcc_cv_cloog_type+set}" = set; then :
5802 $as_echo_n "(cached) " >&6
5804 LIBS="-lcloog ${_cloog_saved_LIBS}"
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5807 #include "cloog/cloog.h"
5811 #ifndef CLOOG_PPL_BACKEND
5818 if ac_fn_c_try_link "$LINENO"; then :
5819 gcc_cv_cloog_type="PPL Legacy"
5821 gcc_cv_cloog_type=no
5823 rm -f core conftest.err conftest.$ac_objext \
5824 conftest$ac_exeext conftest.$ac_ext
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5827 $as_echo "$gcc_cv_cloog_type" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5831 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5832 if test "${gcc_cv_cloog_type+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5835 LIBS="-lcloog-isl ${_cloog_saved_LIBS}"
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5838 #include "cloog/cloog.h"
5847 if ac_fn_c_try_link "$LINENO"; then :
5848 gcc_cv_cloog_type="ISL"
5850 gcc_cv_cloog_type=no
5852 rm -f core conftest.err conftest.$ac_objext \
5853 conftest$ac_exeext conftest.$ac_ext
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5856 $as_echo "$gcc_cv_cloog_type" >&6; }
5859 CFLAGS="${CFLAGS} ${pplinc}"
5860 LDFLAGS="${LDFLAGS} ${ppllibs}"
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5862 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5863 if test "${gcc_cv_cloog_type+set}" = set; then :
5864 $as_echo_n "(cached) " >&6
5866 LIBS="-lcloog-ppl ${_cloog_saved_LIBS}"
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 #include "cloog/cloog.h"
5870 #include "cloog/ppl/cloog.h"
5879 if ac_fn_c_try_link "$LINENO"; then :
5880 gcc_cv_cloog_type="PPL"
5882 gcc_cv_cloog_type=no
5884 rm -f core conftest.err conftest.$ac_objext \
5885 conftest$ac_exeext conftest.$ac_ext
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5888 $as_echo "$gcc_cv_cloog_type" >&6; }
5891 gcc_cv_cloog_type=""
5894 case $gcc_cv_cloog_type in
5896 clooginc="${clooginc}"
5897 clooglibs="${clooglibs} -lcloog"
5901 clooginc="${clooginc} ${_cloogorginc}"
5902 clooglibs="${clooglibs} -lcloog-isl"
5906 clooginc="${clooginc} ${_cloogorginc}"
5907 clooglibs="${clooglibs} -lcloog-ppl"
5917 LIBS=$_cloog_saved_LIBS
5918 CFLAGS=$_cloog_saved_CFLAGS
5919 CPPFLAGS=$_cloog_saved_CPPFLAGS
5920 LDFLAGS=$_cloog_saved_LDFLAGS
5926 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5927 _cloog_saved_CFLAGS=$CFLAGS
5928 _cloog_saved_LDFLAGS=$LDFLAGS
5930 CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5931 LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5933 if test "${cloog_org}" = yes ; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5935 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5936 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5941 #include "cloog/cloog.h"
5945 #if CLOOG_VERSION_MAJOR != 0 \
5946 || CLOOG_VERSION_MINOR != 14 \
5947 || CLOOG_VERSION_REVISION < 0
5954 if ac_fn_c_try_compile "$LINENO"; then :
5955 gcc_cv_cloog_ct_0_14_0=yes
5957 gcc_cv_cloog_ct_0_14_0=no
5959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5962 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5963 elif test "${cloog_org}" = no ; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5965 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5966 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5967 $as_echo_n "(cached) " >&6
5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 #include "cloog/cloog.h"
5975 #if CLOOG_VERSION_MAJOR != 0 \
5976 || CLOOG_VERSION_MINOR != 15 \
5977 || CLOOG_VERSION_REVISION < 5
5984 if ac_fn_c_try_compile "$LINENO"; then :
5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5987 #include "cloog/cloog.h"
5991 #if CLOOG_VERSION_MAJOR != 0 \
5992 || CLOOG_VERSION_MINOR != 15 \
5993 || CLOOG_VERSION_REVISION < 9
6000 if ac_fn_c_try_compile "$LINENO"; then :
6001 gcc_cv_cloog_ct_0_15_5=yes
6003 gcc_cv_cloog_ct_0_15_5="buggy but acceptable"
6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6007 gcc_cv_cloog_ct_0_15_5=no
6009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6012 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6015 CFLAGS=$_cloog_saved_CFLAGS
6016 LDFLAGS=$_cloog_saved_LDFLAGS
6025 if test "x${with_cloog}" != x \
6026 || test "x${with_cloog_include}" != x \
6027 || test "x${with_cloog_lib}" != x ; then
6028 graphite_requested=yes
6030 graphite_requested=no
6035 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6036 || test "${gcc_cv_cloog_rt_0_14_0}" = no \
6037 || test "${gcc_cv_cloog_ct_0_15_5}" = no; then
6042 if test "${graphite_requested}" = yes \
6043 && test "x${clooglibs}" = x \
6044 && test "x${clooginc}" = x ; then
6046 as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6052 # Check for LTO support.
6053 # Check whether --enable-lto was given.
6054 if test "${enable_lto+set}" = set; then :
6055 enableval=$enable_lto; enable_lto=$enableval
6057 enable_lto=yes; default_enable_lto=yes
6066 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
6067 *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
6068 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
6076 if test $target_elf = yes; then :
6077 # ELF platforms build the lto-plugin always.
6078 build_lto_plugin=yes
6081 if test x"$default_enable_lto" = x"yes" ; then
6083 *-apple-darwin* | *-cygwin* | *-mingw*) ;;
6084 # On other non-ELF platforms, LTO has yet to be validated.
6088 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6089 # It would also be nice to check the binutils support, but we don't
6090 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6091 # warn during gcc/ subconfigure; unless you're bootstrapping with
6092 # -flto it won't be needed until after installation anyway.
6094 *-cygwin* | *-mingw* | *-apple-darwin*) ;;
6095 *) if test x"$enable_lto" = x"yes"; then
6096 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
6101 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6102 # Build it unless LTO was explicitly disabled.
6104 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
6112 # By default, C is the only stage 1 language.
6113 stage1_languages=,c,
6115 # Target libraries that we bootstrap.
6116 bootstrap_target_libs=,target-libgcc,
6118 # Figure out what language subdirectories are present.
6119 # Look if the user specified --enable-languages="..."; if not, use
6120 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6122 # NB: embedded tabs in this IF block -- do not untabify
6123 if test -d ${srcdir}/gcc; then
6124 if test x"${enable_languages+set}" != xset; then
6125 if test x"${LANGUAGES+set}" = xset; then
6126 enable_languages="${LANGUAGES}"
6127 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
6129 enable_languages=all
6132 if test x"${enable_languages}" = x ||
6133 test x"${enable_languages}" = xyes;
6135 echo configure.in: --enable-languages needs at least one language argument 1>&2
6139 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6141 # 'f95' is the old name for the 'fortran' language. We issue a warning
6142 # and make the substitution.
6143 case ,${enable_languages}, in
6145 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
6146 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6150 # First scan to see if an enabled language requires some other language.
6151 # We assume that a given config-lang.in will list all the language
6152 # front ends it requires, even if some are required indirectly.
6153 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6154 case ${lang_frag} in
6156 # The odd quoting in the next line works around
6157 # an apparent bug in bash 1.12 on linux.
6158 ${srcdir}/gcc/[*]/config-lang.in) ;;
6160 # From the config-lang.in, get $language, $lang_requires, and
6161 # $lang_requires_boot_languages.
6164 lang_requires_boot_languages=
6166 for other in ${lang_requires} ${lang_requires_boot_languages}; do
6167 case ,${enable_languages}, in
6171 echo " \`$other' language required by \`$language'; enabling" 1>&2
6172 enable_languages="${enable_languages},${other}"
6176 for other in ${lang_requires_boot_languages} ; do
6177 if test "$other" != "c"; then
6178 case ,${enable_stage1_languages}, in
6182 case ,${enable_languages}, in
6184 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6185 enable_stage1_languages="$enable_stage1_languages,${other}"
6196 new_enable_languages=,c,
6198 # If LTO is enabled, add the LTO front end.
6199 extra_host_libiberty_configure_flags=
6200 if test "$enable_lto" = "yes" ; then
6201 case ,${enable_languages}, in
6203 *) enable_languages="${enable_languages},lto" ;;
6205 if test "${build_lto_plugin}" = "yes" ; then
6206 configdirs="$configdirs lto-plugin"
6207 extra_host_libiberty_configure_flags=--enable-shared
6212 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6213 potential_languages=,c,
6215 enabled_target_libs=
6216 disabled_target_libs=
6218 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6219 case ${lang_frag} in
6221 # The odd quoting in the next line works around
6222 # an apparent bug in bash 1.12 on linux.
6223 ${srcdir}/gcc/[*]/config-lang.in) ;;
6225 # From the config-lang.in, get $language, $target_libs,
6226 # $lang_dirs, $boot_language, and $build_by_default
6232 build_by_default=yes
6234 if test x${language} = x; then
6235 echo "${lang_frag} doesn't set \$language." 1>&2
6239 if test "$language" = "c++" \
6240 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6244 case ,${enable_languages}, in
6246 # Language was explicitly selected; include it.
6250 # 'all' was selected, select it if it is a default language
6251 add_this_lang=${build_by_default}
6258 # Disable languages that need other directories if these aren't available.
6259 for i in $subdir_requires; do
6260 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6261 case ,${enable_languages}, in
6263 # Specifically requested language; tell them.
6264 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6268 add_this_lang=unsupported
6273 # Disable Ada if no preexisting GNAT is available.
6274 case ,${enable_languages},:${language}:${have_gnat} in
6275 *,${language},*:ada:no)
6276 # Specifically requested language; tell them.
6277 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6281 add_this_lang=unsupported
6285 # Disable a language that is unsupported by the target.
6286 case " $unsupported_languages " in
6288 add_this_lang=unsupported
6292 case $add_this_lang in
6294 # Remove language-dependent dirs.
6295 disabled_target_libs="$disabled_target_libs $target_libs"
6296 noconfigdirs="$noconfigdirs $lang_dirs"
6299 # Remove language-dependent dirs; still show language as supported.
6300 disabled_target_libs="$disabled_target_libs $target_libs"
6301 noconfigdirs="$noconfigdirs $lang_dirs"
6302 potential_languages="${potential_languages}${language},"
6305 new_enable_languages="${new_enable_languages}${language},"
6306 potential_languages="${potential_languages}${language},"
6307 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6308 enabled_target_libs="$enabled_target_libs $target_libs"
6309 case "${boot_language}:,$enable_stage1_languages," in
6310 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6311 # Add to (comma-separated) list of stage 1 languages.
6312 case ",$stage1_languages," in
6313 *,$language,* | ,yes, | ,all,) ;;
6314 *) stage1_languages="${stage1_languages}${language}," ;;
6316 # We need to bootstrap any supporting libraries.
6317 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6326 # Add target libraries which are only needed for disabled languages
6328 if test -n "$disabled_target_libs"; then
6329 for dir in $disabled_target_libs; do
6330 case " $enabled_target_libs " in
6332 *) noconfigdirs="$noconfigdirs $dir" ;;
6337 # Check whether --enable-stage1-languages was given.
6338 if test "${enable_stage1_languages+set}" = set; then :
6339 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6341 # Set it to something that will have no effect in the loop below
6342 enable_stage1_languages=c ;;
6344 enable_stage1_languages=`echo $new_enable_languages | \
6345 sed -e "s/^,//" -e "s/,$//" ` ;;
6347 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6348 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6351 # Add "good" languages from enable_stage1_languages to stage1_languages,
6352 # while "bad" languages go in missing_languages. Leave no duplicates.
6353 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6354 case $potential_languages in
6356 case $stage1_languages in
6358 *) stage1_languages="$stage1_languages$i," ;;
6361 case $missing_languages in
6363 *) missing_languages="$missing_languages$i," ;;
6370 # Remove leading/trailing commas that were added for simplicity
6371 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6372 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6373 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6374 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6376 if test "x$missing_languages" != x; then
6378 The following requested languages could not be built: ${missing_languages}
6379 Supported languages are: ${potential_languages}" "$LINENO" 5
6381 if test "x$new_enable_languages" != "x$enable_languages"; then
6382 echo The following languages will be built: ${new_enable_languages}
6383 enable_languages="$new_enable_languages"
6387 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6390 # Handle --disable-<component> generically.
6391 for dir in $configdirs $build_configdirs $target_configdirs ; do
6392 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6393 varname=`echo $dirname | sed -e s/+/_/g`
6394 if eval test x\${enable_${varname}} "=" xno ; then
6395 noconfigdirs="$noconfigdirs $dir"
6399 # Check for Boehm's garbage collector
6400 # Check whether --enable-objc-gc was given.
6401 if test "${enable_objc_gc+set}" = set; then :
6402 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6403 *,objc,*:*:yes:*target-boehm-gc*)
6404 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6410 # Make sure we only build Boehm's garbage collector if required.
6411 case ,${enable_languages},:${enable_objc_gc} in
6413 # Keep target-boehm-gc if requested for Objective-C.
6416 # Otherwise remove target-boehm-gc depending on target-libjava.
6417 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6418 noconfigdirs="$noconfigdirs target-boehm-gc"
6423 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6424 # $build_configdirs and $target_configdirs.
6425 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6428 for dir in . $skipdirs $noconfigdirs ; do
6429 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6430 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6431 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6432 if test -r $srcdir/$dirname/configure ; then
6433 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6436 notsupp="$notsupp $dir"
6440 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6441 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6442 if test -r $srcdir/$dirname/configure ; then
6443 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6446 notsupp="$notsupp $dir"
6450 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6451 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6452 if test -r $srcdir/$dirname/configure ; then
6453 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6456 notsupp="$notsupp $dir"
6462 # Sometimes the tools are distributed with libiberty but with no other
6463 # libraries. In that case, we don't want to build target-libiberty.
6464 # Don't let libgcc imply libiberty either.
6465 if test -n "${target_configdirs}" ; then
6468 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6469 if test "$i" = "libgcc"; then
6470 libgcc=target-libgcc
6471 elif test "$i" != "libiberty" ; then
6472 if test -r $srcdir/$i/configure ; then
6478 if test -z "${others}" ; then
6479 target_configdirs=$libgcc
6483 # Quietly strip out all directories which aren't configurable in this tree.
6484 # This relies on all configurable subdirectories being autoconfiscated, which
6486 build_configdirs_all="$build_configdirs"
6488 for i in ${build_configdirs_all} ; do
6489 j=`echo $i | sed -e s/build-//g`
6490 if test -f ${srcdir}/$j/configure ; then
6491 build_configdirs="${build_configdirs} $i"
6495 configdirs_all="$configdirs"
6497 for i in ${configdirs_all} ; do
6498 if test -f ${srcdir}/$i/configure ; then
6499 configdirs="${configdirs} $i"
6503 target_configdirs_all="$target_configdirs"
6505 for i in ${target_configdirs_all} ; do
6506 j=`echo $i | sed -e s/target-//g`
6507 if test -f ${srcdir}/$j/configure ; then
6508 target_configdirs="${target_configdirs} $i"
6512 # Produce a warning message for the subdirs we can't configure.
6513 # This isn't especially interesting in the Cygnus tree, but in the individual
6514 # FSF releases, it's important to let people know when their machine isn't
6515 # supported by the one or two programs in a package.
6517 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6518 # If $appdirs is non-empty, at least one of those directories must still
6519 # be configured, or we error out. (E.g., if the gas release supports a
6520 # specified target in some subdirs but not the gas subdir, we shouldn't
6521 # pretend that all is well.)
6522 if test -n "$appdirs" ; then
6523 for dir in $appdirs ; do
6524 if test -r $dir/Makefile.in ; then
6525 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6529 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6535 if test -n "$appdirs" ; then
6536 echo "*** This configuration is not supported by this package." 1>&2
6540 # Okay, some application will build, or we don't care to check. Still
6541 # notify of subdirs not getting built.
6542 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6543 echo " ${notsupp}" 1>&2
6544 echo " (Any other directories should still work fine.)" 1>&2
6552 # To find our prefix, in gcc_cv_tool_prefix.
6554 # The user is always right.
6555 if test "${PATH_SEPARATOR+set}" != set; then
6556 echo "#! /bin/sh" >conf$$.sh
6557 echo "exit 0" >>conf$$.sh
6559 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6569 if test "x$exec_prefix" = xNONE; then
6570 if test "x$prefix" = xNONE; then
6571 gcc_cv_tool_prefix=$ac_default_prefix
6573 gcc_cv_tool_prefix=$prefix
6576 gcc_cv_tool_prefix=$exec_prefix
6579 # If there is no compiler in the tree, use the PATH only. In any
6580 # case, if there is no compiler in the tree nobody should use
6581 # AS_FOR_TARGET and LD_FOR_TARGET.
6582 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6583 gcc_version=`cat $srcdir/gcc/BASE-VER`
6584 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6585 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6586 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6587 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6588 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6589 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6594 if test x$build = x$target && test -n "$md_exec_prefix"; then
6595 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6603 # Check whether --with-build-sysroot was given.
6604 if test "${with_build_sysroot+set}" = set; then :
6605 withval=$with_build_sysroot; if test x"$withval" != x ; then
6606 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6609 SYSROOT_CFLAGS_FOR_TARGET=
6615 # Check whether --with-debug-prefix-map was given.
6616 if test "${with_debug_prefix_map+set}" = set; then :
6617 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6618 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6619 for debug_map in $withval; do
6620 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6624 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6629 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6630 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6631 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6632 # We want to ensure that TARGET libraries (which we know are built with
6633 # gcc) are built with "-O2 -g", so include those options when setting
6634 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6635 if test "x$CFLAGS_FOR_TARGET" = x; then
6636 CFLAGS_FOR_TARGET=$CFLAGS
6639 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6642 *" -g "* | *" -g3 "*) ;;
6643 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6648 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6649 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6650 case " $CXXFLAGS " in
6652 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6654 case " $CXXFLAGS " in
6655 *" -g "* | *" -g3 "*) ;;
6656 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6661 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6662 # the named directory are copied to $(tooldir)/sys-include.
6663 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6664 if test x${is_cross_compiler} = xno ; then
6665 echo 1>&2 '***' --with-headers is only supported when cross compiling
6668 if test x"${with_headers}" != xyes ; then
6669 x=${gcc_cv_tool_prefix}
6670 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6674 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6675 # the name directories are copied to $(tooldir)/lib. Multiple directories
6677 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6678 if test x${is_cross_compiler} = xno ; then
6679 echo 1>&2 '***' --with-libs is only supported when cross compiling
6682 if test x"${with_libs}" != xyes ; then
6683 # Copy the libraries in reverse order, so that files in the first named
6684 # library override files in subsequent libraries.
6685 x=${gcc_cv_tool_prefix}
6686 for l in ${with_libs}; do
6687 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6692 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6694 # This is done by determining whether or not the appropriate directory
6695 # is available, and by checking whether or not specific configurations
6696 # have requested that this magic not happen.
6698 # The command line options always override the explicit settings in
6699 # configure.in, and the settings in configure.in override this magic.
6701 # If the default for a toolchain is to use GNU as and ld, and you don't
6702 # want to do that, then you should use the --without-gnu-as and
6703 # --without-gnu-ld options for the configure script. Similarly, if
6704 # the default is to use the included zlib and you don't want to do that,
6705 # you should use the --with-system-zlib option for the configure script.
6707 if test x${use_gnu_as} = x &&
6708 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6710 extra_host_args="$extra_host_args --with-gnu-as"
6713 if test x${use_gnu_ld} = x &&
6714 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6716 extra_host_args="$extra_host_args --with-gnu-ld"
6719 if test x${use_included_zlib} = x &&
6720 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6723 with_system_zlib=yes
6724 extra_host_args="$extra_host_args --with-system-zlib"
6727 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6728 # can detect this case.
6730 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6732 extra_host_args="$extra_host_args --with-newlib"
6735 # Handle ${copy_dirs}
6736 set fnord ${copy_dirs}
6738 while test $# != 0 ; do
6739 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6742 echo Copying $1 to $2
6744 # Use the install script to create the directory and all required
6745 # parent directories.
6746 if test -d $2 ; then
6750 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6753 # Copy the directory, assuming we have tar.
6754 # FIXME: Should we use B in the second tar? Not all systems support it.
6755 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6757 # It is the responsibility of the user to correctly adjust all
6758 # symlinks. If somebody can figure out how to handle them correctly
6759 # here, feel free to add the code.
6766 # Determine a target-dependent exec_prefix that the installed
6767 # gcc will search in. Keep this list sorted by triplet, with
6768 # the *-*-osname triplets last.
6772 md_exec_prefix=/gnu/lib/gcc-lib
6774 i[34567]86-pc-msdosdjgpp*)
6775 md_exec_prefix=/dev/env/DJDIR/bin
6777 i[34567]86-*-sco3.2v5*)
6778 if test $with_gnu_as = yes; then
6779 md_exec_prefix=/usr/gnu/bin
6781 md_exec_prefix=/usr/ccs/bin/elf
6786 powerpc-*-chorusos* | \
6787 powerpc*-*-eabi* | \
6788 powerpc*-*-sysv* | \
6789 powerpc*-*-kaos* | \
6791 md_exec_prefix=/usr/ccs/bin
6796 md_exec_prefix=/usr/ccs/bin
6811 md_exec_prefix=/usr/ccs/bin
6815 extra_arflags_for_target=
6816 extra_nmflags_for_target=
6817 extra_ranlibflags_for_target=
6818 target_makefile_frag=/dev/null
6821 target_makefile_frag="config/mt-mep"
6824 target_makefile_frag="config/mt-spu"
6827 target_makefile_frag="config/mt-sde"
6829 mipsisa*-*-elfoabi*)
6830 target_makefile_frag="config/mt-mips-elfoabi"
6832 mips*-*-*linux* | mips*-*-gnu*)
6833 target_makefile_frag="config/mt-mips-gnu"
6836 target_makefile_frag="config/mt-netware"
6838 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6839 target_makefile_frag="config/mt-gnu"
6841 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6842 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6843 # commands to handle both 32-bit and 64-bit objects. These flags are
6844 # harmless if we're using GNU nm or ar.
6845 extra_arflags_for_target=" -X32_64"
6846 extra_nmflags_for_target=" -B -X32_64"
6849 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6850 extra_ranlibflags_for_target=" -c"
6852 mips*-*-pe | sh*-*-pe | *arm-wince-pe)
6853 target_makefile_frag="config/mt-wince"
6857 alphaieee_frag=/dev/null
6860 # This just makes sure to use the -mieee option to build target libs.
6861 # This should probably be set individually by each library.
6862 alphaieee_frag="config/mt-alphaieee"
6866 # If --enable-target-optspace always use -Os instead of -O2 to build
6867 # the target libraries, similarly if it is not specified, use -Os
6868 # on selected platforms.
6869 ospace_frag=/dev/null
6870 case "${enable_target_optspace}:${target}" in
6872 ospace_frag="config/mt-ospace"
6875 ospace_frag="config/mt-d30v"
6877 :m32r-* | :d10v-* | :fr30-*)
6878 ospace_frag="config/mt-ospace"
6883 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6887 # Default to using --with-stabs for certain targets.
6888 if test x${with_stabs} = x ; then
6892 mips*-*-* | alpha*-*-osf*)
6894 extra_host_args="${extra_host_args} --with-stabs"
6899 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6900 # them automatically.
6903 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6907 # Some systems (e.g., one of the i386-aix systems the gas testers are
6908 # using) don't handle "\$" correctly, so don't use it here.
6909 tooldir='${exec_prefix}'/${target_noncanonical}
6910 build_tooldir=${tooldir}
6912 # Create a .gdbinit file which runs the one in srcdir
6913 # and tells GDB to look there for source files.
6915 if test -r ${srcdir}/.gdbinit ; then
6918 *) cat > ./.gdbinit <<EOF
6922 source ${srcdir}/.gdbinit
6928 # Make sure that the compiler is able to generate an executable. If it
6929 # can't, we are probably in trouble. We don't care whether we can run the
6930 # executable--we might be using a cross compiler--we only care whether it
6931 # can be created. At this point the main configure script has set CC.
6933 echo "int main () { return 0; }" > conftest.c
6934 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6935 if test $? = 0 ; then
6936 if test -s conftest || test -s conftest.exe ; then
6942 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6943 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6950 # The Solaris /usr/ucb/cc compiler does not appear to work.
6952 sparc-sun-solaris2*)
6953 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
6954 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6956 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
6957 if test -d /opt/cygnus/bin ; then
6958 if test "$could_use" = "" ; then
6959 could_use="/opt/cygnus/bin"
6961 could_use="$could_use or /opt/cygnus/bin"
6964 if test "$could_use" = "" ; then
6965 echo "Warning: compilation may fail because you're using"
6966 echo "/usr/ucb/cc. You should change your PATH or CC "
6967 echo "variable and rerun configure."
6969 echo "Warning: compilation may fail because you're using"
6970 echo "/usr/ucb/cc, when you should use the C compiler from"
6971 echo "$could_use. You should change your"
6972 echo "PATH or CC variable and rerun configure."
6978 # Decide which environment variable is used to find dynamic libraries.
6980 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6981 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6982 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6983 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6986 # On systems where the dynamic library environment variable is PATH,
6987 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6988 # built executables to PATH.
6989 if test "$RPATH_ENVVAR" = PATH; then
6990 GCC_SHLIB_SUBDIR=/shlib
6995 # Record target_configdirs and the configure arguments for target and
6996 # build configuration in Makefile.
6997 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6998 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7000 # If we are building libgomp, bootstrap it.
7001 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
7002 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
7005 # Determine whether gdb needs tk/tcl or not.
7006 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7007 # and in that case we want gdb to be built without tk. Ugh!
7008 # In fact I believe gdb is the *only* package directly dependent on tk,
7009 # so we should be able to put the 'maybe's in unconditionally and
7010 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7011 # 100% sure that that's safe though.
7013 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7014 case "$enable_gdbtk" in
7018 GDB_TK="${gdb_tk}" ;;
7020 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7021 # distro. Eventually someone will fix this and move Insight, nee
7022 # gdbtk to a separate directory.
7023 if test -d ${srcdir}/gdb/gdbtk ; then
7030 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7031 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7033 # Strip out unwanted targets.
7035 # While at that, we remove Makefiles if we were started for recursive
7036 # configuration, so that the top-level Makefile reconfigures them,
7037 # like we used to do when configure itself was recursive.
7039 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7040 # but now we're fixing up the Makefile ourselves with the additional
7041 # commands passed to AC_CONFIG_FILES. Use separate variables
7042 # extrasub-{build,host,target} not because there is any reason to split
7043 # the substitutions up that way, but only to remain below the limit of
7044 # 99 commands in a script, for HP-UX sed.
7045 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7047 # Check whether --enable-bootstrap was given.
7048 if test "${enable_bootstrap+set}" = set; then :
7049 enableval=$enable_bootstrap;
7051 enable_bootstrap=default
7055 # Issue errors and warnings for invalid/strange bootstrap combinations.
7056 case "$configdirs" in
7057 *gcc*) have_compiler=yes ;;
7058 *) have_compiler=no ;;
7061 case "$have_compiler:$host:$target:$enable_bootstrap" in
7064 # Default behavior. Enable bootstrap if we have a compiler
7065 # and we are in a native configuration.
7066 yes:$build:$build:default)
7067 enable_bootstrap=yes ;;
7070 enable_bootstrap=no ;;
7072 # We have a compiler and we are in a native configuration, bootstrap is ok
7073 yes:$build:$build:yes)
7076 # Other configurations, but we have a compiler. Assume the user knows
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7080 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7083 # No compiler: if they passed --enable-bootstrap explicitly, fail
7085 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
7087 # Fail if wrong command line
7089 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
7093 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7096 as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7100 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7101 yes:yes:*\ gold\ *:*,c++,*) ;;
7102 yes:yes:*\ gold\ *:*)
7103 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7107 # Adjust the toplevel makefile according to whether bootstrap was selected.
7108 case $enable_bootstrap in
7110 bootstrap_suffix=bootstrap
7111 BUILD_CONFIG=bootstrap-debug
7114 bootstrap_suffix=no-bootstrap
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7120 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7123 # Check whether --with-build-config was given.
7124 if test "${with_build_config+set}" = set; then :
7125 withval=$with_build_config; case $with_build_config in
7126 yes) with_build_config= ;;
7127 no) with_build_config= BUILD_CONFIG= ;;
7132 if test "x${with_build_config}" != x; then
7133 BUILD_CONFIG=$with_build_config
7135 case $BUILD_CONFIG in
7137 if echo "int f (void) { return 0; }" > conftest.c &&
7138 ${CC} -c conftest.c &&
7139 mv conftest.o conftest.o.g0 &&
7140 ${CC} -c -g conftest.c &&
7141 mv conftest.o conftest.o.g &&
7142 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
7147 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7152 $as_echo "$BUILD_CONFIG" >&6; }
7156 for module in ${build_configdirs} ; do
7157 if test -z "${no_recursion}" \
7158 && test -f ${build_subdir}/${module}/Makefile; then
7159 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7160 rm -f ${build_subdir}/${module}/Makefile
7162 extrasub_build="$extrasub_build
7163 /^@if build-$module\$/d
7164 /^@endif build-$module\$/d
7165 /^@if build-$module-$bootstrap_suffix\$/d
7166 /^@endif build-$module-$bootstrap_suffix\$/d"
7169 for module in ${configdirs} ; do
7170 if test -z "${no_recursion}"; then
7171 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7172 if test -f ${file}; then
7173 echo 1>&2 "*** removing ${file} to force reconfigure"
7178 extrasub_host="$extrasub_host
7180 /^@endif $module\$/d
7181 /^@if $module-$bootstrap_suffix\$/d
7182 /^@endif $module-$bootstrap_suffix\$/d"
7185 for module in ${target_configdirs} ; do
7186 if test -z "${no_recursion}" \
7187 && test -f ${target_subdir}/${module}/Makefile; then
7188 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7189 rm -f ${target_subdir}/${module}/Makefile
7192 # We only bootstrap target libraries listed in bootstrap_target_libs.
7193 case $bootstrap_target_libs in
7194 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7195 *) target_bootstrap_suffix=no-bootstrap ;;
7198 extrasub_target="$extrasub_target
7199 /^@if target-$module\$/d
7200 /^@endif target-$module\$/d
7201 /^@if target-$module-$target_bootstrap_suffix\$/d
7202 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7205 # Do the final fixup along with target modules.
7206 extrasub_target="$extrasub_target
7207 /^@if /,/^@endif /d"
7209 # Create the serialization dependencies. This uses a temporary file.
7211 # Check whether --enable-serial-configure was given.
7212 if test "${enable_serial_configure+set}" = set; then :
7213 enableval=$enable_serial_configure;
7217 case ${enable_serial_configure} in
7219 enable_serial_build_configure=yes
7220 enable_serial_host_configure=yes
7221 enable_serial_target_configure=yes
7225 # These force 'configure's to be done one at a time, to avoid problems
7226 # with contention over a shared config.cache.
7228 echo '# serdep.tmp' > serdep.tmp
7230 test "x${enable_serial_build_configure}" = xyes &&
7231 for item in ${build_configdirs} ; do
7234 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7239 test "x${enable_serial_host_configure}" = xyes &&
7240 for item in ${configdirs} ; do
7243 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7248 test "x${enable_serial_target_configure}" = xyes &&
7249 for item in ${target_configdirs} ; do
7252 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7256 serialization_dependencies=serdep.tmp
7259 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7260 # target, nonopt, and variable assignments. These are the ones we
7261 # might not want to pass down to subconfigures. The exception being
7262 # --cache-file=/dev/null, which is used to turn off the use of cache
7263 # files altogether, and which should be passed on to subconfigures.
7264 # Also strip program-prefix, program-suffix, and program-transform-name,
7265 # so that we can pass down a consistent program-transform-name.
7269 eval "set -- $ac_configure_args"
7272 if test X"$skip_next" = X"yes"; then
7276 if test X"$keep_next" = X"yes"; then
7279 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7281 baseargs="$baseargs '$ac_arg'"
7286 # Handle separated arguments. Based on the logic generated by
7289 *=* | --config-cache | -C | -disable-* | --disable-* \
7290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7292 | -with-* | --with-* | -without-* | --without-* | --x)
7304 --cache-file=/dev/null | \
7305 -cache-file=/dev/null )
7306 # Handled here to avoid the test to skip args below.
7307 baseargs="$baseargs '$ac_arg'"
7308 # Assert: $separate_arg should always be no.
7309 keep_next=$separate_arg
7325 -program-prefix* | \
7326 -program-suffix* | \
7327 -program-transform-name* )
7328 skip_next=$separate_arg
7332 # An option. Add it.
7335 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7337 baseargs="$baseargs '$ac_arg'"
7338 keep_next=$separate_arg
7341 # Either a variable assignment, or a nonopt (triplet). Don't
7342 # pass it down; let the Makefile handle this.
7347 # Remove the initial space we just introduced and, as these will be
7348 # expanded by make, quote '$'.
7349 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7351 # Add in --program-transform-name, after --program-prefix and
7352 # --program-suffix have been applied to it. Autoconf has already
7353 # doubled dollar signs and backslashes in program_transform_name; we want
7354 # the backslashes un-doubled, and then the entire thing wrapped in single
7355 # quotes, because this will be expanded first by make and then by the shell.
7356 # Also, because we want to override the logic in subdir configure scripts to
7357 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7358 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7359 ${program_transform_name}
7361 gcc_transform_name=`cat conftestsed.out`
7362 rm -f conftestsed.out
7363 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7364 if test "$silent" = yes; then
7365 baseargs="$baseargs --silent"
7367 baseargs="$baseargs --disable-option-checking"
7369 # Record and document user additions to sub configure arguments.
7374 # For the build-side libraries, we just need to pretend we're native,
7375 # and not use the same cache file. Multilibs are neither needed nor
7377 build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
7379 # For host modules, accept cache file option, or specification as blank.
7380 case "${cache_file}" in
7382 cache_file_option="" ;;
7383 /* | [A-Za-z]:[\\/]* ) # absolute path
7384 cache_file_option="--cache-file=${cache_file}" ;;
7386 cache_file_option="--cache-file=../${cache_file}" ;;
7389 # Host dirs don't like to share a cache file either, horribly enough.
7390 # This seems to be due to autoconf 2.5x stupidity.
7391 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7393 target_configargs="$target_configargs ${baseargs}"
7395 # Passing a --with-cross-host argument lets the target libraries know
7396 # whether they are being built with a cross-compiler or being built
7397 # native. However, it would be better to use other mechanisms to make the
7398 # sorts of decisions they want to make on this basis. Please consider
7399 # this option to be deprecated. FIXME.
7400 if test x${is_cross_compiler} = xyes ; then
7401 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7404 # Default to --enable-multilib.
7405 if test x${enable_multilib} = x ; then
7406 target_configargs="--enable-multilib ${target_configargs}"
7409 # Pass --with-newlib if appropriate. Note that target_configdirs has
7410 # changed from the earlier setting of with_newlib.
7411 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7412 target_configargs="--with-newlib ${target_configargs}"
7415 # Different target subdirs use different values of certain variables
7416 # (notably CXX). Worse, multilibs use *lots* of different values.
7417 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7418 # it doesn't automatically accept command-line overrides of them.
7419 # This means it's not safe for target subdirs to share a cache file,
7420 # which is disgusting, but there you have it. Hopefully this can be
7421 # fixed in future. It's still worthwhile to use a cache file for each
7422 # directory. I think.
7424 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7425 # We need to pass --target, as newer autoconf's requires consistency
7426 # for target_alias and gcc doesn't manage it consistently.
7427 target_configargs="--cache-file=./config.cache ${target_configargs}"
7430 case " $target_configdirs " in
7432 case " $target_configargs " in
7433 *" --with-newlib "*)
7436 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'
7440 # If we're not building GCC, don't discard standard headers.
7441 if test -d ${srcdir}/gcc; then
7442 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7444 if test "${build}" != "${host}"; then
7445 # On Canadian crosses, CC_FOR_TARGET will have already been set
7446 # by `configure', so we won't have an opportunity to add -Bgcc/
7447 # to it. This is right: we don't want to search that directory
7448 # for binaries, but we want the header files in there, so add
7450 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7452 # Someone might think of using the pre-installed headers on
7453 # Canadian crosses, in case the installed compiler is not fully
7454 # compatible with the compiler being built. In this case, it
7455 # would be better to flag an error than risking having
7456 # incompatible object files being constructed. We can't
7457 # guarantee that an error will be flagged, but let's hope the
7458 # compiler will do it, when presented with incompatible header
7463 case "${target}-${is_cross_compiler}" in
7464 i[3456789]86-*-linux*-no)
7465 # Here host == target, so we don't need to build gcc,
7466 # so we don't want to discard standard headers.
7467 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7470 # If we're building newlib, use its generic headers last, but search
7471 # for any libc-related directories first (so make it the last -B
7473 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7475 # If we're building libgloss, find the startup file, simulator library
7476 # and linker script.
7477 case " $target_configdirs " in
7479 # Look for startup file, simulator library and maybe linker script.
7480 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7481 # Look for libnosys.a in case the target needs it.
7482 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7483 # Most targets have the linker script in the source directory.
7484 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7495 x86_64-*mingw* | *-w64-mingw*)
7496 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7497 # however, use a symlink named 'mingw' in ${prefix} .
7498 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7501 # MinGW can't be handled as Cygwin above since it does not use newlib.
7502 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'
7506 # Allow the user to override the flags for
7507 # our build compiler if desired.
7508 if test x"${build}" = x"${host}" ; then
7509 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7510 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7511 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7514 # On Canadian crosses, we'll be searching the right directories for
7515 # the previously-installed cross compiler, so don't bother to add
7516 # flags for directories within the install tree of the compiler
7517 # being built; programs in there won't even run.
7518 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7519 # Search for pre-installed headers if nothing else fits.
7520 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7523 if test "x${use_gnu_ld}" = x &&
7524 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7525 # Arrange for us to find uninstalled linker scripts.
7526 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7529 # Search for other target-specific linker scripts and such.
7532 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7536 # Makefile fragments.
7537 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7539 eval fragval=\$$frag
7540 if test $fragval != /dev/null; then
7541 eval $frag=${srcdir}/$fragval
7549 # Miscellanea: directories, flags, etc.
7558 # Build module lists & subconfigure args.
7562 # Host module lists & subconfigure args.
7567 # Target module lists & subconfigure args.
7590 # Generate default definitions for YACC, M4, LEX and other programs that run
7591 # on the build machine. These are used if the Makefile can't locate these
7592 # programs in objdir.
7593 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7595 for ac_prog in 'bison -y' byacc yacc
7597 # Extract the first word of "$ac_prog", so it can be a program name with args.
7598 set dummy $ac_prog; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_YACC+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7604 if test -n "$YACC"; then
7605 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_YACC="$ac_prog"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 YACC=$ac_cv_prog_YACC
7625 if test -n "$YACC"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7627 $as_echo "$YACC" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7634 test -n "$YACC" && break
7636 test -n "$YACC" || YACC="$MISSING bison -y"
7638 case " $build_configdirs " in
7639 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7640 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7643 for ac_prog in bison
7645 # Extract the first word of "$ac_prog", so it can be a program name with args.
7646 set dummy $ac_prog; ac_word=$2
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7648 $as_echo_n "checking for $ac_word... " >&6; }
7649 if test "${ac_cv_prog_BISON+set}" = set; then :
7650 $as_echo_n "(cached) " >&6
7652 if test -n "$BISON"; then
7653 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 test -z "$as_dir" && as_dir=.
7660 for ac_exec_ext in '' $ac_executable_extensions; do
7661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7662 ac_cv_prog_BISON="$ac_prog"
7663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7672 BISON=$ac_cv_prog_BISON
7673 if test -n "$BISON"; then
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7675 $as_echo "$BISON" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678 $as_echo "no" >&6; }
7682 test -n "$BISON" && break
7684 test -n "$BISON" || BISON="$MISSING bison"
7686 case " $build_configdirs " in
7687 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7690 for ac_prog in gm4 gnum4 m4
7692 # Extract the first word of "$ac_prog", so it can be a program name with args.
7693 set dummy $ac_prog; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if test "${ac_cv_prog_M4+set}" = set; then :
7697 $as_echo_n "(cached) " >&6
7699 if test -n "$M4"; then
7700 ac_cv_prog_M4="$M4" # Let the user override the test.
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709 ac_cv_prog_M4="$ac_prog"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7720 if test -n "$M4"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7722 $as_echo "$M4" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7729 test -n "$M4" && break
7731 test -n "$M4" || M4="$MISSING m4"
7733 case " $build_configdirs " in
7734 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7737 for ac_prog in flex lex
7739 # Extract the first word of "$ac_prog", so it can be a program name with args.
7740 set dummy $ac_prog; ac_word=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if test "${ac_cv_prog_LEX+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7746 if test -n "$LEX"; then
7747 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7756 ac_cv_prog_LEX="$ac_prog"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7767 if test -n "$LEX"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7769 $as_echo "$LEX" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7776 test -n "$LEX" && break
7778 test -n "$LEX" || LEX="$MISSING flex"
7780 case " $build_configdirs " in
7781 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7782 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7787 # Extract the first word of "$ac_prog", so it can be a program name with args.
7788 set dummy $ac_prog; ac_word=$2
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7790 $as_echo_n "checking for $ac_word... " >&6; }
7791 if test "${ac_cv_prog_FLEX+set}" = set; then :
7792 $as_echo_n "(cached) " >&6
7794 if test -n "$FLEX"; then
7795 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7801 test -z "$as_dir" && as_dir=.
7802 for ac_exec_ext in '' $ac_executable_extensions; do
7803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7804 ac_cv_prog_FLEX="$ac_prog"
7805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7814 FLEX=$ac_cv_prog_FLEX
7815 if test -n "$FLEX"; then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7817 $as_echo "$FLEX" >&6; }
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7820 $as_echo "no" >&6; }
7824 test -n "$FLEX" && break
7826 test -n "$FLEX" || FLEX="$MISSING flex"
7828 case " $build_configdirs " in
7829 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7832 for ac_prog in makeinfo
7834 # Extract the first word of "$ac_prog", so it can be a program name with args.
7835 set dummy $ac_prog; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7837 $as_echo_n "checking for $ac_word... " >&6; }
7838 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7839 $as_echo_n "(cached) " >&6
7841 if test -n "$MAKEINFO"; then
7842 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848 test -z "$as_dir" && as_dir=.
7849 for ac_exec_ext in '' $ac_executable_extensions; do
7850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7851 ac_cv_prog_MAKEINFO="$ac_prog"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 MAKEINFO=$ac_cv_prog_MAKEINFO
7862 if test -n "$MAKEINFO"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7864 $as_echo "$MAKEINFO" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7871 test -n "$MAKEINFO" && break
7873 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7875 case " $build_configdirs " in
7876 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7879 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7880 # higher, else we use the "missing" dummy.
7881 if ${MAKEINFO} --version \
7882 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7885 MAKEINFO="$MISSING makeinfo"
7891 # FIXME: expect and dejagnu may become build tools?
7893 for ac_prog in expect
7895 # Extract the first word of "$ac_prog", so it can be a program name with args.
7896 set dummy $ac_prog; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7900 $as_echo_n "(cached) " >&6
7902 if test -n "$EXPECT"; then
7903 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7912 ac_cv_prog_EXPECT="$ac_prog"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 EXPECT=$ac_cv_prog_EXPECT
7923 if test -n "$EXPECT"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7925 $as_echo "$EXPECT" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7932 test -n "$EXPECT" && break
7934 test -n "$EXPECT" || EXPECT="expect"
7936 case " $configdirs " in
7938 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7942 for ac_prog in runtest
7944 # Extract the first word of "$ac_prog", so it can be a program name with args.
7945 set dummy $ac_prog; ac_word=$2
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7947 $as_echo_n "checking for $ac_word... " >&6; }
7948 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7949 $as_echo_n "(cached) " >&6
7951 if test -n "$RUNTEST"; then
7952 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_RUNTEST="$ac_prog"
7962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 RUNTEST=$ac_cv_prog_RUNTEST
7972 if test -n "$RUNTEST"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7974 $as_echo "$RUNTEST" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7981 test -n "$RUNTEST" && break
7983 test -n "$RUNTEST" || RUNTEST="runtest"
7985 case " $configdirs " in
7987 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7994 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7995 ncn_target_tool_prefix=
7996 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8000 if test -n "$AR"; then
8002 elif test -n "$ac_cv_prog_AR"; then
8006 if test -n "$ac_cv_prog_AR"; then
8007 for ncn_progname in ar; do
8008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8009 set dummy ${ncn_progname}; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if test "${ac_cv_prog_AR+set}" = set; then :
8013 $as_echo_n "(cached) " >&6
8015 if test -n "$AR"; then
8016 ac_cv_prog_AR="$AR" # Let the user override the test.
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8025 ac_cv_prog_AR="${ncn_progname}"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8036 if test -n "$AR"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8038 $as_echo "$AR" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8048 for ncn_progname in ar; do
8049 if test -n "$ncn_tool_prefix"; then
8050 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8051 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if test "${ac_cv_prog_AR+set}" = set; then :
8055 $as_echo_n "(cached) " >&6
8057 if test -n "$AR"; then
8058 ac_cv_prog_AR="$AR" # Let the user override the test.
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8067 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 if test -n "$AR"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8080 $as_echo "$AR" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8090 set dummy ${ncn_progname}; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 $as_echo_n "checking for $ac_word... " >&6; }
8093 if test "${ac_cv_prog_AR+set}" = set; then :
8094 $as_echo_n "(cached) " >&6
8096 if test -n "$AR"; then
8097 ac_cv_prog_AR="$AR" # Let the user override the test.
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8106 ac_cv_prog_AR="${ncn_progname}"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 if test -n "$AR"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8119 $as_echo "$AR" >&6; }
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8127 test -n "$ac_cv_prog_AR" && break
8130 if test -z "$ac_cv_prog_AR" ; then
8132 if test $build = $host ; then
8135 AR="${ncn_tool_prefix}$2"
8141 if test -n "$AS"; then
8143 elif test -n "$ac_cv_prog_AS"; then
8147 if test -n "$ac_cv_prog_AS"; then
8148 for ncn_progname in as; do
8149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8150 set dummy ${ncn_progname}; ac_word=$2
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8152 $as_echo_n "checking for $ac_word... " >&6; }
8153 if test "${ac_cv_prog_AS+set}" = set; then :
8154 $as_echo_n "(cached) " >&6
8156 if test -n "$AS"; then
8157 ac_cv_prog_AS="$AS" # Let the user override the test.
8159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 test -z "$as_dir" && as_dir=.
8164 for ac_exec_ext in '' $ac_executable_extensions; do
8165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8166 ac_cv_prog_AS="${ncn_progname}"
8167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8177 if test -n "$AS"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8179 $as_echo "$AS" >&6; }
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8189 for ncn_progname in as; do
8190 if test -n "$ncn_tool_prefix"; then
8191 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8192 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194 $as_echo_n "checking for $ac_word... " >&6; }
8195 if test "${ac_cv_prog_AS+set}" = set; then :
8196 $as_echo_n "(cached) " >&6
8198 if test -n "$AS"; then
8199 ac_cv_prog_AS="$AS" # Let the user override the test.
8201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8205 test -z "$as_dir" && as_dir=.
8206 for ac_exec_ext in '' $ac_executable_extensions; do
8207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8208 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 if test -n "$AS"; then
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8221 $as_echo "$AS" >&6; }
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8229 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8231 set dummy ${ncn_progname}; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if test "${ac_cv_prog_AS+set}" = set; then :
8235 $as_echo_n "(cached) " >&6
8237 if test -n "$AS"; then
8238 ac_cv_prog_AS="$AS" # Let the user override the test.
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_prog_AS="${ncn_progname}"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258 if test -n "$AS"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8260 $as_echo "$AS" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8268 test -n "$ac_cv_prog_AS" && break
8271 if test -z "$ac_cv_prog_AS" ; then
8273 if test $build = $host ; then
8276 AS="${ncn_tool_prefix}$2"
8282 if test -n "$DLLTOOL"; then
8283 ac_cv_prog_DLLTOOL=$DLLTOOL
8284 elif test -n "$ac_cv_prog_DLLTOOL"; then
8285 DLLTOOL=$ac_cv_prog_DLLTOOL
8288 if test -n "$ac_cv_prog_DLLTOOL"; then
8289 for ncn_progname in dlltool; do
8290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8291 set dummy ${ncn_progname}; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293 $as_echo_n "checking for $ac_word... " >&6; }
8294 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8295 $as_echo_n "(cached) " >&6
8297 if test -n "$DLLTOOL"; then
8298 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8307 ac_cv_prog_DLLTOOL="${ncn_progname}"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8317 DLLTOOL=$ac_cv_prog_DLLTOOL
8318 if test -n "$DLLTOOL"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8320 $as_echo "$DLLTOOL" >&6; }
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 $as_echo "no" >&6; }
8330 for ncn_progname in dlltool; do
8331 if test -n "$ncn_tool_prefix"; then
8332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8333 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8335 $as_echo_n "checking for $ac_word... " >&6; }
8336 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8337 $as_echo_n "(cached) " >&6
8339 if test -n "$DLLTOOL"; then
8340 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir=.
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8349 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 DLLTOOL=$ac_cv_prog_DLLTOOL
8360 if test -n "$DLLTOOL"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8362 $as_echo "$DLLTOOL" >&6; }
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8370 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8372 set dummy ${ncn_progname}; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8376 $as_echo_n "(cached) " >&6
8378 if test -n "$DLLTOOL"; then
8379 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388 ac_cv_prog_DLLTOOL="${ncn_progname}"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398 DLLTOOL=$ac_cv_prog_DLLTOOL
8399 if test -n "$DLLTOOL"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8401 $as_echo "$DLLTOOL" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8409 test -n "$ac_cv_prog_DLLTOOL" && break
8412 if test -z "$ac_cv_prog_DLLTOOL" ; then
8414 if test $build = $host ; then
8417 DLLTOOL="${ncn_tool_prefix}$2"
8423 if test -n "$LD"; then
8425 elif test -n "$ac_cv_prog_LD"; then
8429 if test -n "$ac_cv_prog_LD"; then
8430 for ncn_progname in ld; do
8431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8432 set dummy ${ncn_progname}; ac_word=$2
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8434 $as_echo_n "checking for $ac_word... " >&6; }
8435 if test "${ac_cv_prog_LD+set}" = set; then :
8436 $as_echo_n "(cached) " >&6
8438 if test -n "$LD"; then
8439 ac_cv_prog_LD="$LD" # Let the user override the test.
8441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 test -z "$as_dir" && as_dir=.
8446 for ac_exec_ext in '' $ac_executable_extensions; do
8447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8448 ac_cv_prog_LD="${ncn_progname}"
8449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8459 if test -n "$LD"; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8461 $as_echo "$LD" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8464 $as_echo "no" >&6; }
8471 for ncn_progname in ld; do
8472 if test -n "$ncn_tool_prefix"; then
8473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8474 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8476 $as_echo_n "checking for $ac_word... " >&6; }
8477 if test "${ac_cv_prog_LD+set}" = set; then :
8478 $as_echo_n "(cached) " >&6
8480 if test -n "$LD"; then
8481 ac_cv_prog_LD="$LD" # Let the user override the test.
8483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8487 test -z "$as_dir" && as_dir=.
8488 for ac_exec_ext in '' $ac_executable_extensions; do
8489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8490 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8501 if test -n "$LD"; then
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8503 $as_echo "$LD" >&6; }
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8506 $as_echo "no" >&6; }
8511 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8513 set dummy ${ncn_progname}; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if test "${ac_cv_prog_LD+set}" = set; then :
8517 $as_echo_n "(cached) " >&6
8519 if test -n "$LD"; then
8520 ac_cv_prog_LD="$LD" # Let the user override the test.
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8529 ac_cv_prog_LD="${ncn_progname}"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8540 if test -n "$LD"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8542 $as_echo "$LD" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8550 test -n "$ac_cv_prog_LD" && break
8553 if test -z "$ac_cv_prog_LD" ; then
8555 if test $build = $host ; then
8558 LD="${ncn_tool_prefix}$2"
8564 if test -n "$LIPO"; then
8565 ac_cv_prog_LIPO=$LIPO
8566 elif test -n "$ac_cv_prog_LIPO"; then
8567 LIPO=$ac_cv_prog_LIPO
8570 if test -n "$ac_cv_prog_LIPO"; then
8571 for ncn_progname in lipo; do
8572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8573 set dummy ${ncn_progname}; ac_word=$2
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8575 $as_echo_n "checking for $ac_word... " >&6; }
8576 if test "${ac_cv_prog_LIPO+set}" = set; then :
8577 $as_echo_n "(cached) " >&6
8579 if test -n "$LIPO"; then
8580 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir=.
8587 for ac_exec_ext in '' $ac_executable_extensions; do
8588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8589 ac_cv_prog_LIPO="${ncn_progname}"
8590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8599 LIPO=$ac_cv_prog_LIPO
8600 if test -n "$LIPO"; then
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8602 $as_echo "$LIPO" >&6; }
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8605 $as_echo "no" >&6; }
8612 for ncn_progname in lipo; do
8613 if test -n "$ncn_tool_prefix"; then
8614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8615 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8617 $as_echo_n "checking for $ac_word... " >&6; }
8618 if test "${ac_cv_prog_LIPO+set}" = set; then :
8619 $as_echo_n "(cached) " >&6
8621 if test -n "$LIPO"; then
8622 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8628 test -z "$as_dir" && as_dir=.
8629 for ac_exec_ext in '' $ac_executable_extensions; do
8630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8631 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8641 LIPO=$ac_cv_prog_LIPO
8642 if test -n "$LIPO"; then
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8644 $as_echo "$LIPO" >&6; }
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647 $as_echo "no" >&6; }
8652 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8654 set dummy ${ncn_progname}; ac_word=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8656 $as_echo_n "checking for $ac_word... " >&6; }
8657 if test "${ac_cv_prog_LIPO+set}" = set; then :
8658 $as_echo_n "(cached) " >&6
8660 if test -n "$LIPO"; then
8661 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir=.
8668 for ac_exec_ext in '' $ac_executable_extensions; do
8669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8670 ac_cv_prog_LIPO="${ncn_progname}"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 LIPO=$ac_cv_prog_LIPO
8681 if test -n "$LIPO"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8683 $as_echo "$LIPO" >&6; }
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 $as_echo "no" >&6; }
8691 test -n "$ac_cv_prog_LIPO" && break
8694 if test -z "$ac_cv_prog_LIPO" ; then
8696 if test $build = $host ; then
8699 LIPO="${ncn_tool_prefix}$2"
8705 if test -n "$NM"; then
8707 elif test -n "$ac_cv_prog_NM"; then
8711 if test -n "$ac_cv_prog_NM"; then
8712 for ncn_progname in nm; do
8713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8714 set dummy ${ncn_progname}; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if test "${ac_cv_prog_NM+set}" = set; then :
8718 $as_echo_n "(cached) " >&6
8720 if test -n "$NM"; then
8721 ac_cv_prog_NM="$NM" # Let the user override the test.
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 test -z "$as_dir" && as_dir=.
8728 for ac_exec_ext in '' $ac_executable_extensions; do
8729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730 ac_cv_prog_NM="${ncn_progname}"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8741 if test -n "$NM"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8743 $as_echo "$NM" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8753 for ncn_progname in nm; do
8754 if test -n "$ncn_tool_prefix"; then
8755 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8756 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8758 $as_echo_n "checking for $ac_word... " >&6; }
8759 if test "${ac_cv_prog_NM+set}" = set; then :
8760 $as_echo_n "(cached) " >&6
8762 if test -n "$NM"; then
8763 ac_cv_prog_NM="$NM" # Let the user override the test.
8765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8769 test -z "$as_dir" && as_dir=.
8770 for ac_exec_ext in '' $ac_executable_extensions; do
8771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8772 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8783 if test -n "$NM"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8785 $as_echo "$NM" >&6; }
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8793 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8795 set dummy ${ncn_progname}; ac_word=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8797 $as_echo_n "checking for $ac_word... " >&6; }
8798 if test "${ac_cv_prog_NM+set}" = set; then :
8799 $as_echo_n "(cached) " >&6
8801 if test -n "$NM"; then
8802 ac_cv_prog_NM="$NM" # Let the user override the test.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8811 ac_cv_prog_NM="${ncn_progname}"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 if test -n "$NM"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8824 $as_echo "$NM" >&6; }
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 $as_echo "no" >&6; }
8832 test -n "$ac_cv_prog_NM" && break
8835 if test -z "$ac_cv_prog_NM" ; then
8837 if test $build = $host ; then
8840 NM="${ncn_tool_prefix}$2"
8846 if test -n "$RANLIB"; then
8847 ac_cv_prog_RANLIB=$RANLIB
8848 elif test -n "$ac_cv_prog_RANLIB"; then
8849 RANLIB=$ac_cv_prog_RANLIB
8852 if test -n "$ac_cv_prog_RANLIB"; then
8853 for ncn_progname in ranlib; do
8854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8855 set dummy ${ncn_progname}; ac_word=$2
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8857 $as_echo_n "checking for $ac_word... " >&6; }
8858 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8859 $as_echo_n "(cached) " >&6
8861 if test -n "$RANLIB"; then
8862 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8868 test -z "$as_dir" && as_dir=.
8869 for ac_exec_ext in '' $ac_executable_extensions; do
8870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8871 ac_cv_prog_RANLIB="${ncn_progname}"
8872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 RANLIB=$ac_cv_prog_RANLIB
8882 if test -n "$RANLIB"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8884 $as_echo "$RANLIB" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8887 $as_echo "no" >&6; }
8894 for ncn_progname in ranlib; do
8895 if test -n "$ncn_tool_prefix"; then
8896 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8897 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8899 $as_echo_n "checking for $ac_word... " >&6; }
8900 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8903 if test -n "$RANLIB"; then
8904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 test -z "$as_dir" && as_dir=.
8911 for ac_exec_ext in '' $ac_executable_extensions; do
8912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8913 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8923 RANLIB=$ac_cv_prog_RANLIB
8924 if test -n "$RANLIB"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8926 $as_echo "$RANLIB" >&6; }
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 $as_echo "no" >&6; }
8934 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8936 set dummy ${ncn_progname}; ac_word=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938 $as_echo_n "checking for $ac_word... " >&6; }
8939 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8940 $as_echo_n "(cached) " >&6
8942 if test -n "$RANLIB"; then
8943 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 test -z "$as_dir" && as_dir=.
8950 for ac_exec_ext in '' $ac_executable_extensions; do
8951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8952 ac_cv_prog_RANLIB="${ncn_progname}"
8953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8962 RANLIB=$ac_cv_prog_RANLIB
8963 if test -n "$RANLIB"; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8965 $as_echo "$RANLIB" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8968 $as_echo "no" >&6; }
8973 test -n "$ac_cv_prog_RANLIB" && break
8976 if test -z "$ac_cv_prog_RANLIB" ; then
8982 if test -n "$STRIP"; then
8983 ac_cv_prog_STRIP=$STRIP
8984 elif test -n "$ac_cv_prog_STRIP"; then
8985 STRIP=$ac_cv_prog_STRIP
8988 if test -n "$ac_cv_prog_STRIP"; then
8989 for ncn_progname in strip; do
8990 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8991 set dummy ${ncn_progname}; ac_word=$2
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8993 $as_echo_n "checking for $ac_word... " >&6; }
8994 if test "${ac_cv_prog_STRIP+set}" = set; then :
8995 $as_echo_n "(cached) " >&6
8997 if test -n "$STRIP"; then
8998 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir=.
9005 for ac_exec_ext in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_prog_STRIP="${ncn_progname}"
9008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9017 STRIP=$ac_cv_prog_STRIP
9018 if test -n "$STRIP"; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9020 $as_echo "$STRIP" >&6; }
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9030 for ncn_progname in strip; do
9031 if test -n "$ncn_tool_prefix"; then
9032 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9033 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9035 $as_echo_n "checking for $ac_word... " >&6; }
9036 if test "${ac_cv_prog_STRIP+set}" = set; then :
9037 $as_echo_n "(cached) " >&6
9039 if test -n "$STRIP"; then
9040 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9046 test -z "$as_dir" && as_dir=.
9047 for ac_exec_ext in '' $ac_executable_extensions; do
9048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9049 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9059 STRIP=$ac_cv_prog_STRIP
9060 if test -n "$STRIP"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9062 $as_echo "$STRIP" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9065 $as_echo "no" >&6; }
9070 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9072 set dummy ${ncn_progname}; ac_word=$2
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9074 $as_echo_n "checking for $ac_word... " >&6; }
9075 if test "${ac_cv_prog_STRIP+set}" = set; then :
9076 $as_echo_n "(cached) " >&6
9078 if test -n "$STRIP"; then
9079 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 test -z "$as_dir" && as_dir=.
9086 for ac_exec_ext in '' $ac_executable_extensions; do
9087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9088 ac_cv_prog_STRIP="${ncn_progname}"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9098 STRIP=$ac_cv_prog_STRIP
9099 if test -n "$STRIP"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9101 $as_echo "$STRIP" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9109 test -n "$ac_cv_prog_STRIP" && break
9112 if test -z "$ac_cv_prog_STRIP" ; then
9118 if test -n "$WINDRES"; then
9119 ac_cv_prog_WINDRES=$WINDRES
9120 elif test -n "$ac_cv_prog_WINDRES"; then
9121 WINDRES=$ac_cv_prog_WINDRES
9124 if test -n "$ac_cv_prog_WINDRES"; then
9125 for ncn_progname in windres; do
9126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9127 set dummy ${ncn_progname}; ac_word=$2
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 $as_echo_n "checking for $ac_word... " >&6; }
9130 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9131 $as_echo_n "(cached) " >&6
9133 if test -n "$WINDRES"; then
9134 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9140 test -z "$as_dir" && as_dir=.
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143 ac_cv_prog_WINDRES="${ncn_progname}"
9144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9153 WINDRES=$ac_cv_prog_WINDRES
9154 if test -n "$WINDRES"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9156 $as_echo "$WINDRES" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9159 $as_echo "no" >&6; }
9166 for ncn_progname in windres; do
9167 if test -n "$ncn_tool_prefix"; then
9168 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9169 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9171 $as_echo_n "checking for $ac_word... " >&6; }
9172 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9173 $as_echo_n "(cached) " >&6
9175 if test -n "$WINDRES"; then
9176 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9182 test -z "$as_dir" && as_dir=.
9183 for ac_exec_ext in '' $ac_executable_extensions; do
9184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9185 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9195 WINDRES=$ac_cv_prog_WINDRES
9196 if test -n "$WINDRES"; then
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9198 $as_echo "$WINDRES" >&6; }
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9201 $as_echo "no" >&6; }
9206 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9208 set dummy ${ncn_progname}; ac_word=$2
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9210 $as_echo_n "checking for $ac_word... " >&6; }
9211 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9212 $as_echo_n "(cached) " >&6
9214 if test -n "$WINDRES"; then
9215 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9221 test -z "$as_dir" && as_dir=.
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9224 ac_cv_prog_WINDRES="${ncn_progname}"
9225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9234 WINDRES=$ac_cv_prog_WINDRES
9235 if test -n "$WINDRES"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9237 $as_echo "$WINDRES" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9245 test -n "$ac_cv_prog_WINDRES" && break
9248 if test -z "$ac_cv_prog_WINDRES" ; then
9250 if test $build = $host ; then
9253 WINDRES="${ncn_tool_prefix}$2"
9259 if test -n "$WINDMC"; then
9260 ac_cv_prog_WINDMC=$WINDMC
9261 elif test -n "$ac_cv_prog_WINDMC"; then
9262 WINDMC=$ac_cv_prog_WINDMC
9265 if test -n "$ac_cv_prog_WINDMC"; then
9266 for ncn_progname in windmc; do
9267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9268 set dummy ${ncn_progname}; ac_word=$2
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270 $as_echo_n "checking for $ac_word... " >&6; }
9271 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9272 $as_echo_n "(cached) " >&6
9274 if test -n "$WINDMC"; then
9275 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9281 test -z "$as_dir" && as_dir=.
9282 for ac_exec_ext in '' $ac_executable_extensions; do
9283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9284 ac_cv_prog_WINDMC="${ncn_progname}"
9285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9294 WINDMC=$ac_cv_prog_WINDMC
9295 if test -n "$WINDMC"; then
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9297 $as_echo "$WINDMC" >&6; }
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 $as_echo "no" >&6; }
9307 for ncn_progname in windmc; do
9308 if test -n "$ncn_tool_prefix"; then
9309 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9310 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9312 $as_echo_n "checking for $ac_word... " >&6; }
9313 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9314 $as_echo_n "(cached) " >&6
9316 if test -n "$WINDMC"; then
9317 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323 test -z "$as_dir" && as_dir=.
9324 for ac_exec_ext in '' $ac_executable_extensions; do
9325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9326 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9336 WINDMC=$ac_cv_prog_WINDMC
9337 if test -n "$WINDMC"; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9339 $as_echo "$WINDMC" >&6; }
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 $as_echo "no" >&6; }
9347 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9349 set dummy ${ncn_progname}; ac_word=$2
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 $as_echo_n "checking for $ac_word... " >&6; }
9352 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9353 $as_echo_n "(cached) " >&6
9355 if test -n "$WINDMC"; then
9356 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9362 test -z "$as_dir" && as_dir=.
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_prog_WINDMC="${ncn_progname}"
9366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9375 WINDMC=$ac_cv_prog_WINDMC
9376 if test -n "$WINDMC"; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9378 $as_echo "$WINDMC" >&6; }
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 $as_echo "no" >&6; }
9386 test -n "$ac_cv_prog_WINDMC" && break
9389 if test -z "$ac_cv_prog_WINDMC" ; then
9391 if test $build = $host ; then
9394 WINDMC="${ncn_tool_prefix}$2"
9400 if test -n "$OBJCOPY"; then
9401 ac_cv_prog_OBJCOPY=$OBJCOPY
9402 elif test -n "$ac_cv_prog_OBJCOPY"; then
9403 OBJCOPY=$ac_cv_prog_OBJCOPY
9406 if test -n "$ac_cv_prog_OBJCOPY"; then
9407 for ncn_progname in objcopy; do
9408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9409 set dummy ${ncn_progname}; ac_word=$2
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9411 $as_echo_n "checking for $ac_word... " >&6; }
9412 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9413 $as_echo_n "(cached) " >&6
9415 if test -n "$OBJCOPY"; then
9416 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9422 test -z "$as_dir" && as_dir=.
9423 for ac_exec_ext in '' $ac_executable_extensions; do
9424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9425 ac_cv_prog_OBJCOPY="${ncn_progname}"
9426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9435 OBJCOPY=$ac_cv_prog_OBJCOPY
9436 if test -n "$OBJCOPY"; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9438 $as_echo "$OBJCOPY" >&6; }
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9441 $as_echo "no" >&6; }
9448 for ncn_progname in objcopy; do
9449 if test -n "$ncn_tool_prefix"; then
9450 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9451 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9453 $as_echo_n "checking for $ac_word... " >&6; }
9454 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9455 $as_echo_n "(cached) " >&6
9457 if test -n "$OBJCOPY"; then
9458 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9464 test -z "$as_dir" && as_dir=.
9465 for ac_exec_ext in '' $ac_executable_extensions; do
9466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9467 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9477 OBJCOPY=$ac_cv_prog_OBJCOPY
9478 if test -n "$OBJCOPY"; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9480 $as_echo "$OBJCOPY" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9483 $as_echo "no" >&6; }
9488 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9490 set dummy ${ncn_progname}; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9494 $as_echo_n "(cached) " >&6
9496 if test -n "$OBJCOPY"; then
9497 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_prog_OBJCOPY="${ncn_progname}"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9516 OBJCOPY=$ac_cv_prog_OBJCOPY
9517 if test -n "$OBJCOPY"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9519 $as_echo "$OBJCOPY" >&6; }
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9522 $as_echo "no" >&6; }
9527 test -n "$ac_cv_prog_OBJCOPY" && break
9530 if test -z "$ac_cv_prog_OBJCOPY" ; then
9532 if test $build = $host ; then
9535 OBJCOPY="${ncn_tool_prefix}$2"
9541 if test -n "$OBJDUMP"; then
9542 ac_cv_prog_OBJDUMP=$OBJDUMP
9543 elif test -n "$ac_cv_prog_OBJDUMP"; then
9544 OBJDUMP=$ac_cv_prog_OBJDUMP
9547 if test -n "$ac_cv_prog_OBJDUMP"; then
9548 for ncn_progname in objdump; do
9549 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9550 set dummy ${ncn_progname}; ac_word=$2
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9552 $as_echo_n "checking for $ac_word... " >&6; }
9553 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9554 $as_echo_n "(cached) " >&6
9556 if test -n "$OBJDUMP"; then
9557 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9563 test -z "$as_dir" && as_dir=.
9564 for ac_exec_ext in '' $ac_executable_extensions; do
9565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9566 ac_cv_prog_OBJDUMP="${ncn_progname}"
9567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9576 OBJDUMP=$ac_cv_prog_OBJDUMP
9577 if test -n "$OBJDUMP"; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9579 $as_echo "$OBJDUMP" >&6; }
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9582 $as_echo "no" >&6; }
9589 for ncn_progname in objdump; do
9590 if test -n "$ncn_tool_prefix"; then
9591 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9592 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594 $as_echo_n "checking for $ac_word... " >&6; }
9595 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9596 $as_echo_n "(cached) " >&6
9598 if test -n "$OBJDUMP"; then
9599 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9608 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618 OBJDUMP=$ac_cv_prog_OBJDUMP
9619 if test -n "$OBJDUMP"; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9621 $as_echo "$OBJDUMP" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9624 $as_echo "no" >&6; }
9629 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9631 set dummy ${ncn_progname}; ac_word=$2
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9633 $as_echo_n "checking for $ac_word... " >&6; }
9634 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9635 $as_echo_n "(cached) " >&6
9637 if test -n "$OBJDUMP"; then
9638 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir=.
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9647 ac_cv_prog_OBJDUMP="${ncn_progname}"
9648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9657 OBJDUMP=$ac_cv_prog_OBJDUMP
9658 if test -n "$OBJDUMP"; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9660 $as_echo "$OBJDUMP" >&6; }
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 $as_echo "no" >&6; }
9668 test -n "$ac_cv_prog_OBJDUMP" && break
9671 if test -z "$ac_cv_prog_OBJDUMP" ; then
9673 if test $build = $host ; then
9676 OBJDUMP="${ncn_tool_prefix}$2"
9687 # Check whether --with-build-time-tools was given.
9688 if test "${with_build_time_tools+set}" = set; then :
9689 withval=$with_build_time_tools; case x"$withval" in
9692 with_build_time_tools=
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9694 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9698 with_build_time_tools=
9704 if test -n "$CC_FOR_TARGET"; then
9705 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9706 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9707 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9710 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9711 for ncn_progname in cc gcc; do
9712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9713 set dummy ${ncn_progname}; ac_word=$2
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9715 $as_echo_n "checking for $ac_word... " >&6; }
9716 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9717 $as_echo_n "(cached) " >&6
9719 if test -n "$CC_FOR_TARGET"; then
9720 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9726 test -z "$as_dir" && as_dir=.
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9729 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9739 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9740 if test -n "$CC_FOR_TARGET"; then
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9742 $as_echo "$CC_FOR_TARGET" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9745 $as_echo "no" >&6; }
9752 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9753 for ncn_progname in cc gcc; do
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9755 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9756 if test -x $with_build_time_tools/${ncn_progname}; then
9757 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9759 $as_echo "yes" >&6; }
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9763 $as_echo "no" >&6; }
9768 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9769 for ncn_progname in cc gcc; do
9770 if test -n "$ncn_target_tool_prefix"; then
9771 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9772 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9774 $as_echo_n "checking for $ac_word... " >&6; }
9775 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9776 $as_echo_n "(cached) " >&6
9778 if test -n "$CC_FOR_TARGET"; then
9779 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785 test -z "$as_dir" && as_dir=.
9786 for ac_exec_ext in '' $ac_executable_extensions; do
9787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9788 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9798 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9799 if test -n "$CC_FOR_TARGET"; then
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9801 $as_echo "$CC_FOR_TARGET" >&6; }
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9804 $as_echo "no" >&6; }
9809 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9810 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9811 set dummy ${ncn_progname}; ac_word=$2
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9813 $as_echo_n "checking for $ac_word... " >&6; }
9814 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9817 if test -n "$CC_FOR_TARGET"; then
9818 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9824 test -z "$as_dir" && as_dir=.
9825 for ac_exec_ext in '' $ac_executable_extensions; do
9826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9827 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9837 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9838 if test -n "$CC_FOR_TARGET"; then
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9840 $as_echo "$CC_FOR_TARGET" >&6; }
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9843 $as_echo "no" >&6; }
9848 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9852 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9854 if test $build = $target ; then
9857 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9860 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9865 if test -n "$CXX_FOR_TARGET"; then
9866 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9867 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9868 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9871 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9872 for ncn_progname in c++ g++ cxx gxx; do
9873 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9874 set dummy ${ncn_progname}; ac_word=$2
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9876 $as_echo_n "checking for $ac_word... " >&6; }
9877 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9878 $as_echo_n "(cached) " >&6
9880 if test -n "$CXX_FOR_TARGET"; then
9881 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9887 test -z "$as_dir" && as_dir=.
9888 for ac_exec_ext in '' $ac_executable_extensions; do
9889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9890 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9900 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9901 if test -n "$CXX_FOR_TARGET"; then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9903 $as_echo "$CXX_FOR_TARGET" >&6; }
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9906 $as_echo "no" >&6; }
9913 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9914 for ncn_progname in c++ g++ cxx gxx; do
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9916 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9917 if test -x $with_build_time_tools/${ncn_progname}; then
9918 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9920 $as_echo "yes" >&6; }
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9924 $as_echo "no" >&6; }
9929 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9930 for ncn_progname in c++ g++ cxx gxx; do
9931 if test -n "$ncn_target_tool_prefix"; then
9932 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9933 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9935 $as_echo_n "checking for $ac_word... " >&6; }
9936 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9937 $as_echo_n "(cached) " >&6
9939 if test -n "$CXX_FOR_TARGET"; then
9940 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946 test -z "$as_dir" && as_dir=.
9947 for ac_exec_ext in '' $ac_executable_extensions; do
9948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9949 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9959 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9960 if test -n "$CXX_FOR_TARGET"; then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9962 $as_echo "$CXX_FOR_TARGET" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9965 $as_echo "no" >&6; }
9970 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9972 set dummy ${ncn_progname}; ac_word=$2
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9974 $as_echo_n "checking for $ac_word... " >&6; }
9975 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9976 $as_echo_n "(cached) " >&6
9978 if test -n "$CXX_FOR_TARGET"; then
9979 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9985 test -z "$as_dir" && as_dir=.
9986 for ac_exec_ext in '' $ac_executable_extensions; do
9987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9988 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9999 if test -n "$CXX_FOR_TARGET"; then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10001 $as_echo "$CXX_FOR_TARGET" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10004 $as_echo "no" >&6; }
10009 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10013 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10014 set dummy c++ g++ cxx gxx
10015 if test $build = $target ; then
10016 CXX_FOR_TARGET="$2"
10018 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10021 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10026 if test -n "$GCC_FOR_TARGET"; then
10027 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10028 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10029 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10032 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10033 for ncn_progname in gcc; do
10034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10035 set dummy ${ncn_progname}; ac_word=$2
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10037 $as_echo_n "checking for $ac_word... " >&6; }
10038 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10039 $as_echo_n "(cached) " >&6
10041 if test -n "$GCC_FOR_TARGET"; then
10042 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10045 for as_dir in $PATH
10048 test -z "$as_dir" && as_dir=.
10049 for ac_exec_ext in '' $ac_executable_extensions; do
10050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10051 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10061 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10062 if test -n "$GCC_FOR_TARGET"; then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10064 $as_echo "$GCC_FOR_TARGET" >&6; }
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10067 $as_echo "no" >&6; }
10074 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10075 for ncn_progname in gcc; do
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10077 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10078 if test -x $with_build_time_tools/${ncn_progname}; then
10079 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10081 $as_echo "yes" >&6; }
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10085 $as_echo "no" >&6; }
10090 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10091 for ncn_progname in gcc; do
10092 if test -n "$ncn_target_tool_prefix"; then
10093 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10094 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10096 $as_echo_n "checking for $ac_word... " >&6; }
10097 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10098 $as_echo_n "(cached) " >&6
10100 if test -n "$GCC_FOR_TARGET"; then
10101 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10120 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10121 if test -n "$GCC_FOR_TARGET"; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10123 $as_echo "$GCC_FOR_TARGET" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10126 $as_echo "no" >&6; }
10131 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10132 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10133 set dummy ${ncn_progname}; ac_word=$2
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10135 $as_echo_n "checking for $ac_word... " >&6; }
10136 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10137 $as_echo_n "(cached) " >&6
10139 if test -n "$GCC_FOR_TARGET"; then
10140 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10143 for as_dir in $PATH
10146 test -z "$as_dir" && as_dir=.
10147 for ac_exec_ext in '' $ac_executable_extensions; do
10148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10149 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10160 if test -n "$GCC_FOR_TARGET"; then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10162 $as_echo "$GCC_FOR_TARGET" >&6; }
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10165 $as_echo "no" >&6; }
10170 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10174 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10175 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10177 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10182 if test -n "$GCJ_FOR_TARGET"; then
10183 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10184 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10185 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10188 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10189 for ncn_progname in gcj; do
10190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10191 set dummy ${ncn_progname}; ac_word=$2
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10193 $as_echo_n "checking for $ac_word... " >&6; }
10194 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10195 $as_echo_n "(cached) " >&6
10197 if test -n "$GCJ_FOR_TARGET"; then
10198 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10201 for as_dir in $PATH
10204 test -z "$as_dir" && as_dir=.
10205 for ac_exec_ext in '' $ac_executable_extensions; do
10206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10207 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10217 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10218 if test -n "$GCJ_FOR_TARGET"; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10220 $as_echo "$GCJ_FOR_TARGET" >&6; }
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10223 $as_echo "no" >&6; }
10230 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10231 for ncn_progname in gcj; do
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10233 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10234 if test -x $with_build_time_tools/${ncn_progname}; then
10235 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10237 $as_echo "yes" >&6; }
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10241 $as_echo "no" >&6; }
10246 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10247 for ncn_progname in gcj; do
10248 if test -n "$ncn_target_tool_prefix"; then
10249 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10250 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10252 $as_echo_n "checking for $ac_word... " >&6; }
10253 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10254 $as_echo_n "(cached) " >&6
10256 if test -n "$GCJ_FOR_TARGET"; then
10257 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10260 for as_dir in $PATH
10263 test -z "$as_dir" && as_dir=.
10264 for ac_exec_ext in '' $ac_executable_extensions; do
10265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10266 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10276 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10277 if test -n "$GCJ_FOR_TARGET"; then
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10279 $as_echo "$GCJ_FOR_TARGET" >&6; }
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10282 $as_echo "no" >&6; }
10287 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10289 set dummy ${ncn_progname}; ac_word=$2
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10291 $as_echo_n "checking for $ac_word... " >&6; }
10292 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10293 $as_echo_n "(cached) " >&6
10295 if test -n "$GCJ_FOR_TARGET"; then
10296 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10299 for as_dir in $PATH
10302 test -z "$as_dir" && as_dir=.
10303 for ac_exec_ext in '' $ac_executable_extensions; do
10304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10305 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10315 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10316 if test -n "$GCJ_FOR_TARGET"; then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10318 $as_echo "$GCJ_FOR_TARGET" >&6; }
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10321 $as_echo "no" >&6; }
10326 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10330 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10332 if test $build = $target ; then
10333 GCJ_FOR_TARGET="$2"
10335 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10338 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10343 if test -n "$GFORTRAN_FOR_TARGET"; then
10344 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10345 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10346 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10349 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10350 for ncn_progname in gfortran; do
10351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10352 set dummy ${ncn_progname}; ac_word=$2
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10354 $as_echo_n "checking for $ac_word... " >&6; }
10355 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10356 $as_echo_n "(cached) " >&6
10358 if test -n "$GFORTRAN_FOR_TARGET"; then
10359 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $PATH
10365 test -z "$as_dir" && as_dir=.
10366 for ac_exec_ext in '' $ac_executable_extensions; do
10367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10368 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10379 if test -n "$GFORTRAN_FOR_TARGET"; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10381 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10384 $as_echo "no" >&6; }
10391 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10392 for ncn_progname in gfortran; do
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10394 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10395 if test -x $with_build_time_tools/${ncn_progname}; then
10396 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10398 $as_echo "yes" >&6; }
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10402 $as_echo "no" >&6; }
10407 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10408 for ncn_progname in gfortran; do
10409 if test -n "$ncn_target_tool_prefix"; then
10410 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10411 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10413 $as_echo_n "checking for $ac_word... " >&6; }
10414 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10415 $as_echo_n "(cached) " >&6
10417 if test -n "$GFORTRAN_FOR_TARGET"; then
10418 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10421 for as_dir in $PATH
10424 test -z "$as_dir" && as_dir=.
10425 for ac_exec_ext in '' $ac_executable_extensions; do
10426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10427 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10437 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10438 if test -n "$GFORTRAN_FOR_TARGET"; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10440 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10443 $as_echo "no" >&6; }
10448 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10450 set dummy ${ncn_progname}; ac_word=$2
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10452 $as_echo_n "checking for $ac_word... " >&6; }
10453 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10454 $as_echo_n "(cached) " >&6
10456 if test -n "$GFORTRAN_FOR_TARGET"; then
10457 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10460 for as_dir in $PATH
10463 test -z "$as_dir" && as_dir=.
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10466 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10476 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10477 if test -n "$GFORTRAN_FOR_TARGET"; then
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10479 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 $as_echo "no" >&6; }
10487 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10491 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10493 if test $build = $target ; then
10494 GFORTRAN_FOR_TARGET="$2"
10496 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10499 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10504 if test -n "$GOC_FOR_TARGET"; then
10505 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10506 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10507 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10510 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10511 for ncn_progname in gccgo; do
10512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10513 set dummy ${ncn_progname}; ac_word=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10515 $as_echo_n "checking for $ac_word... " >&6; }
10516 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10517 $as_echo_n "(cached) " >&6
10519 if test -n "$GOC_FOR_TARGET"; then
10520 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10523 for as_dir in $PATH
10526 test -z "$as_dir" && as_dir=.
10527 for ac_exec_ext in '' $ac_executable_extensions; do
10528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10529 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10539 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10540 if test -n "$GOC_FOR_TARGET"; then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10542 $as_echo "$GOC_FOR_TARGET" >&6; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 $as_echo "no" >&6; }
10552 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10553 for ncn_progname in gccgo; do
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10555 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10556 if test -x $with_build_time_tools/${ncn_progname}; then
10557 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10559 $as_echo "yes" >&6; }
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 $as_echo "no" >&6; }
10568 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10569 for ncn_progname in gccgo; do
10570 if test -n "$ncn_target_tool_prefix"; then
10571 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10572 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10574 $as_echo_n "checking for $ac_word... " >&6; }
10575 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10576 $as_echo_n "(cached) " >&6
10578 if test -n "$GOC_FOR_TARGET"; then
10579 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10588 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10598 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10599 if test -n "$GOC_FOR_TARGET"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10601 $as_echo "$GOC_FOR_TARGET" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10604 $as_echo "no" >&6; }
10609 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10611 set dummy ${ncn_progname}; ac_word=$2
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10613 $as_echo_n "checking for $ac_word... " >&6; }
10614 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10615 $as_echo_n "(cached) " >&6
10617 if test -n "$GOC_FOR_TARGET"; then
10618 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10621 for as_dir in $PATH
10624 test -z "$as_dir" && as_dir=.
10625 for ac_exec_ext in '' $ac_executable_extensions; do
10626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10627 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10637 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10638 if test -n "$GOC_FOR_TARGET"; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10640 $as_echo "$GOC_FOR_TARGET" >&6; }
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10643 $as_echo "no" >&6; }
10648 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10652 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10654 if test $build = $target ; then
10655 GOC_FOR_TARGET="$2"
10657 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10660 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10665 cat > conftest.c << \EOF
10670 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10671 have_gcc_for_target=yes
10673 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10674 have_gcc_for_target=no
10681 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10682 if test -n "$with_build_time_tools"; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
10684 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
10685 if test -x $with_build_time_tools/ar; then
10686 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10687 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
10689 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10692 $as_echo "no" >&6; }
10694 elif test $build != $host && test $have_gcc_for_target = yes; then
10695 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10696 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10697 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10700 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10701 # Extract the first word of "ar", so it can be a program name with args.
10702 set dummy ar; ac_word=$2
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10704 $as_echo_n "checking for $ac_word... " >&6; }
10705 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10706 $as_echo_n "(cached) " >&6
10708 case $AR_FOR_TARGET in
10710 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714 for as_dir in $gcc_cv_tool_dirs
10717 test -z "$as_dir" && as_dir=.
10718 for ac_exec_ext in '' $ac_executable_extensions; do
10719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10720 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10731 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10732 if test -n "$AR_FOR_TARGET"; then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10734 $as_echo "$AR_FOR_TARGET" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10737 $as_echo "no" >&6; }
10742 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10745 if test -n "$AR_FOR_TARGET"; then
10746 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10747 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10748 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10751 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10752 for ncn_progname in ar; do
10753 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10754 set dummy ${ncn_progname}; ac_word=$2
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10756 $as_echo_n "checking for $ac_word... " >&6; }
10757 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10758 $as_echo_n "(cached) " >&6
10760 if test -n "$AR_FOR_TARGET"; then
10761 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10764 for as_dir in $PATH
10767 test -z "$as_dir" && as_dir=.
10768 for ac_exec_ext in '' $ac_executable_extensions; do
10769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10770 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10780 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10781 if test -n "$AR_FOR_TARGET"; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10783 $as_echo "$AR_FOR_TARGET" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10786 $as_echo "no" >&6; }
10793 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10794 for ncn_progname in ar; do
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10796 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10797 if test -x $with_build_time_tools/${ncn_progname}; then
10798 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10800 $as_echo "yes" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10809 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10810 for ncn_progname in ar; do
10811 if test -n "$ncn_target_tool_prefix"; then
10812 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10813 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10815 $as_echo_n "checking for $ac_word... " >&6; }
10816 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10817 $as_echo_n "(cached) " >&6
10819 if test -n "$AR_FOR_TARGET"; then
10820 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10823 for as_dir in $PATH
10826 test -z "$as_dir" && as_dir=.
10827 for ac_exec_ext in '' $ac_executable_extensions; do
10828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10829 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10839 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10840 if test -n "$AR_FOR_TARGET"; then
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10842 $as_echo "$AR_FOR_TARGET" >&6; }
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10845 $as_echo "no" >&6; }
10850 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10852 set dummy ${ncn_progname}; ac_word=$2
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10854 $as_echo_n "checking for $ac_word... " >&6; }
10855 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10856 $as_echo_n "(cached) " >&6
10858 if test -n "$AR_FOR_TARGET"; then
10859 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10862 for as_dir in $PATH
10865 test -z "$as_dir" && as_dir=.
10866 for ac_exec_ext in '' $ac_executable_extensions; do
10867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10868 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10878 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10879 if test -n "$AR_FOR_TARGET"; then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10881 $as_echo "$AR_FOR_TARGET" >&6; }
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10884 $as_echo "no" >&6; }
10889 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10893 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10895 if test $build = $target ; then
10898 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10901 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10905 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10911 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10912 if test -n "$with_build_time_tools"; then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10914 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10915 if test -x $with_build_time_tools/as; then
10916 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10917 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10919 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10922 $as_echo "no" >&6; }
10924 elif test $build != $host && test $have_gcc_for_target = yes; then
10925 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10926 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10927 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10930 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10931 # Extract the first word of "as", so it can be a program name with args.
10932 set dummy as; ac_word=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10934 $as_echo_n "checking for $ac_word... " >&6; }
10935 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10936 $as_echo_n "(cached) " >&6
10938 case $AS_FOR_TARGET in
10940 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10944 for as_dir in $gcc_cv_tool_dirs
10947 test -z "$as_dir" && as_dir=.
10948 for ac_exec_ext in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10961 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10962 if test -n "$AS_FOR_TARGET"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10964 $as_echo "$AS_FOR_TARGET" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10967 $as_echo "no" >&6; }
10972 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10975 if test -n "$AS_FOR_TARGET"; then
10976 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10977 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10978 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10981 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10982 for ncn_progname in as; do
10983 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10984 set dummy ${ncn_progname}; ac_word=$2
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10986 $as_echo_n "checking for $ac_word... " >&6; }
10987 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10990 if test -n "$AS_FOR_TARGET"; then
10991 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10994 for as_dir in $PATH
10997 test -z "$as_dir" && as_dir=.
10998 for ac_exec_ext in '' $ac_executable_extensions; do
10999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11000 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11011 if test -n "$AS_FOR_TARGET"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11013 $as_echo "$AS_FOR_TARGET" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016 $as_echo "no" >&6; }
11023 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11024 for ncn_progname in as; do
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11026 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11027 if test -x $with_build_time_tools/${ncn_progname}; then
11028 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11030 $as_echo "yes" >&6; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11039 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11040 for ncn_progname in as; do
11041 if test -n "$ncn_target_tool_prefix"; then
11042 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11043 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11045 $as_echo_n "checking for $ac_word... " >&6; }
11046 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11047 $as_echo_n "(cached) " >&6
11049 if test -n "$AS_FOR_TARGET"; then
11050 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11053 for as_dir in $PATH
11056 test -z "$as_dir" && as_dir=.
11057 for ac_exec_ext in '' $ac_executable_extensions; do
11058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11059 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11069 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11070 if test -n "$AS_FOR_TARGET"; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11072 $as_echo "$AS_FOR_TARGET" >&6; }
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11075 $as_echo "no" >&6; }
11080 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11082 set dummy ${ncn_progname}; ac_word=$2
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11084 $as_echo_n "checking for $ac_word... " >&6; }
11085 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11086 $as_echo_n "(cached) " >&6
11088 if test -n "$AS_FOR_TARGET"; then
11089 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11092 for as_dir in $PATH
11095 test -z "$as_dir" && as_dir=.
11096 for ac_exec_ext in '' $ac_executable_extensions; do
11097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11098 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11108 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11109 if test -n "$AS_FOR_TARGET"; then
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11111 $as_echo "$AS_FOR_TARGET" >&6; }
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11114 $as_echo "no" >&6; }
11119 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11123 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11125 if test $build = $target ; then
11128 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11131 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11135 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11141 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11142 if test -n "$with_build_time_tools"; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11144 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11145 if test -x $with_build_time_tools/dlltool; then
11146 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11147 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11149 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11152 $as_echo "no" >&6; }
11154 elif test $build != $host && test $have_gcc_for_target = yes; then
11155 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11156 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11157 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11160 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11161 # Extract the first word of "dlltool", so it can be a program name with args.
11162 set dummy dlltool; ac_word=$2
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11164 $as_echo_n "checking for $ac_word... " >&6; }
11165 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11166 $as_echo_n "(cached) " >&6
11168 case $DLLTOOL_FOR_TARGET in
11170 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11174 for as_dir in $gcc_cv_tool_dirs
11177 test -z "$as_dir" && as_dir=.
11178 for ac_exec_ext in '' $ac_executable_extensions; do
11179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11180 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11191 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11192 if test -n "$DLLTOOL_FOR_TARGET"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11194 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11197 $as_echo "no" >&6; }
11202 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11205 if test -n "$DLLTOOL_FOR_TARGET"; then
11206 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11207 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11208 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11211 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11212 for ncn_progname in dlltool; do
11213 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11214 set dummy ${ncn_progname}; ac_word=$2
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11216 $as_echo_n "checking for $ac_word... " >&6; }
11217 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11218 $as_echo_n "(cached) " >&6
11220 if test -n "$DLLTOOL_FOR_TARGET"; then
11221 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11224 for as_dir in $PATH
11227 test -z "$as_dir" && as_dir=.
11228 for ac_exec_ext in '' $ac_executable_extensions; do
11229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11230 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11240 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11241 if test -n "$DLLTOOL_FOR_TARGET"; then
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11243 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11246 $as_echo "no" >&6; }
11253 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11254 for ncn_progname in dlltool; do
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11256 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11257 if test -x $with_build_time_tools/${ncn_progname}; then
11258 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11260 $as_echo "yes" >&6; }
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11264 $as_echo "no" >&6; }
11269 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11270 for ncn_progname in dlltool; do
11271 if test -n "$ncn_target_tool_prefix"; then
11272 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11273 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11275 $as_echo_n "checking for $ac_word... " >&6; }
11276 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11277 $as_echo_n "(cached) " >&6
11279 if test -n "$DLLTOOL_FOR_TARGET"; then
11280 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283 for as_dir in $PATH
11286 test -z "$as_dir" && as_dir=.
11287 for ac_exec_ext in '' $ac_executable_extensions; do
11288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11289 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11299 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11300 if test -n "$DLLTOOL_FOR_TARGET"; then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11302 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11305 $as_echo "no" >&6; }
11310 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11312 set dummy ${ncn_progname}; ac_word=$2
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11314 $as_echo_n "checking for $ac_word... " >&6; }
11315 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11316 $as_echo_n "(cached) " >&6
11318 if test -n "$DLLTOOL_FOR_TARGET"; then
11319 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11322 for as_dir in $PATH
11325 test -z "$as_dir" && as_dir=.
11326 for ac_exec_ext in '' $ac_executable_extensions; do
11327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11328 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11338 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11339 if test -n "$DLLTOOL_FOR_TARGET"; then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11341 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344 $as_echo "no" >&6; }
11349 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11353 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11355 if test $build = $target ; then
11356 DLLTOOL_FOR_TARGET="$2"
11358 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11361 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11365 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11371 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11372 if test -n "$with_build_time_tools"; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11374 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11375 if test -x $with_build_time_tools/ld; then
11376 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11377 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11379 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11382 $as_echo "no" >&6; }
11384 elif test $build != $host && test $have_gcc_for_target = yes; then
11385 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11386 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11387 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11390 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11391 # Extract the first word of "ld", so it can be a program name with args.
11392 set dummy ld; ac_word=$2
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11394 $as_echo_n "checking for $ac_word... " >&6; }
11395 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11396 $as_echo_n "(cached) " >&6
11398 case $LD_FOR_TARGET in
11400 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11404 for as_dir in $gcc_cv_tool_dirs
11407 test -z "$as_dir" && as_dir=.
11408 for ac_exec_ext in '' $ac_executable_extensions; do
11409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11410 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11421 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11422 if test -n "$LD_FOR_TARGET"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11424 $as_echo "$LD_FOR_TARGET" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11427 $as_echo "no" >&6; }
11432 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11435 if test -n "$LD_FOR_TARGET"; then
11436 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11437 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11438 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11441 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11442 for ncn_progname in ld; do
11443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11444 set dummy ${ncn_progname}; ac_word=$2
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11446 $as_echo_n "checking for $ac_word... " >&6; }
11447 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11448 $as_echo_n "(cached) " >&6
11450 if test -n "$LD_FOR_TARGET"; then
11451 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11454 for as_dir in $PATH
11457 test -z "$as_dir" && as_dir=.
11458 for ac_exec_ext in '' $ac_executable_extensions; do
11459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11460 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11470 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11471 if test -n "$LD_FOR_TARGET"; then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11473 $as_echo "$LD_FOR_TARGET" >&6; }
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11476 $as_echo "no" >&6; }
11483 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11484 for ncn_progname in ld; do
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11486 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11487 if test -x $with_build_time_tools/${ncn_progname}; then
11488 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11490 $as_echo "yes" >&6; }
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11494 $as_echo "no" >&6; }
11499 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11500 for ncn_progname in ld; do
11501 if test -n "$ncn_target_tool_prefix"; then
11502 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11503 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11505 $as_echo_n "checking for $ac_word... " >&6; }
11506 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11509 if test -n "$LD_FOR_TARGET"; then
11510 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513 for as_dir in $PATH
11516 test -z "$as_dir" && as_dir=.
11517 for ac_exec_ext in '' $ac_executable_extensions; do
11518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11519 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11529 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11530 if test -n "$LD_FOR_TARGET"; then
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11532 $as_echo "$LD_FOR_TARGET" >&6; }
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11535 $as_echo "no" >&6; }
11540 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11541 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11542 set dummy ${ncn_progname}; ac_word=$2
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11544 $as_echo_n "checking for $ac_word... " >&6; }
11545 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11546 $as_echo_n "(cached) " >&6
11548 if test -n "$LD_FOR_TARGET"; then
11549 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11552 for as_dir in $PATH
11555 test -z "$as_dir" && as_dir=.
11556 for ac_exec_ext in '' $ac_executable_extensions; do
11557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11558 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11568 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11569 if test -n "$LD_FOR_TARGET"; then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11571 $as_echo "$LD_FOR_TARGET" >&6; }
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11574 $as_echo "no" >&6; }
11579 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11583 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11585 if test $build = $target ; then
11588 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11591 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11595 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11601 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11602 if test -n "$with_build_time_tools"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
11604 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
11605 if test -x $with_build_time_tools/lipo; then
11606 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11607 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
11609 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11614 elif test $build != $host && test $have_gcc_for_target = yes; then
11615 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11616 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11617 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11620 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11621 # Extract the first word of "lipo", so it can be a program name with args.
11622 set dummy lipo; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11624 $as_echo_n "checking for $ac_word... " >&6; }
11625 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11626 $as_echo_n "(cached) " >&6
11628 case $LIPO_FOR_TARGET in
11630 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11634 for as_dir in $gcc_cv_tool_dirs
11637 test -z "$as_dir" && as_dir=.
11638 for ac_exec_ext in '' $ac_executable_extensions; do
11639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11640 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11652 if test -n "$LIPO_FOR_TARGET"; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11654 $as_echo "$LIPO_FOR_TARGET" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11657 $as_echo "no" >&6; }
11662 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11665 if test -n "$LIPO_FOR_TARGET"; then
11666 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11667 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11668 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11671 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11672 for ncn_progname in lipo; do
11673 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11674 set dummy ${ncn_progname}; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11678 $as_echo_n "(cached) " >&6
11680 if test -n "$LIPO_FOR_TARGET"; then
11681 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11687 test -z "$as_dir" && as_dir=.
11688 for ac_exec_ext in '' $ac_executable_extensions; do
11689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11690 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11700 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11701 if test -n "$LIPO_FOR_TARGET"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11703 $as_echo "$LIPO_FOR_TARGET" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11713 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11714 for ncn_progname in lipo; do
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11716 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11717 if test -x $with_build_time_tools/${ncn_progname}; then
11718 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11720 $as_echo "yes" >&6; }
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 $as_echo "no" >&6; }
11729 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11730 for ncn_progname in lipo; do
11731 if test -n "$ncn_target_tool_prefix"; then
11732 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11733 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11739 if test -n "$LIPO_FOR_TARGET"; then
11740 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11759 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11760 if test -n "$LIPO_FOR_TARGET"; then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11762 $as_echo "$LIPO_FOR_TARGET" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11770 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11772 set dummy ${ncn_progname}; ac_word=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11776 $as_echo_n "(cached) " >&6
11778 if test -n "$LIPO_FOR_TARGET"; then
11779 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11782 for as_dir in $PATH
11785 test -z "$as_dir" && as_dir=.
11786 for ac_exec_ext in '' $ac_executable_extensions; do
11787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11788 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11798 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11799 if test -n "$LIPO_FOR_TARGET"; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11801 $as_echo "$LIPO_FOR_TARGET" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 $as_echo "no" >&6; }
11809 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11813 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11815 if test $build = $target ; then
11816 LIPO_FOR_TARGET="$2"
11818 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11821 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11825 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11831 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11832 if test -n "$with_build_time_tools"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
11834 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
11835 if test -x $with_build_time_tools/nm; then
11836 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11837 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
11839 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11844 elif test $build != $host && test $have_gcc_for_target = yes; then
11845 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11846 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11847 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11850 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11851 # Extract the first word of "nm", so it can be a program name with args.
11852 set dummy nm; ac_word=$2
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11854 $as_echo_n "checking for $ac_word... " >&6; }
11855 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11856 $as_echo_n "(cached) " >&6
11858 case $NM_FOR_TARGET in
11860 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $gcc_cv_tool_dirs
11867 test -z "$as_dir" && as_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11881 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11882 if test -n "$NM_FOR_TARGET"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11884 $as_echo "$NM_FOR_TARGET" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11892 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11895 if test -n "$NM_FOR_TARGET"; then
11896 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11897 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11898 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11901 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11902 for ncn_progname in nm; do
11903 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11904 set dummy ${ncn_progname}; ac_word=$2
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11906 $as_echo_n "checking for $ac_word... " >&6; }
11907 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11908 $as_echo_n "(cached) " >&6
11910 if test -n "$NM_FOR_TARGET"; then
11911 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11914 for as_dir in $PATH
11917 test -z "$as_dir" && as_dir=.
11918 for ac_exec_ext in '' $ac_executable_extensions; do
11919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11920 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11930 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11931 if test -n "$NM_FOR_TARGET"; then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11933 $as_echo "$NM_FOR_TARGET" >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11936 $as_echo "no" >&6; }
11943 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11944 for ncn_progname in nm; do
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11946 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11947 if test -x $with_build_time_tools/${ncn_progname}; then
11948 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11950 $as_echo "yes" >&6; }
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11954 $as_echo "no" >&6; }
11959 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11960 for ncn_progname in nm; do
11961 if test -n "$ncn_target_tool_prefix"; then
11962 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11963 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11965 $as_echo_n "checking for $ac_word... " >&6; }
11966 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11967 $as_echo_n "(cached) " >&6
11969 if test -n "$NM_FOR_TARGET"; then
11970 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11973 for as_dir in $PATH
11976 test -z "$as_dir" && as_dir=.
11977 for ac_exec_ext in '' $ac_executable_extensions; do
11978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11979 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11989 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11990 if test -n "$NM_FOR_TARGET"; then
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11992 $as_echo "$NM_FOR_TARGET" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11995 $as_echo "no" >&6; }
12000 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12001 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12002 set dummy ${ncn_progname}; ac_word=$2
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12004 $as_echo_n "checking for $ac_word... " >&6; }
12005 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12006 $as_echo_n "(cached) " >&6
12008 if test -n "$NM_FOR_TARGET"; then
12009 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12012 for as_dir in $PATH
12015 test -z "$as_dir" && as_dir=.
12016 for ac_exec_ext in '' $ac_executable_extensions; do
12017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12018 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12028 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12029 if test -n "$NM_FOR_TARGET"; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12031 $as_echo "$NM_FOR_TARGET" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12039 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12043 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12045 if test $build = $target ; then
12048 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12051 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12055 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12061 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12062 if test -n "$with_build_time_tools"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
12064 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
12065 if test -x $with_build_time_tools/objdump; then
12066 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12067 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12069 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12074 elif test $build != $host && test $have_gcc_for_target = yes; then
12075 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12076 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12077 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12080 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12081 # Extract the first word of "objdump", so it can be a program name with args.
12082 set dummy objdump; ac_word=$2
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12084 $as_echo_n "checking for $ac_word... " >&6; }
12085 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12086 $as_echo_n "(cached) " >&6
12088 case $OBJDUMP_FOR_TARGET in
12090 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12094 for as_dir in $gcc_cv_tool_dirs
12097 test -z "$as_dir" && as_dir=.
12098 for ac_exec_ext in '' $ac_executable_extensions; do
12099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12100 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12111 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12112 if test -n "$OBJDUMP_FOR_TARGET"; then
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12114 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12117 $as_echo "no" >&6; }
12122 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12125 if test -n "$OBJDUMP_FOR_TARGET"; then
12126 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12127 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12128 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12131 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12132 for ncn_progname in objdump; do
12133 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12134 set dummy ${ncn_progname}; ac_word=$2
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12136 $as_echo_n "checking for $ac_word... " >&6; }
12137 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12138 $as_echo_n "(cached) " >&6
12140 if test -n "$OBJDUMP_FOR_TARGET"; then
12141 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12160 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12161 if test -n "$OBJDUMP_FOR_TARGET"; then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12163 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12173 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12174 for ncn_progname in objdump; do
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12176 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12177 if test -x $with_build_time_tools/${ncn_progname}; then
12178 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12180 $as_echo "yes" >&6; }
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12184 $as_echo "no" >&6; }
12189 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12190 for ncn_progname in objdump; do
12191 if test -n "$ncn_target_tool_prefix"; then
12192 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12193 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12195 $as_echo_n "checking for $ac_word... " >&6; }
12196 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12197 $as_echo_n "(cached) " >&6
12199 if test -n "$OBJDUMP_FOR_TARGET"; then
12200 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203 for as_dir in $PATH
12206 test -z "$as_dir" && as_dir=.
12207 for ac_exec_ext in '' $ac_executable_extensions; do
12208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12209 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12219 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12220 if test -n "$OBJDUMP_FOR_TARGET"; then
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12222 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12230 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12232 set dummy ${ncn_progname}; ac_word=$2
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12234 $as_echo_n "checking for $ac_word... " >&6; }
12235 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12238 if test -n "$OBJDUMP_FOR_TARGET"; then
12239 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12242 for as_dir in $PATH
12245 test -z "$as_dir" && as_dir=.
12246 for ac_exec_ext in '' $ac_executable_extensions; do
12247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12248 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12259 if test -n "$OBJDUMP_FOR_TARGET"; then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12261 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12264 $as_echo "no" >&6; }
12269 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12273 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12275 if test $build = $target ; then
12276 OBJDUMP_FOR_TARGET="$2"
12278 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12281 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12285 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12291 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12292 if test -n "$with_build_time_tools"; then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12294 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12295 if test -x $with_build_time_tools/ranlib; then
12296 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12297 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12299 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12302 $as_echo "no" >&6; }
12304 elif test $build != $host && test $have_gcc_for_target = yes; then
12305 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12306 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12307 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12310 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12311 # Extract the first word of "ranlib", so it can be a program name with args.
12312 set dummy ranlib; ac_word=$2
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12314 $as_echo_n "checking for $ac_word... " >&6; }
12315 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12316 $as_echo_n "(cached) " >&6
12318 case $RANLIB_FOR_TARGET in
12320 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $gcc_cv_tool_dirs
12327 test -z "$as_dir" && as_dir=.
12328 for ac_exec_ext in '' $ac_executable_extensions; do
12329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12330 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12341 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12342 if test -n "$RANLIB_FOR_TARGET"; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12344 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347 $as_echo "no" >&6; }
12352 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12355 if test -n "$RANLIB_FOR_TARGET"; then
12356 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12357 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12358 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12361 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12362 for ncn_progname in ranlib; do
12363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12364 set dummy ${ncn_progname}; ac_word=$2
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12366 $as_echo_n "checking for $ac_word... " >&6; }
12367 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12368 $as_echo_n "(cached) " >&6
12370 if test -n "$RANLIB_FOR_TARGET"; then
12371 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12374 for as_dir in $PATH
12377 test -z "$as_dir" && as_dir=.
12378 for ac_exec_ext in '' $ac_executable_extensions; do
12379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12380 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12390 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12391 if test -n "$RANLIB_FOR_TARGET"; then
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12393 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12396 $as_echo "no" >&6; }
12403 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12404 for ncn_progname in ranlib; do
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12406 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12407 if test -x $with_build_time_tools/${ncn_progname}; then
12408 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12410 $as_echo "yes" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12414 $as_echo "no" >&6; }
12419 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12420 for ncn_progname in ranlib; do
12421 if test -n "$ncn_target_tool_prefix"; then
12422 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12423 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12425 $as_echo_n "checking for $ac_word... " >&6; }
12426 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12427 $as_echo_n "(cached) " >&6
12429 if test -n "$RANLIB_FOR_TARGET"; then
12430 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12433 for as_dir in $PATH
12436 test -z "$as_dir" && as_dir=.
12437 for ac_exec_ext in '' $ac_executable_extensions; do
12438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12439 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12449 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12450 if test -n "$RANLIB_FOR_TARGET"; then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12452 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12455 $as_echo "no" >&6; }
12460 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12462 set dummy ${ncn_progname}; ac_word=$2
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12464 $as_echo_n "checking for $ac_word... " >&6; }
12465 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12466 $as_echo_n "(cached) " >&6
12468 if test -n "$RANLIB_FOR_TARGET"; then
12469 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12472 for as_dir in $PATH
12475 test -z "$as_dir" && as_dir=.
12476 for ac_exec_ext in '' $ac_executable_extensions; do
12477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12478 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12488 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12489 if test -n "$RANLIB_FOR_TARGET"; then
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12491 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12494 $as_echo "no" >&6; }
12499 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12503 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12505 if test $build = $target ; then
12506 RANLIB_FOR_TARGET="$2"
12508 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12511 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12515 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12521 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12522 if test -n "$with_build_time_tools"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
12524 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
12525 if test -x $with_build_time_tools/strip; then
12526 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12527 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
12529 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12534 elif test $build != $host && test $have_gcc_for_target = yes; then
12535 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12536 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12537 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12540 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12541 # Extract the first word of "strip", so it can be a program name with args.
12542 set dummy strip; ac_word=$2
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12544 $as_echo_n "checking for $ac_word... " >&6; }
12545 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12546 $as_echo_n "(cached) " >&6
12548 case $STRIP_FOR_TARGET in
12550 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12554 for as_dir in $gcc_cv_tool_dirs
12557 test -z "$as_dir" && as_dir=.
12558 for ac_exec_ext in '' $ac_executable_extensions; do
12559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12560 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12571 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12572 if test -n "$STRIP_FOR_TARGET"; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12574 $as_echo "$STRIP_FOR_TARGET" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12582 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12585 if test -n "$STRIP_FOR_TARGET"; then
12586 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12587 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12588 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12591 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12592 for ncn_progname in strip; do
12593 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12594 set dummy ${ncn_progname}; ac_word=$2
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12596 $as_echo_n "checking for $ac_word... " >&6; }
12597 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12598 $as_echo_n "(cached) " >&6
12600 if test -n "$STRIP_FOR_TARGET"; then
12601 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12604 for as_dir in $PATH
12607 test -z "$as_dir" && as_dir=.
12608 for ac_exec_ext in '' $ac_executable_extensions; do
12609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12610 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12620 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12621 if test -n "$STRIP_FOR_TARGET"; then
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12623 $as_echo "$STRIP_FOR_TARGET" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12626 $as_echo "no" >&6; }
12633 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12634 for ncn_progname in strip; do
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12636 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12637 if test -x $with_build_time_tools/${ncn_progname}; then
12638 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12640 $as_echo "yes" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12649 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12650 for ncn_progname in strip; do
12651 if test -n "$ncn_target_tool_prefix"; then
12652 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12653 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12655 $as_echo_n "checking for $ac_word... " >&6; }
12656 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12657 $as_echo_n "(cached) " >&6
12659 if test -n "$STRIP_FOR_TARGET"; then
12660 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12663 for as_dir in $PATH
12666 test -z "$as_dir" && as_dir=.
12667 for ac_exec_ext in '' $ac_executable_extensions; do
12668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12669 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12679 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12680 if test -n "$STRIP_FOR_TARGET"; then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12682 $as_echo "$STRIP_FOR_TARGET" >&6; }
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12685 $as_echo "no" >&6; }
12690 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12692 set dummy ${ncn_progname}; ac_word=$2
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12694 $as_echo_n "checking for $ac_word... " >&6; }
12695 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12696 $as_echo_n "(cached) " >&6
12698 if test -n "$STRIP_FOR_TARGET"; then
12699 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12702 for as_dir in $PATH
12705 test -z "$as_dir" && as_dir=.
12706 for ac_exec_ext in '' $ac_executable_extensions; do
12707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12708 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12718 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12719 if test -n "$STRIP_FOR_TARGET"; then
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12721 $as_echo "$STRIP_FOR_TARGET" >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12729 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12733 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12735 if test $build = $target ; then
12736 STRIP_FOR_TARGET="$2"
12738 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12741 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12745 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12751 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12752 if test -n "$with_build_time_tools"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
12754 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
12755 if test -x $with_build_time_tools/windres; then
12756 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12757 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12759 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12764 elif test $build != $host && test $have_gcc_for_target = yes; then
12765 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12766 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12767 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12770 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12771 # Extract the first word of "windres", so it can be a program name with args.
12772 set dummy windres; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774 $as_echo_n "checking for $ac_word... " >&6; }
12775 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12776 $as_echo_n "(cached) " >&6
12778 case $WINDRES_FOR_TARGET in
12780 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $gcc_cv_tool_dirs
12787 test -z "$as_dir" && as_dir=.
12788 for ac_exec_ext in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12801 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12802 if test -n "$WINDRES_FOR_TARGET"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12804 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12812 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12815 if test -n "$WINDRES_FOR_TARGET"; then
12816 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12817 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12818 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12821 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12822 for ncn_progname in windres; do
12823 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12824 set dummy ${ncn_progname}; ac_word=$2
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12826 $as_echo_n "checking for $ac_word... " >&6; }
12827 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12830 if test -n "$WINDRES_FOR_TARGET"; then
12831 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12834 for as_dir in $PATH
12837 test -z "$as_dir" && as_dir=.
12838 for ac_exec_ext in '' $ac_executable_extensions; do
12839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12840 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12850 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12851 if test -n "$WINDRES_FOR_TARGET"; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12853 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12856 $as_echo "no" >&6; }
12863 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12864 for ncn_progname in windres; do
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12866 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12867 if test -x $with_build_time_tools/${ncn_progname}; then
12868 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12870 $as_echo "yes" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874 $as_echo "no" >&6; }
12879 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12880 for ncn_progname in windres; do
12881 if test -n "$ncn_target_tool_prefix"; then
12882 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12883 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12885 $as_echo_n "checking for $ac_word... " >&6; }
12886 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12887 $as_echo_n "(cached) " >&6
12889 if test -n "$WINDRES_FOR_TARGET"; then
12890 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12893 for as_dir in $PATH
12896 test -z "$as_dir" && as_dir=.
12897 for ac_exec_ext in '' $ac_executable_extensions; do
12898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12899 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12909 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12910 if test -n "$WINDRES_FOR_TARGET"; then
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12912 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915 $as_echo "no" >&6; }
12920 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12921 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12922 set dummy ${ncn_progname}; ac_word=$2
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12924 $as_echo_n "checking for $ac_word... " >&6; }
12925 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12926 $as_echo_n "(cached) " >&6
12928 if test -n "$WINDRES_FOR_TARGET"; then
12929 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12932 for as_dir in $PATH
12935 test -z "$as_dir" && as_dir=.
12936 for ac_exec_ext in '' $ac_executable_extensions; do
12937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12938 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12948 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12949 if test -n "$WINDRES_FOR_TARGET"; then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12951 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12954 $as_echo "no" >&6; }
12959 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12963 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12965 if test $build = $target ; then
12966 WINDRES_FOR_TARGET="$2"
12968 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12971 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12975 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12981 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12982 if test -n "$with_build_time_tools"; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12984 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12985 if test -x $with_build_time_tools/windmc; then
12986 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12987 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12989 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12992 $as_echo "no" >&6; }
12994 elif test $build != $host && test $have_gcc_for_target = yes; then
12995 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12996 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12997 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13000 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13001 # Extract the first word of "windmc", so it can be a program name with args.
13002 set dummy windmc; ac_word=$2
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13004 $as_echo_n "checking for $ac_word... " >&6; }
13005 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13006 $as_echo_n "(cached) " >&6
13008 case $WINDMC_FOR_TARGET in
13010 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13014 for as_dir in $gcc_cv_tool_dirs
13017 test -z "$as_dir" && as_dir=.
13018 for ac_exec_ext in '' $ac_executable_extensions; do
13019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13020 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13031 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13032 if test -n "$WINDMC_FOR_TARGET"; then
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13034 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13037 $as_echo "no" >&6; }
13042 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13045 if test -n "$WINDMC_FOR_TARGET"; then
13046 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13047 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13048 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13051 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13052 for ncn_progname in windmc; do
13053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13054 set dummy ${ncn_progname}; ac_word=$2
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13056 $as_echo_n "checking for $ac_word... " >&6; }
13057 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13058 $as_echo_n "(cached) " >&6
13060 if test -n "$WINDMC_FOR_TARGET"; then
13061 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $PATH
13067 test -z "$as_dir" && as_dir=.
13068 for ac_exec_ext in '' $ac_executable_extensions; do
13069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13070 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13080 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13081 if test -n "$WINDMC_FOR_TARGET"; then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13083 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13093 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13094 for ncn_progname in windmc; do
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13096 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13097 if test -x $with_build_time_tools/${ncn_progname}; then
13098 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13100 $as_echo "yes" >&6; }
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13104 $as_echo "no" >&6; }
13109 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13110 for ncn_progname in windmc; do
13111 if test -n "$ncn_target_tool_prefix"; then
13112 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13113 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13115 $as_echo_n "checking for $ac_word... " >&6; }
13116 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13117 $as_echo_n "(cached) " >&6
13119 if test -n "$WINDMC_FOR_TARGET"; then
13120 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13123 for as_dir in $PATH
13126 test -z "$as_dir" && as_dir=.
13127 for ac_exec_ext in '' $ac_executable_extensions; do
13128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13129 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13139 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13140 if test -n "$WINDMC_FOR_TARGET"; then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13142 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13145 $as_echo "no" >&6; }
13150 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13152 set dummy ${ncn_progname}; ac_word=$2
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13154 $as_echo_n "checking for $ac_word... " >&6; }
13155 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13156 $as_echo_n "(cached) " >&6
13158 if test -n "$WINDMC_FOR_TARGET"; then
13159 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13162 for as_dir in $PATH
13165 test -z "$as_dir" && as_dir=.
13166 for ac_exec_ext in '' $ac_executable_extensions; do
13167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13168 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13178 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13179 if test -n "$WINDMC_FOR_TARGET"; then
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13181 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13184 $as_echo "no" >&6; }
13189 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13193 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13195 if test $build = $target ; then
13196 WINDMC_FOR_TARGET="$2"
13198 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13201 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13205 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13209 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13212 $as_echo_n "checking where to find the target ar... " >&6; }
13213 if test "x${build}" != "x${host}" ; then
13214 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13215 # We already found the complete path
13216 ac_dir=`dirname $AR_FOR_TARGET`
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13218 $as_echo "pre-installed in $ac_dir" >&6; }
13220 # Canadian cross, just use what we found
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13222 $as_echo "pre-installed" >&6; }
13226 case " ${configdirs} " in
13231 if test $ok = yes; then
13232 # An in-tree tool is available and we can use it
13233 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13235 $as_echo "just compiled" >&6; }
13236 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13237 # We already found the complete path
13238 ac_dir=`dirname $AR_FOR_TARGET`
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13240 $as_echo "pre-installed in $ac_dir" >&6; }
13241 elif test "x$target" = "x$host"; then
13242 # We can use an host tool
13243 AR_FOR_TARGET='$(AR)'
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13245 $as_echo "host tool" >&6; }
13247 # We need a cross tool
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13249 $as_echo "pre-installed" >&6; }
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13254 $as_echo_n "checking where to find the target as... " >&6; }
13255 if test "x${build}" != "x${host}" ; then
13256 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13257 # We already found the complete path
13258 ac_dir=`dirname $AS_FOR_TARGET`
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13260 $as_echo "pre-installed in $ac_dir" >&6; }
13262 # Canadian cross, just use what we found
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13264 $as_echo "pre-installed" >&6; }
13268 case " ${configdirs} " in
13273 if test $ok = yes; then
13274 # An in-tree tool is available and we can use it
13275 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13277 $as_echo "just compiled" >&6; }
13278 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13279 # We already found the complete path
13280 ac_dir=`dirname $AS_FOR_TARGET`
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13282 $as_echo "pre-installed in $ac_dir" >&6; }
13283 elif test "x$target" = "x$host"; then
13284 # We can use an host tool
13285 AS_FOR_TARGET='$(AS)'
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13287 $as_echo "host tool" >&6; }
13289 # We need a cross tool
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13291 $as_echo "pre-installed" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
13296 $as_echo_n "checking where to find the target cc... " >&6; }
13297 if test "x${build}" != "x${host}" ; then
13298 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13299 # We already found the complete path
13300 ac_dir=`dirname $CC_FOR_TARGET`
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13302 $as_echo "pre-installed in $ac_dir" >&6; }
13304 # Canadian cross, just use what we found
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13306 $as_echo "pre-installed" >&6; }
13310 case " ${configdirs} " in
13315 if test $ok = yes; then
13316 # An in-tree tool is available and we can use it
13317 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13319 $as_echo "just compiled" >&6; }
13320 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13321 # We already found the complete path
13322 ac_dir=`dirname $CC_FOR_TARGET`
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13324 $as_echo "pre-installed in $ac_dir" >&6; }
13325 elif test "x$target" = "x$host"; then
13326 # We can use an host tool
13327 CC_FOR_TARGET='$(CC)'
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13329 $as_echo "host tool" >&6; }
13331 # We need a cross tool
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13333 $as_echo "pre-installed" >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
13338 $as_echo_n "checking where to find the target c++... " >&6; }
13339 if test "x${build}" != "x${host}" ; then
13340 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13341 # We already found the complete path
13342 ac_dir=`dirname $CXX_FOR_TARGET`
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13344 $as_echo "pre-installed in $ac_dir" >&6; }
13346 # Canadian cross, just use what we found
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13348 $as_echo "pre-installed" >&6; }
13352 case " ${configdirs} " in
13356 case ,${enable_languages}, in
13360 if test $ok = yes; then
13361 # An in-tree tool is available and we can use it
13362 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'
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13364 $as_echo "just compiled" >&6; }
13365 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13366 # We already found the complete path
13367 ac_dir=`dirname $CXX_FOR_TARGET`
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13369 $as_echo "pre-installed in $ac_dir" >&6; }
13370 elif test "x$target" = "x$host"; then
13371 # We can use an host tool
13372 CXX_FOR_TARGET='$(CXX)'
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13374 $as_echo "host tool" >&6; }
13376 # We need a cross tool
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13378 $as_echo "pre-installed" >&6; }
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
13383 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
13384 if test "x${build}" != "x${host}" ; then
13385 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13386 # We already found the complete path
13387 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13389 $as_echo "pre-installed in $ac_dir" >&6; }
13391 # Canadian cross, just use what we found
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13393 $as_echo "pre-installed" >&6; }
13397 case " ${configdirs} " in
13401 case ,${enable_languages}, in
13405 if test $ok = yes; then
13406 # An in-tree tool is available and we can use it
13407 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'
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13409 $as_echo "just compiled" >&6; }
13410 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13411 # We already found the complete path
13412 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13414 $as_echo "pre-installed in $ac_dir" >&6; }
13415 elif test "x$target" = "x$host"; then
13416 # We can use an host tool
13417 RAW_CXX_FOR_TARGET='$(CXX)'
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13419 $as_echo "host tool" >&6; }
13421 # We need a cross tool
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13423 $as_echo "pre-installed" >&6; }
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
13428 $as_echo_n "checking where to find the target dlltool... " >&6; }
13429 if test "x${build}" != "x${host}" ; then
13430 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13431 # We already found the complete path
13432 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13434 $as_echo "pre-installed in $ac_dir" >&6; }
13436 # Canadian cross, just use what we found
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13438 $as_echo "pre-installed" >&6; }
13442 case " ${configdirs} " in
13447 if test $ok = yes; then
13448 # An in-tree tool is available and we can use it
13449 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13451 $as_echo "just compiled" >&6; }
13452 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13453 # We already found the complete path
13454 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13456 $as_echo "pre-installed in $ac_dir" >&6; }
13457 elif test "x$target" = "x$host"; then
13458 # We can use an host tool
13459 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13461 $as_echo "host tool" >&6; }
13463 # We need a cross tool
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13465 $as_echo "pre-installed" >&6; }
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
13470 $as_echo_n "checking where to find the target gcc... " >&6; }
13471 if test "x${build}" != "x${host}" ; then
13472 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13473 # We already found the complete path
13474 ac_dir=`dirname $GCC_FOR_TARGET`
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13476 $as_echo "pre-installed in $ac_dir" >&6; }
13478 # Canadian cross, just use what we found
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13480 $as_echo "pre-installed" >&6; }
13484 case " ${configdirs} " in
13489 if test $ok = yes; then
13490 # An in-tree tool is available and we can use it
13491 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13493 $as_echo "just compiled" >&6; }
13494 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13495 # We already found the complete path
13496 ac_dir=`dirname $GCC_FOR_TARGET`
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13498 $as_echo "pre-installed in $ac_dir" >&6; }
13499 elif test "x$target" = "x$host"; then
13500 # We can use an host tool
13501 GCC_FOR_TARGET='$()'
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13503 $as_echo "host tool" >&6; }
13505 # We need a cross tool
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13507 $as_echo "pre-installed" >&6; }
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
13512 $as_echo_n "checking where to find the target gcj... " >&6; }
13513 if test "x${build}" != "x${host}" ; then
13514 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13515 # We already found the complete path
13516 ac_dir=`dirname $GCJ_FOR_TARGET`
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13518 $as_echo "pre-installed in $ac_dir" >&6; }
13520 # Canadian cross, just use what we found
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13522 $as_echo "pre-installed" >&6; }
13526 case " ${configdirs} " in
13530 case ,${enable_languages}, in
13534 if test $ok = yes; then
13535 # An in-tree tool is available and we can use it
13536 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13538 $as_echo "just compiled" >&6; }
13539 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13540 # We already found the complete path
13541 ac_dir=`dirname $GCJ_FOR_TARGET`
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13543 $as_echo "pre-installed in $ac_dir" >&6; }
13544 elif test "x$target" = "x$host"; then
13545 # We can use an host tool
13546 GCJ_FOR_TARGET='$(GCJ)'
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13548 $as_echo "host tool" >&6; }
13550 # We need a cross tool
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13552 $as_echo "pre-installed" >&6; }
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
13557 $as_echo_n "checking where to find the target gfortran... " >&6; }
13558 if test "x${build}" != "x${host}" ; then
13559 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13560 # We already found the complete path
13561 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13563 $as_echo "pre-installed in $ac_dir" >&6; }
13565 # Canadian cross, just use what we found
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13567 $as_echo "pre-installed" >&6; }
13571 case " ${configdirs} " in
13575 case ,${enable_languages}, in
13579 if test $ok = yes; then
13580 # An in-tree tool is available and we can use it
13581 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13583 $as_echo "just compiled" >&6; }
13584 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13585 # We already found the complete path
13586 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13588 $as_echo "pre-installed in $ac_dir" >&6; }
13589 elif test "x$target" = "x$host"; then
13590 # We can use an host tool
13591 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13593 $as_echo "host tool" >&6; }
13595 # We need a cross tool
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13597 $as_echo "pre-installed" >&6; }
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
13602 $as_echo_n "checking where to find the target gccgo... " >&6; }
13603 if test "x${build}" != "x${host}" ; then
13604 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13605 # We already found the complete path
13606 ac_dir=`dirname $GOC_FOR_TARGET`
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13608 $as_echo "pre-installed in $ac_dir" >&6; }
13610 # Canadian cross, just use what we found
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13612 $as_echo "pre-installed" >&6; }
13616 case " ${configdirs} " in
13620 case ,${enable_languages}, in
13624 if test $ok = yes; then
13625 # An in-tree tool is available and we can use it
13626 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13628 $as_echo "just compiled" >&6; }
13629 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13630 # We already found the complete path
13631 ac_dir=`dirname $GOC_FOR_TARGET`
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13633 $as_echo "pre-installed in $ac_dir" >&6; }
13634 elif test "x$target" = "x$host"; then
13635 # We can use an host tool
13636 GOC_FOR_TARGET='$(GOC)'
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13638 $as_echo "host tool" >&6; }
13640 # We need a cross tool
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13642 $as_echo "pre-installed" >&6; }
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
13647 $as_echo_n "checking where to find the target ld... " >&6; }
13648 if test "x${build}" != "x${host}" ; then
13649 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13650 # We already found the complete path
13651 ac_dir=`dirname $LD_FOR_TARGET`
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13653 $as_echo "pre-installed in $ac_dir" >&6; }
13655 # Canadian cross, just use what we found
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13657 $as_echo "pre-installed" >&6; }
13661 case " ${configdirs} " in
13666 if test $ok = yes; then
13667 # An in-tree tool is available and we can use it
13668 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13670 $as_echo "just compiled" >&6; }
13671 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13672 # We already found the complete path
13673 ac_dir=`dirname $LD_FOR_TARGET`
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13675 $as_echo "pre-installed in $ac_dir" >&6; }
13676 elif test "x$target" = "x$host"; then
13677 # We can use an host tool
13678 LD_FOR_TARGET='$(LD)'
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13680 $as_echo "host tool" >&6; }
13682 # We need a cross tool
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13684 $as_echo "pre-installed" >&6; }
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
13689 $as_echo_n "checking where to find the target lipo... " >&6; }
13690 if test "x${build}" != "x${host}" ; then
13691 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13692 # We already found the complete path
13693 ac_dir=`dirname $LIPO_FOR_TARGET`
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13695 $as_echo "pre-installed in $ac_dir" >&6; }
13697 # Canadian cross, just use what we found
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13699 $as_echo "pre-installed" >&6; }
13702 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13703 # We already found the complete path
13704 ac_dir=`dirname $LIPO_FOR_TARGET`
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13706 $as_echo "pre-installed in $ac_dir" >&6; }
13707 elif test "x$target" = "x$host"; then
13708 # We can use an host tool
13709 LIPO_FOR_TARGET='$(LIPO)'
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13711 $as_echo "host tool" >&6; }
13713 # We need a cross tool
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13715 $as_echo "pre-installed" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
13720 $as_echo_n "checking where to find the target nm... " >&6; }
13721 if test "x${build}" != "x${host}" ; then
13722 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13723 # We already found the complete path
13724 ac_dir=`dirname $NM_FOR_TARGET`
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13726 $as_echo "pre-installed in $ac_dir" >&6; }
13728 # Canadian cross, just use what we found
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13730 $as_echo "pre-installed" >&6; }
13734 case " ${configdirs} " in
13739 if test $ok = yes; then
13740 # An in-tree tool is available and we can use it
13741 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13743 $as_echo "just compiled" >&6; }
13744 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13745 # We already found the complete path
13746 ac_dir=`dirname $NM_FOR_TARGET`
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13748 $as_echo "pre-installed in $ac_dir" >&6; }
13749 elif test "x$target" = "x$host"; then
13750 # We can use an host tool
13751 NM_FOR_TARGET='$(NM)'
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13753 $as_echo "host tool" >&6; }
13755 # We need a cross tool
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13757 $as_echo "pre-installed" >&6; }
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
13762 $as_echo_n "checking where to find the target objdump... " >&6; }
13763 if test "x${build}" != "x${host}" ; then
13764 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13765 # We already found the complete path
13766 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13768 $as_echo "pre-installed in $ac_dir" >&6; }
13770 # Canadian cross, just use what we found
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13772 $as_echo "pre-installed" >&6; }
13776 case " ${configdirs} " in
13781 if test $ok = yes; then
13782 # An in-tree tool is available and we can use it
13783 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13785 $as_echo "just compiled" >&6; }
13786 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13787 # We already found the complete path
13788 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13790 $as_echo "pre-installed in $ac_dir" >&6; }
13791 elif test "x$target" = "x$host"; then
13792 # We can use an host tool
13793 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13795 $as_echo "host tool" >&6; }
13797 # We need a cross tool
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13799 $as_echo "pre-installed" >&6; }
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
13804 $as_echo_n "checking where to find the target ranlib... " >&6; }
13805 if test "x${build}" != "x${host}" ; then
13806 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13807 # We already found the complete path
13808 ac_dir=`dirname $RANLIB_FOR_TARGET`
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13810 $as_echo "pre-installed in $ac_dir" >&6; }
13812 # Canadian cross, just use what we found
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13814 $as_echo "pre-installed" >&6; }
13818 case " ${configdirs} " in
13823 if test $ok = yes; then
13824 # An in-tree tool is available and we can use it
13825 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13827 $as_echo "just compiled" >&6; }
13828 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13829 # We already found the complete path
13830 ac_dir=`dirname $RANLIB_FOR_TARGET`
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13832 $as_echo "pre-installed in $ac_dir" >&6; }
13833 elif test "x$target" = "x$host"; then
13834 # We can use an host tool
13835 RANLIB_FOR_TARGET='$(RANLIB)'
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13837 $as_echo "host tool" >&6; }
13839 # We need a cross tool
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13841 $as_echo "pre-installed" >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
13846 $as_echo_n "checking where to find the target strip... " >&6; }
13847 if test "x${build}" != "x${host}" ; then
13848 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13849 # We already found the complete path
13850 ac_dir=`dirname $STRIP_FOR_TARGET`
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13852 $as_echo "pre-installed in $ac_dir" >&6; }
13854 # Canadian cross, just use what we found
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13856 $as_echo "pre-installed" >&6; }
13860 case " ${configdirs} " in
13865 if test $ok = yes; then
13866 # An in-tree tool is available and we can use it
13867 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13869 $as_echo "just compiled" >&6; }
13870 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13871 # We already found the complete path
13872 ac_dir=`dirname $STRIP_FOR_TARGET`
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13874 $as_echo "pre-installed in $ac_dir" >&6; }
13875 elif test "x$target" = "x$host"; then
13876 # We can use an host tool
13877 STRIP_FOR_TARGET='$(STRIP)'
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13879 $as_echo "host tool" >&6; }
13881 # We need a cross tool
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13883 $as_echo "pre-installed" >&6; }
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
13888 $as_echo_n "checking where to find the target windres... " >&6; }
13889 if test "x${build}" != "x${host}" ; then
13890 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13891 # We already found the complete path
13892 ac_dir=`dirname $WINDRES_FOR_TARGET`
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13894 $as_echo "pre-installed in $ac_dir" >&6; }
13896 # Canadian cross, just use what we found
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13898 $as_echo "pre-installed" >&6; }
13902 case " ${configdirs} " in
13907 if test $ok = yes; then
13908 # An in-tree tool is available and we can use it
13909 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13911 $as_echo "just compiled" >&6; }
13912 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13913 # We already found the complete path
13914 ac_dir=`dirname $WINDRES_FOR_TARGET`
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13916 $as_echo "pre-installed in $ac_dir" >&6; }
13917 elif test "x$target" = "x$host"; then
13918 # We can use an host tool
13919 WINDRES_FOR_TARGET='$(WINDRES)'
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13921 $as_echo "host tool" >&6; }
13923 # We need a cross tool
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13925 $as_echo "pre-installed" >&6; }
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13930 $as_echo_n "checking where to find the target windmc... " >&6; }
13931 if test "x${build}" != "x${host}" ; then
13932 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13933 # We already found the complete path
13934 ac_dir=`dirname $WINDMC_FOR_TARGET`
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13936 $as_echo "pre-installed in $ac_dir" >&6; }
13938 # Canadian cross, just use what we found
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13940 $as_echo "pre-installed" >&6; }
13944 case " ${configdirs} " in
13949 if test $ok = yes; then
13950 # An in-tree tool is available and we can use it
13951 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13953 $as_echo "just compiled" >&6; }
13954 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13955 # We already found the complete path
13956 ac_dir=`dirname $WINDMC_FOR_TARGET`
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13958 $as_echo "pre-installed in $ac_dir" >&6; }
13959 elif test "x$target" = "x$host"; then
13960 # We can use an host tool
13961 WINDMC_FOR_TARGET='$(WINDMC)'
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13963 $as_echo "host tool" >&6; }
13965 # We need a cross tool
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13967 $as_echo "pre-installed" >&6; }
13975 # Certain tools may need extra flags.
13976 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13977 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13978 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13980 # When building target libraries, except in a Canadian cross, we use
13981 # the same toolchain as the compiler we just built.
13982 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13983 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13984 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13985 if test $host = $build; then
13986 case " $configdirs " in
13988 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13989 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13990 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
14000 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
14001 # Check whether --enable-maintainer-mode was given.
14002 if test "${enable_maintainer_mode+set}" = set; then :
14003 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14005 USE_MAINTAINER_MODE=no
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
14009 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14012 if test "$USE_MAINTAINER_MODE" = yes; then
14013 MAINTAINER_MODE_TRUE=
14014 MAINTAINER_MODE_FALSE='#'
14016 MAINTAINER_MODE_TRUE='#'
14017 MAINTAINER_MODE_FALSE=
14019 MAINT=$MAINTAINER_MODE_TRUE
14021 # ---------------------
14022 # GCC bootstrap support
14023 # ---------------------
14025 # Stage specific cflags for build.
14030 yes) stage1_cflags="-g -Wa,-J" ;;
14031 *) stage1_cflags="-g -J" ;;
14035 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14036 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14037 saved_CFLAGS="$CFLAGS"
14039 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14040 CFLAGS="$CFLAGS -fkeep-inline-functions"
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
14042 $as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 #if (__GNUC__ < 3) \
14047 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14048 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14049 #error http://gcc.gnu.org/PR29382
14060 if ac_fn_c_try_compile "$LINENO"; then :
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14062 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14065 $as_echo "no" >&6; }
14067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14069 CFLAGS="$saved_CFLAGS"
14074 # Enable --enable-checking in stage1 of the compiler.
14075 # Check whether --enable-stage1-checking was given.
14076 if test "${enable_stage1_checking+set}" = set; then :
14077 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14079 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
14080 stage1_checking=--enable-checking=yes,types
14082 stage1_checking=--enable-checking=$enable_checking,types
14088 # Enable -Werror in bootstrap stage2 and later.
14089 # Check whether --enable-werror was given.
14090 if test "${enable_werror+set}" = set; then :
14091 enableval=$enable_werror;
14093 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14100 case ${enable_werror} in
14101 yes) stage2_werror_flag="--enable-werror-always" ;;
14102 *) stage2_werror_flag="" ;;
14106 # Specify what files to not compare during bootstrap.
14108 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
14110 hppa*64*-*-hpux*) ;;
14111 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
14113 case " $configdirs " in
14114 *" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
14118 ac_config_files="$ac_config_files Makefile"
14120 cat >confcache <<\_ACEOF
14121 # This file is a shell script that caches the results of configure
14122 # tests run on this system so they can be shared between configure
14123 # scripts and configure runs, see configure's option --config-cache.
14124 # It is not useful on other systems. If it contains results you don't
14125 # want to keep, you may remove or edit it.
14127 # config.status only pays attention to the cache file if you give it
14128 # the --recheck option to rerun configure.
14130 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14131 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14132 # following values.
14136 # The following way of writing the cache mishandles newlines in values,
14137 # but we know of no workaround that is simple, portable, and efficient.
14138 # So, we kill variables containing newlines.
14139 # Ultrix sh set writes to stderr and can't be redirected directly,
14140 # and sets the high bit in the cache file unless we assign to the vars.
14142 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14143 eval ac_val=\$$ac_var
14147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14151 _ | IFS | as_nl) ;; #(
14152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14153 *) { eval $ac_var=; unset $ac_var;} ;;
14159 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14160 *${as_nl}ac_space=\ *)
14161 # `set' does not quote correctly, so add quotes: double-quote
14162 # substitution turns \\\\ into \\, and sed turns \\ into \.
14165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14168 # `set' quotes correctly as required by POSIX, so do not add quotes.
14169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14178 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14180 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14182 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14183 if test -w "$cache_file"; then
14184 test "x$cache_file" != "x/dev/null" &&
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14186 $as_echo "$as_me: updating cache $cache_file" >&6;}
14187 cat confcache >$cache_file
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14190 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14195 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14196 # Let make expand exec_prefix.
14197 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14199 # Transform confdefs.h into DEFS.
14200 # Protect against shell expansion while executing Makefile rules.
14201 # Protect against Makefile macro expansion.
14203 # If the first sed substitution is executed (which looks for macros that
14204 # take arguments), then branch to the quote section. Otherwise,
14205 # look for a macro that doesn't take arguments.
14215 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14217 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14221 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14234 DEFS=`sed -n "$ac_script" confdefs.h`
14239 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14240 # 1. Remove the extension, and $U if already installed.
14241 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14242 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14243 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14244 # will be set to the directory where LIBOBJS objects are built.
14245 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14246 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14248 LIBOBJS=$ac_libobjs
14250 LTLIBOBJS=$ac_ltlibobjs
14254 : ${CONFIG_STATUS=./config.status}
14256 ac_clean_files_save=$ac_clean_files
14257 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14259 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14261 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14263 # Generated by $as_me.
14264 # Run this file to recreate the current configuration.
14265 # Compiler output produced by configure, useful for debugging
14266 # configure, is in config.log if it exists.
14269 ac_cs_recheck=false
14272 SHELL=\${CONFIG_SHELL-$SHELL}
14275 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14276 ## -------------------- ##
14277 ## M4sh Initialization. ##
14278 ## -------------------- ##
14280 # Be more Bourne compatible
14281 DUALCASE=1; export DUALCASE # for MKS sh
14282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14286 # is contrary to our usage. Disable this feature.
14287 alias -g '${1+"$@"}'='"$@"'
14288 setopt NO_GLOB_SUBST
14290 case `(set -o) 2>/dev/null` in #(
14302 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14303 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14305 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14306 # Prefer a ksh shell builtin over an external printf program on Solaris,
14307 # but without wasting forks for bash or zsh.
14308 if test -z "$BASH_VERSION$ZSH_VERSION" \
14309 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14310 as_echo='print -r --'
14311 as_echo_n='print -rn --'
14312 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14313 as_echo='printf %s\n'
14314 as_echo_n='printf %s'
14316 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14317 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14318 as_echo_n='/usr/ucb/echo -n'
14320 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14321 as_echo_n_body='eval
14325 expr "X$arg" : "X\\(.*\\)$as_nl";
14326 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14328 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14330 export as_echo_n_body
14331 as_echo_n='sh -c $as_echo_n_body as_echo'
14333 export as_echo_body
14334 as_echo='sh -c $as_echo_body as_echo'
14337 # The user is always right.
14338 if test "${PATH_SEPARATOR+set}" != set; then
14340 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14341 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14348 # We need space, tab and new line, in precisely that order. Quoting is
14349 # there to prevent editors from complaining about space-tab.
14350 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14351 # splitting by setting IFS to empty value.)
14354 # Find who we are. Look in the path if we contain no directory separator.
14356 *[\\/]* ) as_myself=$0 ;;
14357 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14358 for as_dir in $PATH
14361 test -z "$as_dir" && as_dir=.
14362 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14368 # We did not find ourselves, most probably we were run as `sh COMMAND'
14369 # in which case we are not to be found in the path.
14370 if test "x$as_myself" = x; then
14373 if test ! -f "$as_myself"; then
14374 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14378 # Unset variables that we do not need and which cause bugs (e.g. in
14379 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14380 # suppresses any "Segmentation fault" message there. '((' could
14381 # trigger a bug in pdksh 5.2.14.
14382 for as_var in BASH_ENV ENV MAIL MAILPATH
14383 do eval test x\${$as_var+set} = xset \
14384 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14400 # as_fn_error ERROR [LINENO LOG_FD]
14401 # ---------------------------------
14402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14404 # script with status $?, using 1 if that was 0.
14407 as_status=$?; test $as_status -eq 0 && as_status=1
14409 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14410 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14412 $as_echo "$as_me: error: $1" >&2
14413 as_fn_exit $as_status
14417 # as_fn_set_status STATUS
14418 # -----------------------
14419 # Set $? to STATUS, without forking.
14420 as_fn_set_status ()
14423 } # as_fn_set_status
14425 # as_fn_exit STATUS
14426 # -----------------
14427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14431 as_fn_set_status $1
14437 # Portably unset VAR.
14440 { eval $1=; unset $1;}
14442 as_unset=as_fn_unset
14443 # as_fn_append VAR VALUE
14444 # ----------------------
14445 # Append the text in VALUE to the end of the definition contained in VAR. Take
14446 # advantage of any shell optimizations that allow amortized linear growth over
14447 # repeated appends, instead of the typical quadratic growth present in naive
14449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14450 eval 'as_fn_append ()
14461 # as_fn_arith ARG...
14462 # ------------------
14463 # Perform arithmetic evaluation on the ARGs, and store the result in the
14464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14465 # must be portable across $(()) and expr.
14466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14467 eval 'as_fn_arith ()
14474 as_val=`expr "$@" || test $? -eq 1`
14479 if expr a : '\(a\)' >/dev/null 2>&1 &&
14480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14486 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14487 as_basename=basename
14492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14498 as_me=`$as_basename -- "$0" ||
14499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14500 X"$0" : 'X\(//\)$' \| \
14501 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14503 sed '/^.*\/\([^/][^/]*\)\/*$/{
14517 # Avoid depending upon Character Ranges.
14518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14521 as_cr_digits='0123456789'
14522 as_cr_alnum=$as_cr_Letters$as_cr_digits
14524 ECHO_C= ECHO_N= ECHO_T=
14525 case `echo -n x` in #(((((
14527 case `echo 'xy\c'` in
14528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14530 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14537 rm -f conf$$ conf$$.exe conf$$.file
14538 if test -d conf$$.dir; then
14539 rm -f conf$$.dir/conf$$.file
14542 mkdir conf$$.dir 2>/dev/null
14544 if (echo >conf$$.file) 2>/dev/null; then
14545 if ln -s conf$$.file conf$$ 2>/dev/null; then
14547 # ... but there are two gotchas:
14548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14550 # In both cases, we have to default to `cp -p'.
14551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14553 elif ln conf$$.file conf$$ 2>/dev/null; then
14561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14562 rmdir conf$$.dir 2>/dev/null
14567 # Create "$as_dir" as a directory, including parents if necessary.
14572 -*) as_dir=./$as_dir;;
14574 test -d "$as_dir" || eval $as_mkdir_p || {
14578 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14579 *) as_qdir=$as_dir;;
14581 as_dirs="'$as_qdir' $as_dirs"
14582 as_dir=`$as_dirname -- "$as_dir" ||
14583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14584 X"$as_dir" : 'X\(//\)[^/]' \| \
14585 X"$as_dir" : 'X\(//\)$' \| \
14586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14587 $as_echo X"$as_dir" |
14588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14592 /^X\(\/\/\)[^/].*/{
14605 test -d "$as_dir" && break
14607 test -z "$as_dirs" || eval "mkdir $as_dirs"
14608 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14612 if mkdir -p . 2>/dev/null; then
14613 as_mkdir_p='mkdir -p "$as_dir"'
14615 test -d ./-p && rmdir ./-p
14619 if test -x / >/dev/null 2>&1; then
14620 as_test_x='test -x'
14622 if ls -dL / >/dev/null 2>&1; then
14629 if test -d "$1"; then
14635 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14636 ???[sx]*):;;*)false;;esac;fi
14640 as_executable_p=$as_test_x
14642 # Sed expression to map a string onto a valid CPP name.
14643 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14645 # Sed expression to map a string onto a valid variable name.
14646 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14650 ## ----------------------------------- ##
14651 ## Main body of $CONFIG_STATUS script. ##
14652 ## ----------------------------------- ##
14654 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14657 # Save the log message, to keep $0 and so on meaningful, and to
14658 # report actual input values of CONFIG_FILES etc. instead of their
14659 # values after options handling.
14661 This file was extended by $as_me, which was
14662 generated by GNU Autoconf 2.64. Invocation command line was
14664 CONFIG_FILES = $CONFIG_FILES
14665 CONFIG_HEADERS = $CONFIG_HEADERS
14666 CONFIG_LINKS = $CONFIG_LINKS
14667 CONFIG_COMMANDS = $CONFIG_COMMANDS
14670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14675 case $ac_config_files in *"
14676 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14682 # Files that config.status was made for.
14683 config_files="$ac_config_files"
14687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14689 \`$as_me' instantiates files and other configuration actions
14690 from templates according to the current configuration. Unless the files
14691 and actions are specified as TAGs, all are instantiated by default.
14693 Usage: $0 [OPTION]... [TAG]...
14695 -h, --help print this help, then exit
14696 -V, --version print version number and configuration settings, then exit
14697 -q, --quiet, --silent
14698 do not print progress messages
14699 -d, --debug don't remove temporary files
14700 --recheck update $as_me by reconfiguring in the same conditions
14701 --file=FILE[:TEMPLATE]
14702 instantiate the configuration file FILE
14704 Configuration files:
14707 Report bugs to the package provider."
14710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14713 configured by $0, generated by GNU Autoconf 2.64,
14714 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14716 Copyright (C) 2009 Free Software Foundation, Inc.
14717 This config.status script is free software; the Free Software Foundation
14718 gives unlimited permission to copy, distribute and modify it."
14724 test -n "\$AWK" || AWK=awk
14727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14728 # The default lists apply if the user does not specify any file.
14734 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14735 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14746 # Handling of the options.
14747 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14749 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14750 $as_echo "$ac_cs_version"; exit ;;
14751 --debug | --debu | --deb | --de | --d | -d )
14753 --file | --fil | --fi | --f )
14756 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14758 as_fn_append CONFIG_FILES " '$ac_optarg'"
14759 ac_need_defaults=false;;
14760 --he | --h | --help | --hel | -h )
14761 $as_echo "$ac_cs_usage"; exit ;;
14762 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14763 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14766 # This is an error.
14767 -*) as_fn_error "unrecognized option: \`$1'
14768 Try \`$0 --help' for more information." ;;
14770 *) as_fn_append ac_config_targets " $1"
14771 ac_need_defaults=false ;;
14777 ac_configure_extra_args=
14779 if $ac_cs_silent; then
14781 ac_configure_extra_args="$ac_configure_extra_args --silent"
14785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14786 if \$ac_cs_recheck; then
14787 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14789 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14790 CONFIG_SHELL='$SHELL'
14791 export CONFIG_SHELL
14796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14800 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14801 ## Running $as_me. ##
14807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14811 extrasub_build="$extrasub_build"
14812 extrasub_host="$extrasub_host"
14813 extrasub_target="$extrasub_target"
14817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14819 # Handling of arguments.
14820 for ac_config_target in $ac_config_targets
14822 case $ac_config_target in
14823 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14825 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14830 # If the user did not use the arguments to specify the items to instantiate,
14831 # then the envvar interface is used. Set only those that are not.
14832 # We use the long form for the default assignment because of an extremely
14833 # bizarre bug on SunOS 4.1.3.
14834 if $ac_need_defaults; then
14835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14838 # Have a temporary directory for convenience. Make it in the build tree
14839 # simply because there is no reason against having it here, and in addition,
14840 # creating and moving files from /tmp can sometimes cause problems.
14841 # Hook for its removal unless debugging.
14842 # Note that there is a small window in which the directory will not be cleaned:
14843 # after its creation but before its name has been assigned to `$tmp'.
14847 trap 'exit_status=$?
14848 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14850 trap 'as_fn_exit 1' 1 2 13 15
14852 # Create a (secure) tmp directory for tmp files.
14855 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14856 test -n "$tmp" && test -d "$tmp"
14859 tmp=./conf$$-$RANDOM
14860 (umask 077 && mkdir "$tmp")
14861 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14863 # Set up the scripts for CONFIG_FILES section.
14864 # No need to generate them if there are no CONFIG_FILES.
14865 # This happens for instance with `./config.status config.h'.
14866 if test -n "$CONFIG_FILES"; then
14868 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14869 ac_cs_awk_getline=:
14870 ac_cs_awk_pipe_init=
14871 ac_cs_awk_read_file='
14872 while ((getline aline < (F[key])) > 0)
14875 ac_cs_awk_pipe_fini=
14877 ac_cs_awk_getline=false
14878 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14879 ac_cs_awk_read_file='
14881 print "cat " F[key] " &&"
14882 '$ac_cs_awk_pipe_init
14883 # The final `:' finishes the AND list.
14884 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14886 ac_cr=`echo X | tr X '\015'`
14887 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14888 # But we know of no other shell where ac_cr would be empty at this
14889 # point, so we can use a bashism as a fallback.
14890 if test "x$ac_cr" = x; then
14891 eval ac_cr=\$\'\\r\'
14893 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14894 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14897 ac_cs_awk_cr=$ac_cr
14900 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14903 # Create commands to substitute file output variables.
14905 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14906 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14907 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14910 } >conf$$files.sh &&
14911 . ./conf$$files.sh ||
14912 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14913 rm -f conf$$files.sh
14916 echo "cat >conf$$subs.awk <<_ACEOF" &&
14917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14919 } >conf$$subs.sh ||
14920 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14923 for ac_last_try in false false false false false :; do
14924 . ./conf$$subs.sh ||
14925 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14927 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14928 if test $ac_delim_n = $ac_delim_num; then
14930 elif $ac_last_try; then
14931 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14933 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14936 rm -f conf$$subs.sh
14938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14939 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14943 s/^/S["/; s/!.*/"]=/
14953 s/\(.\{148\}\).*/\1/
14955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14967 s/\(.\{148\}\).*/\1/
14969 s/["\\]/\\&/g; s/^/"/; s/$/"/
14973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14978 ' <conf$$subs.awk | sed '
14983 ' >>$CONFIG_STATUS || ac_write_fail=1
14984 rm -f conf$$subs.awk
14985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14987 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14988 for (key in S) S_is_set[key] = 1
14990 \$ac_cs_awk_pipe_init
14994 nfields = split(line, field, "@")
14996 len = length(field[1])
14997 for (i = 2; i < nfields; i++) {
14999 keylen = length(key)
15000 if (S_is_set[key]) {
15002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15003 len += length(value) + length(field[++i])
15008 if (nfields == 3 && !substed) {
15010 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15011 \$ac_cs_awk_read_file
15017 \$ac_cs_awk_pipe_fini
15020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15021 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15022 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15025 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15026 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15029 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15030 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15031 # trailing colons and then remove the whole line if VPATH becomes empty
15032 # (actually we leave an empty line to preserve line numbers).
15033 if test "x$srcdir" = x.; then
15034 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15035 s/:*\$(srcdir):*/:/
15036 s/:*\${srcdir}:*/:/
15038 s/^\([^=]*=[ ]*\):*/\1/
15044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15045 fi # test -n "$CONFIG_FILES"
15048 eval set X " :F $CONFIG_FILES "
15053 :[FHLC]) ac_mode=$ac_tag; continue;;
15055 case $ac_mode$ac_tag in
15057 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15058 :[FH]-) ac_tag=-:-;;
15059 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15076 -) ac_f="$tmp/stdin";;
15077 *) # Look for the file first in the build tree, then in the source tree
15078 # (if the path is not absolute). The absolute path cannot be DOS-style,
15079 # because $ac_f cannot contain `:'.
15083 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15085 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15087 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15088 as_fn_append ac_file_inputs " '$ac_f'"
15091 # Let's still pretend it is `configure' which instantiates (i.e., don't
15092 # use $as_me), people would be surprised to read:
15093 # /* config.h. Generated by config.status. */
15094 configure_input='Generated from '`
15095 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15097 if test x"$ac_file" != x-; then
15098 configure_input="$ac_file. $configure_input"
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15100 $as_echo "$as_me: creating $ac_file" >&6;}
15102 # Neutralize special characters interpreted by sed in replacement strings.
15103 case $configure_input in #(
15104 *\&* | *\|* | *\\* )
15105 ac_sed_conf_input=`$as_echo "$configure_input" |
15106 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15107 *) ac_sed_conf_input=$configure_input;;
15111 *:-:* | *:-) cat >"$tmp/stdin" \
15112 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15117 ac_dir=`$as_dirname -- "$ac_file" ||
15118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15119 X"$ac_file" : 'X\(//\)[^/]' \| \
15120 X"$ac_file" : 'X\(//\)$' \| \
15121 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15122 $as_echo X"$ac_file" |
15123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15127 /^X\(\/\/\)[^/].*/{
15140 as_dir="$ac_dir"; as_fn_mkdir_p
15144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15146 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15147 # A ".." for each directory in $ac_dir_suffix.
15148 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15149 case $ac_top_builddir_sub in
15150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15151 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15154 ac_abs_top_builddir=$ac_pwd
15155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15156 # for backward compatibility:
15157 ac_top_builddir=$ac_top_build_prefix
15160 .) # We are building in place.
15162 ac_top_srcdir=$ac_top_builddir_sub
15163 ac_abs_top_srcdir=$ac_pwd ;;
15164 [\\/]* | ?:[\\/]* ) # Absolute name.
15165 ac_srcdir=$srcdir$ac_dir_suffix;
15166 ac_top_srcdir=$srcdir
15167 ac_abs_top_srcdir=$srcdir ;;
15168 *) # Relative name.
15169 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15170 ac_top_srcdir=$ac_top_build_prefix$srcdir
15171 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15183 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15184 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15189 # If the template does not know about datarootdir, expand it.
15190 # FIXME: This hack should be removed a few years after 2.60.
15191 ac_datarootdir_hack=; ac_datarootdir_seen=
15202 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15203 *datarootdir*) ac_datarootdir_seen=yes;;
15204 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15206 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15209 ac_datarootdir_hack='
15210 s&@datadir@&$datadir&g
15211 s&@docdir@&$docdir&g
15212 s&@infodir@&$infodir&g
15213 s&@localedir@&$localedir&g
15214 s&@mandir@&$mandir&g
15215 s&\\\${datarootdir}&$datarootdir&g' ;;
15219 # Neutralize VPATH when `$srcdir' = `.'.
15220 # Shell code in configure.ac might set extrasub.
15221 # FIXME: do we really want to maintain this feature?
15222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15223 ac_sed_extra="$ac_vpsub
15226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15228 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15229 s|@configure_input@|$ac_sed_conf_input|;t t
15230 s&@top_builddir@&$ac_top_builddir_sub&;t t
15231 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15232 s&@srcdir@&$ac_srcdir&;t t
15233 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15234 s&@top_srcdir@&$ac_top_srcdir&;t t
15235 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15236 s&@builddir@&$ac_builddir&;t t
15237 s&@abs_builddir@&$ac_abs_builddir&;t t
15238 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15239 s&@INSTALL@&$ac_INSTALL&;t t
15240 $ac_datarootdir_hack
15242 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15243 if $ac_cs_awk_getline; then
15244 $AWK -f "$tmp/subs.awk"
15246 $AWK -f "$tmp/subs.awk" | $SHELL
15248 || as_fn_error "could not create $ac_file" "$LINENO" 5
15250 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15251 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15252 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15254 which seems to be undefined. Please make sure it is defined." >&5
15255 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15256 which seems to be undefined. Please make sure it is defined." >&2;}
15260 -) cat "$tmp/out" && rm -f "$tmp/out";;
15261 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15263 || as_fn_error "could not create $ac_file" "$LINENO" 5
15271 case $ac_file$ac_mode in
15272 "Makefile":F) sed "$extrasub_build" Makefile |
15273 sed "$extrasub_host" |
15274 sed "$extrasub_target" > mf$$
15275 mv -f mf$$ Makefile ;;
15283 ac_clean_files=$ac_clean_files_save
15285 test $ac_write_fail = 0 ||
15286 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15289 # configure is writing to config.log, and then calls config.status.
15290 # config.status does its own redirection, appending to config.log.
15291 # Unfortunately, on DOS this fails, as config.log is still kept open
15292 # by configure, so config.status won't be able to write to it; its
15293 # output is simply discarded. So we exec the FD to /dev/null,
15294 # effectively closing config.log, so it can be properly (re)opened and
15295 # appended to by config.status. When coming back to configure, we
15296 # need to make the FD available again.
15297 if test "$no_create" != yes; then
15299 ac_config_status_args=
15300 test "$silent" = yes &&
15301 ac_config_status_args="$ac_config_status_args --quiet"
15303 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15305 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15306 # would make configure fail if this is the last instruction.
15307 $ac_cs_success || as_fn_exit $?
15309 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15311 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}