2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev
/null
; then :
177 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
182 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir
=.
189 for as_base
in sh bash ksh sh5
; do
190 # Try only shells that exist, to save several forks.
191 as_shell
=$as_dir/$as_base
192 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
194 CONFIG_SHELL
=$as_shell as_have_required
=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$SHELL as_have_required
=yes
210 if test "x$CONFIG_SHELL" != x
; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x
$as_have_required = xno
; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x
${ZSH_VERSION+set} = xset
; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL
=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE
= GREP_OPTIONS
=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir
=.
/$as_dir;;
282 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
286 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs
="'$as_qdir' $as_dirs"
290 as_dir
=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
316 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
351 as_val
=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status
=$?
; test $as_status -eq 0 && as_status
=1
365 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit
$as_status
372 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
379 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
391 as_me
=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits
='0123456789'
415 as_cr_alnum
=$as_cr_Letters$as_cr_digits
418 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
419 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x
"$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C
= ECHO_N
= ECHO_T
=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
462 rm -f conf$$ conf$$.exe conf$$.
file
463 if test -d conf$$.dir
; then
464 rm -f conf$$.dir
/conf$$.
file
467 mkdir conf$$.dir
2>/dev
/null
469 if (echo >conf$$.
file) 2>/dev
/null
; then
470 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
478 elif ln conf$$.
file conf$$
2>/dev
/null
; then
486 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
487 rmdir conf$$.dir
2>/dev
/null
489 if mkdir
-p .
2>/dev
/null
; then
490 as_mkdir_p
='mkdir -p "$as_dir"'
492 test -d .
/-p && rmdir .
/-p
496 if test -x / >/dev
/null
2>&1; then
499 if ls -dL / >/dev
/null
2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p
=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev
/null
6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix
=/usr
/local
538 ac_config_libobj_dir
=.
545 # Identity of this package.
553 ac_unique_file
="move-if-change"
554 enable_option_checking
=no
555 ac_subst_vars
='LTLIBOBJS
562 MAINTAINER_MODE_FALSE
564 COMPILER_NM_FOR_TARGET
565 COMPILER_LD_FOR_TARGET
566 COMPILER_AS_FOR_TARGET
635 DEBUG_PREFIX_CFLAGS_FOR_TARGET
636 SYSROOT_CFLAGS_FOR_TARGET
646 extra_mpc_mpfr_configure_flags
647 extra_mpc_gmp_configure_flags
648 extra_mpfr_configure_flags
688 TOPLEVEL_CONFIGURE_ARGUMENTS
716 program_transform_name
727 ac_subst_files
='serialization_dependencies
733 enable_option_checking
738 enable_build_with_cxx
758 enable_ppl_version_check
762 enable_cloog_version_check
763 enable_stage1_languages
766 with_debug_prefix_map
768 enable_serial_configure
769 with_build_time_tools
770 enable_maintainer_mode
771 enable_stage1_checking
774 ac_precious_vars
='build_alias
815 # Initialize some variables set by options.
817 ac_init_version
=false
818 ac_unrecognized_opts
=
820 # The variables have the same names as the options, with
821 # dashes changed to underlines.
829 program_transform_name
=s
,x
,x
,
837 # Installation directory options.
838 # These are left unexpanded so users can "make install exec_prefix=/foo"
839 # and all the variables that are supposed to be based on exec_prefix
840 # by default will actually change.
841 # Use braces instead of parens because sh, perl, etc. also accept them.
842 # (The list follows the same order as the GNU Coding Standards.)
843 bindir
='${exec_prefix}/bin'
844 sbindir
='${exec_prefix}/sbin'
845 libexecdir
='${exec_prefix}/libexec'
846 datarootdir
='${prefix}/share'
847 datadir
='${datarootdir}'
848 sysconfdir
='${prefix}/etc'
849 sharedstatedir
='${prefix}/com'
850 localstatedir
='${prefix}/var'
851 includedir
='${prefix}/include'
852 oldincludedir
='/usr/include'
853 docdir
='${datarootdir}/doc/${PACKAGE}'
854 infodir
='${datarootdir}/info'
859 libdir
='${exec_prefix}/lib'
860 localedir
='${datarootdir}/locale'
861 mandir
='${datarootdir}/man'
867 # If the previous option needs an argument, assign it.
868 if test -n "$ac_prev"; then
869 eval $ac_prev=\
$ac_option
875 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 # Accept the important Cygnus configure options, so we can diagnose typos.
881 case $ac_dashdash$ac_option in
885 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
887 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
890 -build |
--build |
--buil |
--bui |
--bu)
891 ac_prev
=build_alias
;;
892 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
893 build_alias
=$ac_optarg ;;
895 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
896 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
897 ac_prev
=cache_file
;;
898 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
899 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
900 cache_file
=$ac_optarg ;;
903 cache_file
=config.cache
;;
905 -datadir |
--datadir |
--datadi |
--datad)
907 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
908 datadir
=$ac_optarg ;;
910 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
911 |
--dataroo |
--dataro |
--datar)
912 ac_prev
=datarootdir
;;
913 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
914 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
915 datarootdir
=$ac_optarg ;;
917 -disable-* |
--disable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=no
;;
933 -docdir |
--docdir |
--docdi |
--doc |
--do)
935 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
938 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
940 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
943 -enable-* |
--enable-*)
944 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
947 as_fn_error
"invalid feature name: $ac_useropt"
948 ac_useropt_orig
=$ac_useropt
949 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep
=', ';;
957 eval enable_
$ac_useropt=\
$ac_optarg ;;
959 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
960 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
961 |
--exec |
--exe |
--ex)
962 ac_prev
=exec_prefix
;;
963 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
964 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
965 |
--exec=* |
--exe=* |
--ex=*)
966 exec_prefix
=$ac_optarg ;;
968 -gas |
--gas |
--ga |
--g)
969 # Obsolete; use --with-gas.
972 -help |
--help |
--hel |
--he |
-h)
974 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
975 ac_init_help
=recursive
;;
976 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
977 ac_init_help
=short
;;
979 -host |
--host |
--hos |
--ho)
980 ac_prev
=host_alias
;;
981 -host=* |
--host=* |
--hos=* |
--ho=*)
982 host_alias
=$ac_optarg ;;
984 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
986 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
988 htmldir
=$ac_optarg ;;
990 -includedir |
--includedir |
--includedi |
--included |
--include \
991 |
--includ |
--inclu |
--incl |
--inc)
992 ac_prev
=includedir
;;
993 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
994 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
995 includedir
=$ac_optarg ;;
997 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
999 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1000 infodir
=$ac_optarg ;;
1002 -libdir |
--libdir |
--libdi |
--libd)
1004 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1005 libdir
=$ac_optarg ;;
1007 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1008 |
--libexe |
--libex |
--libe)
1009 ac_prev
=libexecdir
;;
1010 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1011 |
--libexe=* |
--libex=* |
--libe=*)
1012 libexecdir
=$ac_optarg ;;
1014 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1015 ac_prev
=localedir
;;
1016 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1017 localedir
=$ac_optarg ;;
1019 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1020 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1021 ac_prev
=localstatedir
;;
1022 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1023 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1024 localstatedir
=$ac_optarg ;;
1026 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1028 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1029 mandir
=$ac_optarg ;;
1031 -nfp |
--nfp |
--nf)
1032 # Obsolete; use --without-fp.
1035 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1036 |
--no-cr |
--no-c |
-n)
1039 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1040 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1043 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1044 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1045 |
--oldin |
--oldi |
--old |
--ol |
--o)
1046 ac_prev
=oldincludedir
;;
1047 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1048 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1049 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1050 oldincludedir
=$ac_optarg ;;
1052 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1054 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1055 prefix
=$ac_optarg ;;
1057 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1058 |
--program-pre |
--program-pr |
--program-p)
1059 ac_prev
=program_prefix
;;
1060 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1061 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1062 program_prefix
=$ac_optarg ;;
1064 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1065 |
--program-suf |
--program-su |
--program-s)
1066 ac_prev
=program_suffix
;;
1067 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1068 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1069 program_suffix
=$ac_optarg ;;
1071 -program-transform-name |
--program-transform-name \
1072 |
--program-transform-nam |
--program-transform-na \
1073 |
--program-transform-n |
--program-transform- \
1074 |
--program-transform |
--program-transfor \
1075 |
--program-transfo |
--program-transf \
1076 |
--program-trans |
--program-tran \
1077 |
--progr-tra |
--program-tr |
--program-t)
1078 ac_prev
=program_transform_name
;;
1079 -program-transform-name=* |
--program-transform-name=* \
1080 |
--program-transform-nam=* |
--program-transform-na=* \
1081 |
--program-transform-n=* |
--program-transform-=* \
1082 |
--program-transform=* |
--program-transfor=* \
1083 |
--program-transfo=* |
--program-transf=* \
1084 |
--program-trans=* |
--program-tran=* \
1085 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1086 program_transform_name
=$ac_optarg ;;
1088 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1090 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1091 pdfdir
=$ac_optarg ;;
1093 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1095 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1106 sbindir
=$ac_optarg ;;
1108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1112 ac_prev
=sharedstatedir
;;
1113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1117 sharedstatedir
=$ac_optarg ;;
1119 -site |
--site |
--sit)
1121 -site=* |
--site=* |
--sit=*)
1124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1127 srcdir
=$ac_optarg ;;
1129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1131 ac_prev
=sysconfdir
;;
1132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1134 sysconfdir
=$ac_optarg ;;
1136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1137 ac_prev
=target_alias
;;
1138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1139 target_alias
=$ac_optarg ;;
1141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1144 -version |
--version |
--versio |
--versi |
--vers |
-V)
1145 ac_init_version
=: ;;
1148 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=\
$ac_optarg ;;
1163 -without-* |
--without-*)
1164 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1175 ac_unrecognized_sep
=', ';;
1177 eval with_
$ac_useropt=no
;;
1180 # Obsolete; use --with-x.
1183 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1184 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1185 ac_prev
=x_includes
;;
1186 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1187 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1188 x_includes
=$ac_optarg ;;
1190 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1191 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1192 ac_prev
=x_libraries
;;
1193 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1194 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1195 x_libraries
=$ac_optarg ;;
1197 -*) as_fn_error
"unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information."
1202 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1206 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1208 eval $ac_envvar=\
$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1222 if test -n "$ac_prev"; then
1223 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error
"missing argument to $ac_option"
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1230 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235 # Check all directory arguments for consistency.
1236 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir
1241 eval ac_val
=\$
$ac_var
1242 # Remove trailing slashes.
1245 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\
$ac_val;;
1248 # Be sure to have absolute directory names.
1250 [\\/$
]* | ?
:[\\/]* ) continue;;
1251 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1253 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1261 target
=$target_alias
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x
; then
1265 if test "x$build_alias" = x
; then
1266 cross_compiling
=maybe
1267 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1268 If a cross compiler is detected then cross compile mode will be used." >&2
1269 elif test "x$build_alias" != "x$host_alias"; then
1275 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1277 test "$silent" = yes && exec 6>/dev
/null
1280 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1281 ac_ls_di
=`ls -di .` &&
1282 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1283 as_fn_error
"working directory cannot be determined"
1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285 as_fn_error
"pwd does not report name of working directory"
1288 # Find the source files, if location was not specified.
1289 if test -z "$srcdir"; then
1290 ac_srcdir_defaulted
=yes
1291 # Try the directory containing this script, then the parent directory.
1292 ac_confdir
=`$as_dirname -- "$as_myself" ||
1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294 X"$as_myself" : 'X\(//\)[^/]' \| \
1295 X"$as_myself" : 'X\(//\)$' \| \
1296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297 $as_echo X"$as_myself" |
1298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1320 ac_srcdir_defaulted
=no
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1324 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1326 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1330 # When building in place, set srcdir=.
1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
1334 # Remove unnecessary trailing slashes from srcdir.
1335 # Double slashes in file names in object file debugging info
1336 # mess up M-x gdb in Emacs.
1338 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1342 for ac_var
in $ac_precious_vars; do
1343 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1344 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1345 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1346 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1350 # Report the --help message.
1352 if test "$ac_init_help" = "long"; then
1353 # Omit some internal or obsolete options to make the list less imposing.
1354 # This message is too long to be a string in the A/UX 3.1 sh.
1356 \`configure' configures this package to adapt to many kinds of systems.
1358 Usage: $0 [OPTION]... [VAR=VALUE]...
1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1361 VAR=VALUE. See below for descriptions of some of the useful variables.
1363 Defaults for the options are specified in brackets.
1366 -h, --help display this help and exit
1367 --help=short display options specific to this package
1368 --help=recursive display the short help of all the included packages
1369 -V, --version display version information and exit
1370 -q, --quiet, --silent do not print \`checking...' messages
1371 --cache-file=FILE cache test results in FILE [disabled]
1372 -C, --config-cache alias for \`--cache-file=config.cache'
1373 -n, --no-create do not create output files
1374 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1376 Installation directories:
1377 --prefix=PREFIX install architecture-independent files in PREFIX
1378 [$ac_default_prefix]
1379 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1382 By default, \`make install' will install all the files in
1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1385 for instance \`--prefix=\$HOME'.
1387 For better control, use the options below.
1389 Fine tuning of the installation directories:
1390 --bindir=DIR user executables [EPREFIX/bin]
1391 --sbindir=DIR system admin executables [EPREFIX/sbin]
1392 --libexecdir=DIR program executables [EPREFIX/libexec]
1393 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1394 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1395 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1396 --libdir=DIR object code libraries [EPREFIX/lib]
1397 --includedir=DIR C header files [PREFIX/include]
1398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1401 --infodir=DIR info documentation [DATAROOTDIR/info]
1402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1403 --mandir=DIR man documentation [DATAROOTDIR/man]
1404 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1405 --htmldir=DIR html documentation [DOCDIR]
1406 --dvidir=DIR dvi documentation [DOCDIR]
1407 --pdfdir=DIR pdf documentation [DOCDIR]
1408 --psdir=DIR ps documentation [DOCDIR]
1414 --program-prefix=PREFIX prepend PREFIX to installed program names
1415 --program-suffix=SUFFIX append SUFFIX to installed program names
1416 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1419 --build=BUILD configure
for building on BUILD
[guessed
]
1420 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1421 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1425 if test -n "$ac_init_help"; then
1430 --disable-option-checking ignore unrecognized
--enable/--with options
1431 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1432 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1433 --enable-gold use gold instead of ld
1434 --enable-libada build libada directory
1435 --enable-libssp build libssp directory
1436 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1437 --disable-ppl-version-check disable check
for PPL version
1438 --disable-cloog-version-check disable check
for CLooG version
1439 --enable-stage1-languages[=all
] choose additional languages to build during
1440 stage1. Mostly useful
for compiler development.
1441 --enable-objc-gc enable use of Boehm
's garbage collector with the
1442 GNU Objective-C runtime
1443 --enable-bootstrap enable bootstrapping [yes if native build]
1444 --enable-serial-[{host,target,build}-]configure
1445 force sequential configuration of
1446 sub-packages for the host, target or build
1447 machine, or all sub-packages
1448 --enable-maintainer-mode enable make rules and dependencies not useful
1449 (and sometimes confusing) to the casual installer
1450 --enable-stage1-checking[=all] choose additional checking for stage1
1452 --enable-werror enable -Werror in bootstrap stage2 and later
1455 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1456 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1457 --with-build-libsubdir=DIR Directory where to find libraries for build system
1458 --with-mpc=PATH specify prefix directory for installed MPC package.
1459 Equivalent to --with-mpc-include=PATH/include
1460 plus --with-mpc-lib=PATH/lib
1461 --with-mpc-include=PATH
1462 specify directory for installed MPC include files
1463 --with-mpc-lib=PATH specify directory for the installed MPC library
1464 --with-mpfr-dir=PATH this option has been REMOVED
1465 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1466 Equivalent to --with-mpfr-include=PATH/include
1467 plus --with-mpfr-lib=PATH/lib
1468 --with-mpfr-include=PATH
1469 specify directory for installed MPFR include files
1470 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1471 --with-gmp-dir=PATH this option has been REMOVED
1472 --with-gmp=PATH specify prefix directory for the installed GMP package.
1473 Equivalent to --with-gmp-include=PATH/include
1474 plus --with-gmp-lib=PATH/lib
1475 --with-gmp-include=PATH specify directory for installed GMP include files
1476 --with-gmp-lib=PATH specify directory for the installed GMP library
1477 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1478 when linking with PPL
1479 --with-stage1-ldflags=FLAGS Linker flags for stage1
1480 -with-stage1-libs=LIBS Libraries for stage1
1481 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1482 --with-boot-libs=LIBS Libraries for stage2 and later
1483 --with-ppl=PATH Specify prefix directory for the installed PPL package
1484 Equivalent to --with-ppl-include=PATH/include
1485 plus --with-ppl-lib=PATH/lib
1486 --with-ppl-include=PATH Specify directory for installed PPL include files
1487 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1488 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
1489 Equivalent to --with-cloog-include=PATH/include
1490 plus --with-cloog-lib=PATH/lib
1491 --with-cloog-include=PATH Specify directory for installed CLooG include files
1492 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1493 --with-build-sysroot=SYSROOT
1494 use sysroot as the system root during the build
1495 --with-debug-prefix-map='A
=B C
=D ...
'
1496 map A to B, C to D ... in debug information
1497 --with-build-time-tools=PATH
1498 use given path to find target tools during the build
1500 Some influential environment variables:
1501 CC C compiler command
1502 CFLAGS C compiler flags
1503 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1504 nonstandard directory <lib dir>
1505 LIBS libraries to pass to the linker, e.g. -l<library>
1506 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1507 you have headers in a nonstandard directory <include dir>
1508 CXX C++ compiler command
1509 CXXFLAGS C++ compiler flags
1512 DLLTOOL DLLTOOL for the host
1514 LIPO LIPO for the host
1516 RANLIB RANLIB for the host
1517 STRIP STRIP for the host
1518 WINDRES WINDRES for the host
1519 WINDMC WINDMC for the host
1520 OBJCOPY OBJCOPY for the host
1521 OBJDUMP OBJDUMP for the host
1531 GFORTRAN for the target
1537 DLLTOOL for the target
1545 OBJDUMP for the target
1547 RANLIB for the target
1549 STRIP for the target
1551 WINDRES for the target
1553 WINDMC for the target
1555 Use these variables to override the choices made by `configure' or to
help
1556 it to
find libraries and programs with nonstandard names
/locations.
1558 Report bugs to the package provider.
1563 if test "$ac_init_help" = "recursive"; then
1564 # If there are subdirs, report their specific --help.
1565 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1566 test -d "$ac_dir" ||
1567 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1572 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1574 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1575 # A ".." for each directory in $ac_dir_suffix.
1576 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1577 case $ac_top_builddir_sub in
1578 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1579 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1582 ac_abs_top_builddir
=$ac_pwd
1583 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1584 # for backward compatibility:
1585 ac_top_builddir
=$ac_top_build_prefix
1588 .
) # We are building in place.
1590 ac_top_srcdir
=$ac_top_builddir_sub
1591 ac_abs_top_srcdir
=$ac_pwd ;;
1592 [\\/]* | ?
:[\\/]* ) # Absolute name.
1593 ac_srcdir
=$srcdir$ac_dir_suffix;
1594 ac_top_srcdir
=$srcdir
1595 ac_abs_top_srcdir
=$srcdir ;;
1597 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1598 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1599 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1601 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1603 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1604 # Check for guested configure.
1605 if test -f "$ac_srcdir/configure.gnu"; then
1607 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1608 elif test -f "$ac_srcdir/configure"; then
1610 $SHELL "$ac_srcdir/configure" --help=recursive
1612 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1614 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1618 test -n "$ac_init_help" && exit $ac_status
1619 if $ac_init_version; then
1622 generated by GNU Autoconf
2.64
1624 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1625 This configure
script is free software
; the Free Software Foundation
1626 gives unlimited permission to copy
, distribute and modify it.
1631 ## ------------------------ ##
1632 ## Autoconf initialization. ##
1633 ## ------------------------ ##
1635 # ac_fn_c_try_compile LINENO
1636 # --------------------------
1637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_c_try_compile
()
1640 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1641 rm -f conftest.
$ac_objext
1642 if { { ac_try
="$ac_compile"
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_compile") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.$ac_objext; then :
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 } # ac_fn_c_try_compile
1673 # ac_fn_cxx_try_compile LINENO
1674 # ----------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_cxx_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1683 *) ac_try_echo
=$ac_try;;
1685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err
; then
1690 grep -v '^ *+' conftest.err
>conftest.er1
1691 cat conftest.er1
>&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_cxx_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.
$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.
$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1709 } # ac_fn_cxx_try_compile
1711 # ac_fn_c_try_link LINENO
1712 # -----------------------
1713 # Try to link conftest.$ac_ext, and return whether this succeeded.
1716 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1717 rm -f conftest.
$ac_objext conftest
$ac_exeext
1718 if { { ac_try
="$ac_link"
1720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_link") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest$ac_exeext && {
1737 test "$cross_compiling" = yes ||
1738 $as_test_x conftest$ac_exeext
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1748 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1749 # interfere with the next link command; also delete a directory that is
1750 # left behind by Apple's compiler. We do this before executing the actions.
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755 } # ac_fn_c_try_link
1756 cat >config.log <<_ACEOF
1757 This file contains any messages produced by compilers while
1758 running configure, to aid debugging if configure makes a mistake.
1760 It was created by $as_me, which was
1761 generated by GNU Autoconf 2.64. Invocation command line was
1773 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1774 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1775 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1776 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1777 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1779 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1780 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1782 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1783 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1784 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1785 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1786 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1787 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1788 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 $as_echo "PATH: $as_dir"
1813 # Keep a trace of the command line.
1814 # Strip out --no-create and --no-recursion so they do not pile up.
1815 # Strip out --silent because we don't want to record it for future runs.
1816 # Also quote any args containing shell meta-characters.
1817 # Make two passes to allow for proper duplicate-argument suppression.
1821 ac_must_keep_next=false
1827 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1829 | -silent | --silent | --silen | --sile | --sil)
1832 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1835 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1837 as_fn_append ac_configure_args1 " '$ac_arg'"
1838 if test $ac_must_keep_next = true; then
1839 ac_must_keep_next=false # Got value, back to normal.
1842 *=* | --config-cache | -C | -disable-* | --disable-* \
1843 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1844 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1845 | -with-* | --with-* | -without-* | --without-* | --x)
1846 case "$ac_configure_args0 " in
1847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1850 -* ) ac_must_keep_next=true ;;
1853 as_fn_append ac_configure_args " '$ac_arg'"
1858 { ac_configure_args0=; unset ac_configure_args0;}
1859 { ac_configure_args1=; unset ac_configure_args1;}
1861 # When interrupted or exit'd, cleanup temporary files, and complete
1862 # config.log. We remove comments because anyway the quotes in there
1863 # would cause problems or look ugly.
1864 # WARNING: Use '\'' to represent an apostrophe within the trap.
1865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1866 trap 'exit_status=$?
1867 # Save into config.log some information that might help in debugging.
1872 ## ---------------- ##
1873 ## Cache variables. ##
1874 ## ---------------- ##
1877 # The following way of writing the cache mishandles newlines in values,
1879 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1880 eval ac_val=\$$ac_var
1884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1888 _ | IFS | as_nl) ;; #(
1889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890 *) { eval $ac_var=; unset $ac_var;} ;;
1895 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1910 ## ----------------- ##
1911 ## Output variables. ##
1912 ## ----------------- ##
1915 for ac_var in $ac_subst_vars
1917 eval ac_val=\$$ac_var
1919 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1921 $as_echo "$ac_var='\''$ac_val'\''"
1925 if test -n "$ac_subst_files"; then
1927 ## ------------------- ##
1928 ## File substitutions. ##
1929 ## ------------------- ##
1932 for ac_var in $ac_subst_files
1934 eval ac_val=\$$ac_var
1936 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1938 $as_echo "$ac_var='\''$ac_val'\''"
1943 if test -s confdefs.h; then
1953 test "$ac_signal" != 0 &&
1954 $as_echo "$as_me: caught signal $ac_signal"
1955 $as_echo "$as_me: exit $exit_status"
1957 rm -f core *.core core.conftest.* &&
1958 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1961 for ac_signal in 1 2 13 15; do
1962 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1967 rm -f -r conftest* confdefs.h
1969 $as_echo "/* confdefs.h */" > confdefs.h
1971 # Predefined preprocessor variables.
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_NAME "$PACKAGE_NAME"
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_STRING "$PACKAGE_STRING"
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_URL "$PACKAGE_URL"
1998 # Let the site file select an alternate cache file if it wants to.
1999 # Prefer an explicitly selected file to automatically selected ones.
2002 if test -n "$CONFIG_SITE"; then
2003 ac_site_file1=$CONFIG_SITE
2004 elif test "x$prefix" != xNONE; then
2005 ac_site_file1=$prefix/share/config.site
2006 ac_site_file2=$prefix/etc/config.site
2008 ac_site_file1=$ac_default_prefix/share/config.site
2009 ac_site_file2=$ac_default_prefix/etc/config.site
2011 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2013 test "x$ac_site_file" = xNONE && continue
2014 if test -r "$ac_site_file"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2016 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2017 sed 's/^/| /' "$ac_site_file" >&5
2022 if test -r "$cache_file"; then
2023 # Some versions of bash will fail to source /dev/null (special
2024 # files actually), so we avoid doing that.
2025 if test -f "$cache_file"; then
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2027 $as_echo "$as_me: loading cache $cache_file" >&6;}
2029 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2030 *) . "./$cache_file";;
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2035 $as_echo "$as_me: creating cache $cache_file" >&6;}
2039 # Check that the precious variables saved in the cache have kept the same
2041 ac_cache_corrupted=false
2042 for ac_var in $ac_precious_vars; do
2043 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2044 eval ac_new_set=\$ac_env_${ac_var}_set
2045 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2046 eval ac_new_val=\$ac_env_${ac_var}_value
2047 case $ac_old_set,$ac_new_set in
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2050 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2051 ac_cache_corrupted=: ;;
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2054 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2055 ac_cache_corrupted=: ;;
2058 if test "x$ac_old_val" != "x$ac_new_val"; then
2059 # differences in whitespace do not lead to failure.
2060 ac_old_val_w=`echo x
$ac_old_val`
2061 ac_new_val_w=`echo x
$ac_new_val`
2062 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2064 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2065 ac_cache_corrupted=:
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2068 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2069 eval $ac_var=\$ac_old_val
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2072 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2074 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2077 # Pass precious variables to config.status.
2078 if test "$ac_new_set" = set; then
2080 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2081 *) ac_arg=$ac_var=$ac_new_val ;;
2083 case " $ac_configure_args " in
2084 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2085 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2089 if $ac_cache_corrupted; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2093 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2094 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2096 ## -------------------- ##
2097 ## Main body of script. ##
2098 ## -------------------- ##
2101 ac_cpp='$CPP $CPPFLAGS'
2102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2115 # if PWD already has a value, it is probably wrong.
2116 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2118 # Export original configure arguments for use by sub-configures.
2119 # Quote arguments with shell meta charatcers.
2120 TOPLEVEL_CONFIGURE_ARGUMENTS=
2121 set -- "$progname" "$@"
2125 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2126 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2127 # if the argument is of the form -foo=baz, quote the baz part only
2128 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2131 # Add the quoted argument to the list.
2132 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2134 if test "$silent" = yes; then
2135 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2137 # Remove the initial space we just introduced and, as these will be
2138 # expanded by make, quote '$'.
2139 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2142 # Find the build, host, and target systems.
2144 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2145 for ac_t in install-sh install.sh shtool; do
2146 if test -f "$ac_dir/$ac_t"; then
2148 ac_install_sh="$ac_aux_dir/$ac_t -c"
2153 if test -z "$ac_aux_dir"; then
2154 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2157 # These three variables are undocumented and unsupported,
2158 # and are intended to be withdrawn in a future Autoconf release.
2159 # They can cause serious problems if a builder's source tree is in a directory
2160 # whose full name contains unusual characters.
2161 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2162 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2163 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2166 # Make sure we can run config.sub.
2167 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2168 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2171 $as_echo_n "checking build system type... " >&6; }
2172 if test "${ac_cv_build+set}" = set; then :
2173 $as_echo_n "(cached) " >&6
2175 ac_build_alias=$build_alias
2176 test "x$ac_build_alias" = x &&
2177 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2178 test "x$ac_build_alias" = x &&
2179 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2180 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2181 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2185 $as_echo "$ac_cv_build" >&6; }
2186 case $ac_cv_build in
2188 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2191 ac_save_IFS=$IFS; IFS='-'
2197 # Remember, the first character of IFS is used to create $*,
2198 # except with old shells:
2201 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2204 case ${build_alias} in
2205 "") build_noncanonical=${build} ;;
2206 *) build_noncanonical=${build_alias} ;;
2211 case ${host_alias} in
2212 "") host_noncanonical=${build_noncanonical} ;;
2213 *) host_noncanonical=${host_alias} ;;
2218 case ${target_alias} in
2219 "") target_noncanonical=${host_noncanonical} ;;
2220 *) target_noncanonical=${target_alias} ;;
2226 test "$host_noncanonical" = "$target_noncanonical" &&
2227 test "$program_prefix$program_suffix$program_transform_name" = \
2229 program_transform_name=s,y,y,
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2232 $as_echo_n "checking host system type... " >&6; }
2233 if test "${ac_cv_host+set}" = set; then :
2234 $as_echo_n "(cached) " >&6
2236 if test "x$host_alias" = x; then
2237 ac_cv_host=$ac_cv_build
2239 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2240 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2245 $as_echo "$ac_cv_host" >&6; }
2248 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2251 ac_save_IFS=$IFS; IFS='-'
2257 # Remember, the first character of IFS is used to create $*,
2258 # except with old shells:
2261 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2265 $as_echo_n "checking target system type... " >&6; }
2266 if test "${ac_cv_target+set}" = set; then :
2267 $as_echo_n "(cached) " >&6
2269 if test "x$target_alias" = x; then
2270 ac_cv_target=$ac_cv_host
2272 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2273 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2278 $as_echo "$ac_cv_target" >&6; }
2279 case $ac_cv_target in
2281 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2283 target=$ac_cv_target
2284 ac_save_IFS=$IFS; IFS='-'
2290 # Remember, the first character of IFS is used to create $*,
2291 # except with old shells:
2294 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2297 # The aliases save the names the user supplied, while $host etc.
2298 # will get canonicalized.
2299 test -n "$target_alias" &&
2300 test "$program_prefix$program_suffix$program_transform_name" = \
2302 program_prefix=${target_alias}-
2304 test "$program_prefix" != NONE &&
2305 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2306 # Use a double $ so make ignores it.
2307 test "$program_suffix" != NONE &&
2308 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2309 # Double any \ or $.
2310 # By default was `s
,x
,x
', remove it if useless.
2311 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2312 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2316 # Get 'install' or 'install-sh
' and its variants.
2317 # Find a good install program. We prefer a C program (faster),
2318 # so one script is as good as another. But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if test "${ac_cv_path_install+set}" = set; then :
2335 $as_echo_n "(cached) " >&6
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344 .
/ | .
// |
/[cC
]/* | \
2345 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2346 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2349 # OSF1 and SCO ODT 3.0 have their own names for install.
2350 # Don't use installbsd from OSF since it installs stuff as root
2352 for ac_prog
in ginstall scoinst
install; do
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2355 if test $ac_prog = install &&
2356 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2357 # AIX install. It has an incompatible calling convention.
2359 elif test $ac_prog = install &&
2360 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2361 # program-specific install script used by HP pwplus--don't use.
2364 rm -rf conftest.one conftest.two conftest.dir
2365 echo one
> conftest.one
2366 echo two
> conftest.two
2368 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2369 test -s conftest.one
&& test -s conftest.two
&&
2370 test -s conftest.dir
/conftest.one
&&
2371 test -s conftest.dir
/conftest.two
2373 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2386 rm -rf conftest.one conftest.two conftest.dir
2389 if test "${ac_cv_path_install+set}" = set; then
2390 INSTALL
=$ac_cv_path_install
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for INSTALL within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 INSTALL
=$ac_install_sh
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2408 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2411 $as_echo_n "checking whether ln works... " >&6; }
2412 if test "${acx_cv_prog_LN+set}" = set; then :
2413 $as_echo_n "(cached) " >&6
2415 rm -f conftestdata_t
2416 echo >conftestdata_f
2417 if ln conftestdata_f conftestdata_t
2>/dev
/null
2423 rm -f conftestdata_f conftestdata_t
2426 if test $acx_cv_prog_LN = no
; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2429 $as_echo "no, using $LN" >&6; }
2431 LN
="$acx_cv_prog_LN"
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2433 $as_echo "yes" >&6; }
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2437 $as_echo_n "checking whether ln -s works... " >&6; }
2439 if test "$LN_S" = "ln -s"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2441 $as_echo "yes" >&6; }
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2444 $as_echo "no, using $LN_S" >&6; }
2448 ### we might need to use some other shell than /bin/sh for running subshells
2449 ### If we are on Windows, search for the shell. This will permit people
2450 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2451 ### without also having to set CONFIG_SHELL. This code will work when
2452 ### using bash, which sets OSTYPE.
2455 if test x
${CONFIG_SHELL} = x
; then
2456 if test ! -f /bin
/sh
; then
2457 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2458 CONFIG_SHELL
=${SHELL}
2461 for prog
in sh sh.exe bash bash.exe
; do
2462 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2463 for dir
in $PATH; do
2464 test -z "$dir" && dir
=.
2465 if test -f $dir/$prog; then
2466 CONFIG_SHELL
=$dir/$prog
2472 test -n "${CONFIG_SHELL}" && break
2480 config_shell
=${CONFIG_SHELL-/bin/sh}
2482 moveifchange
=${srcdir}/move-if-change
2484 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2486 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2488 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2489 INSTALL
="${srcpwd}/install-sh -c"
2492 # Set srcdir to "." if that's what it is.
2493 # This is important for multilib support.
2495 if test "${pwd}" = "${srcpwd}" ; then
2503 ### To add a new directory to the tree, first choose whether it is a target
2504 ### or a host dependent tool. Then put it into the appropriate list
2505 ### (library or tools, host or target), doing a dependency sort.
2507 # Subdirs will be configured in the order listed in build_configdirs,
2508 # configdirs, or target_configdirs; see the serialization section below.
2510 # Dependency sorting is only needed when *configuration* must be done in
2511 # a particular order. In all cases a dependency should be specified in
2512 # the Makefile, whether or not it's implicitly specified here.
2514 # Double entries in build_configdirs, configdirs, or target_configdirs may
2515 # cause circular dependencies and break everything horribly.
2517 # these library is used by various programs built for the build
2520 build_libs
="build-libiberty"
2522 # these tools are built for the build environment
2523 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2525 # these libraries are used by various programs built for the host environment
2527 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
2529 # these tools are built for the host environment
2530 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2531 # know that we are building the simulator.
2532 # binutils, gas and ld appear in that order because it makes sense to run
2533 # "make check" in that particular order.
2534 # If --enable-gold is used, "gold" will replace "ld".
2535 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"
2537 # libgcj represents the runtime libraries only used by gcj.
2538 libgcj
="target-libffi \
2543 # these libraries are built for the target environment, and are built after
2544 # the host libraries and the host tools (which may be a cross compiler)
2546 target_libraries
="target-libgcc \
2551 target-libstdc++-v3 \
2554 target-libgfortran \
2560 # these tools are built using the target libraries, and are intended to
2561 # run only in the target environment
2563 # note: any program that *uses* libraries that are in the "target_libraries"
2564 # list belongs in this list. those programs are also very likely
2565 # candidates for the "native_only" list which follows
2567 target_tools
="target-examples target-groff target-gperf target-rda"
2569 ################################################################################
2571 ## All tools belong in one of the four categories, and are assigned above
2572 ## We assign ${configdirs} this way to remove all embedded newlines. This
2573 ## is important because configure will choke if they ever get through.
2574 ## ${configdirs} is directories we build using the host tools.
2575 ## ${target_configdirs} is directories we build using the target tools.
2576 configdirs
=`echo ${host_libs} ${host_tools}`
2577 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2578 build_configdirs
=`echo ${build_libs} ${build_tools}`
2582 ################################################################################
2584 srcname
="gnu development package"
2586 # This gets set non-empty for some net releases of packages.
2589 # Define is_cross_compiler to save on calls to 'test'.
2591 if test x
"${host}" = x
"${target}" ; then
2592 is_cross_compiler
=no
2594 is_cross_compiler
=yes
2597 # Find the build and target subdir names.
2599 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2600 # have matching libraries, they should use host libraries: Makefile.tpl
2601 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2602 # However, they still use the build modules, because the corresponding
2603 # host modules (e.g. bison) are only built for the host when bootstrap
2605 # - build_subdir is where we find build modules, and never changes.
2606 # - build_libsubdir is where we find build libraries, and can be overridden.
2608 # Prefix 'build-' so this never conflicts with target_subdir.
2609 build_subdir
="build-${build_noncanonical}"
2611 # Check whether --with-build-libsubdir was given.
2612 if test "${with_build_libsubdir+set}" = set; then :
2613 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2615 build_libsubdir
="$build_subdir"
2618 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2619 if ( test $srcdir = .
&& test -d gcc
) \
2620 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2621 host_subdir
="host-${host_noncanonical}"
2626 target_subdir
=${target_noncanonical}
2629 # Skipdirs are removed silently.
2631 # Noconfigdirs are removed loudly.
2635 # Make sure we don't let GNU ld be added if we didn't want it.
2636 if test x
$with_gnu_ld = xno
; then
2638 noconfigdirs
="$noconfigdirs ld gold"
2642 # Make sure we don't let GNU as be added if we didn't want it.
2643 if test x
$with_gnu_as = xno
; then
2645 noconfigdirs
="$noconfigdirs gas"
2648 # some tools are so dependent upon X11 that if we're not building with X,
2649 # it's not even worth trying to configure, much less build, that tool.
2652 yes |
"") ;; # the default value for this tree is that X11 is available
2654 skipdirs
="${skipdirs} tk itcl libgui"
2655 # We won't be able to build gdbtk without X.
2658 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2661 # Some tools are only suitable for building in a "native" situation.
2662 # Remove these if host!=target.
2663 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"
2665 # Similarly, some are only suitable for cross toolchains.
2666 # Remove these if host=target.
2667 cross_only
="target-libgloss target-newlib target-opcodes"
2669 case $is_cross_compiler in
2670 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2671 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2674 # If both --with-headers and --with-libs are specified, default to
2676 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2677 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2678 if test x
"${with_newlib}" = x
; then
2683 # Recognize --with-newlib/--without-newlib.
2684 case ${with_newlib} in
2685 no
) skipdirs
="${skipdirs} target-newlib" ;;
2686 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2689 # Handle --enable-gold.
2691 # Check whether --enable-gold was given.
2692 if test "${enable_gold+set}" = set; then :
2693 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2698 if test "${ENABLE_GOLD}" = "yes"; then
2699 # Check for ELF target.
2702 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2703 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2704 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2706 *-*-linux*aout
* |
*-*-linux*oldld
*)
2714 if test "$is_elf" = "yes"; then
2715 # Check for target supported by gold.
2717 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2718 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2724 # Configure extra directories which are host specific
2728 configdirs
="$configdirs libtermcap" ;;
2731 # A target can indicate whether a language isn't supported for some reason.
2732 # Only spaces may be used in this macro; not newlines or tabs.
2733 unsupported_languages
=
2735 # Remove more programs from consideration, based on the host or
2736 # target this usually means that a port of the program doesn't
2741 noconfigdirs
="$noconfigdirs byacc"
2743 i
[3456789]86-*-vsta)
2744 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2746 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2747 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2750 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2752 i
[3456789]86-*-mingw32*)
2753 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2754 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2756 i
[3456789]86-*-beos*)
2757 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2760 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2763 noconfigdirs
="$noconfigdirs rcs"
2766 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2769 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2774 # Check whether --enable-libada was given.
2775 if test "${enable_libada+set}" = set; then :
2776 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2781 if test "${ENABLE_LIBADA}" != "yes" ; then
2782 noconfigdirs
="$noconfigdirs gnattools"
2785 # Check whether --enable-libssp was given.
2786 if test "${enable_libssp+set}" = set; then :
2787 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2793 # Save it here so that, even in case of --enable-libgcj, if the Java
2794 # front-end isn't enabled, we still get libgcj disabled.
2795 libgcj_saved
=$libgcj
2796 case $enable_libgcj in
2798 # If we reset it here, it won't get added to noconfigdirs in the
2799 # target-specific build rules, so it will be forcibly enabled
2800 # (unless the Java language itself isn't enabled).
2804 # Make sure we get it printed in the list of not supported target libs.
2805 noconfigdirs
="$noconfigdirs ${libgcj}"
2810 # Disable libmudflap on some systems.
2811 if test x
$enable_libmudflap = x
; then
2813 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2814 # Enable libmudflap by default in GNU and friends.
2817 # Enable libmudflap by default in FreeBSD.
2820 # Disable it by default everywhere else.
2821 noconfigdirs
="$noconfigdirs target-libmudflap"
2826 # Disable libgomp on non POSIX hosted systems.
2827 if test x
$enable_libgomp = x
; then
2828 # Enable libgomp by default on hosted POSIX systems.
2830 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2832 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2834 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2836 *-*-darwin* |
*-*-aix*)
2839 noconfigdirs
="$noconfigdirs target-libgomp"
2844 # Default libgloss CPU subdirectory.
2845 libgloss_dir
="$target_cpu"
2849 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2852 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2853 noconfigdirs
="$noconfigdirs sim target-rda"
2855 i
[3456789]86-*-darwin*)
2856 noconfigdirs
="$noconfigdirs ld gprof"
2857 noconfigdirs
="$noconfigdirs sim target-rda"
2859 x86_64-
*-darwin[912]*)
2860 noconfigdirs
="$noconfigdirs ld gas gprof"
2861 noconfigdirs
="$noconfigdirs sim target-rda"
2864 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2865 noconfigdirs
="$noconfigdirs sim target-rda"
2866 noconfigdirs
="$noconfigdirs ${libgcj}"
2868 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2869 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2872 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2873 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2874 && test -f /usr
/local
/include
/gmp.h
; then
2878 # Skip some stuff that's unsupported on some FreeBSD configurations.
2883 noconfigdirs
="$noconfigdirs ${libgcj}"
2888 # Remove unsupported stuff on all kaOS configurations.
2889 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2890 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2891 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2892 noconfigdirs
="$noconfigdirs target-libgloss"
2895 # Skip some stuff on all NetBSD configurations.
2896 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2898 # Skip some stuff that's unsupported on some NetBSD configurations.
2900 i
*86-*-netbsdelf*) ;;
2901 arm
*-*-netbsdelf*) ;;
2903 noconfigdirs
="$noconfigdirs ${libgcj}"
2908 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2911 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2913 # The tpf target doesn't support gdb yet.
2915 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2918 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2921 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2924 # ld works, but does not support shared libraries.
2925 # newlib is not 64 bit ready. I'm not sure about fileutils.
2926 # gas doesn't generate exception information.
2927 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2930 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2933 # newlib is not 64 bit ready
2934 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2937 # newlib is not 64 bit ready
2938 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2941 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2944 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2946 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2947 noconfigdirs
="$noconfigdirs ${libgcj}"
2948 noconfigdirs
="$noconfigdirs target-examples"
2949 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2950 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2951 noconfigdirs
="$noconfigdirs expect dejagnu"
2952 # the C++ libraries don't build on top of CE's C libraries
2953 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2954 noconfigdirs
="$noconfigdirs target-newlib"
2956 *-*-cygwin*) ;; # keep gdb and readline
2957 *) noconfigdirs
="$noconfigdirs gdb readline"
2963 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2967 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2968 noconfigdirs
="$noconfigdirs ${libgcj}"
2971 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2972 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2975 arm
*-*-linux-gnueabi)
2976 noconfigdirs
="$noconfigdirs target-qthreads"
2977 case ${with_newlib} in
2978 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2983 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2987 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2990 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2993 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2996 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2999 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3002 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3005 noconfigdirs
="$noconfigdirs gdb"
3006 if test x
${is_cross_compiler} != xno
; then
3007 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3010 c4x-
*-* | tic4x-
*-*)
3011 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3013 c54x
*-*-* | tic54x-
*-*)
3014 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3017 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3019 cris-
*-* | crisv32-
*-*)
3020 unsupported_languages
="$unsupported_languages java"
3023 unsupported_languages
="$unsupported_languages fortran"
3024 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3026 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3028 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3030 unsupported_languages
="$unsupported_languages fortran"
3031 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3036 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3039 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3042 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3044 ep9312-
*-elf | ep9312-
*-coff)
3048 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3051 noconfigdirs
="$noconfigdirs ${libgcj}"
3054 noconfigdirs
="$noconfigdirs ${libgcj}"
3055 noconfigdirs
="$noconfigdirs gprof"
3058 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3061 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3063 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3065 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3066 # In this case, it's because the hppa64-linux target is for
3067 # the kernel only at this point and has no libc, and thus no
3068 # headers, crt*.o, etc., all of which are needed by these.
3069 noconfigdirs
="$noconfigdirs target-zlib"
3071 parisc
*-*-linux* | hppa
*-*-linux*)
3075 hppa
*-*-openbsd* | \
3077 noconfigdirs
="$noconfigdirs ${libgcj}"
3080 noconfigdirs
="$noconfigdirs ld shellutils"
3086 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3087 # build on HP-UX 10.20.
3088 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3091 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3094 # No gdb support yet.
3095 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3098 # No gdb or ld support yet.
3099 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3102 # No gdb or ld support yet.
3103 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3107 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3108 noconfigdirs
="$noconfigdirs ${libgcj}"
3111 i
[3456789]86-*-linux*)
3112 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3113 # not build java stuff by default.
3116 noconfigdirs
="$noconfigdirs ${libgcj}";;
3119 # This section makes it possible to build newlib natively on linux.
3120 # If we are using a cross compiler then don't configure newlib.
3121 if test x
${is_cross_compiler} != xno
; then
3122 noconfigdirs
="$noconfigdirs target-newlib"
3124 noconfigdirs
="$noconfigdirs target-libgloss"
3125 # If we are not using a cross compiler, do configure newlib.
3126 # Note however, that newlib will only be configured in this situation
3127 # if the --with-newlib option has been given, because otherwise
3128 # 'target-newlib' will appear in skipdirs.
3130 i
[3456789]86-*-mingw32*)
3131 target_configdirs
="$target_configdirs target-winsup"
3132 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3135 target_configdirs
="$target_configdirs target-winsup"
3136 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3139 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3140 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3141 # always build newlib if winsup directory is present.
3142 if test -d "$srcdir/winsup/cygwin"; then
3143 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3144 elif test -d "$srcdir/newlib"; then
3145 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3148 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3149 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3152 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3154 i
[3456789]86-*-sco3.2v5
*)
3155 # The linker does not yet know about weak symbols in COFF,
3156 # and is not configured to handle mixed ELF and COFF.
3157 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3159 i
[3456789]86-*-sco*)
3160 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3162 i
[3456789]86-*-solaris2*)
3163 noconfigdirs
="$noconfigdirs target-libgloss"
3165 i
[3456789]86-*-sysv4*)
3166 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3168 i
[3456789]86-*-beos*)
3169 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3171 i
[3456789]86-*-rdos*)
3172 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3175 noconfigdirs
="$noconfigdirs ${libgcj}"
3177 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3178 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3179 libgloss_dir
=m68hc11
3182 noconfigdirs
="$noconfigdirs ${libgcj}"
3185 noconfigdirs
="$noconfigdirs ${libgcj}"
3187 m68
*-*-* | fido-
*-*)
3191 # The EPOC C++ environment does not support exceptions or rtti,
3192 # and so building libstdc++-v3 tends not to always work.
3193 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3196 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3197 unsupported_languages
="$unsupported_languages fortran java"
3200 noconfigdirs
="$noconfigdirs ${libgcj}"
3203 noconfigdirs
="$noconfigdirs ${libgcj}"
3206 noconfigdirs
="$noconfigdirs sim"
3209 # copied from rs6000-*-* entry
3210 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3212 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3213 target_configdirs
="$target_configdirs target-winsup"
3214 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3215 # always build newlib.
3216 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3218 # This is temporary until we can link against shared libraries
3219 powerpcle-
*-solaris*)
3220 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3224 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3227 noconfigdirs
="$noconfigdirs ${libgcj}"
3230 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3234 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3237 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3240 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3243 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3246 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3249 skipdirs
="$skipdirs target-libiberty"
3250 noconfigdirs
="$noconfigdirs ${libgcj}"
3251 if test x
$with_newlib = xyes
; then
3252 noconfigdirs
="$noconfigdirs gprof"
3257 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3260 # Linking libjava exceeds command-line length limits on at least
3261 # IRIX 6.2, but not on IRIX 6.5.
3262 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3263 # <oldham@codesourcery.com>
3264 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3267 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3270 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3273 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3277 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3281 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3282 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3283 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3284 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3288 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3290 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3293 sparclet-
*-aout* | sparc86x-
*-*)
3297 noconfigdirs
="$noconfigdirs ${libgcj}"
3300 noconfigdirs
="$noconfigdirs ${libgcj}"
3304 noconfigdirs
="$noconfigdirs ${libgcj}"
3308 noconfigdirs
="$noconfigdirs ${libgcj}"
3309 if test x
${is_cross_compiler} != xno
; then
3310 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3315 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3316 noconfigdirs
="$noconfigdirs ${libgcj}"
3318 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3321 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3324 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3327 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3330 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3333 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3336 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3339 noconfigdirs
="$noconfigdirs ${libgcj}"
3342 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3344 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3345 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3348 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3351 noconfigdirs
="$noconfigdirs ${libgcj}"
3355 # If we aren't building newlib, then don't build libgloss, since libgloss
3356 # depends upon some newlib header files.
3357 case "${noconfigdirs}" in
3358 *target-libgloss
*) ;;
3359 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3362 # Work in distributions that contain no compiler tools, like Autoconf.
3364 host_makefile_frag
=/dev
/null
3365 if test -d ${srcdir}/config
; then
3368 # Avoid "too much defining" errors from HPUX compiler.
3369 tentative_cc
="cc -Wp,-H256000"
3370 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3371 # If it's HP/UX ar, this should be harmless.
3375 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3378 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3379 # chokes on bfd, the compiler won't let you assign integers to enums, and
3380 # other problems. Defining CC to gcc is a questionable way to say "don't use
3381 # the apollo compiler" (the preferred version of GCC could be called cc,
3382 # or whatever), but I'm not sure leaving CC as cc is any better...
3383 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3384 # Used to have BISON=yacc.
3388 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3391 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3392 tentative_cc
="cc -Xa"
3393 host_makefile_frag
="config/mh-cxux"
3395 m88k-motorola-sysv
*)
3398 tentative_cc
="cc -Wf,-XNg1000"
3399 host_makefile_frag
="config/mh-decstation"
3402 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3403 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3404 host_makefile_frag
="config/mh-necv4"
3407 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3408 # environment. Also bump switch table size so that cp-parse will
3409 # compile. Bump string length limit so linker builds.
3410 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3413 host_makefile_frag
="config/mh-sysv4"
3416 # This is for a MIPS running RISC/os 4.52C.
3418 # This is needed for GDB, but needs to be in the top-level make because
3419 # if a library is compiled with the bsd headers and gets linked with the
3420 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3421 # a different size).
3422 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3423 # known except to select the sysv environment. Could we use /proc instead?
3424 # These "sysv environments" and "bsd environments" often end up being a pain.
3426 # This is not part of CFLAGS because perhaps not all C compilers have this
3428 tentative_cc
="cc -systype sysv"
3433 i
[3456789]86-*-sysv5*)
3434 host_makefile_frag
="config/mh-sysv5"
3436 i
[3456789]86-*-dgux*)
3437 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3438 host_makefile_frag
="config/mh-dgux386"
3440 i
[3456789]86-ncr-sysv4.3
*)
3441 # The MetaWare compiler will generate a copyright message unless you
3442 # turn it off by adding the -Hnocopyr flag.
3443 tentative_cc
="cc -Hnocopyr"
3445 i
[3456789]86-ncr-sysv4*)
3446 # for an NCR 3000 (i486/SVR4) system.
3447 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3448 # This compiler not only emits obnoxious copyright messages every time
3449 # you run it, but it chokes and dies on a whole bunch of GNU source
3450 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3451 tentative_cc
="/usr/ccs/ATT/cc"
3452 host_makefile_frag
="config/mh-ncr3000"
3454 i
[3456789]86-*-sco3.2v5
*)
3456 i
[3456789]86-*-sco*)
3457 # The native C compiler botches some simple uses of const. Unfortunately,
3458 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3459 tentative_cc
="cc -Dconst="
3460 host_makefile_frag
="config/mh-sco"
3462 i
[3456789]86-*-udk*)
3463 host_makefile_frag
="config/mh-sysv5"
3465 i
[3456789]86-*-solaris2*)
3466 host_makefile_frag
="config/mh-sysv4"
3468 i
[3456789]86-*-msdosdjgpp*)
3469 host_makefile_frag
="config/mh-djgpp"
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3474 $as_echo_n "checking to see if cat works as expected... " >&6; }
3475 echo a
>cygwin-cat-check
3476 if test `cat cygwin-cat-check` == a
; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3479 $as_echo "yes" >&6; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483 $as_echo "no" >&6; }
3484 as_fn_error
"The cat command does not ignore carriage return characters.
3485 Please either mount the build directory in binary mode or run the following
3486 commands before running any configure script:
3492 host_makefile_frag
="config/mh-cygwin"
3495 host_makefile_frag
="config/mh-mingw"
3498 host_makefile_frag
="config/mh-interix"
3501 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3505 host_makefile_frag
="config/mh-solaris"
3508 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3509 # without overflowing the jump tables (-J says to use a 32 bit table)
3510 tentative_cc
="cc -J"
3513 tentative_cc
="cc -Wp,-H256000"
3514 host_makefile_frag
="config/mh-pa-hpux10"
3516 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3517 tentative_cc
="cc -Wp,-H256000"
3518 host_makefile_frag
="config/mh-pa"
3521 host_makefile_frag
="config/mh-pa"
3523 *-hp-hpux* |
*-*-hiux*)
3524 tentative_cc
="cc -Wp,-H256000"
3527 # /bin/cc is less than useful for our purposes. Always use GCC
3528 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3529 host_makefile_frag
="config/mh-lynxrs6k"
3532 host_makefile_frag
="config/mh-ppc-darwin"
3535 host_makefile_frag
="config/mh-ppc-aix"
3538 host_makefile_frag
="config/mh-ppc-aix"
3541 # /bin/cc is less than useful for our purposes. Always use GCC
3542 tentative_cc
="/bin/gcc"
3545 host_makefile_frag
="config/mh-sysv4"
3547 # This is placed last to prevent interfering with the cases above.
3549 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3550 host_makefile_frag
="config/mh-x86omitfp"
3555 # If we aren't going to be using gcc, see if we can extract a definition
3556 # of CC from the fragment.
3557 # Actually, use the 'pre-extracted' version above.
3558 if test -z "${CC}" && test "${build}" = "${host}" ; then
3559 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3561 for dir
in $PATH; do
3562 test -z "$dir" && dir
=.
3563 if test -f $dir/gcc
; then
3569 if test -z "${found}" && test -n "${tentative_cc}" ; then
3574 if test "${build}" != "${host}" ; then
3575 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3576 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3577 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3578 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3579 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3580 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3581 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3582 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3583 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3584 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3585 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3586 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3588 AR_FOR_BUILD
="\$(AR)"
3589 AS_FOR_BUILD
="\$(AS)"
3590 CC_FOR_BUILD
="\$(CC)"
3591 CXX_FOR_BUILD
="\$(CXX)"
3592 GCJ_FOR_BUILD
="\$(GCJ)"
3593 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3594 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3595 LD_FOR_BUILD
="\$(LD)"
3596 NM_FOR_BUILD
="\$(NM)"
3597 RANLIB_FOR_BUILD
="\$(RANLIB)"
3598 WINDRES_FOR_BUILD
="\$(WINDRES)"
3599 WINDMC_FOR_BUILD
="\$(WINDMC)"
3603 ac_cpp
='$CPP $CPPFLAGS'
3604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3609 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if test "${ac_cv_prog_CC+set}" = set; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC
="$CC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3646 if test -z "$ac_cv_prog_CC"; then
3648 # Extract the first word of "gcc", so it can be a program name with args.
3649 set dummy gcc
; ac_word
=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -n "$ac_ct_CC"; then
3656 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir
=.
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3665 ac_cv_prog_ac_ct_CC
="gcc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3676 if test -n "$ac_ct_CC"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3678 $as_echo "$ac_ct_CC" >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3684 if test "x$ac_ct_CC" = x
; then
3687 case $cross_compiling:$ac_tool_warned in
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3691 ac_tool_warned
=yes ;;
3699 if test -z "$CC"; then
3700 if test -n "$ac_tool_prefix"; then
3701 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3702 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_CC+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -n "$CC"; then
3709 ac_cv_prog_CC
="$CC" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3740 if test -z "$CC"; then
3741 # Extract the first word of "cc", so it can be a program name with args.
3742 set dummy cc
; ac_word
=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if test "${ac_cv_prog_CC+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$CC"; then
3749 ac_cv_prog_CC
="$CC" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3760 ac_prog_rejected
=yes
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 if test $ac_prog_rejected = yes; then
3772 # We found a bogon in the path, so make sure we never use it.
3773 set dummy
$ac_cv_prog_CC
3775 if test $# != 0; then
3776 # We chose a different compiler from the bogus one.
3777 # However, it has the same basename, so the bogon will be chosen
3778 # first if we set CC to just the basename; use the full file name.
3780 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3786 if test -n "$CC"; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3788 $as_echo "$CC" >&6; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3796 if test -z "$CC"; then
3797 if test -n "$ac_tool_prefix"; then
3798 for ac_prog
in cl.exe
3800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3801 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC
="$CC" # Let the user override the test.
3810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir
=.
3815 for ac_exec_ext
in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 if test -n "$CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3830 $as_echo "$CC" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$CC" && break
3840 if test -z "$CC"; then
3842 for ac_prog
in cl.exe
3844 # Extract the first word of "$ac_prog", so it can be a program name with args.
3845 set dummy
$ac_prog; ac_word
=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3849 $as_echo_n "(cached) " >&6
3851 if test -n "$ac_ct_CC"; then
3852 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir
=.
3859 for ac_exec_ext
in '' $ac_executable_extensions; do
3860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3861 ac_cv_prog_ac_ct_CC
="$ac_prog"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3872 if test -n "$ac_ct_CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3874 $as_echo "$ac_ct_CC" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3881 test -n "$ac_ct_CC" && break
3884 if test "x$ac_ct_CC" = x
; then
3887 case $cross_compiling:$ac_tool_warned in
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3891 ac_tool_warned
=yes ;;
3900 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error
"no acceptable C compiler found in \$PATH
3903 See \`config.log' for more details." "$LINENO" 5; }
3905 # Provide some information about the compiler.
3906 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3909 for ac_option
in --version -v -V -qversion; do
3910 { { ac_try
="$ac_compiler $ac_option >&5"
3912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3919 if test -s conftest.err; then
3921 ... rest of stderr output deleted ...
3922 10q' conftest.err >conftest.er1
3923 cat conftest.er1 >&5
3924 rm -f conftest.er1 conftest.err
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3941 ac_clean_files_save=$ac_clean_files
3942 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3943 # Try to create an executable without -o first, disregard a.out.
3944 # It will help us diagnose broken compilers, and finding out an intuition
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3947 $as_echo_n "checking for C compiler default output file name... " >&6; }
3948 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3950 # The possible output files:
3951 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3954 for ac_file in $ac_files
3957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3958 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3963 if { { ac_try="$ac_link_default"
3965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3966 *) ac_try_echo
=$ac_try;;
3968 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_link_default") 2>&5
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3977 # so that the user can short-circuit this test for compilers unknown to
3979 for ac_file
in $ac_files ''
3981 test -f "$ac_file" ||
continue
3983 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3986 # We found the default executable, but exeext='' is most
3990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3994 # We set ac_cv_exeext here because the later test for it is not
3995 # safe: cross compilers may not add the suffix if given an `-o'
3996 # argument, so we may need to know it at that point already.
3997 # Even if this section looks crufty: it has the advantage of
4004 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4010 $as_echo "$ac_file" >&6; }
4011 if test -z "$ac_file"; then :
4012 $as_echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.
$ac_ext >&5
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 { as_fn_set_status
77
4018 as_fn_error
"C compiler cannot create executables
4019 See \`config.log' for more details." "$LINENO" 5; }; }
4021 ac_exeext
=$ac_cv_exeext
4023 # Check that the compiler produces executables we can run. If not, either
4024 # the compiler is broken, or we cross compile.
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4026 $as_echo_n "checking whether the C compiler works... " >&6; }
4027 # If not cross compiling, check that we can run a simple program.
4028 if test "$cross_compiling" != yes; then
4029 if { ac_try
='./$ac_file'
4030 { { case "(($ac_try" in
4031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_try") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; }; then
4042 if test "$cross_compiling" = maybe; then
4045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4047 as_fn_error "cannot run C compiled programs.
4048 If you meant to cross compile
, use \
`--host'.
4049 See \`config.log
' for more details." "$LINENO" 5; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4054 $as_echo "yes" >&6; }
4056 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4057 ac_clean_files=$ac_clean_files_save
4058 # Check that the compiler produces executables we can run. If not, either
4059 # the compiler is broken, or we cross compile.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4061 $as_echo_n "checking whether we are cross compiling... " >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4063 $as_echo "$cross_compiling" >&6; }
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4066 $as_echo_n "checking for suffix of executables... " >&6; }
4067 if { { ac_try="$ac_link"
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_link") 2>&5
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }; then :
4078 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4079 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4080 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4082 for ac_file
in conftest.exe conftest conftest.
*; do
4083 test -f "$ac_file" ||
continue
4085 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4086 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4094 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4095 See \`config.log' for more details." "$LINENO" 5; }
4097 rm -f conftest
$ac_cv_exeext
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4099 $as_echo "$ac_cv_exeext" >&6; }
4101 rm -f conftest.
$ac_ext
4102 EXEEXT
=$ac_cv_exeext
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4105 $as_echo_n "checking for suffix of object files... " >&6; }
4106 if test "${ac_cv_objext+set}" = set; then :
4107 $as_echo_n "(cached) " >&6
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 rm -f conftest.o conftest.obj
4121 if { { ac_try
="$ac_compile"
4123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_compile") 2>&5
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 for ac_file in conftest.o conftest.obj conftest.*; do
4133 test -f "$ac_file" || continue;
4135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4136 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of object files
: cannot compile
4147 See \
`config.log' for more details." "$LINENO" 5; }
4149 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4152 $as_echo "$ac_cv_objext" >&6; }
4153 OBJEXT=$ac_cv_objext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4157 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4185 if test $ac_compiler_gnu = yes; then
4190 ac_test_CFLAGS=${CFLAGS+set}
4191 ac_save_CFLAGS=$CFLAGS
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4194 if test "${ac_cv_prog_cc_g+set}" = set; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_save_c_werror_flag=$ac_c_werror_flag
4198 ac_c_werror_flag=yes
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 if ac_fn_c_try_compile "$LINENO"; then :
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4243 if ac_fn_c_try_compile "$LINENO"; then :
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4254 $as_echo "$ac_cv_prog_cc_g" >&6; }
4255 if test "$ac_test_CFLAGS" = set; then
4256 CFLAGS=$ac_save_CFLAGS
4257 elif test $ac_cv_prog_cc_g = yes; then
4258 if test "$GCC" = yes; then
4264 if test "$GCC" = yes; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4272 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4273 $as_echo_n "(cached) " >&6
4275 ac_cv_prog_cc_c89=no
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 #include <sys/types.h>
4282 #include <sys/stat.h>
4283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4284 struct buf { int x; };
4285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4286 static char *e (p, i)
4292 static char *f (char * (*g) (char **, int), char **p, ...)
4297 s = g (p, va_arg (v,int));
4302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4303 function prototypes and stuff, but not '\xHH' hex character constants.
4304 These don't provoke an error unfortunately, instead are silently treated
4305 as 'x'. The following induces an error, until -std is added to get
4306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4307 array size at least. It's necessary to write '\x00'==0 to get something
4308 that's true only with -std. */
4309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4312 inside strings and character constants. */
4314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4316 int test (int i, double x);
4317 struct s1 {int (*f) (int a);};
4318 struct s2 {int (*f) (double a);};
4319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4331 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4333 CC="$ac_save_CC $ac_arg"
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_cv_prog_cc_c89=$ac_arg
4337 rm -f core conftest.err conftest.$ac_objext
4338 test "x$ac_cv_prog_cc_c89" != "xno" && break
4340 rm -f conftest.$ac_ext
4345 case "x$ac_cv_prog_cc_c89" in
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4348 $as_echo "none needed" >&6; } ;;
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4351 $as_echo "unsupported" >&6; } ;;
4353 CC="$CC $ac_cv_prog_cc_c89"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4355 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4357 if test "x$ac_cv_prog_cc_c89" != xno; then :
4362 ac_cpp='$CPP $CPPFLAGS'
4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 ac_cpp='$CXXCPP $CPPFLAGS'
4369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4372 if test -z "$CXX"; then
4373 if test -n "$CCC"; then
4376 if test -n "$ac_tool_prefix"; then
4377 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4380 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if test "${ac_cv_prog_CXX+set}" = set; then :
4384 $as_echo_n "(cached) " >&6
4386 if test -n "$CXX"; then
4387 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir=.
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 if test -n "$CXX"; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4409 $as_echo "$CXX" >&6; }
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4416 test -n "$CXX" && break
4419 if test -z "$CXX"; then
4421 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4423 # Extract the first word of "$ac_prog", so it can be a program name with args.
4424 set dummy $ac_prog; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -n "$ac_ct_CXX"; then
4431 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440 ac_cv_prog_ac_ct_CXX="$ac_prog"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4451 if test -n "$ac_ct_CXX"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4453 $as_echo "$ac_ct_CXX" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4460 test -n "$ac_ct_CXX" && break
4463 if test "x$ac_ct_CXX" = x; then
4466 case $cross_compiling:$ac_tool_warned in
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4470 ac_tool_warned=yes ;;
4478 # Provide some information about the compiler.
4479 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4482 for ac_option in --version -v -V -qversion; do
4483 { { ac_try="$ac_compiler $ac_option >&5"
4485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4486 *) ac_try_echo
=$ac_try;;
4488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4492 if test -s conftest.err
; then
4494 ... rest of stderr output deleted ...
4495 10q' conftest.err
>conftest.er1
4496 cat conftest.er1
>&5
4497 rm -f conftest.er1 conftest.err
4499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4500 test $ac_status = 0; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4504 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4505 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4506 $as_echo_n "(cached) " >&6
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4522 if ac_fn_cxx_try_compile
"$LINENO"; then :
4527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4528 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4532 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4533 if test $ac_compiler_gnu = yes; then
4538 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4539 ac_save_CXXFLAGS
=$CXXFLAGS
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4541 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4542 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4545 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4546 ac_cxx_werror_flag
=yes
4549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4560 if ac_fn_cxx_try_compile
"$LINENO"; then :
4561 ac_cv_prog_cxx_g
=yes
4564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4575 if ac_fn_cxx_try_compile
"$LINENO"; then :
4578 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4591 if ac_fn_cxx_try_compile
"$LINENO"; then :
4592 ac_cv_prog_cxx_g
=yes
4594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4599 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4602 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4603 if test "$ac_test_CXXFLAGS" = set; then
4604 CXXFLAGS
=$ac_save_CXXFLAGS
4605 elif test $ac_cv_prog_cxx_g = yes; then
4606 if test "$GXX" = yes; then
4612 if test "$GXX" = yes; then
4619 ac_cpp
='$CPP $CPPFLAGS'
4620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4625 # We must set the default linker to the linker used by gcc for the correct
4626 # operation of libtool. If LD is not defined and we are using gcc, try to
4627 # set the LD default to the ld used by gcc.
4628 if test -z "$LD"; then
4629 if test "$GCC" = yes; then
4632 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4634 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4636 case $gcc_prog_ld in
4637 # Accept absolute paths.
4638 [\\/]* |
[A-Za-z
]:[\\/]*)
4639 LD
="$gcc_prog_ld" ;;
4647 if test -n "$ac_tool_prefix"; then
4648 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4649 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$GNATBIND"; then
4656 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 GNATBIND
=$ac_cv_prog_GNATBIND
4676 if test -n "$GNATBIND"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4678 $as_echo "$GNATBIND" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4686 if test -z "$ac_cv_prog_GNATBIND"; then
4687 ac_ct_GNATBIND
=$GNATBIND
4688 # Extract the first word of "gnatbind", so it can be a program name with args.
4689 set dummy gnatbind
; ac_word
=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4695 if test -n "$ac_ct_GNATBIND"; then
4696 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4716 if test -n "$ac_ct_GNATBIND"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4718 $as_echo "$ac_ct_GNATBIND" >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4724 if test "x$ac_ct_GNATBIND" = x
; then
4727 case $cross_compiling:$ac_tool_warned in
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731 ac_tool_warned
=yes ;;
4733 GNATBIND
=$ac_ct_GNATBIND
4736 GNATBIND
="$ac_cv_prog_GNATBIND"
4739 if test -n "$ac_tool_prefix"; then
4740 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4741 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743 $as_echo_n "checking for $ac_word... " >&6; }
4744 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -n "$GNATMAKE"; then
4748 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4754 test -z "$as_dir" && as_dir
=.
4755 for ac_exec_ext
in '' $ac_executable_extensions; do
4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 GNATMAKE
=$ac_cv_prog_GNATMAKE
4768 if test -n "$GNATMAKE"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4770 $as_echo "$GNATMAKE" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4778 if test -z "$ac_cv_prog_GNATMAKE"; then
4779 ac_ct_GNATMAKE
=$GNATMAKE
4780 # Extract the first word of "gnatmake", so it can be a program name with args.
4781 set dummy gnatmake
; ac_word
=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4787 if test -n "$ac_ct_GNATMAKE"; then
4788 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir
=.
4795 for ac_exec_ext
in '' $ac_executable_extensions; do
4796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4797 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4808 if test -n "$ac_ct_GNATMAKE"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4810 $as_echo "$ac_ct_GNATMAKE" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4816 if test "x$ac_ct_GNATMAKE" = x
; then
4819 case $cross_compiling:$ac_tool_warned in
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4823 ac_tool_warned
=yes ;;
4825 GNATMAKE
=$ac_ct_GNATMAKE
4828 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4832 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4833 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4834 $as_echo_n "(cached) " >&6
4836 cat >conftest.adb
<<EOF
4837 procedure conftest is begin null; end conftest;
4839 acx_cv_cc_gcc_supports_ada
=no
4840 # There is a bug in old released versions of GCC which causes the
4841 # driver to exit successfully when the appropriate language module
4842 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4843 # Therefore we must check for the error message as well as an
4844 # unsuccessful exit.
4845 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4846 # given a .adb file, but produce no object file. So we must check
4847 # if an object file was really produced to guard against this.
4848 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4849 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4850 acx_cv_cc_gcc_supports_ada
=yes
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4855 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4857 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4864 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4865 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4866 $as_echo_n "(cached) " >&6
4870 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4871 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4872 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4875 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4878 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4879 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4882 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
4889 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
4890 do_compare
="$gcc_cv_prog_cmp_skip"
4894 # See if we are building gcc with C++.
4895 # Check whether --enable-build-with-cxx was given.
4896 if test "${enable_build_with_cxx+set}" = set; then :
4897 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
4899 ENABLE_BUILD_WITH_CXX
=no
4903 # Check for GMP, MPFR and MPC
4904 gmplibs
="-lmpfr -lgmp"
4911 # Specify a location for mpc
4912 # check for this first so it ends up on the link line before mpfr.
4914 # Check whether --with-mpc was given.
4915 if test "${with_mpc+set}" = set; then :
4920 # Check whether --with-mpc_include was given.
4921 if test "${with_mpc_include+set}" = set; then :
4922 withval
=$with_mpc_include;
4926 # Check whether --with-mpc_lib was given.
4927 if test "${with_mpc_lib+set}" = set; then :
4928 withval
=$with_mpc_lib;
4932 if test "x$with_mpc" != x
; then
4933 mpclibs
="-L$with_mpc/lib -lmpc"
4934 mpcinc
="-I$with_mpc/include $mpcinc"
4936 if test "x$with_mpc_include" != x
; then
4937 mpcinc
="-I$with_mpc_include $mpcinc"
4939 if test "x$with_mpc_lib" != x
; then
4940 mpclibs
="-L$with_mpc_lib -lmpc"
4942 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
4943 mpclibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
4944 mpcinc
='-I$$s/mpc/src '"$mpcinc"
4945 # Do not test the mpc version. Assume that it is sufficient, since
4946 # it is in the source tree, and the library has not been built yet
4947 # but it would be included on the link line in the version check below
4948 # hence making the test fail.
4952 # Specify a location for mpfr
4953 # check for this first so it ends up on the link line before gmp.
4955 # Check whether --with-mpfr-dir was given.
4956 if test "${with_mpfr_dir+set}" = set; then :
4957 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
4958 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
4963 # Check whether --with-mpfr was given.
4964 if test "${with_mpfr+set}" = set; then :
4969 # Check whether --with-mpfr_include was given.
4970 if test "${with_mpfr_include+set}" = set; then :
4971 withval
=$with_mpfr_include;
4975 # Check whether --with-mpfr_lib was given.
4976 if test "${with_mpfr_lib+set}" = set; then :
4977 withval
=$with_mpfr_lib;
4981 if test "x$with_mpfr" != x
; then
4982 gmplibs
="-L$with_mpfr/lib $gmplibs"
4983 gmpinc
="-I$with_mpfr/include"
4985 if test "x$with_mpfr_include" != x
; then
4986 gmpinc
="-I$with_mpfr_include"
4988 if test "x$with_mpfr_lib" != x
; then
4989 gmplibs
="-L$with_mpfr_lib $gmplibs"
4991 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4992 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4993 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4994 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr'
4995 # Do not test the mpfr version. Assume that it is sufficient, since
4996 # it is in the source tree, and the library has not been built yet
4997 # but it would be included on the link line in the version check below
4998 # hence making the test fail.
5002 # Specify a location for gmp
5004 # Check whether --with-gmp-dir was given.
5005 if test "${with_gmp_dir+set}" = set; then :
5006 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5007 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5012 # Check whether --with-gmp was given.
5013 if test "${with_gmp+set}" = set; then :
5018 # Check whether --with-gmp_include was given.
5019 if test "${with_gmp_include+set}" = set; then :
5020 withval
=$with_gmp_include;
5024 # Check whether --with-gmp_lib was given.
5025 if test "${with_gmp_lib+set}" = set; then :
5026 withval
=$with_gmp_lib;
5031 if test "x$with_gmp" != x
; then
5032 gmplibs
="-L$with_gmp/lib $gmplibs"
5033 gmpinc
="-I$with_gmp/include $gmpinc"
5035 if test "x$with_gmp_include" != x
; then
5036 gmpinc
="-I$with_gmp_include $gmpinc"
5038 if test "x$with_gmp_lib" != x
; then
5039 gmplibs
="-L$with_gmp_lib $gmplibs"
5041 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5042 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
5043 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5044 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
5045 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
5046 # Do not test the gmp version. Assume that it is sufficient, since
5047 # it is in the source tree, and the library has not been built yet
5048 # but it would be included on the link line in the version check below
5049 # hence making the test fail.
5053 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5055 saved_CFLAGS
="$CFLAGS"
5056 CFLAGS
="$CFLAGS $gmpinc"
5057 # Check GMP actually works
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of gmp.h" >&5
5059 $as_echo_n "checking for correct version of gmp.h... " >&6; }
5061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5068 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
5076 if ac_fn_c_try_compile
"$LINENO"; then :
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5078 $as_echo "yes" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }; have_gmp
=no
5083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5085 # If we have GMP, check the MPFR version.
5086 if test x
"$have_gmp" = xyes
; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of mpfr.h" >&5
5088 $as_echo_n "checking for correct version of mpfr.h... " >&6; }
5089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5097 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5105 if ac_fn_c_try_compile
"$LINENO"; then :
5106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5114 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
5122 if ac_fn_c_try_compile
"$LINENO"; then :
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5124 $as_echo "yes" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5127 $as_echo "buggy but acceptable" >&6; }
5129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }; have_gmp
=no
5134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5137 # Check for the MPC header version.
5138 if test x
"$have_mpc" != xyes
; then
5139 CFLAGS
="$CFLAGS $mpcinc"
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5141 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5149 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
5157 if ac_fn_c_try_compile
"$LINENO"; then :
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }; have_mpc
=maybe
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }; have_mpc
=no
; mpclibs
= ; mpcinc
=
5164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5167 # Now check the MPFR library.
5168 if test x
"$have_gmp" = xyes
; then
5170 LIBS
="$LIBS $gmplibs"
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
5172 $as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
5173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5186 mpfr_atan2 (n, n, x, GMP_RNDN);
5187 mpfr_erfc (n, x, GMP_RNDN);
5188 mpfr_subnormalize (x, t, GMP_RNDN);
5194 if ac_fn_c_try_link
"$LINENO"; then :
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5196 $as_echo "yes" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }; have_gmp
=no
5201 rm -f core conftest.err conftest.
$ac_objext \
5202 conftest
$ac_exeext conftest.
$ac_ext
5206 if test x
"$have_mpc" = xmaybe
; then
5208 LIBS
="$LIBS $mpclibs $gmplibs"
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc library" >&5
5210 $as_echo_n "checking for the correct version of the mpc library... " >&6; }
5211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5220 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
5221 mpc_sin (n, n, MPC_RNDNN);
5222 mpc_cos (n, n, MPC_RNDNN);
5223 mpc_tan (n, n, MPC_RNDNN);
5224 mpc_sinh (n, n, MPC_RNDNN);
5225 mpc_cosh (n, n, MPC_RNDNN);
5226 mpc_tanh (n, n, MPC_RNDNN);
5227 mpc_exp (n, n, MPC_RNDNN);
5228 mpc_log (n, n, MPC_RNDNN);
5229 mpc_sqrt (n, n, MPC_RNDNN);
5230 mpc_proj (n, n, MPC_RNDNN);
5231 mpc_neg (n, n, MPC_RNDNN);
5232 mpc_sqr (n, n, MPC_RNDNN);
5239 if ac_fn_c_try_link
"$LINENO"; then :
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5241 $as_echo "yes" >&6; }; have_mpc
=yes
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }; have_mpc
=no
; mpclibs
= ; mpcinc
=
5246 rm -f core conftest.err conftest.
$ac_objext \
5247 conftest
$ac_exeext conftest.
$ac_ext
5251 CFLAGS
="$saved_CFLAGS"
5253 if test x
$have_gmp != xyes
; then
5254 as_fn_error
"Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5255 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5256 Copies of these libraries' source code can be found at their respective
5257 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5258 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5259 If you obtained GMP and/or MPFR from a vendor distribution package, make
5260 sure that you have installed both the libraries and the header files.
5261 They may be located in separate packages." "$LINENO" 5
5265 if test x
$have_mpc != xyes
; then
5270 gmpinc
="$mpcinc $gmpinc"
5271 gmplibs
="$mpclibs $gmplibs"
5273 # Flags needed for both GMP, MPFR and/or MPC.
5280 # Allow host libstdc++ to be specified for static linking with PPL.
5282 # Check whether --with-host-libstdcxx was given.
5283 if test "${with_host_libstdcxx+set}" = set; then :
5284 withval
=$with_host_libstdcxx;
5288 case $with_host_libstdcxx in
5290 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5294 # Linker flags to use for stage1 or when not boostrapping.
5296 # Check whether --with-stage1-ldflags was given.
5297 if test "${with_stage1_ldflags+set}" = set; then :
5298 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5301 stage1_ldflags
=$withval
5309 # Libraries to use for stage1 or when not bootstrapping.
5311 # Check whether --with-stage1-libs was given.
5312 if test "${with_stage1_libs+set}" = set; then :
5313 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5316 stage1_libs
=$withval
5319 stage1_libs
=$with_host_libstdcxx
5324 # Linker flags to use for stage2 and later builds.
5326 # Check whether --with-boot-ldflags was given.
5327 if test "${with_boot_ldflags+set}" = set; then :
5328 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5331 poststage1_ldflags
=$withval
5334 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5335 poststage1_ldflags
=-static-libstdc++
5343 # Libraries to use for stage2 and later builds. This defaults to the
5344 # argument passed to --with-host-libstdcxx.
5346 # Check whether --with-boot-libs was given.
5347 if test "${with_boot_libs+set}" = set; then :
5348 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5351 poststage1_libs
=$withval
5354 poststage1_libs
=$with_host_libstdcxx
5361 ppl_minor_version
=10
5362 ppllibs
=" -lppl_c -lppl -lgmpxx"
5366 # Check whether --with-ppl was given.
5367 if test "${with_ppl+set}" = set; then :
5374 # Check whether --with-ppl_include was given.
5375 if test "${with_ppl_include+set}" = set; then :
5376 withval
=$with_ppl_include;
5380 # Check whether --with-ppl_lib was given.
5381 if test "${with_ppl_lib+set}" = set; then :
5382 withval
=$with_ppl_lib;
5391 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5392 pplinc
="-I$with_ppl/include $pplinc"
5393 LIBS
="$ppllibs $LIBS"
5396 if test "x$with_ppl_include" != x
; then
5397 pplinc
="-I$with_ppl_include $pplinc"
5399 if test "x$with_ppl_lib" != x
; then
5400 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5401 LIBS
="$ppllibs $LIBS"
5403 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5404 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
5405 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5406 LIBS
="$ppllibs $LIBS"
5409 # Check whether --enable-ppl-version-check was given.
5410 if test "${enable_ppl_version_check+set}" = set; then :
5411 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5413 ENABLE_PPL_CHECK
=yes
5417 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5418 saved_CFLAGS
="$CFLAGS"
5419 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5421 $as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
5422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5429 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5437 if ac_fn_c_try_compile
"$LINENO"; then :
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5439 $as_echo "yes" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }; ppllibs
= ; pplinc
=
5444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5445 CFLAGS
="$saved_CFLAGS"
5448 # Flags needed for PPL
5454 clooglibs
=" -lcloog "
5455 clooginc
=" -DCLOOG_PPL_BACKEND "
5458 # Check whether --with-cloog was given.
5459 if test "${with_cloog+set}" = set; then :
5460 withval
=$with_cloog;
5466 # Check whether --with-cloog_include was given.
5467 if test "${with_cloog_include+set}" = set; then :
5468 withval
=$with_cloog_include;
5472 # Check whether --with-cloog_lib was given.
5473 if test "${with_cloog_lib+set}" = set; then :
5474 withval
=$with_cloog_lib;
5484 clooglibs
="-L$with_cloog/lib -lcloog"
5485 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5486 LIBS
="$clooglibs $LIBS"
5489 if test "x$with_cloog_include" != x
; then
5490 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5492 if test "x$with_cloog_lib" != x
; then
5493 clooglibs
="-L$with_cloog_lib -lcloog"
5494 LIBS
="$clooglibs $LIBS"
5496 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5497 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5498 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5499 LIBS
="$clooglibs $LIBS"
5502 # Check whether --enable-cloog-version-check was given.
5503 if test "${enable_cloog_version_check+set}" = set; then :
5504 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5506 ENABLE_CLOOG_CHECK
=yes
5510 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5511 saved_CFLAGS
="$CFLAGS"
5512 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of CLooG" >&5
5514 $as_echo_n "checking for correct version of CLooG... " >&6; }
5515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5516 /* end confdefs.h. */
5517 #include "cloog/cloog.h"
5522 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5530 if ac_fn_c_try_compile
"$LINENO"; then :
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5532 $as_echo "yes" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }; clooglibs
= ; clooginc
=
5537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5538 CFLAGS
="$saved_CFLAGS"
5541 # Flags needed for CLOOG
5546 # By default, C is the only stage 1 language.
5547 stage1_languages
=,c
,
5549 # Target libraries that we bootstrap.
5550 bootstrap_target_libs
=,target-libgcc
,
5552 # Figure out what language subdirectories are present.
5553 # Look if the user specified --enable-languages="..."; if not, use
5554 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5556 # NB: embedded tabs in this IF block -- do not untabify
5557 if test -d ${srcdir}/gcc
; then
5558 if test x
"${enable_languages+set}" != xset
; then
5559 if test x
"${LANGUAGES+set}" = xset
; then
5560 enable_languages
="${LANGUAGES}"
5561 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5563 enable_languages
=all
5566 if test x
"${enable_languages}" = x ||
5567 test x
"${enable_languages}" = xyes
;
5569 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5573 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5575 # 'f95' is the old name for the 'fortran' language. We issue a warning
5576 # and make the substitution.
5577 case ,${enable_languages}, in
5579 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5580 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5584 # First scan to see if an enabled language requires some other language.
5585 # We assume that a given config-lang.in will list all the language
5586 # front ends it requires, even if some are required indirectly.
5587 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5588 case ${lang_frag} in
5590 # The odd quoting in the next line works around
5591 # an apparent bug in bash 1.12 on linux.
5592 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5594 # From the config-lang.in, get $language, $lang_requires
5598 for other
in ${lang_requires} ; do
5599 case ,${enable_languages}, in
5603 echo " \`$other' language required by \`$language'; enabling" 1>&2
5604 enable_languages
="${enable_languages},${other}"
5612 new_enable_languages
=,c
,
5613 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5614 potential_languages
=,c
,
5616 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5617 case ${lang_frag} in
5619 # The odd quoting in the next line works around
5620 # an apparent bug in bash 1.12 on linux.
5621 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5623 # From the config-lang.in, get $language, $target_libs,
5624 # $lang_dirs, $boot_language, and $build_by_default
5630 build_by_default
=yes
5632 if test x
${language} = x
; then
5633 echo "${lang_frag} doesn't set \$language." 1>&2
5637 if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5641 case ,${enable_languages}, in
5643 # Language was explicitly selected; include it.
5647 # 'all' was selected, select it if it is a default language
5648 add_this_lang
=${build_by_default}
5655 # Disable languages that need other directories if these aren't available.
5656 for i
in $subdir_requires; do
5657 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5658 case ,${enable_languages}, in
5660 # Specifically requested language; tell them.
5661 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
5665 add_this_lang
=unsupported
5670 # Disable Ada if no preexisting GNAT is available.
5671 case ,${enable_languages},:${language}:${have_gnat} in
5672 *,${language},*:ada
:no
)
5673 # Specifically requested language; tell them.
5674 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
5678 add_this_lang
=unsupported
5682 # Disable a language that is unsupported by the target.
5683 case " $unsupported_languages " in
5685 add_this_lang
=unsupported
5689 case $add_this_lang in
5691 # Remove language-dependent dirs.
5692 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5695 # Remove language-dependent dirs; still show language as supported.
5696 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5697 potential_languages
="${potential_languages}${language},"
5700 new_enable_languages
="${new_enable_languages}${language},"
5701 potential_languages
="${potential_languages}${language},"
5702 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5703 case ${boot_language} in
5705 # Add to (comma-separated) list of stage 1 languages.
5706 stage1_languages
="${stage1_languages}${language},"
5707 # We need to bootstrap any supporting libraries.
5708 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
5717 # Check whether --enable-stage1-languages was given.
5718 if test "${enable_stage1_languages+set}" = set; then :
5719 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
5721 # Set it to something that will have no effect in the loop below
5722 enable_stage1_languages
=c
;;
5724 enable_stage1_languages
=`echo $new_enable_languages | \
5725 sed -e "s/^,//" -e "s/,$//" ` ;;
5727 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5728 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5731 # Add "good" languages from enable_stage1_languages to stage1_languages,
5732 # while "bad" languages go in missing_languages. Leave no duplicates.
5733 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5734 case $potential_languages in
5736 case $stage1_languages in
5738 *) stage1_languages
="$stage1_languages$i," ;;
5741 case $missing_languages in
5743 *) missing_languages
="$missing_languages$i," ;;
5750 # Remove leading/trailing commas that were added for simplicity
5751 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5752 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5753 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5754 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5756 if test "x$missing_languages" != x
; then
5758 The following requested languages could not be built: ${missing_languages}
5759 Supported languages are: ${potential_languages}" "$LINENO" 5
5761 if test "x$new_enable_languages" != "x$enable_languages"; then
5762 echo The following languages will be built
: ${new_enable_languages}
5763 enable_languages
="$new_enable_languages"
5767 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5770 # Handle --disable-<component> generically.
5771 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5772 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5773 varname
=`echo $dirname | sed -e s/+/_/g`
5774 if eval test x\
${enable_${varname}} "=" xno
; then
5775 noconfigdirs
="$noconfigdirs $dir"
5779 # Check for Boehm's garbage collector
5780 # Check whether --enable-objc-gc was given.
5781 if test "${enable_objc_gc+set}" = set; then :
5782 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5783 *,objc
,*:*:yes:*target-boehm-gc
*)
5784 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
5790 # Make sure we only build Boehm's garbage collector if required.
5791 case ,${enable_languages},:${enable_objc_gc} in
5793 # Keep target-boehm-gc if requested for Objective-C.
5796 # Otherwise remove target-boehm-gc depending on target-libjava.
5797 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5798 noconfigdirs
="$noconfigdirs target-boehm-gc"
5803 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5804 # $build_configdirs and $target_configdirs.
5805 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5808 for dir
in .
$skipdirs $noconfigdirs ; do
5809 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5810 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5811 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5812 if test -r $srcdir/$dirname/configure
; then
5813 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5816 notsupp
="$notsupp $dir"
5820 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5821 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5822 if test -r $srcdir/$dirname/configure
; then
5823 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5826 notsupp
="$notsupp $dir"
5830 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5831 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5832 if test -r $srcdir/$dirname/configure
; then
5833 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5836 notsupp
="$notsupp $dir"
5842 # Sometimes the tools are distributed with libiberty but with no other
5843 # libraries. In that case, we don't want to build target-libiberty.
5844 # Don't let libgcc imply libiberty either.
5845 if test -n "${target_configdirs}" ; then
5848 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5849 if test "$i" = "libgcc"; then
5850 libgcc
=target-libgcc
5851 elif test "$i" != "libiberty" ; then
5852 if test -r $srcdir/$i/configure
; then
5858 if test -z "${others}" ; then
5859 target_configdirs
=$libgcc
5863 # Quietly strip out all directories which aren't configurable in this tree.
5864 # This relies on all configurable subdirectories being autoconfiscated, which
5866 build_configdirs_all
="$build_configdirs"
5868 for i
in ${build_configdirs_all} ; do
5869 j
=`echo $i | sed -e s/build-//g`
5870 if test -f ${srcdir}/$j/configure
; then
5871 build_configdirs
="${build_configdirs} $i"
5875 configdirs_all
="$configdirs"
5877 for i
in ${configdirs_all} ; do
5878 if test -f ${srcdir}/$i/configure
; then
5879 configdirs
="${configdirs} $i"
5883 target_configdirs_all
="$target_configdirs"
5885 for i
in ${target_configdirs_all} ; do
5886 j
=`echo $i | sed -e s/target-//g`
5887 if test -f ${srcdir}/$j/configure
; then
5888 target_configdirs
="${target_configdirs} $i"
5892 # Produce a warning message for the subdirs we can't configure.
5893 # This isn't especially interesting in the Cygnus tree, but in the individual
5894 # FSF releases, it's important to let people know when their machine isn't
5895 # supported by the one or two programs in a package.
5897 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5898 # If $appdirs is non-empty, at least one of those directories must still
5899 # be configured, or we error out. (E.g., if the gas release supports a
5900 # specified target in some subdirs but not the gas subdir, we shouldn't
5901 # pretend that all is well.)
5902 if test -n "$appdirs" ; then
5903 for dir
in $appdirs ; do
5904 if test -r $dir/Makefile.
in ; then
5905 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5909 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5915 if test -n "$appdirs" ; then
5916 echo "*** This configuration is not supported by this package." 1>&2
5920 # Okay, some application will build, or we don't care to check. Still
5921 # notify of subdirs not getting built.
5922 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5923 echo " ${notsupp}" 1>&2
5924 echo " (Any other directories should still work fine.)" 1>&2
5932 # To find our prefix, in gcc_cv_tool_prefix.
5934 # The user is always right.
5935 if test "${PATH_SEPARATOR+set}" != set; then
5936 echo "#! /bin/sh" >conf$$.sh
5937 echo "exit 0" >>conf$$.sh
5939 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5949 if test "x$exec_prefix" = xNONE
; then
5950 if test "x$prefix" = xNONE
; then
5951 gcc_cv_tool_prefix
=$ac_default_prefix
5953 gcc_cv_tool_prefix
=$prefix
5956 gcc_cv_tool_prefix
=$exec_prefix
5959 # If there is no compiler in the tree, use the PATH only. In any
5960 # case, if there is no compiler in the tree nobody should use
5961 # AS_FOR_TARGET and LD_FOR_TARGET.
5962 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5963 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5964 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5965 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5966 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5967 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5968 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5969 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5974 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5975 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5983 # Check whether --with-build-sysroot was given.
5984 if test "${with_build_sysroot+set}" = set; then :
5985 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
5986 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5989 SYSROOT_CFLAGS_FOR_TARGET
=
5995 # Check whether --with-debug-prefix-map was given.
5996 if test "${with_debug_prefix_map+set}" = set; then :
5997 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
5998 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5999 for debug_map
in $withval; do
6000 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6004 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6009 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6010 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6011 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6012 # We want to ensure that TARGET libraries (which we know are built with
6013 # gcc) are built with "-O2 -g", so include those options when setting
6014 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6015 if test "x$CFLAGS_FOR_TARGET" = x
; then
6016 CFLAGS_FOR_TARGET
=$CFLAGS
6019 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6022 *" -g "* |
*" -g3 "*) ;;
6023 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6028 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6029 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6030 case " $CXXFLAGS " in
6032 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6034 case " $CXXFLAGS " in
6035 *" -g "* |
*" -g3 "*) ;;
6036 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6041 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6042 # the named directory are copied to $(tooldir)/sys-include.
6043 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6044 if test x
${is_cross_compiler} = xno
; then
6045 echo 1>&2 '***' --with-headers is only supported when cross compiling
6048 if test x
"${with_headers}" != xyes
; then
6049 x
=${gcc_cv_tool_prefix}
6050 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6054 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6055 # the name directories are copied to $(tooldir)/lib. Multiple directories
6057 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6058 if test x
${is_cross_compiler} = xno
; then
6059 echo 1>&2 '***' --with-libs is only supported when cross compiling
6062 if test x
"${with_libs}" != xyes
; then
6063 # Copy the libraries in reverse order, so that files in the first named
6064 # library override files in subsequent libraries.
6065 x
=${gcc_cv_tool_prefix}
6066 for l
in ${with_libs}; do
6067 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6072 # Set with_gnu_as and with_gnu_ld as appropriate.
6074 # This is done by determining whether or not the appropriate directory
6075 # is available, and by checking whether or not specific configurations
6076 # have requested that this magic not happen.
6078 # The command line options always override the explicit settings in
6079 # configure.in, and the settings in configure.in override this magic.
6081 # If the default for a toolchain is to use GNU as and ld, and you don't
6082 # want to do that, then you should use the --without-gnu-as and
6083 # --without-gnu-ld options for the configure script.
6085 if test x
${use_gnu_as} = x
&&
6086 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6088 extra_host_args
="$extra_host_args --with-gnu-as"
6091 if test x
${use_gnu_ld} = x
&&
6092 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6094 extra_host_args
="$extra_host_args --with-gnu-ld"
6097 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6098 # can detect this case.
6100 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6102 extra_host_args
="$extra_host_args --with-newlib"
6105 # Handle ${copy_dirs}
6106 set fnord
${copy_dirs}
6108 while test $# != 0 ; do
6109 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6112 echo Copying
$1 to
$2
6114 # Use the install script to create the directory and all required
6115 # parent directories.
6116 if test -d $2 ; then
6120 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6123 # Copy the directory, assuming we have tar.
6124 # FIXME: Should we use B in the second tar? Not all systems support it.
6125 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6127 # It is the responsibility of the user to correctly adjust all
6128 # symlinks. If somebody can figure out how to handle them correctly
6129 # here, feel free to add the code.
6136 # Determine a target-dependent exec_prefix that the installed
6137 # gcc will search in. Keep this list sorted by triplet, with
6138 # the *-*-osname triplets last.
6142 md_exec_prefix
=/gnu
/lib
/gcc-lib
6144 i
[34567]86-pc-msdosdjgpp*)
6145 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6147 i
[34567]86-*-sco3.2v5
*)
6148 if test $with_gnu_as = yes; then
6149 md_exec_prefix
=/usr
/gnu
/bin
6151 md_exec_prefix
=/usr
/ccs
/bin
/elf
6156 powerpc-
*-chorusos* | \
6157 powerpc
*-*-eabi* | \
6158 powerpc
*-*-sysv* | \
6159 powerpc
*-*-kaos* | \
6161 md_exec_prefix
=/usr
/ccs
/bin
6166 md_exec_prefix
=/usr
/ccs
/bin
6181 md_exec_prefix
=/usr
/ccs
/bin
6185 extra_arflags_for_target
=
6186 extra_nmflags_for_target
=
6187 extra_ranlibflags_for_target
=
6188 target_makefile_frag
=/dev
/null
6191 target_makefile_frag
="config/mt-mep"
6194 target_makefile_frag
="config/mt-spu"
6197 target_makefile_frag
="config/mt-sde"
6199 mipsisa
*-*-elfoabi*)
6200 target_makefile_frag
="config/mt-mips-elfoabi"
6202 mips
*-*-*linux
* | mips
*-*-gnu*)
6203 target_makefile_frag
="config/mt-mips-gnu"
6206 target_makefile_frag
="config/mt-netware"
6208 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6209 target_makefile_frag
="config/mt-gnu"
6211 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6212 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6213 # commands to handle both 32-bit and 64-bit objects. These flags are
6214 # harmless if we're using GNU nm or ar.
6215 extra_arflags_for_target
=" -X32_64"
6216 extra_nmflags_for_target
=" -B -X32_64"
6219 # ranlib from Darwin requires the -c flag to look at common symbols.
6220 extra_ranlibflags_for_target
=" -c"
6222 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6223 target_makefile_frag
="config/mt-wince"
6227 alphaieee_frag
=/dev
/null
6230 # This just makes sure to use the -mieee option to build target libs.
6231 # This should probably be set individually by each library.
6232 alphaieee_frag
="config/mt-alphaieee"
6236 # If --enable-target-optspace always use -Os instead of -O2 to build
6237 # the target libraries, similarly if it is not specified, use -Os
6238 # on selected platforms.
6239 ospace_frag
=/dev
/null
6240 case "${enable_target_optspace}:${target}" in
6242 ospace_frag
="config/mt-ospace"
6245 ospace_frag
="config/mt-d30v"
6247 :m32r-
* |
:d10v-
* |
:fr30-
*)
6248 ospace_frag
="config/mt-ospace"
6253 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6257 # Default to using --with-stabs for certain targets.
6258 if test x
${with_stabs} = x
; then
6262 mips
*-*-* | alpha
*-*-osf*)
6264 extra_host_args
="${extra_host_args} --with-stabs"
6269 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6270 # them automatically.
6273 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6277 # Some systems (e.g., one of the i386-aix systems the gas testers are
6278 # using) don't handle "\$" correctly, so don't use it here.
6279 tooldir
='${exec_prefix}'/${target_noncanonical}
6280 build_tooldir
=${tooldir}
6282 # Create a .gdbinit file which runs the one in srcdir
6283 # and tells GDB to look there for source files.
6285 if test -r ${srcdir}/.gdbinit
; then
6288 *) cat > .
/.gdbinit
<<EOF
6292 source ${srcdir}/.gdbinit
6298 # Make sure that the compiler is able to generate an executable. If it
6299 # can't, we are probably in trouble. We don't care whether we can run the
6300 # executable--we might be using a cross compiler--we only care whether it
6301 # can be created. At this point the main configure script has set CC.
6303 echo "int main () { return 0; }" > conftest.c
6304 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6305 if test $?
= 0 ; then
6306 if test -s conftest ||
test -s conftest.exe
; then
6312 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6313 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6320 # The Solaris /usr/ucb/cc compiler does not appear to work.
6322 sparc-sun-solaris2
*)
6323 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6324 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6326 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6327 if test -d /opt
/cygnus
/bin
; then
6328 if test "$could_use" = "" ; then
6329 could_use
="/opt/cygnus/bin"
6331 could_use
="$could_use or /opt/cygnus/bin"
6334 if test "$could_use" = "" ; then
6335 echo "Warning: compilation may fail because you're using"
6336 echo "/usr/ucb/cc. You should change your PATH or CC "
6337 echo "variable and rerun configure."
6339 echo "Warning: compilation may fail because you're using"
6340 echo "/usr/ucb/cc, when you should use the C compiler from"
6341 echo "$could_use. You should change your"
6342 echo "PATH or CC variable and rerun configure."
6348 # Decide which environment variable is used to find dynamic libraries.
6350 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6351 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6352 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6353 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6356 # On systems where the dynamic library environment variable is PATH,
6357 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6358 # built executables to PATH.
6359 if test "$RPATH_ENVVAR" = PATH
; then
6360 GCC_SHLIB_SUBDIR
=/shlib
6365 # Record target_configdirs and the configure arguments for target and
6366 # build configuration in Makefile.
6367 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6368 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6370 # Determine whether gdb needs tk/tcl or not.
6371 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6372 # and in that case we want gdb to be built without tk. Ugh!
6373 # In fact I believe gdb is the *only* package directly dependent on tk,
6374 # so we should be able to put the 'maybe's in unconditionally and
6375 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6376 # 100% sure that that's safe though.
6378 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6379 case "$enable_gdbtk" in
6383 GDB_TK
="${gdb_tk}" ;;
6385 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6386 # distro. Eventually someone will fix this and move Insight, nee
6387 # gdbtk to a separate directory.
6388 if test -d ${srcdir}/gdb
/gdbtk
; then
6395 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6396 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6398 # Strip out unwanted targets.
6400 # While at that, we remove Makefiles if we were started for recursive
6401 # configuration, so that the top-level Makefile reconfigures them,
6402 # like we used to do when configure itself was recursive.
6404 # Loop over modules. $extrasub must be used with care, limiting as
6405 # much as possible the usage of range addresses. That's because autoconf
6406 # splits the sed script to overcome limits in the number of commands,
6407 # and relying on carefully-timed sed passes may turn out to be very hard
6408 # to maintain later. In this particular case, you just have to be careful
6409 # not to nest @if/@endif pairs, because configure will not warn you at all.
6411 # Check whether --enable-bootstrap was given.
6412 if test "${enable_bootstrap+set}" = set; then :
6413 enableval
=$enable_bootstrap;
6415 enable_bootstrap
=default
6419 # Issue errors and warnings for invalid/strange bootstrap combinations.
6420 case "$configdirs" in
6421 *gcc
*) have_compiler
=yes ;;
6422 *) have_compiler
=no
;;
6425 case "$have_compiler:$host:$target:$enable_bootstrap" in
6428 # Default behavior. Enable bootstrap if we have a compiler
6429 # and we are in a native configuration.
6430 yes:$build:$build:default
)
6431 enable_bootstrap
=yes ;;
6434 enable_bootstrap
=no
;;
6436 # We have a compiler and we are in a native configuration, bootstrap is ok
6437 yes:$build:$build:yes)
6440 # Other configurations, but we have a compiler. Assume the user knows
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6444 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6447 # No compiler: if they passed --enable-bootstrap explicitly, fail
6449 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
6451 # Fail if wrong command line
6453 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
6457 # Adjust the toplevel makefile according to whether bootstrap was selected.
6458 case "$enable_bootstrap" in
6460 bootstrap_suffix
=bootstrap
;;
6462 bootstrap_suffix
=no-bootstrap
;;
6465 for module
in ${build_configdirs} ; do
6466 if test -z "${no_recursion}" \
6467 && test -f ${build_subdir}/${module}/Makefile
; then
6468 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6469 rm -f ${build_subdir}/${module}/Makefile
6472 /^@if build-$module\$/d
6473 /^@endif build-$module\$/d
6474 /^@if build-$module-$bootstrap_suffix\$/d
6475 /^@endif build-$module-$bootstrap_suffix\$/d"
6477 for module
in ${configdirs} ; do
6478 if test -z "${no_recursion}"; then
6479 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6480 if test -f ${file}; then
6481 echo 1>&2 "*** removing ${file} to force reconfigure"
6488 /^@endif $module\$/d
6489 /^@if $module-$bootstrap_suffix\$/d
6490 /^@endif $module-$bootstrap_suffix\$/d"
6492 for module
in ${target_configdirs} ; do
6493 if test -z "${no_recursion}" \
6494 && test -f ${target_subdir}/${module}/Makefile
; then
6495 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6496 rm -f ${target_subdir}/${module}/Makefile
6499 # We only bootstrap target libraries listed in bootstrap_target_libs.
6500 case $bootstrap_target_libs in
6501 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6502 *) target_bootstrap_suffix
=no-bootstrap
;;
6506 /^@if target-$module\$/d
6507 /^@endif target-$module\$/d
6508 /^@if target-$module-$target_bootstrap_suffix\$/d
6509 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6513 /^@if /,/^@endif /d"
6515 # Create the serialization dependencies. This uses a temporary file.
6517 # Check whether --enable-serial-configure was given.
6518 if test "${enable_serial_configure+set}" = set; then :
6519 enableval
=$enable_serial_configure;
6523 case ${enable_serial_configure} in
6525 enable_serial_build_configure
=yes
6526 enable_serial_host_configure
=yes
6527 enable_serial_target_configure
=yes
6531 # These force 'configure's to be done one at a time, to avoid problems
6532 # with contention over a shared config.cache.
6534 echo '# serdep.tmp' > serdep.tmp
6536 test "x${enable_serial_build_configure}" = xyes
&&
6537 for item
in ${build_configdirs} ; do
6540 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6545 test "x${enable_serial_host_configure}" = xyes
&&
6546 for item
in ${configdirs} ; do
6549 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6554 test "x${enable_serial_target_configure}" = xyes
&&
6555 for item
in ${target_configdirs} ; do
6558 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6562 serialization_dependencies
=serdep.tmp
6565 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6566 # target, nonopt, and variable assignments. These are the ones we
6567 # might not want to pass down to subconfigures. Also strip
6568 # program-prefix, program-suffix, and program-transform-name, so that
6569 # we can pass down a consistent program-transform-name.
6573 eval "set -- $ac_configure_args"
6576 if test X
"$skip_next" = X
"yes"; then
6580 if test X
"$keep_next" = X
"yes"; then
6583 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6585 baseargs
="$baseargs '$ac_arg'"
6590 # Handle separated arguments. Based on the logic generated by
6593 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6594 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6595 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6596 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6622 -program-prefix* | \
6623 -program-suffix* | \
6624 -program-transform-name* )
6625 skip_next
=$separate_arg
6629 # An option. Add it.
6632 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6634 baseargs
="$baseargs '$ac_arg'"
6635 keep_next
=$separate_arg
6638 # Either a variable assignment, or a nonopt (triplet). Don't
6639 # pass it down; let the Makefile handle this.
6644 # Remove the initial space we just introduced and, as these will be
6645 # expanded by make, quote '$'.
6646 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6648 # Add in --program-transform-name, after --program-prefix and
6649 # --program-suffix have been applied to it. Autoconf has already
6650 # doubled dollar signs and backslashes in program_transform_name; we want
6651 # the backslashes un-doubled, and then the entire thing wrapped in single
6652 # quotes, because this will be expanded first by make and then by the shell.
6653 # Also, because we want to override the logic in subdir configure scripts to
6654 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6655 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6656 ${program_transform_name}
6658 gcc_transform_name
=`cat conftestsed.out`
6659 rm -f conftestsed.out
6660 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6661 if test "$silent" = yes; then
6662 baseargs
="$baseargs --silent"
6664 baseargs
="$baseargs --disable-option-checking"
6666 # For the build-side libraries, we just need to pretend we're native,
6667 # and not use the same cache file. Multilibs are neither needed nor
6669 build_configargs
="--cache-file=../config.cache ${baseargs}"
6671 # For host modules, accept cache file option, or specification as blank.
6672 case "${cache_file}" in
6674 cache_file_option
="" ;;
6675 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6676 cache_file_option
="--cache-file=${cache_file}" ;;
6678 cache_file_option
="--cache-file=../${cache_file}" ;;
6681 # Host dirs don't like to share a cache file either, horribly enough.
6682 # This seems to be due to autoconf 2.5x stupidity.
6683 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6685 target_configargs
=${baseargs}
6687 # Passing a --with-cross-host argument lets the target libraries know
6688 # whether they are being built with a cross-compiler or being built
6689 # native. However, it would be better to use other mechanisms to make the
6690 # sorts of decisions they want to make on this basis. Please consider
6691 # this option to be deprecated. FIXME.
6692 if test x
${is_cross_compiler} = xyes
; then
6693 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6696 # Default to --enable-multilib.
6697 if test x
${enable_multilib} = x
; then
6698 target_configargs
="--enable-multilib ${target_configargs}"
6701 # Pass --with-newlib if appropriate. Note that target_configdirs has
6702 # changed from the earlier setting of with_newlib.
6703 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6704 target_configargs
="--with-newlib ${target_configargs}"
6707 # Different target subdirs use different values of certain variables
6708 # (notably CXX). Worse, multilibs use *lots* of different values.
6709 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6710 # it doesn't automatically accept command-line overrides of them.
6711 # This means it's not safe for target subdirs to share a cache file,
6712 # which is disgusting, but there you have it. Hopefully this can be
6713 # fixed in future. It's still worthwhile to use a cache file for each
6714 # directory. I think.
6716 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6717 # We need to pass --target, as newer autoconf's requires consistency
6718 # for target_alias and gcc doesn't manage it consistently.
6719 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6722 case " $target_configdirs " in
6724 case " $target_configargs " in
6725 *" --with-newlib "*)
6728 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' ;;
6731 # If we're not building GCC, don't discard standard headers.
6732 if test -d ${srcdir}/gcc
; then
6733 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6735 if test "${build}" != "${host}"; then
6736 # On Canadian crosses, CC_FOR_TARGET will have already been set
6737 # by `configure', so we won't have an opportunity to add -Bgcc/
6738 # to it. This is right: we don't want to search that directory
6739 # for binaries, but we want the header files in there, so add
6741 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6743 # Someone might think of using the pre-installed headers on
6744 # Canadian crosses, in case the installed compiler is not fully
6745 # compatible with the compiler being built. In this case, it
6746 # would be better to flag an error than risking having
6747 # incompatible object files being constructed. We can't
6748 # guarantee that an error will be flagged, but let's hope the
6749 # compiler will do it, when presented with incompatible header
6754 case "${target}-${is_cross_compiler}" in
6755 i
[3456789]86-*-linux*-no)
6756 # Here host == target, so we don't need to build gcc,
6757 # so we don't want to discard standard headers.
6758 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6761 # If we're building newlib, use its generic headers last, but search
6762 # for any libc-related directories first (so make it the last -B
6764 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6766 # If we're building libgloss, find the startup file, simulator library
6767 # and linker script.
6768 case " $target_configdirs " in
6770 # Look for startup file, simulator library and maybe linker script.
6771 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6772 # Look for libnosys.a in case the target needs it.
6773 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6774 # Most targets have the linker script in the source directory.
6775 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6786 # Can't be handled as Cygwin above since Mingw does not use newlib.
6787 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' ;;
6790 # Allow the user to override the flags for
6791 # our build compiler if desired.
6792 if test x
"${build}" = x
"${host}" ; then
6793 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6794 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6795 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6798 # On Canadian crosses, we'll be searching the right directories for
6799 # the previously-installed cross compiler, so don't bother to add
6800 # flags for directories within the install tree of the compiler
6801 # being built; programs in there won't even run.
6802 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6803 # Search for pre-installed headers if nothing else fits.
6804 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6807 if test "x
${use_gnu_ld}" = x &&
6808 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6809 # Arrange for us to find uninstalled linker scripts.
6810 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6813 # Search for other target-specific linker scripts and such.
6816 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6820 # Makefile fragments.
6821 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6823 eval fragval=\$$frag
6824 if test $fragval != /dev/null; then
6825 eval $frag=${srcdir}/$fragval
6833 # Miscellanea: directories, flags, etc.
6842 # Build module lists & subconfigure args.
6846 # Host module lists & subconfigure args.
6850 # Target module lists & subconfigure args.
6872 # Generate default definitions for YACC, M4, LEX and other programs that run
6873 # on the build machine. These are used if the Makefile can't locate these
6874 # programs in objdir.
6875 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6877 for ac_prog in 'bison -y' byacc yacc
6879 # Extract the first word of "$ac_prog", so it can be a program name with args.
6880 set dummy $ac_prog; ac_word=$2
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6882 $as_echo_n "checking
for $ac_word...
" >&6; }
6883 if test "${ac_cv_prog_YACC+set}" = set; then :
6884 $as_echo_n "(cached
) " >&6
6886 if test -n "$YACC"; then
6887 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6896 ac_cv_prog_YACC="$ac_prog"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6906 YACC=$ac_cv_prog_YACC
6907 if test -n "$YACC"; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
6909 $as_echo "$YACC" >&6; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6912 $as_echo "no
" >&6; }
6916 test -n "$YACC" && break
6918 test -n "$YACC" || YACC="$MISSING bison
-y"
6920 case " $build_configdirs " in
6921 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6922 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6925 for ac_prog in bison
6927 # Extract the first word of "$ac_prog", so it can be a program name with args.
6928 set dummy $ac_prog; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6930 $as_echo_n "checking
for $ac_word...
" >&6; }
6931 if test "${ac_cv_prog_BISON+set}" = set; then :
6932 $as_echo_n "(cached
) " >&6
6934 if test -n "$BISON"; then
6935 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6944 ac_cv_prog_BISON="$ac_prog"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6954 BISON=$ac_cv_prog_BISON
6955 if test -n "$BISON"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
6957 $as_echo "$BISON" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6960 $as_echo "no
" >&6; }
6964 test -n "$BISON" && break
6966 test -n "$BISON" || BISON="$MISSING bison
"
6968 case " $build_configdirs " in
6969 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6972 for ac_prog in gm4 gnum4 m4
6974 # Extract the first word of "$ac_prog", so it can be a program name with args.
6975 set dummy $ac_prog; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6977 $as_echo_n "checking
for $ac_word...
" >&6; }
6978 if test "${ac_cv_prog_M4+set}" = set; then :
6979 $as_echo_n "(cached
) " >&6
6981 if test -n "$M4"; then
6982 ac_cv_prog_M4="$M4" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991 ac_cv_prog_M4="$ac_prog"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7002 if test -n "$M4"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7004 $as_echo "$M4" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7007 $as_echo "no
" >&6; }
7011 test -n "$M4" && break
7013 test -n "$M4" || M4="$MISSING m4"
7015 case " $build_configdirs " in
7016 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7019 for ac_prog in flex lex
7021 # Extract the first word of "$ac_prog", so it can be a program name with args.
7022 set dummy $ac_prog; ac_word=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7024 $as_echo_n "checking
for $ac_word...
" >&6; }
7025 if test "${ac_cv_prog_LEX+set}" = set; then :
7026 $as_echo_n "(cached
) " >&6
7028 if test -n "$LEX"; then
7029 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7038 ac_cv_prog_LEX="$ac_prog"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7049 if test -n "$LEX"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7051 $as_echo "$LEX" >&6; }
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7054 $as_echo "no
" >&6; }
7058 test -n "$LEX" && break
7060 test -n "$LEX" || LEX="$MISSING flex
"
7062 case " $build_configdirs " in
7063 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7064 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7069 # Extract the first word of "$ac_prog", so it can be a program name with args.
7070 set dummy $ac_prog; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7072 $as_echo_n "checking
for $ac_word...
" >&6; }
7073 if test "${ac_cv_prog_FLEX+set}" = set; then :
7074 $as_echo_n "(cached
) " >&6
7076 if test -n "$FLEX"; then
7077 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086 ac_cv_prog_FLEX="$ac_prog"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7096 FLEX=$ac_cv_prog_FLEX
7097 if test -n "$FLEX"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7099 $as_echo "$FLEX" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7102 $as_echo "no
" >&6; }
7106 test -n "$FLEX" && break
7108 test -n "$FLEX" || FLEX="$MISSING flex
"
7110 case " $build_configdirs " in
7111 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7114 for ac_prog in makeinfo
7116 # Extract the first word of "$ac_prog", so it can be a program name with args.
7117 set dummy $ac_prog; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$MAKEINFO"; then
7124 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_MAKEINFO="$ac_prog"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 MAKEINFO=$ac_cv_prog_MAKEINFO
7144 if test -n "$MAKEINFO"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7146 $as_echo "$MAKEINFO" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7153 test -n "$MAKEINFO" && break
7155 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7157 case " $build_configdirs " in
7158 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7161 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7162 # higher, else we use the "missing
" dummy.
7163 if ${MAKEINFO} --version \
7164 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7167 MAKEINFO="$MISSING makeinfo
"
7173 # FIXME: expect and dejagnu may become build tools?
7175 for ac_prog in expect
7177 # Extract the first word of "$ac_prog", so it can be a program name with args.
7178 set dummy $ac_prog; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7180 $as_echo_n "checking
for $ac_word...
" >&6; }
7181 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7182 $as_echo_n "(cached
) " >&6
7184 if test -n "$EXPECT"; then
7185 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_EXPECT="$ac_prog"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7204 EXPECT=$ac_cv_prog_EXPECT
7205 if test -n "$EXPECT"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7207 $as_echo "$EXPECT" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7210 $as_echo "no
" >&6; }
7214 test -n "$EXPECT" && break
7216 test -n "$EXPECT" || EXPECT="expect
"
7218 case " $configdirs " in
7220 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7224 for ac_prog in runtest
7226 # Extract the first word of "$ac_prog", so it can be a program name with args.
7227 set dummy $ac_prog; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7229 $as_echo_n "checking
for $ac_word...
" >&6; }
7230 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7231 $as_echo_n "(cached
) " >&6
7233 if test -n "$RUNTEST"; then
7234 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_prog_RUNTEST="$ac_prog"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7253 RUNTEST=$ac_cv_prog_RUNTEST
7254 if test -n "$RUNTEST"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7256 $as_echo "$RUNTEST" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7259 $as_echo "no
" >&6; }
7263 test -n "$RUNTEST" && break
7265 test -n "$RUNTEST" || RUNTEST="runtest
"
7267 case " $configdirs " in
7269 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7276 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7277 ncn_target_tool_prefix=
7278 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7282 if test -n "$AR"; then
7284 elif test -n "$ac_cv_prog_AR"; then
7288 if test -n "$ac_cv_prog_AR"; then
7289 for ncn_progname in ar; do
7290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7291 set dummy ${ncn_progname}; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7293 $as_echo_n "checking
for $ac_word...
" >&6; }
7294 if test "${ac_cv_prog_AR+set}" = set; then :
7295 $as_echo_n "(cached
) " >&6
7297 if test -n "$AR"; then
7298 ac_cv_prog_AR="$AR" # Let the user override the test.
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_AR="${ncn_progname}"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7318 if test -n "$AR"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7320 $as_echo "$AR" >&6; }
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7323 $as_echo "no
" >&6; }
7330 for ncn_progname in ar; do
7331 if test -n "$ncn_tool_prefix"; then
7332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7333 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7335 $as_echo_n "checking
for $ac_word...
" >&6; }
7336 if test "${ac_cv_prog_AR+set}" = set; then :
7337 $as_echo_n "(cached
) " >&6
7339 if test -n "$AR"; then
7340 ac_cv_prog_AR="$AR" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7360 if test -n "$AR"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7362 $as_echo "$AR" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7365 $as_echo "no
" >&6; }
7370 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7372 set dummy ${ncn_progname}; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7374 $as_echo_n "checking
for $ac_word...
" >&6; }
7375 if test "${ac_cv_prog_AR+set}" = set; then :
7376 $as_echo_n "(cached
) " >&6
7378 if test -n "$AR"; then
7379 ac_cv_prog_AR="$AR" # Let the user override the test.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_AR="${ncn_progname}"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7399 if test -n "$AR"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7401 $as_echo "$AR" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7404 $as_echo "no
" >&6; }
7409 test -n "$ac_cv_prog_AR" && break
7412 if test -z "$ac_cv_prog_AR" ; then
7414 if test $build = $host ; then
7417 AR="${ncn_tool_prefix}$2"
7423 if test -n "$AS"; then
7425 elif test -n "$ac_cv_prog_AS"; then
7429 if test -n "$ac_cv_prog_AS"; then
7430 for ncn_progname in as; do
7431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7432 set dummy ${ncn_progname}; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7434 $as_echo_n "checking
for $ac_word...
" >&6; }
7435 if test "${ac_cv_prog_AS+set}" = set; then :
7436 $as_echo_n "(cached
) " >&6
7438 if test -n "$AS"; then
7439 ac_cv_prog_AS="$AS" # Let the user override the test.
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_AS="${ncn_progname}"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7459 if test -n "$AS"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7461 $as_echo "$AS" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7464 $as_echo "no
" >&6; }
7471 for ncn_progname in as; do
7472 if test -n "$ncn_tool_prefix"; then
7473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7474 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7476 $as_echo_n "checking
for $ac_word...
" >&6; }
7477 if test "${ac_cv_prog_AS+set}" = set; then :
7478 $as_echo_n "(cached
) " >&6
7480 if test -n "$AS"; then
7481 ac_cv_prog_AS="$AS" # Let the user override the test.
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7490 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7501 if test -n "$AS"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7503 $as_echo "$AS" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7506 $as_echo "no
" >&6; }
7511 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7513 set dummy ${ncn_progname}; ac_word=$2
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7515 $as_echo_n "checking
for $ac_word...
" >&6; }
7516 if test "${ac_cv_prog_AS+set}" = set; then :
7517 $as_echo_n "(cached
) " >&6
7519 if test -n "$AS"; then
7520 ac_cv_prog_AS="$AS" # Let the user override the test.
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir=.
7527 for ac_exec_ext in '' $ac_executable_extensions; do
7528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7529 ac_cv_prog_AS="${ncn_progname}"
7530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7540 if test -n "$AS"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7542 $as_echo "$AS" >&6; }
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7545 $as_echo "no
" >&6; }
7550 test -n "$ac_cv_prog_AS" && break
7553 if test -z "$ac_cv_prog_AS" ; then
7555 if test $build = $host ; then
7558 AS="${ncn_tool_prefix}$2"
7564 if test -n "$DLLTOOL"; then
7565 ac_cv_prog_DLLTOOL=$DLLTOOL
7566 elif test -n "$ac_cv_prog_DLLTOOL"; then
7567 DLLTOOL=$ac_cv_prog_DLLTOOL
7570 if test -n "$ac_cv_prog_DLLTOOL"; then
7571 for ncn_progname in dlltool; do
7572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7573 set dummy ${ncn_progname}; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7575 $as_echo_n "checking
for $ac_word...
" >&6; }
7576 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7577 $as_echo_n "(cached
) " >&6
7579 if test -n "$DLLTOOL"; then
7580 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_prog_DLLTOOL="${ncn_progname}"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7599 DLLTOOL=$ac_cv_prog_DLLTOOL
7600 if test -n "$DLLTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7602 $as_echo "$DLLTOOL" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7605 $as_echo "no
" >&6; }
7612 for ncn_progname in dlltool; do
7613 if test -n "$ncn_tool_prefix"; then
7614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7615 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7617 $as_echo_n "checking
for $ac_word...
" >&6; }
7618 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7619 $as_echo_n "(cached
) " >&6
7621 if test -n "$DLLTOOL"; then
7622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7641 DLLTOOL=$ac_cv_prog_DLLTOOL
7642 if test -n "$DLLTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7644 $as_echo "$DLLTOOL" >&6; }
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7647 $as_echo "no
" >&6; }
7652 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7654 set dummy ${ncn_progname}; ac_word=$2
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7656 $as_echo_n "checking
for $ac_word...
" >&6; }
7657 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7658 $as_echo_n "(cached
) " >&6
7660 if test -n "$DLLTOOL"; then
7661 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667 test -z "$as_dir" && as_dir=.
7668 for ac_exec_ext in '' $ac_executable_extensions; do
7669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7670 ac_cv_prog_DLLTOOL="${ncn_progname}"
7671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7680 DLLTOOL=$ac_cv_prog_DLLTOOL
7681 if test -n "$DLLTOOL"; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7683 $as_echo "$DLLTOOL" >&6; }
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7686 $as_echo "no
" >&6; }
7691 test -n "$ac_cv_prog_DLLTOOL" && break
7694 if test -z "$ac_cv_prog_DLLTOOL" ; then
7696 if test $build = $host ; then
7699 DLLTOOL="${ncn_tool_prefix}$2"
7705 if test -n "$LD"; then
7707 elif test -n "$ac_cv_prog_LD"; then
7711 if test -n "$ac_cv_prog_LD"; then
7712 for ncn_progname in ld; do
7713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7714 set dummy ${ncn_progname}; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7716 $as_echo_n "checking
for $ac_word...
" >&6; }
7717 if test "${ac_cv_prog_LD+set}" = set; then :
7718 $as_echo_n "(cached
) " >&6
7720 if test -n "$LD"; then
7721 ac_cv_prog_LD="$LD" # Let the user override the test.
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_LD="${ncn_progname}"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7741 if test -n "$LD"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
7743 $as_echo "$LD" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7746 $as_echo "no
" >&6; }
7753 for ncn_progname in ld; do
7754 if test -n "$ncn_tool_prefix"; then
7755 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7756 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7758 $as_echo_n "checking
for $ac_word...
" >&6; }
7759 if test "${ac_cv_prog_LD+set}" = set; then :
7760 $as_echo_n "(cached
) " >&6
7762 if test -n "$LD"; then
7763 ac_cv_prog_LD="$LD" # Let the user override the test.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 if test -n "$LD"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
7785 $as_echo "$LD" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7788 $as_echo "no
" >&6; }
7793 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7795 set dummy ${ncn_progname}; ac_word=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7797 $as_echo_n "checking
for $ac_word...
" >&6; }
7798 if test "${ac_cv_prog_LD+set}" = set; then :
7799 $as_echo_n "(cached
) " >&6
7801 if test -n "$LD"; then
7802 ac_cv_prog_LD="$LD" # Let the user override the test.
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir=.
7809 for ac_exec_ext in '' $ac_executable_extensions; do
7810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7811 ac_cv_prog_LD="${ncn_progname}"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7822 if test -n "$LD"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
7824 $as_echo "$LD" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7827 $as_echo "no
" >&6; }
7832 test -n "$ac_cv_prog_LD" && break
7835 if test -z "$ac_cv_prog_LD" ; then
7837 if test $build = $host ; then
7840 LD="${ncn_tool_prefix}$2"
7846 if test -n "$LIPO"; then
7847 ac_cv_prog_LIPO=$LIPO
7848 elif test -n "$ac_cv_prog_LIPO"; then
7849 LIPO=$ac_cv_prog_LIPO
7852 if test -n "$ac_cv_prog_LIPO"; then
7853 for ncn_progname in lipo; do
7854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7855 set dummy ${ncn_progname}; ac_word=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7857 $as_echo_n "checking
for $ac_word...
" >&6; }
7858 if test "${ac_cv_prog_LIPO+set}" = set; then :
7859 $as_echo_n "(cached
) " >&6
7861 if test -n "$LIPO"; then
7862 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7871 ac_cv_prog_LIPO="${ncn_progname}"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7881 LIPO=$ac_cv_prog_LIPO
7882 if test -n "$LIPO"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7884 $as_echo "$LIPO" >&6; }
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7887 $as_echo "no
" >&6; }
7894 for ncn_progname in lipo; do
7895 if test -n "$ncn_tool_prefix"; then
7896 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7897 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7899 $as_echo_n "checking
for $ac_word...
" >&6; }
7900 if test "${ac_cv_prog_LIPO+set}" = set; then :
7901 $as_echo_n "(cached
) " >&6
7903 if test -n "$LIPO"; then
7904 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7913 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7923 LIPO=$ac_cv_prog_LIPO
7924 if test -n "$LIPO"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7926 $as_echo "$LIPO" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7929 $as_echo "no
" >&6; }
7934 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7936 set dummy ${ncn_progname}; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7938 $as_echo_n "checking
for $ac_word...
" >&6; }
7939 if test "${ac_cv_prog_LIPO+set}" = set; then :
7940 $as_echo_n "(cached
) " >&6
7942 if test -n "$LIPO"; then
7943 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7952 ac_cv_prog_LIPO="${ncn_progname}"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7962 LIPO=$ac_cv_prog_LIPO
7963 if test -n "$LIPO"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7965 $as_echo "$LIPO" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7968 $as_echo "no
" >&6; }
7973 test -n "$ac_cv_prog_LIPO" && break
7976 if test -z "$ac_cv_prog_LIPO" ; then
7978 if test $build = $host ; then
7981 LIPO="${ncn_tool_prefix}$2"
7987 if test -n "$NM"; then
7989 elif test -n "$ac_cv_prog_NM"; then
7993 if test -n "$ac_cv_prog_NM"; then
7994 for ncn_progname in nm; do
7995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7996 set dummy ${ncn_progname}; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7998 $as_echo_n "checking
for $ac_word...
" >&6; }
7999 if test "${ac_cv_prog_NM+set}" = set; then :
8000 $as_echo_n "(cached
) " >&6
8002 if test -n "$NM"; then
8003 ac_cv_prog_NM="$NM" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012 ac_cv_prog_NM="${ncn_progname}"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8023 if test -n "$NM"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8025 $as_echo "$NM" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8028 $as_echo "no
" >&6; }
8035 for ncn_progname in nm; do
8036 if test -n "$ncn_tool_prefix"; then
8037 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8038 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8040 $as_echo_n "checking
for $ac_word...
" >&6; }
8041 if test "${ac_cv_prog_NM+set}" = set; then :
8042 $as_echo_n "(cached
) " >&6
8044 if test -n "$NM"; then
8045 ac_cv_prog_NM="$NM" # Let the user override the test.
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8054 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8065 if test -n "$NM"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8067 $as_echo "$NM" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8070 $as_echo "no
" >&6; }
8075 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8077 set dummy ${ncn_progname}; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8079 $as_echo_n "checking
for $ac_word...
" >&6; }
8080 if test "${ac_cv_prog_NM+set}" = set; then :
8081 $as_echo_n "(cached
) " >&6
8083 if test -n "$NM"; then
8084 ac_cv_prog_NM="$NM" # Let the user override the test.
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8093 ac_cv_prog_NM="${ncn_progname}"
8094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8104 if test -n "$NM"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8106 $as_echo "$NM" >&6; }
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8109 $as_echo "no
" >&6; }
8114 test -n "$ac_cv_prog_NM" && break
8117 if test -z "$ac_cv_prog_NM" ; then
8119 if test $build = $host ; then
8122 NM="${ncn_tool_prefix}$2"
8128 if test -n "$RANLIB"; then
8129 ac_cv_prog_RANLIB=$RANLIB
8130 elif test -n "$ac_cv_prog_RANLIB"; then
8131 RANLIB=$ac_cv_prog_RANLIB
8134 if test -n "$ac_cv_prog_RANLIB"; then
8135 for ncn_progname in ranlib; do
8136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8137 set dummy ${ncn_progname}; ac_word=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8139 $as_echo_n "checking
for $ac_word...
" >&6; }
8140 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8141 $as_echo_n "(cached
) " >&6
8143 if test -n "$RANLIB"; then
8144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8153 ac_cv_prog_RANLIB="${ncn_progname}"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8163 RANLIB=$ac_cv_prog_RANLIB
8164 if test -n "$RANLIB"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8166 $as_echo "$RANLIB" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8169 $as_echo "no
" >&6; }
8176 for ncn_progname in ranlib; do
8177 if test -n "$ncn_tool_prefix"; then
8178 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8179 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8181 $as_echo_n "checking
for $ac_word...
" >&6; }
8182 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8183 $as_echo_n "(cached
) " >&6
8185 if test -n "$RANLIB"; then
8186 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir=.
8193 for ac_exec_ext in '' $ac_executable_extensions; do
8194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8205 RANLIB=$ac_cv_prog_RANLIB
8206 if test -n "$RANLIB"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8208 $as_echo "$RANLIB" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8211 $as_echo "no
" >&6; }
8216 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8218 set dummy ${ncn_progname}; ac_word=$2
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8220 $as_echo_n "checking
for $ac_word...
" >&6; }
8221 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8222 $as_echo_n "(cached
) " >&6
8224 if test -n "$RANLIB"; then
8225 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8231 test -z "$as_dir" && as_dir=.
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_prog_RANLIB="${ncn_progname}"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8244 RANLIB=$ac_cv_prog_RANLIB
8245 if test -n "$RANLIB"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8247 $as_echo "$RANLIB" >&6; }
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8250 $as_echo "no
" >&6; }
8255 test -n "$ac_cv_prog_RANLIB" && break
8258 if test -z "$ac_cv_prog_RANLIB" ; then
8264 if test -n "$STRIP"; then
8265 ac_cv_prog_STRIP=$STRIP
8266 elif test -n "$ac_cv_prog_STRIP"; then
8267 STRIP=$ac_cv_prog_STRIP
8270 if test -n "$ac_cv_prog_STRIP"; then
8271 for ncn_progname in strip; do
8272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8273 set dummy ${ncn_progname}; ac_word=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8275 $as_echo_n "checking
for $ac_word...
" >&6; }
8276 if test "${ac_cv_prog_STRIP+set}" = set; then :
8277 $as_echo_n "(cached
) " >&6
8279 if test -n "$STRIP"; then
8280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286 test -z "$as_dir" && as_dir=.
8287 for ac_exec_ext in '' $ac_executable_extensions; do
8288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8289 ac_cv_prog_STRIP="${ncn_progname}"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8299 STRIP=$ac_cv_prog_STRIP
8300 if test -n "$STRIP"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8302 $as_echo "$STRIP" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8305 $as_echo "no
" >&6; }
8312 for ncn_progname in strip; do
8313 if test -n "$ncn_tool_prefix"; then
8314 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8315 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8317 $as_echo_n "checking
for $ac_word...
" >&6; }
8318 if test "${ac_cv_prog_STRIP+set}" = set; then :
8319 $as_echo_n "(cached
) " >&6
8321 if test -n "$STRIP"; then
8322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8331 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8341 STRIP=$ac_cv_prog_STRIP
8342 if test -n "$STRIP"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8344 $as_echo "$STRIP" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8347 $as_echo "no
" >&6; }
8352 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8354 set dummy ${ncn_progname}; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8356 $as_echo_n "checking
for $ac_word...
" >&6; }
8357 if test "${ac_cv_prog_STRIP+set}" = set; then :
8358 $as_echo_n "(cached
) " >&6
8360 if test -n "$STRIP"; then
8361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8370 ac_cv_prog_STRIP="${ncn_progname}"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8380 STRIP=$ac_cv_prog_STRIP
8381 if test -n "$STRIP"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8383 $as_echo "$STRIP" >&6; }
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8386 $as_echo "no
" >&6; }
8391 test -n "$ac_cv_prog_STRIP" && break
8394 if test -z "$ac_cv_prog_STRIP" ; then
8400 if test -n "$WINDRES"; then
8401 ac_cv_prog_WINDRES=$WINDRES
8402 elif test -n "$ac_cv_prog_WINDRES"; then
8403 WINDRES=$ac_cv_prog_WINDRES
8406 if test -n "$ac_cv_prog_WINDRES"; then
8407 for ncn_progname in windres; do
8408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8409 set dummy ${ncn_progname}; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8411 $as_echo_n "checking
for $ac_word...
" >&6; }
8412 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8413 $as_echo_n "(cached
) " >&6
8415 if test -n "$WINDRES"; then
8416 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_prog_WINDRES="${ncn_progname}"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8435 WINDRES=$ac_cv_prog_WINDRES
8436 if test -n "$WINDRES"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8438 $as_echo "$WINDRES" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8441 $as_echo "no
" >&6; }
8448 for ncn_progname in windres; do
8449 if test -n "$ncn_tool_prefix"; then
8450 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8451 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8453 $as_echo_n "checking
for $ac_word...
" >&6; }
8454 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8455 $as_echo_n "(cached
) " >&6
8457 if test -n "$WINDRES"; then
8458 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8464 test -z "$as_dir" && as_dir=.
8465 for ac_exec_ext in '' $ac_executable_extensions; do
8466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8467 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8477 WINDRES=$ac_cv_prog_WINDRES
8478 if test -n "$WINDRES"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8480 $as_echo "$WINDRES" >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8483 $as_echo "no
" >&6; }
8488 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8490 set dummy ${ncn_progname}; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8492 $as_echo_n "checking
for $ac_word...
" >&6; }
8493 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8494 $as_echo_n "(cached
) " >&6
8496 if test -n "$WINDRES"; then
8497 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_WINDRES="${ncn_progname}"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 WINDRES=$ac_cv_prog_WINDRES
8517 if test -n "$WINDRES"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8519 $as_echo "$WINDRES" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8522 $as_echo "no
" >&6; }
8527 test -n "$ac_cv_prog_WINDRES" && break
8530 if test -z "$ac_cv_prog_WINDRES" ; then
8532 if test $build = $host ; then
8535 WINDRES="${ncn_tool_prefix}$2"
8541 if test -n "$WINDMC"; then
8542 ac_cv_prog_WINDMC=$WINDMC
8543 elif test -n "$ac_cv_prog_WINDMC"; then
8544 WINDMC=$ac_cv_prog_WINDMC
8547 if test -n "$ac_cv_prog_WINDMC"; then
8548 for ncn_progname in windmc; do
8549 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8550 set dummy ${ncn_progname}; ac_word=$2
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8552 $as_echo_n "checking
for $ac_word...
" >&6; }
8553 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8554 $as_echo_n "(cached
) " >&6
8556 if test -n "$WINDMC"; then
8557 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563 test -z "$as_dir" && as_dir=.
8564 for ac_exec_ext in '' $ac_executable_extensions; do
8565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8566 ac_cv_prog_WINDMC="${ncn_progname}"
8567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8576 WINDMC=$ac_cv_prog_WINDMC
8577 if test -n "$WINDMC"; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8579 $as_echo "$WINDMC" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8582 $as_echo "no
" >&6; }
8589 for ncn_progname in windmc; do
8590 if test -n "$ncn_tool_prefix"; then
8591 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8592 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8594 $as_echo_n "checking
for $ac_word...
" >&6; }
8595 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8596 $as_echo_n "(cached
) " >&6
8598 if test -n "$WINDMC"; then
8599 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir=.
8606 for ac_exec_ext in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8618 WINDMC=$ac_cv_prog_WINDMC
8619 if test -n "$WINDMC"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8621 $as_echo "$WINDMC" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8624 $as_echo "no
" >&6; }
8629 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8631 set dummy ${ncn_progname}; ac_word=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8633 $as_echo_n "checking
for $ac_word...
" >&6; }
8634 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8635 $as_echo_n "(cached
) " >&6
8637 if test -n "$WINDMC"; then
8638 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8647 ac_cv_prog_WINDMC="${ncn_progname}"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8657 WINDMC=$ac_cv_prog_WINDMC
8658 if test -n "$WINDMC"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8660 $as_echo "$WINDMC" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8663 $as_echo "no
" >&6; }
8668 test -n "$ac_cv_prog_WINDMC" && break
8671 if test -z "$ac_cv_prog_WINDMC" ; then
8673 if test $build = $host ; then
8676 WINDMC="${ncn_tool_prefix}$2"
8682 if test -n "$OBJCOPY"; then
8683 ac_cv_prog_OBJCOPY=$OBJCOPY
8684 elif test -n "$ac_cv_prog_OBJCOPY"; then
8685 OBJCOPY=$ac_cv_prog_OBJCOPY
8688 if test -n "$ac_cv_prog_OBJCOPY"; then
8689 for ncn_progname in objcopy; do
8690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8691 set dummy ${ncn_progname}; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8693 $as_echo_n "checking
for $ac_word...
" >&6; }
8694 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8695 $as_echo_n "(cached
) " >&6
8697 if test -n "$OBJCOPY"; then
8698 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8707 ac_cv_prog_OBJCOPY="${ncn_progname}"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8717 OBJCOPY=$ac_cv_prog_OBJCOPY
8718 if test -n "$OBJCOPY"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
8720 $as_echo "$OBJCOPY" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8723 $as_echo "no
" >&6; }
8730 for ncn_progname in objcopy; do
8731 if test -n "$ncn_tool_prefix"; then
8732 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8733 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8735 $as_echo_n "checking
for $ac_word...
" >&6; }
8736 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8737 $as_echo_n "(cached
) " >&6
8739 if test -n "$OBJCOPY"; then
8740 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir=.
8747 for ac_exec_ext in '' $ac_executable_extensions; do
8748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8749 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8759 OBJCOPY=$ac_cv_prog_OBJCOPY
8760 if test -n "$OBJCOPY"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
8762 $as_echo "$OBJCOPY" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8765 $as_echo "no
" >&6; }
8770 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8772 set dummy ${ncn_progname}; ac_word=$2
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8774 $as_echo_n "checking
for $ac_word...
" >&6; }
8775 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8776 $as_echo_n "(cached
) " >&6
8778 if test -n "$OBJCOPY"; then
8779 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 test -z "$as_dir" && as_dir=.
8786 for ac_exec_ext in '' $ac_executable_extensions; do
8787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8788 ac_cv_prog_OBJCOPY="${ncn_progname}"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8798 OBJCOPY=$ac_cv_prog_OBJCOPY
8799 if test -n "$OBJCOPY"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
8801 $as_echo "$OBJCOPY" >&6; }
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8804 $as_echo "no
" >&6; }
8809 test -n "$ac_cv_prog_OBJCOPY" && break
8812 if test -z "$ac_cv_prog_OBJCOPY" ; then
8814 if test $build = $host ; then
8817 OBJCOPY="${ncn_tool_prefix}$2"
8823 if test -n "$OBJDUMP"; then
8824 ac_cv_prog_OBJDUMP=$OBJDUMP
8825 elif test -n "$ac_cv_prog_OBJDUMP"; then
8826 OBJDUMP=$ac_cv_prog_OBJDUMP
8829 if test -n "$ac_cv_prog_OBJDUMP"; then
8830 for ncn_progname in objdump; do
8831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8832 set dummy ${ncn_progname}; ac_word=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8834 $as_echo_n "checking
for $ac_word...
" >&6; }
8835 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8836 $as_echo_n "(cached
) " >&6
8838 if test -n "$OBJDUMP"; then
8839 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir=.
8846 for ac_exec_ext in '' $ac_executable_extensions; do
8847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8848 ac_cv_prog_OBJDUMP="${ncn_progname}"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8858 OBJDUMP=$ac_cv_prog_OBJDUMP
8859 if test -n "$OBJDUMP"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
8861 $as_echo "$OBJDUMP" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8864 $as_echo "no
" >&6; }
8871 for ncn_progname in objdump; do
8872 if test -n "$ncn_tool_prefix"; then
8873 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8874 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8876 $as_echo_n "checking
for $ac_word...
" >&6; }
8877 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8878 $as_echo_n "(cached
) " >&6
8880 if test -n "$OBJDUMP"; then
8881 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8900 OBJDUMP=$ac_cv_prog_OBJDUMP
8901 if test -n "$OBJDUMP"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
8903 $as_echo "$OBJDUMP" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8906 $as_echo "no
" >&6; }
8911 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8913 set dummy ${ncn_progname}; ac_word=$2
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8915 $as_echo_n "checking
for $ac_word...
" >&6; }
8916 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8917 $as_echo_n "(cached
) " >&6
8919 if test -n "$OBJDUMP"; then
8920 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8926 test -z "$as_dir" && as_dir=.
8927 for ac_exec_ext in '' $ac_executable_extensions; do
8928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8929 ac_cv_prog_OBJDUMP="${ncn_progname}"
8930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8939 OBJDUMP=$ac_cv_prog_OBJDUMP
8940 if test -n "$OBJDUMP"; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
8942 $as_echo "$OBJDUMP" >&6; }
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8945 $as_echo "no
" >&6; }
8950 test -n "$ac_cv_prog_OBJDUMP" && break
8953 if test -z "$ac_cv_prog_OBJDUMP" ; then
8955 if test $build = $host ; then
8958 OBJDUMP="${ncn_tool_prefix}$2"
8969 # Check whether --with-build-time-tools was given.
8970 if test "${with_build_time_tools+set}" = set; then :
8971 withval=$with_build_time_tools; case x"$withval" in
8974 with_build_time_tools=
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8976 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8980 with_build_time_tools=
8986 if test -n "$CC_FOR_TARGET"; then
8987 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8988 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8989 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8992 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8993 for ncn_progname in cc gcc; do
8994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8995 set dummy ${ncn_progname}; ac_word=$2
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8997 $as_echo_n "checking
for $ac_word...
" >&6; }
8998 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
8999 $as_echo_n "(cached
) " >&6
9001 if test -n "$CC_FOR_TARGET"; then
9002 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9008 test -z "$as_dir" && as_dir=.
9009 for ac_exec_ext in '' $ac_executable_extensions; do
9010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9011 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9021 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9022 if test -n "$CC_FOR_TARGET"; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9024 $as_echo "$CC_FOR_TARGET" >&6; }
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9027 $as_echo "no
" >&6; }
9034 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9035 for ncn_progname in cc gcc; do
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9037 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9038 if test -x $with_build_time_tools/${ncn_progname}; then
9039 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9041 $as_echo "yes" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9045 $as_echo "no
" >&6; }
9050 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9051 for ncn_progname in cc gcc; do
9052 if test -n "$ncn_target_tool_prefix"; then
9053 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9054 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9056 $as_echo_n "checking
for $ac_word...
" >&6; }
9057 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9058 $as_echo_n "(cached
) " >&6
9060 if test -n "$CC_FOR_TARGET"; then
9061 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9067 test -z "$as_dir" && as_dir=.
9068 for ac_exec_ext in '' $ac_executable_extensions; do
9069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9070 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9080 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9081 if test -n "$CC_FOR_TARGET"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9083 $as_echo "$CC_FOR_TARGET" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9086 $as_echo "no
" >&6; }
9091 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9093 set dummy ${ncn_progname}; ac_word=$2
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9095 $as_echo_n "checking
for $ac_word...
" >&6; }
9096 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9097 $as_echo_n "(cached
) " >&6
9099 if test -n "$CC_FOR_TARGET"; then
9100 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9106 test -z "$as_dir" && as_dir=.
9107 for ac_exec_ext in '' $ac_executable_extensions; do
9108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9109 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9119 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9120 if test -n "$CC_FOR_TARGET"; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9122 $as_echo "$CC_FOR_TARGET" >&6; }
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9125 $as_echo "no
" >&6; }
9130 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9134 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9136 if test $build = $target ; then
9139 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9142 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9147 if test -n "$CXX_FOR_TARGET"; then
9148 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9149 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9150 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9153 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9154 for ncn_progname in c++ g++ cxx gxx; do
9155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9156 set dummy ${ncn_progname}; ac_word=$2
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9158 $as_echo_n "checking
for $ac_word...
" >&6; }
9159 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9160 $as_echo_n "(cached
) " >&6
9162 if test -n "$CXX_FOR_TARGET"; then
9163 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir=.
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9182 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9183 if test -n "$CXX_FOR_TARGET"; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9185 $as_echo "$CXX_FOR_TARGET" >&6; }
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9188 $as_echo "no
" >&6; }
9195 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9196 for ncn_progname in c++ g++ cxx gxx; do
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9198 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9199 if test -x $with_build_time_tools/${ncn_progname}; then
9200 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9202 $as_echo "yes" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9206 $as_echo "no
" >&6; }
9211 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9212 for ncn_progname in c++ g++ cxx gxx; do
9213 if test -n "$ncn_target_tool_prefix"; then
9214 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9215 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9217 $as_echo_n "checking
for $ac_word...
" >&6; }
9218 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9219 $as_echo_n "(cached
) " >&6
9221 if test -n "$CXX_FOR_TARGET"; then
9222 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228 test -z "$as_dir" && as_dir=.
9229 for ac_exec_ext in '' $ac_executable_extensions; do
9230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9231 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9241 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9242 if test -n "$CXX_FOR_TARGET"; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9244 $as_echo "$CXX_FOR_TARGET" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9247 $as_echo "no
" >&6; }
9252 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9254 set dummy ${ncn_progname}; ac_word=$2
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9256 $as_echo_n "checking
for $ac_word...
" >&6; }
9257 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9258 $as_echo_n "(cached
) " >&6
9260 if test -n "$CXX_FOR_TARGET"; then
9261 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9267 test -z "$as_dir" && as_dir=.
9268 for ac_exec_ext in '' $ac_executable_extensions; do
9269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9270 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9280 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9281 if test -n "$CXX_FOR_TARGET"; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9283 $as_echo "$CXX_FOR_TARGET" >&6; }
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9286 $as_echo "no
" >&6; }
9291 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9295 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9296 set dummy c++ g++ cxx gxx
9297 if test $build = $target ; then
9300 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9303 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9308 if test -n "$GCC_FOR_TARGET"; then
9309 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9310 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9311 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9314 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9315 for ncn_progname in gcc; do
9316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9317 set dummy ${ncn_progname}; ac_word=$2
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9319 $as_echo_n "checking
for $ac_word...
" >&6; }
9320 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9321 $as_echo_n "(cached
) " >&6
9323 if test -n "$GCC_FOR_TARGET"; then
9324 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 test -z "$as_dir" && as_dir=.
9331 for ac_exec_ext in '' $ac_executable_extensions; do
9332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9333 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9343 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9344 if test -n "$GCC_FOR_TARGET"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9346 $as_echo "$GCC_FOR_TARGET" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9349 $as_echo "no
" >&6; }
9356 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9357 for ncn_progname in gcc; do
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9359 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9360 if test -x $with_build_time_tools/${ncn_progname}; then
9361 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9363 $as_echo "yes" >&6; }
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9367 $as_echo "no
" >&6; }
9372 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9373 for ncn_progname in gcc; do
9374 if test -n "$ncn_target_tool_prefix"; then
9375 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9376 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9378 $as_echo_n "checking
for $ac_word...
" >&6; }
9379 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9380 $as_echo_n "(cached
) " >&6
9382 if test -n "$GCC_FOR_TARGET"; then
9383 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9389 test -z "$as_dir" && as_dir=.
9390 for ac_exec_ext in '' $ac_executable_extensions; do
9391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9392 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9402 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9403 if test -n "$GCC_FOR_TARGET"; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9405 $as_echo "$GCC_FOR_TARGET" >&6; }
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9408 $as_echo "no
" >&6; }
9413 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9415 set dummy ${ncn_progname}; ac_word=$2
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9417 $as_echo_n "checking
for $ac_word...
" >&6; }
9418 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9419 $as_echo_n "(cached
) " >&6
9421 if test -n "$GCC_FOR_TARGET"; then
9422 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9428 test -z "$as_dir" && as_dir=.
9429 for ac_exec_ext in '' $ac_executable_extensions; do
9430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9431 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9441 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9442 if test -n "$GCC_FOR_TARGET"; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9444 $as_echo "$GCC_FOR_TARGET" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9447 $as_echo "no
" >&6; }
9452 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9456 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9457 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9459 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9464 if test -n "$GCJ_FOR_TARGET"; then
9465 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9466 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9467 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9470 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9471 for ncn_progname in gcj; do
9472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9473 set dummy ${ncn_progname}; ac_word=$2
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9475 $as_echo_n "checking
for $ac_word...
" >&6; }
9476 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9477 $as_echo_n "(cached
) " >&6
9479 if test -n "$GCJ_FOR_TARGET"; then
9480 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9486 test -z "$as_dir" && as_dir=.
9487 for ac_exec_ext in '' $ac_executable_extensions; do
9488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9489 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9499 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9500 if test -n "$GCJ_FOR_TARGET"; then
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9502 $as_echo "$GCJ_FOR_TARGET" >&6; }
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9505 $as_echo "no
" >&6; }
9512 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9513 for ncn_progname in gcj; do
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9515 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9516 if test -x $with_build_time_tools/${ncn_progname}; then
9517 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9519 $as_echo "yes" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9523 $as_echo "no
" >&6; }
9528 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9529 for ncn_progname in gcj; do
9530 if test -n "$ncn_target_tool_prefix"; then
9531 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9532 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9534 $as_echo_n "checking
for $ac_word...
" >&6; }
9535 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9536 $as_echo_n "(cached
) " >&6
9538 if test -n "$GCJ_FOR_TARGET"; then
9539 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 test -z "$as_dir" && as_dir=.
9546 for ac_exec_ext in '' $ac_executable_extensions; do
9547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9548 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9558 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9559 if test -n "$GCJ_FOR_TARGET"; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9561 $as_echo "$GCJ_FOR_TARGET" >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9564 $as_echo "no
" >&6; }
9569 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9571 set dummy ${ncn_progname}; ac_word=$2
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9573 $as_echo_n "checking
for $ac_word...
" >&6; }
9574 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9575 $as_echo_n "(cached
) " >&6
9577 if test -n "$GCJ_FOR_TARGET"; then
9578 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 test -z "$as_dir" && as_dir=.
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9587 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9597 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9598 if test -n "$GCJ_FOR_TARGET"; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9600 $as_echo "$GCJ_FOR_TARGET" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9603 $as_echo "no
" >&6; }
9608 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9612 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9614 if test $build = $target ; then
9617 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9620 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9625 if test -n "$GFORTRAN_FOR_TARGET"; then
9626 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9627 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9628 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9631 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9632 for ncn_progname in gfortran; do
9633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9634 set dummy ${ncn_progname}; ac_word=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9636 $as_echo_n "checking
for $ac_word...
" >&6; }
9637 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9638 $as_echo_n "(cached
) " >&6
9640 if test -n "$GFORTRAN_FOR_TARGET"; then
9641 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9647 test -z "$as_dir" && as_dir=.
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9650 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9660 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9661 if test -n "$GFORTRAN_FOR_TARGET"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
9663 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9666 $as_echo "no
" >&6; }
9673 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9674 for ncn_progname in gfortran; do
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9676 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9677 if test -x $with_build_time_tools/${ncn_progname}; then
9678 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9680 $as_echo "yes" >&6; }
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9684 $as_echo "no
" >&6; }
9689 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9690 for ncn_progname in gfortran; do
9691 if test -n "$ncn_target_tool_prefix"; then
9692 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9693 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9695 $as_echo_n "checking
for $ac_word...
" >&6; }
9696 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9697 $as_echo_n "(cached
) " >&6
9699 if test -n "$GFORTRAN_FOR_TARGET"; then
9700 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9706 test -z "$as_dir" && as_dir=.
9707 for ac_exec_ext in '' $ac_executable_extensions; do
9708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9709 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9719 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9720 if test -n "$GFORTRAN_FOR_TARGET"; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
9722 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9725 $as_echo "no
" >&6; }
9730 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9732 set dummy ${ncn_progname}; ac_word=$2
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9734 $as_echo_n "checking
for $ac_word...
" >&6; }
9735 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9736 $as_echo_n "(cached
) " >&6
9738 if test -n "$GFORTRAN_FOR_TARGET"; then
9739 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir=.
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9748 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9758 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9759 if test -n "$GFORTRAN_FOR_TARGET"; then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
9761 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9764 $as_echo "no
" >&6; }
9769 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9773 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9775 if test $build = $target ; then
9776 GFORTRAN_FOR_TARGET="$2"
9778 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9781 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9786 cat > conftest.c << \EOF
9791 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9792 have_gcc_for_target=yes
9794 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9795 have_gcc_for_target=no
9802 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9803 if test -n "$with_build_time_tools"; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
9805 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
9806 if test -x $with_build_time_tools/ar; then
9807 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9808 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9810 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9813 $as_echo "no
" >&6; }
9815 elif test $build != $host && test $have_gcc_for_target = yes; then
9816 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9817 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9818 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9821 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9822 # Extract the first word of "ar", so it can be a program name with args.
9823 set dummy ar; ac_word=$2
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9825 $as_echo_n "checking
for $ac_word...
" >&6; }
9826 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
9827 $as_echo_n "(cached
) " >&6
9829 case $AR_FOR_TARGET in
9831 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835 for as_dir in $gcc_cv_tool_dirs
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9841 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9852 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9853 if test -n "$AR_FOR_TARGET"; then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
9855 $as_echo "$AR_FOR_TARGET" >&6; }
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9858 $as_echo "no
" >&6; }
9863 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9866 if test -n "$AR_FOR_TARGET"; then
9867 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9868 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9869 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9872 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9873 for ncn_progname in ar; do
9874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9875 set dummy ${ncn_progname}; ac_word=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9877 $as_echo_n "checking
for $ac_word...
" >&6; }
9878 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9879 $as_echo_n "(cached
) " >&6
9881 if test -n "$AR_FOR_TARGET"; then
9882 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9888 test -z "$as_dir" && as_dir=.
9889 for ac_exec_ext in '' $ac_executable_extensions; do
9890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9891 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9901 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9902 if test -n "$AR_FOR_TARGET"; then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
9904 $as_echo "$AR_FOR_TARGET" >&6; }
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9907 $as_echo "no
" >&6; }
9914 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9915 for ncn_progname in ar; do
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9917 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9918 if test -x $with_build_time_tools/${ncn_progname}; then
9919 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9921 $as_echo "yes" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9925 $as_echo "no
" >&6; }
9930 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9931 for ncn_progname in ar; do
9932 if test -n "$ncn_target_tool_prefix"; then
9933 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9934 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9936 $as_echo_n "checking
for $ac_word...
" >&6; }
9937 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9938 $as_echo_n "(cached
) " >&6
9940 if test -n "$AR_FOR_TARGET"; then
9941 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9947 test -z "$as_dir" && as_dir=.
9948 for ac_exec_ext in '' $ac_executable_extensions; do
9949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9950 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9960 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9961 if test -n "$AR_FOR_TARGET"; then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
9963 $as_echo "$AR_FOR_TARGET" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9966 $as_echo "no
" >&6; }
9971 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9972 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9973 set dummy ${ncn_progname}; ac_word=$2
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9975 $as_echo_n "checking
for $ac_word...
" >&6; }
9976 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
9977 $as_echo_n "(cached
) " >&6
9979 if test -n "$AR_FOR_TARGET"; then
9980 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9989 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9999 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10000 if test -n "$AR_FOR_TARGET"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10002 $as_echo "$AR_FOR_TARGET" >&6; }
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10005 $as_echo "no
" >&6; }
10010 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10014 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10016 if test $build = $target ; then
10019 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10022 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10026 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10032 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10033 if test -n "$with_build_time_tools"; then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10035 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10036 if test -x $with_build_time_tools/as; then
10037 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10038 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10040 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10043 $as_echo "no
" >&6; }
10045 elif test $build != $host && test $have_gcc_for_target = yes; then
10046 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10047 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10048 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10051 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10052 # Extract the first word of "as
", so it can be a program name with args.
10053 set dummy as; ac_word=$2
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10055 $as_echo_n "checking
for $ac_word...
" >&6; }
10056 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10057 $as_echo_n "(cached
) " >&6
10059 case $AS_FOR_TARGET in
10061 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $gcc_cv_tool_dirs
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10082 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10083 if test -n "$AS_FOR_TARGET"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10085 $as_echo "$AS_FOR_TARGET" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10088 $as_echo "no
" >&6; }
10093 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10096 if test -n "$AS_FOR_TARGET"; then
10097 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10098 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10099 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10102 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10103 for ncn_progname in as; do
10104 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10105 set dummy ${ncn_progname}; ac_word=$2
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10107 $as_echo_n "checking
for $ac_word...
" >&6; }
10108 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10109 $as_echo_n "(cached
) " >&6
10111 if test -n "$AS_FOR_TARGET"; then
10112 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10115 for as_dir in $PATH
10118 test -z "$as_dir" && as_dir=.
10119 for ac_exec_ext in '' $ac_executable_extensions; do
10120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10121 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10131 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10132 if test -n "$AS_FOR_TARGET"; then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10134 $as_echo "$AS_FOR_TARGET" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10137 $as_echo "no
" >&6; }
10144 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10145 for ncn_progname in as; do
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10147 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10148 if test -x $with_build_time_tools/${ncn_progname}; then
10149 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10151 $as_echo "yes" >&6; }
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10155 $as_echo "no
" >&6; }
10160 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10161 for ncn_progname in as; do
10162 if test -n "$ncn_target_tool_prefix"; then
10163 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10164 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10166 $as_echo_n "checking
for $ac_word...
" >&6; }
10167 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10168 $as_echo_n "(cached
) " >&6
10170 if test -n "$AS_FOR_TARGET"; then
10171 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10174 for as_dir in $PATH
10177 test -z "$as_dir" && as_dir=.
10178 for ac_exec_ext in '' $ac_executable_extensions; do
10179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10180 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10190 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10191 if test -n "$AS_FOR_TARGET"; then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10193 $as_echo "$AS_FOR_TARGET" >&6; }
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10196 $as_echo "no
" >&6; }
10201 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10202 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10203 set dummy ${ncn_progname}; ac_word=$2
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10205 $as_echo_n "checking
for $ac_word...
" >&6; }
10206 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10207 $as_echo_n "(cached
) " >&6
10209 if test -n "$AS_FOR_TARGET"; then
10210 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10213 for as_dir in $PATH
10216 test -z "$as_dir" && as_dir=.
10217 for ac_exec_ext in '' $ac_executable_extensions; do
10218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10219 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10229 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10230 if test -n "$AS_FOR_TARGET"; then
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10232 $as_echo "$AS_FOR_TARGET" >&6; }
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10235 $as_echo "no
" >&6; }
10240 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10244 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10246 if test $build = $target ; then
10249 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10252 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10256 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10262 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10263 if test -n "$with_build_time_tools"; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
10265 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
10266 if test -x $with_build_time_tools/dlltool; then
10267 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10268 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10270 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10273 $as_echo "no
" >&6; }
10275 elif test $build != $host && test $have_gcc_for_target = yes; then
10276 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10277 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10278 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10281 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10282 # Extract the first word of "dlltool
", so it can be a program name with args.
10283 set dummy dlltool; ac_word=$2
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10285 $as_echo_n "checking
for $ac_word...
" >&6; }
10286 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10287 $as_echo_n "(cached
) " >&6
10289 case $DLLTOOL_FOR_TARGET in
10291 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10295 for as_dir in $gcc_cv_tool_dirs
10298 test -z "$as_dir" && as_dir=.
10299 for ac_exec_ext in '' $ac_executable_extensions; do
10300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10301 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10312 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10313 if test -n "$DLLTOOL_FOR_TARGET"; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10315 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10318 $as_echo "no
" >&6; }
10323 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10326 if test -n "$DLLTOOL_FOR_TARGET"; then
10327 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10328 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10329 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10332 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10333 for ncn_progname in dlltool; do
10334 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10335 set dummy ${ncn_progname}; ac_word=$2
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10337 $as_echo_n "checking
for $ac_word...
" >&6; }
10338 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10339 $as_echo_n "(cached
) " >&6
10341 if test -n "$DLLTOOL_FOR_TARGET"; then
10342 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10345 for as_dir in $PATH
10348 test -z "$as_dir" && as_dir=.
10349 for ac_exec_ext in '' $ac_executable_extensions; do
10350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10351 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10361 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10362 if test -n "$DLLTOOL_FOR_TARGET"; then
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10364 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10367 $as_echo "no
" >&6; }
10374 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10375 for ncn_progname in dlltool; do
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10377 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10378 if test -x $with_build_time_tools/${ncn_progname}; then
10379 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10381 $as_echo "yes" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10385 $as_echo "no
" >&6; }
10390 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10391 for ncn_progname in dlltool; do
10392 if test -n "$ncn_target_tool_prefix"; then
10393 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10394 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10396 $as_echo_n "checking
for $ac_word...
" >&6; }
10397 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10398 $as_echo_n "(cached
) " >&6
10400 if test -n "$DLLTOOL_FOR_TARGET"; then
10401 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10407 test -z "$as_dir" && as_dir=.
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10410 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10420 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10421 if test -n "$DLLTOOL_FOR_TARGET"; then
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10423 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10426 $as_echo "no
" >&6; }
10431 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10432 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10433 set dummy ${ncn_progname}; ac_word=$2
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10435 $as_echo_n "checking
for $ac_word...
" >&6; }
10436 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10437 $as_echo_n "(cached
) " >&6
10439 if test -n "$DLLTOOL_FOR_TARGET"; then
10440 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10443 for as_dir in $PATH
10446 test -z "$as_dir" && as_dir=.
10447 for ac_exec_ext in '' $ac_executable_extensions; do
10448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10449 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10459 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10460 if test -n "$DLLTOOL_FOR_TARGET"; then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10462 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10465 $as_echo "no
" >&6; }
10470 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10474 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10476 if test $build = $target ; then
10477 DLLTOOL_FOR_TARGET="$2"
10479 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10482 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10486 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10492 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10493 if test -n "$with_build_time_tools"; then
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
10495 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
10496 if test -x $with_build_time_tools/ld; then
10497 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10498 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10500 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10503 $as_echo "no
" >&6; }
10505 elif test $build != $host && test $have_gcc_for_target = yes; then
10506 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10507 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10508 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10511 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10512 # Extract the first word of "ld
", so it can be a program name with args.
10513 set dummy ld; 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_path_LD_FOR_TARGET+set}" = set; then :
10517 $as_echo_n "(cached
) " >&6
10519 case $LD_FOR_TARGET in
10521 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10525 for as_dir in $gcc_cv_tool_dirs
10528 test -z "$as_dir" && as_dir=.
10529 for ac_exec_ext in '' $ac_executable_extensions; do
10530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10531 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10542 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10543 if test -n "$LD_FOR_TARGET"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10545 $as_echo "$LD_FOR_TARGET" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10548 $as_echo "no
" >&6; }
10553 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10556 if test -n "$LD_FOR_TARGET"; then
10557 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10558 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10559 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10562 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10563 for ncn_progname in ld; do
10564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10565 set dummy ${ncn_progname}; ac_word=$2
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10567 $as_echo_n "checking
for $ac_word...
" >&6; }
10568 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10569 $as_echo_n "(cached
) " >&6
10571 if test -n "$LD_FOR_TARGET"; then
10572 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10581 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10591 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10592 if test -n "$LD_FOR_TARGET"; then
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10594 $as_echo "$LD_FOR_TARGET" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10597 $as_echo "no
" >&6; }
10604 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10605 for ncn_progname in ld; do
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10607 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10608 if test -x $with_build_time_tools/${ncn_progname}; then
10609 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10611 $as_echo "yes" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10615 $as_echo "no
" >&6; }
10620 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10621 for ncn_progname in ld; do
10622 if test -n "$ncn_target_tool_prefix"; then
10623 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10624 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10626 $as_echo_n "checking
for $ac_word...
" >&6; }
10627 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10628 $as_echo_n "(cached
) " >&6
10630 if test -n "$LD_FOR_TARGET"; then
10631 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10634 for as_dir in $PATH
10637 test -z "$as_dir" && as_dir=.
10638 for ac_exec_ext in '' $ac_executable_extensions; do
10639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10640 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10650 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10651 if test -n "$LD_FOR_TARGET"; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10653 $as_echo "$LD_FOR_TARGET" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10656 $as_echo "no
" >&6; }
10661 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10663 set dummy ${ncn_progname}; ac_word=$2
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10665 $as_echo_n "checking
for $ac_word...
" >&6; }
10666 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10667 $as_echo_n "(cached
) " >&6
10669 if test -n "$LD_FOR_TARGET"; then
10670 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $PATH
10676 test -z "$as_dir" && as_dir=.
10677 for ac_exec_ext in '' $ac_executable_extensions; do
10678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10679 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10689 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10690 if test -n "$LD_FOR_TARGET"; then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10692 $as_echo "$LD_FOR_TARGET" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10695 $as_echo "no
" >&6; }
10700 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10704 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10706 if test $build = $target ; then
10709 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10712 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10716 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10722 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10723 if test -n "$with_build_time_tools"; then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
10725 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
10726 if test -x $with_build_time_tools/lipo; then
10727 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10728 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10730 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10733 $as_echo "no
" >&6; }
10735 elif test $build != $host && test $have_gcc_for_target = yes; then
10736 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10737 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10738 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10741 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10742 # Extract the first word of "lipo
", so it can be a program name with args.
10743 set dummy lipo; ac_word=$2
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10745 $as_echo_n "checking
for $ac_word...
" >&6; }
10746 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
10747 $as_echo_n "(cached
) " >&6
10749 case $LIPO_FOR_TARGET in
10751 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $gcc_cv_tool_dirs
10758 test -z "$as_dir" && as_dir=.
10759 for ac_exec_ext in '' $ac_executable_extensions; do
10760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10761 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10772 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10773 if test -n "$LIPO_FOR_TARGET"; then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
10775 $as_echo "$LIPO_FOR_TARGET" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10778 $as_echo "no
" >&6; }
10783 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10786 if test -n "$LIPO_FOR_TARGET"; then
10787 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10788 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10789 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10792 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10793 for ncn_progname in lipo; do
10794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10795 set dummy ${ncn_progname}; ac_word=$2
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10797 $as_echo_n "checking
for $ac_word...
" >&6; }
10798 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10799 $as_echo_n "(cached
) " >&6
10801 if test -n "$LIPO_FOR_TARGET"; then
10802 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10805 for as_dir in $PATH
10808 test -z "$as_dir" && as_dir=.
10809 for ac_exec_ext in '' $ac_executable_extensions; do
10810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10811 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10821 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10822 if test -n "$LIPO_FOR_TARGET"; then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
10824 $as_echo "$LIPO_FOR_TARGET" >&6; }
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10827 $as_echo "no
" >&6; }
10834 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10835 for ncn_progname in lipo; do
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10837 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10838 if test -x $with_build_time_tools/${ncn_progname}; then
10839 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10841 $as_echo "yes" >&6; }
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10845 $as_echo "no
" >&6; }
10850 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10851 for ncn_progname in lipo; do
10852 if test -n "$ncn_target_tool_prefix"; then
10853 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10854 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10856 $as_echo_n "checking
for $ac_word...
" >&6; }
10857 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10858 $as_echo_n "(cached
) " >&6
10860 if test -n "$LIPO_FOR_TARGET"; then
10861 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10864 for as_dir in $PATH
10867 test -z "$as_dir" && as_dir=.
10868 for ac_exec_ext in '' $ac_executable_extensions; do
10869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10870 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10880 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10881 if test -n "$LIPO_FOR_TARGET"; then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
10883 $as_echo "$LIPO_FOR_TARGET" >&6; }
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10886 $as_echo "no
" >&6; }
10891 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10893 set dummy ${ncn_progname}; ac_word=$2
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10895 $as_echo_n "checking
for $ac_word...
" >&6; }
10896 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10897 $as_echo_n "(cached
) " >&6
10899 if test -n "$LIPO_FOR_TARGET"; then
10900 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10903 for as_dir in $PATH
10906 test -z "$as_dir" && as_dir=.
10907 for ac_exec_ext in '' $ac_executable_extensions; do
10908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10909 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10919 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10920 if test -n "$LIPO_FOR_TARGET"; then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
10922 $as_echo "$LIPO_FOR_TARGET" >&6; }
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10925 $as_echo "no
" >&6; }
10930 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10934 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10936 if test $build = $target ; then
10937 LIPO_FOR_TARGET="$2"
10939 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10942 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10946 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10952 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10953 if test -n "$with_build_time_tools"; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
10955 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
10956 if test -x $with_build_time_tools/nm; then
10957 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10958 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10960 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10963 $as_echo "no
" >&6; }
10965 elif test $build != $host && test $have_gcc_for_target = yes; then
10966 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10967 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10968 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10971 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10972 # Extract the first word of "nm
", so it can be a program name with args.
10973 set dummy nm; ac_word=$2
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10975 $as_echo_n "checking
for $ac_word...
" >&6; }
10976 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
10977 $as_echo_n "(cached
) " >&6
10979 case $NM_FOR_TARGET in
10981 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10985 for as_dir in $gcc_cv_tool_dirs
10988 test -z "$as_dir" && as_dir=.
10989 for ac_exec_ext in '' $ac_executable_extensions; do
10990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10991 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11002 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11003 if test -n "$NM_FOR_TARGET"; then
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11005 $as_echo "$NM_FOR_TARGET" >&6; }
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11008 $as_echo "no
" >&6; }
11013 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11016 if test -n "$NM_FOR_TARGET"; then
11017 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11018 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11019 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11022 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11023 for ncn_progname in nm; do
11024 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11025 set dummy ${ncn_progname}; ac_word=$2
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11027 $as_echo_n "checking
for $ac_word...
" >&6; }
11028 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11029 $as_echo_n "(cached
) " >&6
11031 if test -n "$NM_FOR_TARGET"; then
11032 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11035 for as_dir in $PATH
11038 test -z "$as_dir" && as_dir=.
11039 for ac_exec_ext in '' $ac_executable_extensions; do
11040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11041 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11051 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11052 if test -n "$NM_FOR_TARGET"; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11054 $as_echo "$NM_FOR_TARGET" >&6; }
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11057 $as_echo "no
" >&6; }
11064 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11065 for ncn_progname in nm; do
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11067 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11068 if test -x $with_build_time_tools/${ncn_progname}; then
11069 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11071 $as_echo "yes" >&6; }
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11075 $as_echo "no
" >&6; }
11080 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11081 for ncn_progname in nm; do
11082 if test -n "$ncn_target_tool_prefix"; then
11083 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11084 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11086 $as_echo_n "checking
for $ac_word...
" >&6; }
11087 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11088 $as_echo_n "(cached
) " >&6
11090 if test -n "$NM_FOR_TARGET"; then
11091 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11094 for as_dir in $PATH
11097 test -z "$as_dir" && as_dir=.
11098 for ac_exec_ext in '' $ac_executable_extensions; do
11099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11100 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11110 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11111 if test -n "$NM_FOR_TARGET"; then
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11113 $as_echo "$NM_FOR_TARGET" >&6; }
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11116 $as_echo "no
" >&6; }
11121 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11122 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11123 set dummy ${ncn_progname}; ac_word=$2
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11125 $as_echo_n "checking
for $ac_word...
" >&6; }
11126 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11127 $as_echo_n "(cached
) " >&6
11129 if test -n "$NM_FOR_TARGET"; then
11130 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11133 for as_dir in $PATH
11136 test -z "$as_dir" && as_dir=.
11137 for ac_exec_ext in '' $ac_executable_extensions; do
11138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11139 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11149 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11150 if test -n "$NM_FOR_TARGET"; then
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11152 $as_echo "$NM_FOR_TARGET" >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11155 $as_echo "no
" >&6; }
11160 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11164 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11166 if test $build = $target ; then
11169 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11172 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11176 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11182 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11183 if test -n "$with_build_time_tools"; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11185 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11186 if test -x $with_build_time_tools/objdump; then
11187 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11188 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11190 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11193 $as_echo "no
" >&6; }
11195 elif test $build != $host && test $have_gcc_for_target = yes; then
11196 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11197 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11198 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11201 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11202 # Extract the first word of "objdump
", so it can be a program name with args.
11203 set dummy objdump; ac_word=$2
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11205 $as_echo_n "checking
for $ac_word...
" >&6; }
11206 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11207 $as_echo_n "(cached
) " >&6
11209 case $OBJDUMP_FOR_TARGET in
11211 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11215 for as_dir in $gcc_cv_tool_dirs
11218 test -z "$as_dir" && as_dir=.
11219 for ac_exec_ext in '' $ac_executable_extensions; do
11220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11221 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11232 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11233 if test -n "$OBJDUMP_FOR_TARGET"; then
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11235 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11238 $as_echo "no
" >&6; }
11243 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11246 if test -n "$OBJDUMP_FOR_TARGET"; then
11247 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11248 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11249 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11252 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11253 for ncn_progname in objdump; do
11254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11255 set dummy ${ncn_progname}; ac_word=$2
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11257 $as_echo_n "checking
for $ac_word...
" >&6; }
11258 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11259 $as_echo_n "(cached
) " >&6
11261 if test -n "$OBJDUMP_FOR_TARGET"; then
11262 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11265 for as_dir in $PATH
11268 test -z "$as_dir" && as_dir=.
11269 for ac_exec_ext in '' $ac_executable_extensions; do
11270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11271 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11281 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11282 if test -n "$OBJDUMP_FOR_TARGET"; then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11284 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11287 $as_echo "no
" >&6; }
11294 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11295 for ncn_progname in objdump; do
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11297 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11298 if test -x $with_build_time_tools/${ncn_progname}; then
11299 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11301 $as_echo "yes" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11305 $as_echo "no
" >&6; }
11310 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11311 for ncn_progname in objdump; do
11312 if test -n "$ncn_target_tool_prefix"; then
11313 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11314 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11316 $as_echo_n "checking
for $ac_word...
" >&6; }
11317 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11318 $as_echo_n "(cached
) " >&6
11320 if test -n "$OBJDUMP_FOR_TARGET"; then
11321 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11324 for as_dir in $PATH
11327 test -z "$as_dir" && as_dir=.
11328 for ac_exec_ext in '' $ac_executable_extensions; do
11329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11330 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11340 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11341 if test -n "$OBJDUMP_FOR_TARGET"; then
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11343 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11346 $as_echo "no
" >&6; }
11351 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11352 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11353 set dummy ${ncn_progname}; ac_word=$2
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11355 $as_echo_n "checking
for $ac_word...
" >&6; }
11356 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11357 $as_echo_n "(cached
) " >&6
11359 if test -n "$OBJDUMP_FOR_TARGET"; then
11360 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11363 for as_dir in $PATH
11366 test -z "$as_dir" && as_dir=.
11367 for ac_exec_ext in '' $ac_executable_extensions; do
11368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11369 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11379 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11380 if test -n "$OBJDUMP_FOR_TARGET"; then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11382 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11385 $as_echo "no
" >&6; }
11390 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11394 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11396 if test $build = $target ; then
11397 OBJDUMP_FOR_TARGET="$2"
11399 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11402 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11406 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11412 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11413 if test -n "$with_build_time_tools"; then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
11415 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
11416 if test -x $with_build_time_tools/ranlib; then
11417 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11418 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11420 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11423 $as_echo "no
" >&6; }
11425 elif test $build != $host && test $have_gcc_for_target = yes; then
11426 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11427 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11428 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11431 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11432 # Extract the first word of "ranlib
", so it can be a program name with args.
11433 set dummy ranlib; ac_word=$2
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11435 $as_echo_n "checking
for $ac_word...
" >&6; }
11436 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
11437 $as_echo_n "(cached
) " >&6
11439 case $RANLIB_FOR_TARGET in
11441 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11445 for as_dir in $gcc_cv_tool_dirs
11448 test -z "$as_dir" && as_dir=.
11449 for ac_exec_ext in '' $ac_executable_extensions; do
11450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11451 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11462 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11463 if test -n "$RANLIB_FOR_TARGET"; then
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11465 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11468 $as_echo "no
" >&6; }
11473 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11476 if test -n "$RANLIB_FOR_TARGET"; then
11477 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11478 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11479 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11482 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11483 for ncn_progname in ranlib; do
11484 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11485 set dummy ${ncn_progname}; ac_word=$2
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11487 $as_echo_n "checking
for $ac_word...
" >&6; }
11488 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11489 $as_echo_n "(cached
) " >&6
11491 if test -n "$RANLIB_FOR_TARGET"; then
11492 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11495 for as_dir in $PATH
11498 test -z "$as_dir" && as_dir=.
11499 for ac_exec_ext in '' $ac_executable_extensions; do
11500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11501 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11511 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11512 if test -n "$RANLIB_FOR_TARGET"; then
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11514 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11517 $as_echo "no
" >&6; }
11524 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11525 for ncn_progname in ranlib; do
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11527 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11528 if test -x $with_build_time_tools/${ncn_progname}; then
11529 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11531 $as_echo "yes" >&6; }
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11535 $as_echo "no
" >&6; }
11540 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11541 for ncn_progname in ranlib; do
11542 if test -n "$ncn_target_tool_prefix"; then
11543 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11544 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11546 $as_echo_n "checking
for $ac_word...
" >&6; }
11547 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11548 $as_echo_n "(cached
) " >&6
11550 if test -n "$RANLIB_FOR_TARGET"; then
11551 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11554 for as_dir in $PATH
11557 test -z "$as_dir" && as_dir=.
11558 for ac_exec_ext in '' $ac_executable_extensions; do
11559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11560 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11570 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11571 if test -n "$RANLIB_FOR_TARGET"; then
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11573 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11576 $as_echo "no
" >&6; }
11581 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11582 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11583 set dummy ${ncn_progname}; ac_word=$2
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11585 $as_echo_n "checking
for $ac_word...
" >&6; }
11586 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11587 $as_echo_n "(cached
) " >&6
11589 if test -n "$RANLIB_FOR_TARGET"; then
11590 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11593 for as_dir in $PATH
11596 test -z "$as_dir" && as_dir=.
11597 for ac_exec_ext in '' $ac_executable_extensions; do
11598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11599 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11609 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11610 if test -n "$RANLIB_FOR_TARGET"; then
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11612 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11615 $as_echo "no
" >&6; }
11620 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11624 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11626 if test $build = $target ; then
11627 RANLIB_FOR_TARGET="$2"
11629 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11632 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11636 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11642 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11643 if test -n "$with_build_time_tools"; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
11645 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
11646 if test -x $with_build_time_tools/strip; then
11647 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11648 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11650 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11653 $as_echo "no
" >&6; }
11655 elif test $build != $host && test $have_gcc_for_target = yes; then
11656 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11657 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11658 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11661 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11662 # Extract the first word of "strip
", so it can be a program name with args.
11663 set dummy strip; ac_word=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11665 $as_echo_n "checking
for $ac_word...
" >&6; }
11666 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
11667 $as_echo_n "(cached
) " >&6
11669 case $STRIP_FOR_TARGET in
11671 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11675 for as_dir in $gcc_cv_tool_dirs
11678 test -z "$as_dir" && as_dir=.
11679 for ac_exec_ext in '' $ac_executable_extensions; do
11680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11681 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11692 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11693 if test -n "$STRIP_FOR_TARGET"; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11695 $as_echo "$STRIP_FOR_TARGET" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11698 $as_echo "no
" >&6; }
11703 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11706 if test -n "$STRIP_FOR_TARGET"; then
11707 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11708 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11709 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11712 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11713 for ncn_progname in strip; do
11714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11715 set dummy ${ncn_progname}; ac_word=$2
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11717 $as_echo_n "checking
for $ac_word...
" >&6; }
11718 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11719 $as_echo_n "(cached
) " >&6
11721 if test -n "$STRIP_FOR_TARGET"; then
11722 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11725 for as_dir in $PATH
11728 test -z "$as_dir" && as_dir=.
11729 for ac_exec_ext in '' $ac_executable_extensions; do
11730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11731 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11741 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11742 if test -n "$STRIP_FOR_TARGET"; then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11744 $as_echo "$STRIP_FOR_TARGET" >&6; }
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11747 $as_echo "no
" >&6; }
11754 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11755 for ncn_progname in strip; do
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11757 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11758 if test -x $with_build_time_tools/${ncn_progname}; then
11759 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11761 $as_echo "yes" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11765 $as_echo "no
" >&6; }
11770 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11771 for ncn_progname in strip; do
11772 if test -n "$ncn_target_tool_prefix"; then
11773 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11774 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11776 $as_echo_n "checking
for $ac_word...
" >&6; }
11777 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11778 $as_echo_n "(cached
) " >&6
11780 if test -n "$STRIP_FOR_TARGET"; then
11781 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11784 for as_dir in $PATH
11787 test -z "$as_dir" && as_dir=.
11788 for ac_exec_ext in '' $ac_executable_extensions; do
11789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11790 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11800 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11801 if test -n "$STRIP_FOR_TARGET"; then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11803 $as_echo "$STRIP_FOR_TARGET" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11806 $as_echo "no
" >&6; }
11811 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11812 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11813 set dummy ${ncn_progname}; ac_word=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11815 $as_echo_n "checking
for $ac_word...
" >&6; }
11816 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11817 $as_echo_n "(cached
) " >&6
11819 if test -n "$STRIP_FOR_TARGET"; then
11820 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11823 for as_dir in $PATH
11826 test -z "$as_dir" && as_dir=.
11827 for ac_exec_ext in '' $ac_executable_extensions; do
11828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11829 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11839 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11840 if test -n "$STRIP_FOR_TARGET"; then
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11842 $as_echo "$STRIP_FOR_TARGET" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11845 $as_echo "no
" >&6; }
11850 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11854 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11856 if test $build = $target ; then
11857 STRIP_FOR_TARGET="$2"
11859 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11862 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11866 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11872 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11873 if test -n "$with_build_time_tools"; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
11875 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
11876 if test -x $with_build_time_tools/windres; then
11877 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11878 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11880 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11883 $as_echo "no
" >&6; }
11885 elif test $build != $host && test $have_gcc_for_target = yes; then
11886 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11887 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11888 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11891 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11892 # Extract the first word of "windres
", so it can be a program name with args.
11893 set dummy windres; ac_word=$2
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11895 $as_echo_n "checking
for $ac_word...
" >&6; }
11896 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
11897 $as_echo_n "(cached
) " >&6
11899 case $WINDRES_FOR_TARGET in
11901 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $gcc_cv_tool_dirs
11908 test -z "$as_dir" && as_dir=.
11909 for ac_exec_ext in '' $ac_executable_extensions; do
11910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11922 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11923 if test -n "$WINDRES_FOR_TARGET"; then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
11925 $as_echo "$WINDRES_FOR_TARGET" >&6; }
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11928 $as_echo "no
" >&6; }
11933 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11936 if test -n "$WINDRES_FOR_TARGET"; then
11937 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11938 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11939 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11942 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11943 for ncn_progname in windres; do
11944 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11945 set dummy ${ncn_progname}; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11947 $as_echo_n "checking
for $ac_word...
" >&6; }
11948 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
11949 $as_echo_n "(cached
) " >&6
11951 if test -n "$WINDRES_FOR_TARGET"; then
11952 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11955 for as_dir in $PATH
11958 test -z "$as_dir" && as_dir=.
11959 for ac_exec_ext in '' $ac_executable_extensions; do
11960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11961 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11971 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11972 if test -n "$WINDRES_FOR_TARGET"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
11974 $as_echo "$WINDRES_FOR_TARGET" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11977 $as_echo "no
" >&6; }
11984 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11985 for ncn_progname in windres; do
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11987 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11988 if test -x $with_build_time_tools/${ncn_progname}; then
11989 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11991 $as_echo "yes" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11995 $as_echo "no
" >&6; }
12000 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12001 for ncn_progname in windres; do
12002 if test -n "$ncn_target_tool_prefix"; then
12003 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12004 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12006 $as_echo_n "checking
for $ac_word...
" >&6; }
12007 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12008 $as_echo_n "(cached
) " >&6
12010 if test -n "$WINDRES_FOR_TARGET"; then
12011 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12014 for as_dir in $PATH
12017 test -z "$as_dir" && as_dir=.
12018 for ac_exec_ext in '' $ac_executable_extensions; do
12019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12020 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12030 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12031 if test -n "$WINDRES_FOR_TARGET"; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12033 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12036 $as_echo "no
" >&6; }
12041 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12042 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12043 set dummy ${ncn_progname}; ac_word=$2
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12045 $as_echo_n "checking
for $ac_word...
" >&6; }
12046 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12047 $as_echo_n "(cached
) " >&6
12049 if test -n "$WINDRES_FOR_TARGET"; then
12050 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12053 for as_dir in $PATH
12056 test -z "$as_dir" && as_dir=.
12057 for ac_exec_ext in '' $ac_executable_extensions; do
12058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12059 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12069 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12070 if test -n "$WINDRES_FOR_TARGET"; then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12072 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12075 $as_echo "no
" >&6; }
12080 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12084 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12086 if test $build = $target ; then
12087 WINDRES_FOR_TARGET="$2"
12089 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12092 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12096 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12102 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12103 if test -n "$with_build_time_tools"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12105 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12106 if test -x $with_build_time_tools/windmc; then
12107 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12108 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12110 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12113 $as_echo "no
" >&6; }
12115 elif test $build != $host && test $have_gcc_for_target = yes; then
12116 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12117 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12118 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12121 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12122 # Extract the first word of "windmc
", so it can be a program name with args.
12123 set dummy windmc; ac_word=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12125 $as_echo_n "checking
for $ac_word...
" >&6; }
12126 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12127 $as_echo_n "(cached
) " >&6
12129 case $WINDMC_FOR_TARGET in
12131 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12135 for as_dir in $gcc_cv_tool_dirs
12138 test -z "$as_dir" && as_dir=.
12139 for ac_exec_ext in '' $ac_executable_extensions; do
12140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12141 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12152 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12153 if test -n "$WINDMC_FOR_TARGET"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12155 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12158 $as_echo "no
" >&6; }
12163 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12166 if test -n "$WINDMC_FOR_TARGET"; then
12167 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12168 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12169 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12172 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12173 for ncn_progname in windmc; do
12174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12175 set dummy ${ncn_progname}; ac_word=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12177 $as_echo_n "checking
for $ac_word...
" >&6; }
12178 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12179 $as_echo_n "(cached
) " >&6
12181 if test -n "$WINDMC_FOR_TARGET"; then
12182 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12185 for as_dir in $PATH
12188 test -z "$as_dir" && as_dir=.
12189 for ac_exec_ext in '' $ac_executable_extensions; do
12190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12191 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12201 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12202 if test -n "$WINDMC_FOR_TARGET"; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12204 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12207 $as_echo "no
" >&6; }
12214 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12215 for ncn_progname in windmc; do
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12217 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12218 if test -x $with_build_time_tools/${ncn_progname}; then
12219 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12221 $as_echo "yes" >&6; }
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12225 $as_echo "no
" >&6; }
12230 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12231 for ncn_progname in windmc; do
12232 if test -n "$ncn_target_tool_prefix"; then
12233 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12234 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12236 $as_echo_n "checking
for $ac_word...
" >&6; }
12237 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12238 $as_echo_n "(cached
) " >&6
12240 if test -n "$WINDMC_FOR_TARGET"; then
12241 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12244 for as_dir in $PATH
12247 test -z "$as_dir" && as_dir=.
12248 for ac_exec_ext in '' $ac_executable_extensions; do
12249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12250 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12260 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12261 if test -n "$WINDMC_FOR_TARGET"; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12263 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12266 $as_echo "no
" >&6; }
12271 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12273 set dummy ${ncn_progname}; ac_word=$2
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12275 $as_echo_n "checking
for $ac_word...
" >&6; }
12276 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12277 $as_echo_n "(cached
) " >&6
12279 if test -n "$WINDMC_FOR_TARGET"; then
12280 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12283 for as_dir in $PATH
12286 test -z "$as_dir" && as_dir=.
12287 for ac_exec_ext in '' $ac_executable_extensions; do
12288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12289 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12299 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12300 if test -n "$WINDMC_FOR_TARGET"; then
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12302 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12305 $as_echo "no
" >&6; }
12310 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12314 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12316 if test $build = $target ; then
12317 WINDMC_FOR_TARGET="$2"
12319 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12322 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12326 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12330 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
12333 $as_echo_n "checking where to
find the target
ar...
" >&6; }
12334 if test "x
${build}" != "x
${host}" ; then
12335 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12336 # We already found the complete path
12337 ac_dir=`dirname $AR_FOR_TARGET`
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12339 $as_echo "pre-installed
in $ac_dir" >&6; }
12341 # Canadian cross, just use what we found
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12343 $as_echo "pre-installed
" >&6; }
12347 case " ${configdirs} " in
12352 if test $ok = yes; then
12353 # An in-tree tool is available and we can use it
12354 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12356 $as_echo "just compiled
" >&6; }
12357 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12358 # We already found the complete path
12359 ac_dir=`dirname $AR_FOR_TARGET`
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12361 $as_echo "pre-installed
in $ac_dir" >&6; }
12362 elif test "x
$target" = "x
$host"; then
12363 # We can use an host tool
12364 AR_FOR_TARGET='$(AR)'
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12366 $as_echo "host tool
" >&6; }
12368 # We need a cross tool
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12370 $as_echo "pre-installed
" >&6; }
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
12375 $as_echo_n "checking where to
find the target as...
" >&6; }
12376 if test "x
${build}" != "x
${host}" ; then
12377 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12378 # We already found the complete path
12379 ac_dir=`dirname $AS_FOR_TARGET`
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12381 $as_echo "pre-installed
in $ac_dir" >&6; }
12383 # Canadian cross, just use what we found
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12385 $as_echo "pre-installed
" >&6; }
12389 case " ${configdirs} " in
12394 if test $ok = yes; then
12395 # An in-tree tool is available and we can use it
12396 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12398 $as_echo "just compiled
" >&6; }
12399 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12400 # We already found the complete path
12401 ac_dir=`dirname $AS_FOR_TARGET`
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12403 $as_echo "pre-installed
in $ac_dir" >&6; }
12404 elif test "x
$target" = "x
$host"; then
12405 # We can use an host tool
12406 AS_FOR_TARGET='$(AS)'
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12408 $as_echo "host tool
" >&6; }
12410 # We need a cross tool
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12412 $as_echo "pre-installed
" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
12417 $as_echo_n "checking where to
find the target cc...
" >&6; }
12418 if test "x
${build}" != "x
${host}" ; then
12419 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12420 # We already found the complete path
12421 ac_dir=`dirname $CC_FOR_TARGET`
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12423 $as_echo "pre-installed
in $ac_dir" >&6; }
12425 # Canadian cross, just use what we found
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12427 $as_echo "pre-installed
" >&6; }
12431 case " ${configdirs} " in
12436 if test $ok = yes; then
12437 # An in-tree tool is available and we can use it
12438 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12440 $as_echo "just compiled
" >&6; }
12441 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12442 # We already found the complete path
12443 ac_dir=`dirname $CC_FOR_TARGET`
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12445 $as_echo "pre-installed
in $ac_dir" >&6; }
12446 elif test "x
$target" = "x
$host"; then
12447 # We can use an host tool
12448 CC_FOR_TARGET='$(CC)'
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12450 $as_echo "host tool
" >&6; }
12452 # We need a cross tool
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12454 $as_echo "pre-installed
" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
12459 $as_echo_n "checking where to
find the target c
++...
" >&6; }
12460 if test "x
${build}" != "x
${host}" ; then
12461 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12462 # We already found the complete path
12463 ac_dir=`dirname $CXX_FOR_TARGET`
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12465 $as_echo "pre-installed
in $ac_dir" >&6; }
12467 # Canadian cross, just use what we found
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12469 $as_echo "pre-installed
" >&6; }
12473 case " ${configdirs} " in
12477 case ,${enable_languages}, in
12481 if test $ok = yes; then
12482 # An in-tree tool is available and we can use it
12483 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'
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12485 $as_echo "just compiled
" >&6; }
12486 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12487 # We already found the complete path
12488 ac_dir=`dirname $CXX_FOR_TARGET`
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12490 $as_echo "pre-installed
in $ac_dir" >&6; }
12491 elif test "x
$target" = "x
$host"; then
12492 # We can use an host tool
12493 CXX_FOR_TARGET='$(CXX)'
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12495 $as_echo "host tool
" >&6; }
12497 # We need a cross tool
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12499 $as_echo "pre-installed
" >&6; }
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
12504 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
12505 if test "x
${build}" != "x
${host}" ; then
12506 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12507 # We already found the complete path
12508 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12510 $as_echo "pre-installed
in $ac_dir" >&6; }
12512 # Canadian cross, just use what we found
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12514 $as_echo "pre-installed
" >&6; }
12518 case " ${configdirs} " in
12522 case ,${enable_languages}, in
12526 if test $ok = yes; then
12527 # An in-tree tool is available and we can use it
12528 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'
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12530 $as_echo "just compiled
" >&6; }
12531 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12532 # We already found the complete path
12533 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12535 $as_echo "pre-installed
in $ac_dir" >&6; }
12536 elif test "x
$target" = "x
$host"; then
12537 # We can use an host tool
12538 RAW_CXX_FOR_TARGET='$(CXX)'
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12540 $as_echo "host tool
" >&6; }
12542 # We need a cross tool
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12544 $as_echo "pre-installed
" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
12549 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
12550 if test "x
${build}" != "x
${host}" ; then
12551 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12552 # We already found the complete path
12553 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12555 $as_echo "pre-installed
in $ac_dir" >&6; }
12557 # Canadian cross, just use what we found
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12559 $as_echo "pre-installed
" >&6; }
12563 case " ${configdirs} " in
12568 if test $ok = yes; then
12569 # An in-tree tool is available and we can use it
12570 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12572 $as_echo "just compiled
" >&6; }
12573 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12574 # We already found the complete path
12575 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12577 $as_echo "pre-installed
in $ac_dir" >&6; }
12578 elif test "x
$target" = "x
$host"; then
12579 # We can use an host tool
12580 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12582 $as_echo "host tool
" >&6; }
12584 # We need a cross tool
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12586 $as_echo "pre-installed
" >&6; }
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
12591 $as_echo_n "checking where to
find the target gcc...
" >&6; }
12592 if test "x
${build}" != "x
${host}" ; then
12593 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12594 # We already found the complete path
12595 ac_dir=`dirname $GCC_FOR_TARGET`
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12597 $as_echo "pre-installed
in $ac_dir" >&6; }
12599 # Canadian cross, just use what we found
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12601 $as_echo "pre-installed
" >&6; }
12605 case " ${configdirs} " in
12610 if test $ok = yes; then
12611 # An in-tree tool is available and we can use it
12612 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12614 $as_echo "just compiled
" >&6; }
12615 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12616 # We already found the complete path
12617 ac_dir=`dirname $GCC_FOR_TARGET`
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12619 $as_echo "pre-installed
in $ac_dir" >&6; }
12620 elif test "x
$target" = "x
$host"; then
12621 # We can use an host tool
12622 GCC_FOR_TARGET='$()'
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12624 $as_echo "host tool
" >&6; }
12626 # We need a cross tool
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12628 $as_echo "pre-installed
" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
12633 $as_echo_n "checking where to
find the target gcj...
" >&6; }
12634 if test "x
${build}" != "x
${host}" ; then
12635 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12636 # We already found the complete path
12637 ac_dir=`dirname $GCJ_FOR_TARGET`
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12639 $as_echo "pre-installed
in $ac_dir" >&6; }
12641 # Canadian cross, just use what we found
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12643 $as_echo "pre-installed
" >&6; }
12647 case " ${configdirs} " in
12651 case ,${enable_languages}, in
12655 if test $ok = yes; then
12656 # An in-tree tool is available and we can use it
12657 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12659 $as_echo "just compiled
" >&6; }
12660 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12661 # We already found the complete path
12662 ac_dir=`dirname $GCJ_FOR_TARGET`
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12664 $as_echo "pre-installed
in $ac_dir" >&6; }
12665 elif test "x
$target" = "x
$host"; then
12666 # We can use an host tool
12667 GCJ_FOR_TARGET='$(GCJ)'
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12669 $as_echo "host tool
" >&6; }
12671 # We need a cross tool
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12673 $as_echo "pre-installed
" >&6; }
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
12678 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
12679 if test "x
${build}" != "x
${host}" ; then
12680 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12681 # We already found the complete path
12682 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12684 $as_echo "pre-installed
in $ac_dir" >&6; }
12686 # Canadian cross, just use what we found
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12688 $as_echo "pre-installed
" >&6; }
12692 case " ${configdirs} " in
12696 case ,${enable_languages}, in
12700 if test $ok = yes; then
12701 # An in-tree tool is available and we can use it
12702 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12704 $as_echo "just compiled
" >&6; }
12705 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12706 # We already found the complete path
12707 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12709 $as_echo "pre-installed
in $ac_dir" >&6; }
12710 elif test "x
$target" = "x
$host"; then
12711 # We can use an host tool
12712 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12714 $as_echo "host tool
" >&6; }
12716 # We need a cross tool
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12718 $as_echo "pre-installed
" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
12723 $as_echo_n "checking where to
find the target ld...
" >&6; }
12724 if test "x
${build}" != "x
${host}" ; then
12725 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12726 # We already found the complete path
12727 ac_dir=`dirname $LD_FOR_TARGET`
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12729 $as_echo "pre-installed
in $ac_dir" >&6; }
12731 # Canadian cross, just use what we found
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12733 $as_echo "pre-installed
" >&6; }
12737 case " ${configdirs} " in
12742 if test $ok = yes; then
12743 # An in-tree tool is available and we can use it
12744 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12746 $as_echo "just compiled
" >&6; }
12747 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12748 # We already found the complete path
12749 ac_dir=`dirname $LD_FOR_TARGET`
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12751 $as_echo "pre-installed
in $ac_dir" >&6; }
12752 elif test "x
$target" = "x
$host"; then
12753 # We can use an host tool
12754 LD_FOR_TARGET='$(LD)'
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12756 $as_echo "host tool
" >&6; }
12758 # We need a cross tool
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12760 $as_echo "pre-installed
" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
12765 $as_echo_n "checking where to
find the target lipo...
" >&6; }
12766 if test "x
${build}" != "x
${host}" ; then
12767 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12768 # We already found the complete path
12769 ac_dir=`dirname $LIPO_FOR_TARGET`
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12771 $as_echo "pre-installed
in $ac_dir" >&6; }
12773 # Canadian cross, just use what we found
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12775 $as_echo "pre-installed
" >&6; }
12778 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12779 # We already found the complete path
12780 ac_dir=`dirname $LIPO_FOR_TARGET`
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12782 $as_echo "pre-installed
in $ac_dir" >&6; }
12783 elif test "x
$target" = "x
$host"; then
12784 # We can use an host tool
12785 LIPO_FOR_TARGET='$(LIPO)'
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12787 $as_echo "host tool
" >&6; }
12789 # We need a cross tool
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12791 $as_echo "pre-installed
" >&6; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
12796 $as_echo_n "checking where to
find the target nm...
" >&6; }
12797 if test "x
${build}" != "x
${host}" ; then
12798 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12799 # We already found the complete path
12800 ac_dir=`dirname $NM_FOR_TARGET`
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12802 $as_echo "pre-installed
in $ac_dir" >&6; }
12804 # Canadian cross, just use what we found
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12806 $as_echo "pre-installed
" >&6; }
12810 case " ${configdirs} " in
12815 if test $ok = yes; then
12816 # An in-tree tool is available and we can use it
12817 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12819 $as_echo "just compiled
" >&6; }
12820 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12821 # We already found the complete path
12822 ac_dir=`dirname $NM_FOR_TARGET`
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12824 $as_echo "pre-installed
in $ac_dir" >&6; }
12825 elif test "x
$target" = "x
$host"; then
12826 # We can use an host tool
12827 NM_FOR_TARGET='$(NM)'
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12829 $as_echo "host tool
" >&6; }
12831 # We need a cross tool
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12833 $as_echo "pre-installed
" >&6; }
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
12838 $as_echo_n "checking where to
find the target objdump...
" >&6; }
12839 if test "x
${build}" != "x
${host}" ; then
12840 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12841 # We already found the complete path
12842 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12844 $as_echo "pre-installed
in $ac_dir" >&6; }
12846 # Canadian cross, just use what we found
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12848 $as_echo "pre-installed
" >&6; }
12852 case " ${configdirs} " in
12857 if test $ok = yes; then
12858 # An in-tree tool is available and we can use it
12859 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12861 $as_echo "just compiled
" >&6; }
12862 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12863 # We already found the complete path
12864 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12866 $as_echo "pre-installed
in $ac_dir" >&6; }
12867 elif test "x
$target" = "x
$host"; then
12868 # We can use an host tool
12869 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12871 $as_echo "host tool
" >&6; }
12873 # We need a cross tool
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12875 $as_echo "pre-installed
" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
12880 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
12881 if test "x
${build}" != "x
${host}" ; then
12882 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12883 # We already found the complete path
12884 ac_dir=`dirname $RANLIB_FOR_TARGET`
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12886 $as_echo "pre-installed
in $ac_dir" >&6; }
12888 # Canadian cross, just use what we found
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12890 $as_echo "pre-installed
" >&6; }
12894 case " ${configdirs} " in
12899 if test $ok = yes; then
12900 # An in-tree tool is available and we can use it
12901 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12903 $as_echo "just compiled
" >&6; }
12904 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12905 # We already found the complete path
12906 ac_dir=`dirname $RANLIB_FOR_TARGET`
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12908 $as_echo "pre-installed
in $ac_dir" >&6; }
12909 elif test "x
$target" = "x
$host"; then
12910 # We can use an host tool
12911 RANLIB_FOR_TARGET='$(RANLIB)'
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12913 $as_echo "host tool
" >&6; }
12915 # We need a cross tool
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12917 $as_echo "pre-installed
" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
12922 $as_echo_n "checking where to
find the target strip...
" >&6; }
12923 if test "x
${build}" != "x
${host}" ; then
12924 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12925 # We already found the complete path
12926 ac_dir=`dirname $STRIP_FOR_TARGET`
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12928 $as_echo "pre-installed
in $ac_dir" >&6; }
12930 # Canadian cross, just use what we found
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12932 $as_echo "pre-installed
" >&6; }
12936 case " ${configdirs} " in
12941 if test $ok = yes; then
12942 # An in-tree tool is available and we can use it
12943 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12945 $as_echo "just compiled
" >&6; }
12946 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12947 # We already found the complete path
12948 ac_dir=`dirname $STRIP_FOR_TARGET`
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12950 $as_echo "pre-installed
in $ac_dir" >&6; }
12951 elif test "x
$target" = "x
$host"; then
12952 # We can use an host tool
12953 STRIP_FOR_TARGET='$(STRIP)'
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12955 $as_echo "host tool
" >&6; }
12957 # We need a cross tool
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12959 $as_echo "pre-installed
" >&6; }
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
12964 $as_echo_n "checking where to
find the target windres...
" >&6; }
12965 if test "x
${build}" != "x
${host}" ; then
12966 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12967 # We already found the complete path
12968 ac_dir=`dirname $WINDRES_FOR_TARGET`
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12970 $as_echo "pre-installed
in $ac_dir" >&6; }
12972 # Canadian cross, just use what we found
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12974 $as_echo "pre-installed
" >&6; }
12978 case " ${configdirs} " in
12983 if test $ok = yes; then
12984 # An in-tree tool is available and we can use it
12985 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12987 $as_echo "just compiled
" >&6; }
12988 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12989 # We already found the complete path
12990 ac_dir=`dirname $WINDRES_FOR_TARGET`
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12992 $as_echo "pre-installed
in $ac_dir" >&6; }
12993 elif test "x
$target" = "x
$host"; then
12994 # We can use an host tool
12995 WINDRES_FOR_TARGET='$(WINDRES)'
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12997 $as_echo "host tool
" >&6; }
12999 # We need a cross tool
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13001 $as_echo "pre-installed
" >&6; }
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13006 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13007 if test "x
${build}" != "x
${host}" ; then
13008 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13009 # We already found the complete path
13010 ac_dir=`dirname $WINDMC_FOR_TARGET`
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13012 $as_echo "pre-installed
in $ac_dir" >&6; }
13014 # Canadian cross, just use what we found
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13016 $as_echo "pre-installed
" >&6; }
13020 case " ${configdirs} " in
13025 if test $ok = yes; then
13026 # An in-tree tool is available and we can use it
13027 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13029 $as_echo "just compiled
" >&6; }
13030 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13031 # We already found the complete path
13032 ac_dir=`dirname $WINDMC_FOR_TARGET`
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13034 $as_echo "pre-installed
in $ac_dir" >&6; }
13035 elif test "x
$target" = "x
$host"; then
13036 # We can use an host tool
13037 WINDMC_FOR_TARGET='$(WINDMC)'
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13039 $as_echo "host tool
" >&6; }
13041 # We need a cross tool
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13043 $as_echo "pre-installed
" >&6; }
13051 # Certain tools may need extra flags.
13052 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13053 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13054 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13056 # When building target libraries, except in a Canadian cross, we use
13057 # the same toolchain as the compiler we just built.
13058 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13059 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13060 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13061 if test $host = $build; then
13062 case " $configdirs " in
13064 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13065 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13066 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13076 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13077 # Check whether --enable-maintainer-mode was given.
13078 if test "${enable_maintainer_mode+set}" = set; then :
13079 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13081 USE_MAINTAINER_MODE=no
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13085 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13088 if test "$USE_MAINTAINER_MODE" = yes; then
13089 MAINTAINER_MODE_TRUE=
13090 MAINTAINER_MODE_FALSE='#'
13092 MAINTAINER_MODE_TRUE='#'
13093 MAINTAINER_MODE_FALSE=
13095 MAINT=$MAINTAINER_MODE_TRUE
13097 # ---------------------
13098 # GCC bootstrap support
13099 # ---------------------
13101 # Stage specific cflags for build.
13106 yes) stage1_cflags="-g -Wa,-J" ;;
13107 *) stage1_cflags="-g -J" ;;
13111 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13112 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13113 saved_CFLAGS="$CFLAGS"
13115 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13116 CFLAGS="$CFLAGS -fkeep-inline-functions"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13118 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 #if (__GNUC__ < 3) \
13123 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13124 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13125 #error http://gcc.gnu.org/PR29382
13136 if ac_fn_c_try_compile "$LINENO"; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13138 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13141 $as_echo "no
" >&6; }
13143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13145 CFLAGS="$saved_CFLAGS"
13150 # Enable --enable-checking in stage1 of the compiler.
13151 # Check whether --enable-stage1-checking was given.
13152 if test "${enable_stage1_checking+set}" = set; then :
13153 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13155 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13156 stage1_checking=--enable-checking=yes,types
13158 stage1_checking=--enable-checking=$enable_checking,types
13164 # Enable -Werror in bootstrap stage2 and later.
13165 # Check whether --enable-werror was given.
13166 if test "${enable_werror+set}" = set; then :
13167 enableval=$enable_werror;
13169 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13176 case ${enable_werror} in
13177 yes) stage2_werror_flag="--enable-werror-always" ;;
13178 *) stage2_werror_flag="" ;;
13182 # Specify what files to not compare during bootstrap.
13184 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13186 hppa*64*-*-hpux*) ;;
13187 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13191 ac_config_files="$ac_config_files Makefile
"
13193 cat >confcache <<\_ACEOF
13194 # This file is a shell script that caches the results of configure
13195 # tests run on this system so they can be shared between configure
13196 # scripts and configure runs, see configure's option --config-cache.
13197 # It is not useful on other systems. If it contains results you don't
13198 # want to keep, you may remove or edit it.
13200 # config.status only pays attention to the cache file if you give it
13201 # the --recheck option to rerun configure.
13203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13205 # following values.
13209 # The following way of writing the cache mishandles newlines in values,
13210 # but we know of no workaround that is simple, portable, and efficient.
13211 # So, we kill variables containing newlines.
13212 # Ultrix sh set writes to stderr and can't be redirected directly,
13213 # and sets the high bit in the cache file unless we assign to the vars.
13215 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13216 eval ac_val=\$$ac_var
13220 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13221 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13224 _ | IFS | as_nl) ;; #(
13225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13226 *) { eval $ac_var=; unset $ac_var;} ;;
13232 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13233 *${as_nl}ac_space=\ *)
13234 # `set' does not quote correctly, so add quotes: double-quote
13235 # substitution turns \\\\ into \\, and sed turns \\ into \.
13238 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13241 # `set' quotes correctly as required by POSIX, so do not add quotes.
13242 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13251 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13253 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13255 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13256 if test -w "$cache_file"; then
13257 test "x
$cache_file" != "x
/dev
/null
" &&
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13259 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13260 cat confcache >$cache_file
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13263 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13268 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13269 # Let make expand exec_prefix.
13270 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13272 # Transform confdefs.h into DEFS.
13273 # Protect against shell expansion while executing Makefile rules.
13274 # Protect against Makefile macro expansion.
13276 # If the first sed substitution is executed (which looks for macros that
13277 # take arguments), then branch to the quote section. Otherwise,
13278 # look for a macro that doesn't take arguments.
13288 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13290 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13294 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13307 DEFS=`sed -n "$ac_script" confdefs.h`
13312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13313 # 1. Remove the extension, and $U if already installed.
13314 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13315 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13316 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13317 # will be set to the directory where LIBOBJS objects are built.
13318 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13319 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
13321 LIBOBJS=$ac_libobjs
13323 LTLIBOBJS=$ac_ltlibobjs
13327 : ${CONFIG_STATUS=./config.status}
13329 ac_clean_files_save=$ac_clean_files
13330 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13332 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13334 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13336 # Generated by $as_me.
13337 # Run this file to recreate the current configuration.
13338 # Compiler output produced by configure, useful for debugging
13339 # configure, is in config.log if it exists.
13342 ac_cs_recheck=false
13345 SHELL=\${CONFIG_SHELL-$SHELL}
13348 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13349 ## -------------------- ##
13350 ## M4sh Initialization. ##
13351 ## -------------------- ##
13353 # Be more Bourne compatible
13354 DUALCASE=1; export DUALCASE # for MKS sh
13355 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13359 # is contrary to our usage. Disable this feature.
13360 alias -g '${1+"$@"}'='"$@"'
13361 setopt NO_GLOB_SUBST
13363 case `(set -o) 2>/dev/null` in #(
13375 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13376 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13377 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
13378 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13379 # Prefer a ksh shell builtin over an external printf program on Solaris,
13380 # but without wasting forks for bash or zsh.
13381 if test -z "$BASH_VERSION$ZSH_VERSION" \
13382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13383 as_echo
='print -r --'
13384 as_echo_n
='print -rn --'
13385 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13386 as_echo
='printf %s\n'
13387 as_echo_n
='printf %s'
13389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13390 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
13391 as_echo_n
='/usr/ucb/echo -n'
13393 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
13394 as_echo_n_body
='eval
13398 expr "X$arg" : "X\\(.*\\)$as_nl";
13399 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13401 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13403 export as_echo_n_body
13404 as_echo_n
='sh -c $as_echo_n_body as_echo'
13406 export as_echo_body
13407 as_echo
='sh -c $as_echo_body as_echo'
13410 # The user is always right.
13411 if test "${PATH_SEPARATOR+set}" != set; then
13413 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
13414 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
13421 # We need space, tab and new line, in precisely that order. Quoting is
13422 # there to prevent editors from complaining about space-tab.
13423 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13424 # splitting by setting IFS to empty value.)
13427 # Find who we are. Look in the path if we contain no directory separator.
13429 *[\\/]* ) as_myself
=$0 ;;
13430 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13431 for as_dir
in $PATH
13434 test -z "$as_dir" && as_dir
=.
13435 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13441 # We did not find ourselves, most probably we were run as `sh COMMAND'
13442 # in which case we are not to be found in the path.
13443 if test "x$as_myself" = x
; then
13446 if test ! -f "$as_myself"; then
13447 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13451 # Unset variables that we do not need and which cause bugs (e.g. in
13452 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13453 # suppresses any "Segmentation fault" message there. '((' could
13454 # trigger a bug in pdksh 5.2.14.
13455 for as_var
in BASH_ENV ENV MAIL MAILPATH
13456 do eval test x\
${$as_var+set} = xset \
13457 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13470 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13473 # as_fn_error ERROR [LINENO LOG_FD]
13474 # ---------------------------------
13475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13477 # script with status $?, using 1 if that was 0.
13480 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13482 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13483 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13485 $as_echo "$as_me: error: $1" >&2
13486 as_fn_exit
$as_status
13490 # as_fn_set_status STATUS
13491 # -----------------------
13492 # Set $? to STATUS, without forking.
13493 as_fn_set_status
()
13496 } # as_fn_set_status
13498 # as_fn_exit STATUS
13499 # -----------------
13500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13504 as_fn_set_status
$1
13510 # Portably unset VAR.
13513 { eval $1=; unset $1;}
13515 as_unset
=as_fn_unset
13516 # as_fn_append VAR VALUE
13517 # ----------------------
13518 # Append the text in VALUE to the end of the definition contained in VAR. Take
13519 # advantage of any shell optimizations that allow amortized linear growth over
13520 # repeated appends, instead of the typical quadratic growth present in naive
13522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13523 eval 'as_fn_append ()
13534 # as_fn_arith ARG...
13535 # ------------------
13536 # Perform arithmetic evaluation on the ARGs, and store the result in the
13537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13538 # must be portable across $(()) and expr.
13539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13540 eval 'as_fn_arith ()
13547 as_val
=`expr "$@" || test $? -eq 1`
13552 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13553 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13559 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13560 as_basename
=basename
13565 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13571 as_me
=`$as_basename -- "$0" ||
13572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13573 X"$0" : 'X\(//\)$' \| \
13574 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13576 sed '/^.*\/\([^/][^/]*\)\/*$/{
13590 # Avoid depending upon Character Ranges.
13591 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13592 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13593 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13594 as_cr_digits
='0123456789'
13595 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13597 ECHO_C
= ECHO_N
= ECHO_T
=
13598 case `echo -n x` in #(((((
13600 case `echo 'xy\c'` in
13601 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13603 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13610 rm -f conf$$ conf$$.exe conf$$.
file
13611 if test -d conf$$.dir
; then
13612 rm -f conf$$.dir
/conf$$.
file
13615 mkdir conf$$.dir
2>/dev
/null
13617 if (echo >conf$$.
file) 2>/dev
/null
; then
13618 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13620 # ... but there are two gotchas:
13621 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13622 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13623 # In both cases, we have to default to `cp -p'.
13624 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13626 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13634 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13635 rmdir conf$$.dir
2>/dev
/null
13640 # Create "$as_dir" as a directory, including parents if necessary.
13645 -*) as_dir
=.
/$as_dir;;
13647 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13651 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13652 *) as_qdir
=$as_dir;;
13654 as_dirs
="'$as_qdir' $as_dirs"
13655 as_dir
=`$as_dirname -- "$as_dir" ||
13656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13657 X"$as_dir" : 'X\(//\)[^/]' \| \
13658 X"$as_dir" : 'X\(//\)$' \| \
13659 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13660 $as_echo X"$as_dir" |
13661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13665 /^X\(\/\/\)[^/].*/{
13678 test -d "$as_dir" && break
13680 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13681 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13685 if mkdir
-p .
2>/dev
/null
; then
13686 as_mkdir_p
='mkdir -p "$as_dir"'
13688 test -d .
/-p && rmdir .
/-p
13692 if test -x / >/dev
/null
2>&1; then
13693 as_test_x
='test -x'
13695 if ls -dL / >/dev
/null
2>&1; then
13702 if test -d "$1"; then
13708 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13709 ???[sx]*):;;*)false;;esac;fi
13713 as_executable_p
=$as_test_x
13715 # Sed expression to map a string onto a valid CPP name.
13716 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13718 # Sed expression to map a string onto a valid variable name.
13719 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13723 ## ----------------------------------- ##
13724 ## Main body of $CONFIG_STATUS script. ##
13725 ## ----------------------------------- ##
13727 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13730 # Save the log message, to keep $0 and so on meaningful, and to
13731 # report actual input values of CONFIG_FILES etc. instead of their
13732 # values after options handling.
13734 This file was extended by $as_me, which was
13735 generated by GNU Autoconf 2.64. Invocation command line was
13737 CONFIG_FILES = $CONFIG_FILES
13738 CONFIG_HEADERS = $CONFIG_HEADERS
13739 CONFIG_LINKS = $CONFIG_LINKS
13740 CONFIG_COMMANDS = $CONFIG_COMMANDS
13743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13748 case $ac_config_files in *"
13749 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13755 # Files that config.status was made for.
13756 config_files="$ac_config_files"
13760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13762 \`$as_me' instantiates files and other configuration actions
13763 from templates according to the current configuration. Unless the files
13764 and actions are specified as TAGs, all are instantiated by default.
13766 Usage: $0 [OPTION]... [TAG]...
13768 -h, --help print this help, then exit
13769 -V, --version print version number and configuration settings, then exit
13770 -q, --quiet, --silent
13771 do not print progress messages
13772 -d, --debug don't remove temporary files
13773 --recheck update $as_me by reconfiguring in the same conditions
13774 --file=FILE[:TEMPLATE]
13775 instantiate the configuration file FILE
13777 Configuration files:
13780 Report bugs to the package provider."
13783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13786 configured by $0, generated by GNU Autoconf 2.64,
13787 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13789 Copyright (C) 2009 Free Software Foundation, Inc.
13790 This config.status script is free software; the Free Software Foundation
13791 gives unlimited permission to copy, distribute and modify it."
13796 test -n "\$AWK" || AWK=awk
13799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13800 # The default lists apply if the user does not specify any file.
13806 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13807 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13818 # Handling of the options.
13819 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13821 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13822 $as_echo "$ac_cs_version"; exit ;;
13823 --debug |
--debu |
--deb |
--de |
--d |
-d )
13825 --file |
--fil |
--fi |
--f )
13828 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13830 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13831 ac_need_defaults
=false
;;
13832 --he |
--h |
--help |
--hel |
-h )
13833 $as_echo "$ac_cs_usage"; exit ;;
13834 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13835 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13838 # This is an error.
13839 -*) as_fn_error
"unrecognized option: \`$1'
13840 Try \`$0 --help' for more information." ;;
13842 *) as_fn_append ac_config_targets
" $1"
13843 ac_need_defaults
=false
;;
13849 ac_configure_extra_args
=
13851 if $ac_cs_silent; then
13853 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13858 if \$ac_cs_recheck; then
13859 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13861 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13862 CONFIG_SHELL='$SHELL'
13863 export CONFIG_SHELL
13868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13872 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13873 ## Running $as_me. ##
13879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13884 # Handling of arguments.
13885 for ac_config_target
in $ac_config_targets
13887 case $ac_config_target in
13888 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13890 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13895 # If the user did not use the arguments to specify the items to instantiate,
13896 # then the envvar interface is used. Set only those that are not.
13897 # We use the long form for the default assignment because of an extremely
13898 # bizarre bug on SunOS 4.1.3.
13899 if $ac_need_defaults; then
13900 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13903 # Have a temporary directory for convenience. Make it in the build tree
13904 # simply because there is no reason against having it here, and in addition,
13905 # creating and moving files from /tmp can sometimes cause problems.
13906 # Hook for its removal unless debugging.
13907 # Note that there is a small window in which the directory will not be cleaned:
13908 # after its creation but before its name has been assigned to `$tmp'.
13912 trap 'exit_status=$?
13913 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13915 trap 'as_fn_exit 1' 1 2 13 15
13917 # Create a (secure) tmp directory for tmp files.
13920 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13921 test -n "$tmp" && test -d "$tmp"
13924 tmp
=.
/conf$$
-$RANDOM
13925 (umask 077 && mkdir
"$tmp")
13926 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13928 # Set up the scripts for CONFIG_FILES section.
13929 # No need to generate them if there are no CONFIG_FILES.
13930 # This happens for instance with `./config.status config.h'.
13931 if test -n "$CONFIG_FILES"; then
13933 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
13934 ac_cs_awk_getline
=:
13935 ac_cs_awk_pipe_init
=
13936 ac_cs_awk_read_file
='
13937 while ((getline aline < (F[key])) > 0)
13940 ac_cs_awk_pipe_fini
=
13942 ac_cs_awk_getline
=false
13943 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
13944 ac_cs_awk_read_file
='
13946 print "cat " F[key] " &&"
13947 '$ac_cs_awk_pipe_init
13948 # The final `:' finishes the AND list.
13949 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
13951 ac_cr
=`echo X | tr X '\015'`
13952 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13953 # But we know of no other shell where ac_cr would be empty at this
13954 # point, so we can use a bashism as a fallback.
13955 if test "x$ac_cr" = x
; then
13956 eval ac_cr
=\$
\'\\r
\'
13958 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13959 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13962 ac_cs_awk_cr
=$ac_cr
13965 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13968 # Create commands to substitute file output variables.
13970 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
13971 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
13972 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
13975 } >conf$
$files.sh
&&
13976 . .
/conf$
$files.sh ||
13977 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
13978 rm -f conf$
$files.sh
13981 echo "cat >conf$$subs.awk <<_ACEOF" &&
13982 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13984 } >conf$$subs.sh ||
13985 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13986 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13988 for ac_last_try in false false false false false :; do
13989 . ./conf$$subs.sh ||
13990 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13992 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13993 if test $ac_delim_n = $ac_delim_num; then
13995 elif $ac_last_try; then
13996 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13998 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14001 rm -f conf$$subs.sh
14003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14004 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14008 s/^/S["/; s
/!.
*/"]=/
14018 s/\(.\{148\}\).*/\1/
14020 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14025 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14032 s/\(.\{148\}\).*/\1/
14034 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14038 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14043 ' <conf$$subs.awk | sed '
14048 ' >>$CONFIG_STATUS || ac_write_fail=1
14049 rm -f conf$$subs.awk
14050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14052 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14053 for (key in S) S_is_set[key] = 1
14055 \$ac_cs_awk_pipe_init
14059 nfields = split(line, field, "@
")
14061 len = length(field[1])
14062 for (i = 2; i < nfields; i++) {
14064 keylen = length(key)
14065 if (S_is_set[key]) {
14067 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14068 len += length(value) + length(field[++i])
14073 if (nfields == 3 && !substed) {
14075 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14076 \$ac_cs_awk_read_file
14082 \$ac_cs_awk_pipe_fini
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14087 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14090 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14091 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14094 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14095 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14096 # trailing colons and then remove the whole line if VPATH becomes empty
14097 # (actually we leave an empty line to preserve line numbers).
14098 if test "x
$srcdir" = x.; then
14099 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14100 s/:*\$(srcdir):*/:/
14101 s/:*\${srcdir}:*/:/
14103 s/^\([^=]*=[ ]*\):*/\1/
14109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14110 fi # test -n "$CONFIG_FILES"
14113 eval set X " :F
$CONFIG_FILES "
14118 :[FHLC]) ac_mode=$ac_tag; continue;;
14120 case $ac_mode$ac_tag in
14122 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14123 :[FH]-) ac_tag=-:-;;
14124 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14141 -) ac_f="$tmp/stdin";;
14142 *) # Look for the file first in the build tree, then in the source tree
14143 # (if the path is not absolute). The absolute path cannot be DOS-style,
14144 # because $ac_f cannot contain `:'.
14148 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14150 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14152 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14153 as_fn_append ac_file_inputs " '$ac_f'"
14156 # Let's still pretend it is `configure' which instantiates (i.e., don't
14157 # use $as_me), people would be surprised to read:
14158 # /* config.h. Generated by config.status. */
14159 configure_input='Generated from '`
14160 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14162 if test x"$ac_file" != x-; then
14163 configure_input="$ac_file.
$configure_input"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14165 $as_echo "$as_me: creating
$ac_file" >&6;}
14167 # Neutralize special characters interpreted by sed in replacement strings.
14168 case $configure_input in #(
14169 *\&* | *\|* | *\\* )
14170 ac_sed_conf_input=`$as_echo "$configure_input" |
14171 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14172 *) ac_sed_conf_input=$configure_input;;
14176 *:-:* | *:-) cat >"$tmp/stdin
" \
14177 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14182 ac_dir=`$as_dirname -- "$ac_file" ||
14183 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14184 X"$ac_file" : 'X\(//\)[^/]' \| \
14185 X"$ac_file" : 'X\(//\)$' \| \
14186 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14187 $as_echo X"$ac_file" |
14188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14192 /^X\(\/\/\)[^/].*/{
14205 as_dir="$ac_dir"; as_fn_mkdir_p
14209 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14211 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14212 # A "..
" for each directory in $ac_dir_suffix.
14213 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14214 case $ac_top_builddir_sub in
14215 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14216 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14219 ac_abs_top_builddir=$ac_pwd
14220 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14221 # for backward compatibility:
14222 ac_top_builddir=$ac_top_build_prefix
14225 .) # We are building in place.
14227 ac_top_srcdir=$ac_top_builddir_sub
14228 ac_abs_top_srcdir=$ac_pwd ;;
14229 [\\/]* | ?:[\\/]* ) # Absolute name.
14230 ac_srcdir=$srcdir$ac_dir_suffix;
14231 ac_top_srcdir=$srcdir
14232 ac_abs_top_srcdir=$srcdir ;;
14233 *) # Relative name.
14234 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14235 ac_top_srcdir=$ac_top_build_prefix$srcdir
14236 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14238 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14248 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14249 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14254 # If the template does not know about datarootdir, expand it.
14255 # FIXME: This hack should be removed a few years after 2.60.
14256 ac_datarootdir_hack=; ac_datarootdir_seen=
14267 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
14268 *datarootdir*) ac_datarootdir_seen=yes;;
14269 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
14271 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
14273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14274 ac_datarootdir_hack='
14275 s&@datadir@&$datadir&g
14276 s&@docdir@&$docdir&g
14277 s&@infodir@&$infodir&g
14278 s&@localedir@&$localedir&g
14279 s&@mandir@&$mandir&g
14280 s&\\\${datarootdir}&$datarootdir&g' ;;
14284 # Neutralize VPATH when `$srcdir' = `.'.
14285 # Shell code in configure.ac might set extrasub.
14286 # FIXME: do we really want to maintain this feature?
14287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14288 ac_sed_extra="$ac_vpsub
14291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14293 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14294 s|@configure_input@|
$ac_sed_conf_input|
;t t
14295 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14296 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14297 s
&@srcdir@
&$ac_srcdir&;t t
14298 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14299 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14300 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14301 s
&@builddir@
&$ac_builddir&;t t
14302 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14303 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14304 s
&@INSTALL@
&$ac_INSTALL&;t t
14305 $ac_datarootdir_hack
14307 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14308 if $ac_cs_awk_getline; then
14309 $AWK -f "$tmp/subs.
awk"
14311 $AWK -f "$tmp/subs.
awk" | $SHELL
14313 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14315 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14316 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14317 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14319 which seems to be undefined. Please make sure it is defined." >&5
14320 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14321 which seems to be undefined. Please make sure it is defined." >&2;}
14325 -) cat "$tmp/out" && rm -f "$tmp/out";;
14326 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14328 || as_fn_error "could not create $ac_file" "$LINENO" 5
14340 ac_clean_files=$ac_clean_files_save
14342 test $ac_write_fail = 0 ||
14343 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14346 # configure is writing to config.log, and then calls config.status.
14347 # config.status does its own redirection, appending to config.log.
14348 # Unfortunately, on DOS this fails, as config.log is still kept open
14349 # by configure, so config.status won't be able to
write to it
; its
14350 # output is simply discarded. So we exec the FD to /dev/null,
14351 # effectively closing config.log, so it can be properly (re)opened and
14352 # appended to by config.status. When coming back to configure, we
14353 # need to make the FD available again.
14354 if test "$no_create" != yes; then
14356 ac_config_status_args
=
14357 test "$silent" = yes &&
14358 ac_config_status_args
="$ac_config_status_args --quiet"
14360 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14362 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14363 # would make configure fail if this is the last instruction.
14364 $ac_cs_success || as_fn_exit $?
14366 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14368 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}